/* TSC Store Production - Guest Layout & Header Stylesheet */

.fw-bublegum {
    font-family: "Bubblegum Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.font-poppins {
    font-family: 'Poppins', sans-serif;
}

.berkshire-swash-regular {
    font-family: "Berkshire Swash", serif;
    font-weight: 400;
    font-style: normal;
}

html,
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
button,
input,
select,
textarea,
label {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Modern Sticky Header */
.header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header__top {
    background: #0f172a;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.header__top__left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.header__top__left a,
.header__top-brand {
    color: #ffffff !important;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    transition: opacity 0.2s ease;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.header__top-social-list {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.header__top-social-item {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.header__top-social-item:hover {
    color: #ffffff !important;
    transform: translateY(-1px);
    text-decoration: none !important;
}

.header__top-social-item.wa-item {
    color: #22c55e !important;
    font-size: 12px;
    font-weight: 500;
}

.header__top-social-item.wa-item:hover {
    color: #4ade80 !important;
}

.header__top__left a:hover,
.header__top-brand:hover {
    color: #ffffff !important;
    opacity: 0.88;
    text-decoration: none !important;
}

.header__top__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.header__top__links {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.header__top__links a {
    color: #f8fafc !important;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    transition: all 0.2s ease;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.header__top__links a:hover {
    color: #ffffff !important;
    opacity: 0.88;
    text-decoration: none !important;
}

.header__top-sep {
    color: rgba(255, 255, 255, 0.35);
    font-size: 11px;
}

@media (max-width: 767px) {
    .header__top {
        display: block !important;
        padding: 5px 0;
    }

    .header__top-brand {
        font-size: 11px !important;
    }
}

/* Logo Brand */
.header__logo {
    padding: 14px 0;
}

.header__logo-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
}

.header__logo-badge {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #e53637 0%, #b31b1c 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(229, 54, 55, 0.3);
    flex-shrink: 0;
}

.header__logo-badge span {
    color: #ffffff;
    font-weight: 900;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    letter-spacing: -0.5px;
}

.header__logo-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.header__logo-title {
    font-weight: 800;
    font-size: 17px;
    line-height: 1.15;
    color: #0f172a;
    letter-spacing: 0.3px;
    font-family: 'Poppins', sans-serif;
}

.header__logo-sub {
    font-size: 10px;
    font-weight: 700;
    color: #e53637;
    letter-spacing: 1.8px;
    
    text-transform: uppercase;
}

/* Nav Menu */
.header__menu {
    padding: 15px 0;
    text-align: center;
}

.header__menu ul {
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 20px;
}

@media (min-width: 1200px) {
    .header__menu ul {
        gap: 28px;
    }
}

.header__menu ul li {
    list-style: none;
    display: inline-block;
    position: relative;
    margin: 0;
}

.header__menu ul li a {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 14.5px;
    font-weight: 500;
    color: #334155;
    display: inline-block;
    padding: 6px 2px;
    position: relative;
    text-decoration: none !important;
    transition: color 0.2s ease, font-weight 0.2s ease;
    white-space: nowrap;
    letter-spacing: 0.1px;
}

.header__menu ul li a:hover {
    color: #b31b1c;
}

.header__menu ul li.active a {
    color: #b31b1c;
    font-weight: 600;
}

.header__menu ul li a:after {
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: #b31b1c;
    content: "";
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scaleX(0);
    transform-origin: center;
}

.header__menu ul li.active a:after,
.header__menu ul li:hover a:after {
    transform: scaleX(1);
}

/* Right Action Icons */
.header__right-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 14px 0;
}

.header__action-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    position: relative;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.25s ease;
    outline: none;
    padding: 0;
}

.header__action-btn svg,
.header__action-btn i {
    font-size: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.header__action-btn:hover {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #e53637;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 54, 55, 0.18);
}

.header__action-btn:hover svg,
.header__action-btn:hover i {
    transform: scale(1.08);
}

.header__action-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 19px;
    height: 19px;
    background: #e53637;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(229, 54, 55, 0.4);
}

/* Profile Dropdown */
.header__profile-group {
    position: relative;
}

.header__profile-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 220px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid #f1f5f9;
    padding: 10px 0;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
}

.header__profile-group:hover .header__profile-menu,
.header__profile-group:focus-within .header__profile-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header__profile-menu .dropdown-header {
    padding: 10px 18px;
    font-size: 13px;
}

.header__profile-menu .dropdown-item {
    padding: 9px 18px;
    font-size: 14px;
    color: #334155;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.header__profile-menu .dropdown-item:hover {
    background: #fff1f2;
    color: #e53637;
}

/* Hamburger in desktop/mobile */
.header__right-actions .canvas__open,
button.canvas__open {
    display: none;
    align-items: center;
    justify-content: center;
    position: static !important;
    top: auto !important;
    right: auto !important;
    margin: 0 !important;
    line-height: 1 !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
    font-size: 20px;
    color: #1e293b;
    cursor: pointer;
}

@media (max-width: 991px) {

    .header__right-actions .canvas__open,
    button.canvas__open {
        display: inline-flex !important;
    }
}

/* ================= MODERN FOOTER ================= */
.tsc-footer {
    background-color: #0f1115 !important;
    color: #94a3b8 !important;
    padding-top: 60px;
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 20;
}

.tsc-footer .text-muted {
    color: #94a3b8 !important;
}

.tsc-footer .container {
    color: #94a3b8;
}

.tsc-footer .footer__logo {
    display: block;
}

.tsc-footer .footer__logo img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

.tsc-footer-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
    text-transform: capitalize;
}

.tsc-footer-links {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tsc-footer-links li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.tsc-footer-links a {
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-size: 13px;
    display: inline-block;
    transition: color 0.15s ease, transform 0.15s ease;
}

.tsc-footer-links a:hover {
    color: #ffffff !important;
    transform: translateX(3px);
}

.tsc-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: #94a3b8 !important;
    font-size: 13px;
    line-height: 1.5;
}

.tsc-footer-contact-item i,
.tsc-footer-contact-item svg {
    color: #e53637 !important;
    margin-top: 3px;
    font-size: 14px;
    width: 16px;
    height: 16px;
    text-align: center;
    flex-shrink: 0;
}

.tsc-footer-contact-item span {
    color: #94a3b8 !important;
}

.tsc-footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.tsc-footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    font-size: 14px;
    transition: all 0.2s ease;
}

.tsc-footer-social a svg,
.tsc-footer-social a i {
    font-size: 15px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tsc-footer-social a:hover {
    background: #e53637;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.tsc-footer-bottom {
    margin-top: 45px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    color: #64748b !important;
}

.tsc-footer-bottom div {
    color: #64748b !important;
}

.tsc-footer-legal a {
    color: #64748b !important;
    text-decoration: none !important;
    margin-left: 18px;
    font-size: 12px;
    transition: color 0.15s ease;
}

.tsc-footer-legal a:hover {
    color: #94a3b8 !important;
}

/* Mobile Offcanvas and Global Navigation Typography */
.offcanvas-menu-wrapper,
.offcanvas__links,
.offcanvas__links a,
.offcanvas__text,
.slicknav_menu,
.slicknav_nav,
.slicknav_nav a,
.header__right-actions,
.header__action-btn,
.header__action-badge {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* ================= MODERN MOBILE OFFCANVAS DRAWER ================= */
.offcanvas-menu-overlay {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    z-index: 9998 !important;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.28s ease, visibility 0.28s ease !important;
}

.offcanvas-menu-overlay.active {
    visibility: visible !important;
    opacity: 1 !important;
}

.offcanvas-menu-wrapper {
    position: fixed !important;
    left: -320px !important;
    top: 0 !important;
    width: min(320px, 86vw) !important;
    height: 100vh !important;
    background: #ffffff !important;
    padding: 20px 18px 24px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    z-index: 9999 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.16) !important;
    transition: left 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.32s ease !important;
    opacity: 0 !important;
    border-right: 1px solid #f1f5f9;
}

.offcanvas-menu-wrapper.active {
    left: 0 !important;
    opacity: 1 !important;
}

.offcanvas__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 14px;
}

.offcanvas__close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    outline: none;
}

.offcanvas__close-btn:hover {
    background: #fee2e2;
    color: #b31b1c;
    border-color: #fca5a5;
    transform: rotate(90deg);
}

.offcanvas__search-wrap {
    margin-bottom: 14px;
}

.offcanvas__search-trigger {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    outline: none;
}

.offcanvas__search-trigger:hover {
    background: #ffffff;
    border-color: #cbd5e1;
}

/* SlickNav inside Drawer */
.slicknav_menu {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

.slicknav_nav {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.slicknav_nav li {
    margin-bottom: 3px !important;
    list-style: none !important;
}

.slicknav_nav li a {
    display: flex !important;
    align-items: center !important;
    padding: 10px 14px !important;
    color: #334155 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    transition: all 0.18s ease !important;
    min-height: 44px !important;
}

.slicknav_nav li.active a,
.slicknav_nav li a:hover {
    background: #fef2f2 !important;
    color: #b31b1c !important;
    font-weight: 600 !important;
}

.slicknav_nav li a:before {
    content: "•";
    color: #cbd5e1;
    font-size: 18px;
    margin-right: 10px;
    line-height: 1;
    transition: color 0.18s ease;
}

.slicknav_nav li.active a:before,
.slicknav_nav li a:hover:before {
    color: #b31b1c;
}

/* Offcanvas Footer Actions */
.offcanvas__footer-box {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.offcanvas__btn-user {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #0f172a !important;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
    min-height: 44px;
}

.offcanvas__btn-user:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.offcanvas__btn-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 14px;
    background: #25d366;
    color: #ffffff !important;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(37, 211, 102, 0.25);
    transition: all 0.2s ease;
    min-height: 44px;
}

.offcanvas__btn-wa:hover {
    background: #1eb857;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.35);
}

.offcanvas__info-text {
    text-align: center;
    font-size: 12px;
    color: #64748b;
    margin-top: 8px;
}

/* =============================================================
   Floating WhatsApp Button (Compact, Elegant, Non-intrusive)
   ============================================================= */
.tsc-floating-wa {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(18, 140, 126, 0.35), 0 2px 6px rgba(0, 0, 0, 0.12);
    z-index: 1040;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: tscWaPulse 3s infinite;
}

.tsc-floating-wa i {
    font-size: 24px;
    line-height: 1;
    color: #ffffff;
    transition: transform 0.25s ease;
}

@keyframes tscWaPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 4px 16px rgba(18, 140, 126, 0.35);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0), 0 4px 16px rgba(18, 140, 126, 0.35);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 4px 16px rgba(18, 140, 126, 0.35);
    }
}

.tsc-floating-wa:hover {
    transform: scale(1.08) translateY(-2px);
    background: linear-gradient(135deg, #2ae16e 0%, #16a392 100%);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5), 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: none;
}

.tsc-floating-wa:hover i {
    transform: scale(1.06);
}

/* Tooltip on Desktop */
.tsc-floating-wa-tooltip {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) scale(0.95);
    background: #0f172a;
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tsc-floating-wa-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #0f172a;
}

.tsc-floating-wa:hover .tsc-floating-wa-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}

/* Mobile responsive sizing */
@media (max-width: 576px) {
    .tsc-floating-wa {
        bottom: 18px;
        right: 18px;
        width: 44px;
        height: 44px;
    }
    .tsc-floating-wa i {
        font-size: 22px;
    }
    .tsc-floating-wa-tooltip {
        display: none !important;
    }
}