@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800;900&display=swap');

/* ============================
   CSS VARIABLES / DESIGN TOKENS
============================== */
:root {
    --primary-blue:    #014052;
    --accent-blue:     #016a88;
    --light-blue:      #dceff4;
    --accent-red:      #ef4444;
    --dark-red:        #b91c1c;
    --bg-light:        #f8fafc;
    --bg-card:         #ffffff;
    --text-dark:       #0f172a;
    --text-mid:        #334155;
    --text-light:      #64748b;
    --border:          #e2e8f0;
    --white:           #ffffff;
    --shadow-sm:       0 2px 8px rgba(15,23,42,.07);
    --shadow-md:       0 8px 24px rgba(15,23,42,.10);
    --shadow-lg:       0 20px 48px rgba(15,23,42,.14);
    --transition:      all .25s ease;
    --radius:          8px; /* little radius */
    --btn-primary:     #016a88;
    --btn-primary-hover: #0283a8;
    --btn-primary-active: #01556d;
    --btn-disabled:    #cbd5e1;
    --btn-radius:      999px;
    --nav-teal:        #1F5161;
    --nav-gradient:    linear-gradient(90deg, #13313E 0%, #1F5161 50%, #1F586F 100%);
}

/* ===================================
   LAYOUT
=================================== */
/* NOTE: .container is also defined below in UTILITIES â€” consolidated here */

/* ===================================
   MARKETPLACE HEADER
=================================== */

.store-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--nav-gradient);
    border-bottom: 2px solid transparent;
    transition: border-color .3s ease;
    max-width: 100%;
}

.store-header.scrolled {
    border-bottom-color: rgba(255, 255, 255, .1);
}

.store-header-inner {
    height: 90px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    min-width: 0;
    max-width: 100%;
}

.store-logo img {
    height: 32px;
    width: auto;
    flex-shrink: 0;
}

.store-category-btn {
    height: 36px;
    padding: 0 10px;
    border: 1px solid transparent;
    background: rgba(16, 178, 223, 0.1);
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--radius);
    white-space: nowrap;
    flex-shrink: 0;
    font-family: inherit;
    font-size: 14px;
    transition: border-color .2s ease, background .2s ease;
}
.store-category-btn:hover,
.store-category-btn[aria-expanded="true"] {
    background: rgba(131, 228, 255, 0.14);
    border-color: rgba(1, 106, 136, 0.25);
}
.store-category-chevron {
    font-size: .85rem;
    transition: transform .2s ease;
}
.store-category-btn[aria-expanded="true"] .store-category-chevron {
    transform: rotate(180deg);
}

.store-category-wrap {
    position: relative;
    flex-shrink: 0;
}

.store-category-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 240px;
    background: var(--white);
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
    z-index: 1001;
    padding: 8px 0;
    max-height: min(70vh, 420px);
    overflow-y: auto;
}
.store-category-dropdown[hidden] {
    display: none;
}
.store-category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.store-category-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    color: var(--text-mid);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    transition: background .15s ease, color .15s ease;
}
.store-category-list a:hover {
    background: #f1f5f9;
    color: var(--accent-blue);
}
.store-category-list a i {
    font-size: 1.05rem;
    color: var(--accent-blue);
    opacity: .85;
}

.store-search-wrap {
    flex: 1;
    position: relative;
    min-width: 0;
}

.store-search {
    flex: 1;
    height: 36px;
    display: flex;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    min-width: 0;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.store-search.is-focused {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(1, 106, 136, .12);
}
.store-search input[type="search"] {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 18px;
    font-size: 15px;
    background: transparent;
    min-width: 0;
    font-family: inherit;
}
.store-search input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.store-search button {
    width: 60px;
    border: none;
    background: transparent;
    border-left: 1px solid var(--border);
    cursor: pointer;
    color: var(--text-mid);
    font-size: 15px;
    flex-shrink: 0;
}

.store-search button[type="submit"]:hover {
    background: var(--accent-blue);
    color: var(--white);
}

/* Live search dropdown */
.store-search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    box-shadow: 0 10px 32px rgba(15, 23, 42, .1);
    z-index: 1002;
    max-height: min(70vh, 420px);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.store-search-dropdown[hidden] {
    display: none;
}
.store-search-dropdown-header {
    padding: 10px 16px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-light);
    border-bottom: 1px solid #eef2f6;
    background: #fafbfc;
    position: sticky;
    top: 0;
    z-index: 1;
}
.store-search-result {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f1f5f9;
    transition: background .15s ease;
}
.store-search-result:last-child {
    border-bottom: none;
}
.store-search-result:hover,
.store-search-result.is-active {
    background: #f8fafc;
}
.store-search-result-img {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #eef2f7;
    border: 1px solid #e8ecf1;
}
.store-search-result-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.store-search-result-body {
    flex: 1;
    min-width: 0;
}
.store-search-result-name {
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.35;
    margin-bottom: 4px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.store-search-result-price {
    font-size: .95rem;
    font-weight: 800;
    color: #014052;
}
.search-highlight {
    background: #fef08a;
    color: inherit;
    padding: 0 1px;
    border-radius: 2px;
}
.store-search-empty {
    padding: 28px 20px;
    text-align: center;
    font-size: .92rem;
    color: var(--text-mid);
    line-height: 1.5;
}
.store-search-loading {
    padding: 20px 16px;
    text-align: center;
    font-size: .88rem;
    color: var(--text-light);
}
.store-search-view-all {
    display: block;
    padding: 12px 16px;
    text-align: center;
    font-size: .85rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-decoration: none;
    border-top: 1px solid #eef2f6;
    background: #fafbfc;
}
.store-search-view-all:hover {
    background: #f1f5f9;
}

/* Mobile drawer */
.store-mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: var(--nav-gradient);
    color: var(--white);
    padding: 16px 20px 32px;
    overflow-y: auto;
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform .32s ease, visibility .32s ease;
    max-width: 100vw;
}

.store-mobile-drawer.open {
    transform: translateY(0);
    visibility: visible;
}

.store-mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.store-mobile-drawer-logo img {
    height: 28px;
    width: auto;
    display: block;
}

.store-mobile-drawer-close {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .75);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    flex-shrink: 0;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.store-mobile-drawer-close:hover {
    border-color: rgba(255, 255, 255, .35);
    color: var(--white);
    background: rgba(255, 255, 255, .1);
}

.store-mobile-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    margin-bottom: 8px;
}

.store-mobile-tab {
    padding: 14px 8px;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    background: none;
    font-family: inherit;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease;
}

.store-mobile-tab.is-active {
    color: var(--white);
    border-bottom-color: var(--accent-blue);
}

.store-mobile-panel {
    display: none;
    padding-top: 8px;
}

.store-mobile-panel.is-active {
    display: block;
}

.store-mobile-panel-label {
    margin: 0 0 6px;
    padding: 8px 0 4px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
}

.store-mobile-category-list,
.store-mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.store-mobile-category-link,
.store-mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    text-decoration: none;
    color: rgba(255, 255, 255, .85);
    transition: color .2s ease;
}

.store-mobile-category-link:hover,
.store-mobile-menu-link:hover,
.store-mobile-menu-link.active {
    color: var(--white);
}

.store-mobile-cat-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    background: rgba(1, 106, 136, .12);
    font-size: 1rem;
}

.store-mobile-cat-name {
    flex: 1;
    min-width: 0;
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.35;
}

.store-mobile-cat-arrow {
    flex-shrink: 0;
    color: rgba(255, 255, 255, .35);
    font-size: 1rem;
}

body.mobile-nav-open {
    overflow: hidden;
}

/* Close search â€” hidden on desktop */
.store-search-close {
    display: none;
}

/* Search toggle icon â€” hidden on desktop, shown via media query */
.store-search-toggle {
    display: none;
}

.store-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.store-nav a {
    font-weight: 500;
    color: rgba(255, 255, 255, .62);
    text-decoration: none;
    transition: color .2s;
    white-space: nowrap;
    font-size: 14px;
}

.store-nav a:hover,
.store-nav a.active {
    color: var(--white);
    font-weight: 700;
}

.store-header-middle {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.store-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    min-width: 0;
    max-width: 100%;
}

.store-icon {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    transition: .2s;
    border-radius: var(--radius);
}

.store-icon:hover {
    background: var(--accent-blue);
    color: var(--white);
    border-color: var(--accent-blue);
}

/* Wishlist / favorites heart — same light blue as mobile nav */
#store-wishlist .fa-heart {
    color: #32ADE4;
}

#store-wishlist:hover .fa-heart {
    color: #32ADE4;
}

.store-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--accent-red);
    color: white;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Hamburger button */
.store-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    cursor: pointer;
    padding: 10px;
    flex-shrink: 0;
}

.store-hamburger span {
    display: block;
    height: 2px;
    background: rgba(255, 255, 255, .85);
    border-radius: 2px;
    transition: .3s;
}

/* Mobile nav drawer â€” legacy selectors removed; see .store-mobile-drawer */
.mobile-only {
    display: none;
}

/* ---- Tablet (â‰¤1024px): hide categories + nav, show hamburger + search toggle ---- */
@media (max-width: 1024px) {
    .store-category-wrap { display: none; }
    .store-nav { display: none; }
    .store-hamburger { display: flex; }
    .store-search-toggle { display: flex; }
    .store-search-wrap { display: none; }
    .store-header.search-open .store-search-wrap {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 68px;
        z-index: 12;
    }

    .store-header.search-open .store-logo,
    .store-header.search-open .store-actions {
        visibility: hidden;
        pointer-events: none;
    }
    .mobile-only {
        display: flex;
    }

    .store-header-inner {
        height: 68px;
        justify-content: space-between;
        gap: 12px;
        overflow: hidden;
    }

    .store-header-middle {
        position: absolute;
        inset: 0;
        flex: none;
        width: auto;
        pointer-events: none;
    }

    .store-header-middle .store-category-wrap,
    .store-header-middle .store-nav {
        display: none;
    }

    .store-search-wrap {
        pointer-events: auto;
    }

    .store-header.search-open .store-header-middle {
        pointer-events: auto;
    }

    .store-logo {
        flex-shrink: 0;
        position: relative;
        z-index: 2;
    }

    .store-logo img {
        height: 28px;
    }

    .store-actions {
        display: inline-flex;
        align-items: center;
        gap: 2px;
        padding: 4px 6px;
        border: 1px solid rgba(255, 255, 255, .18);
        border-radius: 10px;
        background: rgba(255, 255, 255, .06);
        flex-shrink: 0;
        position: relative;
        z-index: 2;
    }

    .store-icon.mobile-nav-icon,
    .store-icon.store-search-toggle {
        width: auto;
        height: auto;
        min-width: 36px;
        min-height: 36px;
        padding: 6px;
        border: none;
        border-radius: 0;
        background: transparent;
        color: rgba(255, 255, 255, .85);
        font-size: 1.15rem;
    }

    .store-icon.mobile-nav-icon:hover,
    .store-icon.store-search-toggle:hover {
        background: transparent;
        border-color: transparent;
        color: var(--white);
    }

    .store-icon.mobile-nav-icon .fa-shopping-cart {
        color: rgba(255, 255, 255, .85);
    }

    .store-icon.mobile-nav-icon .fa-heart {
        color: #32ADE4 !important;
    }

    .store-hamburger {
        border: none;
        background: transparent;
        padding: 8px;
        flex-shrink: 0;
    }
}

/* ---- Mobile (≤640px): search expands full-width on toggle ---- */
@media (max-width: 640px) {
    .store-header-inner {
        height: 68px;
        justify-content: space-between;
        gap: 8px;
        overflow: hidden;
    }

    .store-logo img { height: 28px; }

    .store-actions {
        padding: 2px 4px;
        gap: 0;
        max-width: calc(100% - 72px);
    }

    .store-icon.mobile-nav-icon,
    .store-icon.store-search-toggle,
    .store-hamburger {
        min-width: 34px;
        min-height: 34px;
        padding: 4px;
    }

    .store-search-wrap {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 10;
    }

    .store-search {
        height: 68px;
        border-radius: 0;
        border: none;
        border-bottom: 2px solid var(--accent-blue);
        background: #0b1220;
    }

    .store-search input[type="search"] {
        color: var(--white);
    }

    .store-search input[type="search"]::placeholder {
        color: rgba(255, 255, 255, .45);
    }

    .store-search button[type="submit"] {
        color: rgba(255, 255, 255, .75);
        border-left-color: rgba(255, 255, 255, .12);
    }

    .store-search.is-focused {
        box-shadow: none;
    }

    .store-header.search-open .store-search-wrap {
        display: block;
    }

    .store-search-dropdown {
        position: fixed;
        top: 68px;
        left: 12px;
        right: 12px;
        max-height: calc(100vh - 80px);
    }

    .store-header.search-open .store-search-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 52px;
        border: none;
        background: transparent;
        border-left: 1px solid rgba(255, 255, 255, .12);
        cursor: pointer;
        color: rgba(255, 255, 255, .75);
        font-size: 16px;
        flex-shrink: 0;
    }

    .store-header.search-open .store-logo,
    .store-header.search-open .store-actions {
        visibility: hidden;
        pointer-events: none;
    }
}

/* ============================
   ANIMATIONS
============================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ============================
   RESET & BASE
============================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

@supports (overflow-x: clip) {
    html, body { overflow-x: clip; }
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }
h1,h2,h3,h4,h5 { font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--text-dark); }

/* ============================
   UTILITIES
============================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* ============================
   BUTTONS (reusable â€” product card style)
============================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: .875rem;
    text-transform: none;
    letter-spacing: normal;
    line-height: 1.2;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
    border-radius: var(--btn-radius);
    white-space: nowrap;
    text-decoration: none;
}

.btn-sm {
    padding: 10px 16px;
    font-size: clamp(.78rem, 1.6vw, .88rem);
    gap: 7px;
}

.btn-lg {
    min-height: 50px;
    padding: 14px 28px;
    font-size: .92rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--btn-primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--btn-primary-hover);
}

.btn-primary:active {
    background: var(--btn-primary-active);
}

.btn-primary:disabled {
    background: var(--btn-disabled);
    color: #64748b;
    cursor: not-allowed;
}

.btn-secondary {
    background: var(--white);
    color: #334155;
    border: 1px solid #e5e7eb;
}

.btn-secondary:hover {
    border-color: #7fcde0;
    color: var(--accent-blue);
}

.btn-red {
    background: var(--accent-red);
    color: var(--white);
}

.btn-red:hover {
    background: var(--dark-red);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .12);
    border-color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
}

.btn-outline-dark:hover {
    background: var(--text-dark);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary-blue);
    border-color: var(--white);
}
.btn-white:hover { background: var(--light-blue); border-color: var(--light-blue); }

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.55);
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); }

.btn-incart {
    background: var(--btn-primary) !important;
    cursor: not-allowed;
    opacity: .85;
}

.carousel-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 24px;
}

/* Icon button (heart/cart in cards) */
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 2px solid var(--border);
    background: var(--bg-light);
    color: var(--text-mid);
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius);
    font-size: 1rem;
    flex-shrink: 0;
}
.btn-icon:hover { background: var(--accent-red); border-color: var(--accent-red); color: var(--white); }
.heart-active { background: var(--accent-red) !important; border-color: var(--accent-red) !important; color: var(--white) !important; }

/* ============================
   TOP BAR
============================== */
.top-bar {
    background: var(--primary-blue);
    color: rgba(255,255,255,.85);
    font-size: .78rem;
    padding: 8px 0;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
}
.top-bar span { display: flex; align-items: center; gap: 4px; }

/* ============================
   NAVBAR
============================== */
.navbar {
    background: var(--white);
    border-bottom: 2px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: box-shadow .3s ease;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 20px;
}

/* Logo */
.logo { font-size: 1.55rem; font-weight: 900; letter-spacing: -1.5px; line-height: 1; }
.logo-soft { color: var(--text-dark); }
.logo-mark { color: var(--accent-blue); }

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-link {
    font-size: .875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-mid);
    transition: color .2s;
    position: relative;
    padding-bottom: 4px;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--accent-blue);
    transition: width .25s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--accent-blue); }

/* Nav icons */
.nav-icons-group {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 42px; height: 42px;
    font-size: 1.1rem;
    color: var(--text-mid);
    border: 2px solid var(--border);
    transition: var(--transition);
}
.nav-icon-link:hover { background: var(--accent-blue); border-color: var(--accent-blue); color: var(--white); }

.badge {
    position: absolute;
    top: -6px; right: -6px;
    min-width: 18px; height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    font-size: .68rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.badge-red { background: var(--accent-red); color: var(--white); }
.badge-blue { background: var(--accent-blue); color: var(--white); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

/* Mobile nav drawer */
.mobile-nav {
    display: none;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 16px 24px;
}
.mobile-nav li { border-bottom: 1px solid var(--border); }
.mobile-nav a {
    display: block;
    padding: 14px 0;
    font-weight: 600;
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.mobile-nav.open { display: block; }

/* ============================
   HERO SECTION
============================== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: var(--white);
    overflow: hidden;
}
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-dark);
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 100px 20px 80px;
}
.hero-content h1 {
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}
.hero-content p {
    font-size: 1.15rem;
    color: var(--text-mid);
    margin: 0 auto 40px auto;
    max-width: 540px;
    line-height: 1.7;
}
.hero-cta-group { 
    display: flex; 
    gap: 16px; 
    flex-wrap: wrap; 
    justify-content: center;
}

.product-finder-hero {
    min-height: 600px;
    align-items: stretch;
    background:
        linear-gradient(100deg, #ffffff 0%, #eef4ff 42%, #7f96f2 100%);
    border-bottom: 1px solid rgba(1, 64, 82,.12);
}
.hero-finder-inner {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr);
    align-items: center;
    gap: 48px;
    padding-top: 82px;
    padding-bottom: 74px;
}
.hero-copy {
    max-width: 700px;
}
.hero-copy h1 {
    font-family: Inter, sans-serif;
    font-size: clamp(3.2rem, 5.4vw, 5.1rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1;
    color: #111827;
    margin-bottom: 20px;
}
.hero-copy p:not(.section-eyebrow) {
    max-width: 680px;
    font-size: clamp(1rem, 1.45vw, 1.22rem);
    line-height: 1.6;
    color: #0f172a;
    margin-bottom: 28px;
}
.hero-search {
    width: min(100%, 670px);
    height: 68px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    border: 1px solid rgba(1, 106, 136,.12);
    border-radius: 7px;
    padding: 0 20px;
    box-shadow: 0 18px 44px rgba(1, 64, 82,.11);
}
.hero-search i {
    color: #8b95a7;
    font-size: 1.1rem;
}
.hero-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--text-dark);
    font: 500 1.05rem/1 Inter, sans-serif;
}
.hero-search input::placeholder {
    color: #7b8494;
}
.hero-art {
    min-height: 380px;
    position: relative;
}
.hero-type-box {
    position: absolute;
    top: 12px;
    right: 74px;
    width: min(385px, 78%);
    aspect-ratio: 1.85 / 1;
    border: 2px solid #2f5bf4;
    display: grid;
    place-items: center;
    color: #fff;
    text-shadow: 1px 1px 0 #2f5bf4, -1px -1px 0 #2f5bf4, 1px -1px 0 #2f5bf4, -1px 1px 0 #2f5bf4;
}
.hero-type-box::before,
.hero-type-box::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid #2f5bf4;
    border-radius: 50%;
    background: var(--white);
}
.hero-type-box::before { top: -10px; left: -10px; }
.hero-type-box::after { right: -10px; bottom: -10px; }
.hero-type-box span {
    font-size: clamp(4.2rem, 8vw, 7.3rem);
    font-weight: 900;
    letter-spacing: -.08em;
    line-height: 1;
}
.hero-window {
    position: absolute;
    border: 2px solid rgba(47,91,244,.75);
    border-radius: 14px;
    background:
        radial-gradient(circle, rgba(1, 64, 82,.18) 1px, transparent 1px) 0 0 / 12px 12px,
        linear-gradient(135deg, rgba(255,255,255,.2), rgba(1, 106, 136,.34));
}
.hero-window-main {
    left: 0;
    bottom: 8px;
    width: 76%;
    height: 182px;
    padding: 22px;
}
.hero-window-side {
    right: 0;
    bottom: 46px;
    width: 31%;
    height: 280px;
}
.window-dots {
    display: flex;
    gap: 9px;
}
.window-dots span {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid #2f5bf4;
}
.window-lines {
    display: grid;
    gap: 14px;
    margin-top: 36px;
    max-width: 72%;
}
.window-lines span {
    height: 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.38);
}
.window-lines span:nth-child(2) { width: 78%; }
.window-lines span:nth-child(3) { width: 62%; }
.window-lines span:nth-child(4) { width: 88%; }

.home-product-browser {
    background: var(--bg-light);
    padding: 0 0 24px;
}
.home-filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    padding: 22px 0 28px;
    scrollbar-width: thin;
}
.home-filter-chip,
.home-filter-select-wrap {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    border: 1px solid transparent;
    background: #eef0f4;
    color: #303844;
    padding: 0 22px;
    border-radius: 6px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.home-filter-chip:hover,
.home-filter-select-wrap:hover {
    background: var(--light-blue);
    color: var(--primary-blue);
}
.home-filter-chip.active {
    background: var(--accent-blue);
    color: var(--white);
    box-shadow: 0 12px 26px rgba(1, 106, 136,.25);
}
.home-filter-select-wrap {
    margin-left: auto;
    background: var(--white);
    border-color: var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    min-width: 150px;
    cursor: default;
}
.home-filter-select-wrap span {
    color: var(--text-light);
    font-size: .72rem;
    line-height: 1.1;
}
.home-filter-select {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text-dark);
    font: 700 1rem/1.2 Inter, sans-serif;
    cursor: pointer;
}
.home-products-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0 30px;
}
.home-products-heading h2 {
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    max-width: 720px;
}
.home-products-heading > p {
    color: var(--text-light);
    font-size: .92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    white-space: nowrap;
}
.home-product-grid {
    padding-bottom: 48px;
}
.product-card.is-hidden {
    display: none;
}
.home-empty-state {
    text-align: center;
    padding: 54px 20px 86px;
    color: var(--text-light);
}
.home-empty-state i {
    font-size: 2.4rem;
    color: var(--accent-blue);
    margin-bottom: 14px;
}

/* ============================
   WHY STRIP
============================== */
.why-strip {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}
.why-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
}
.why-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 22px 32px;
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-mid);
}
.why-item i { color: var(--accent-blue); font-size: 1.1rem; }
.why-divider { width: 1px; height: 40px; background: var(--border); }

/* ============================
   SECTION COMMON
============================== */
.section-header {
    text-align: center;
    padding: 80px 0 48px;
}
.section-eyebrow {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--accent-blue);
    margin-bottom: 12px;
}
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.section-sub {
    max-width: 560px;
    margin: 16px auto 0;
    color: var(--text-light);
    font-size: .95rem;
}

/* ============================
   PRODUCT GRID & CARDS
============================== */

/* Grid used on all product listing pages */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: clamp(16px, 3vw, 24px);
    padding-bottom: 80px;
}

/* ---- Product card (includes/product-card.php) ---- */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--white);
    border: 1px solid #e8ecf1;
    border-radius: 22px;
    overflow: hidden;
    transition: border-color .2s ease;
}
.product-card:hover {
    border-color: #d1dae6;
}

.product-card-media {
    position: relative;
    margin: 10px 10px 0;
    border-radius: 16px;
    overflow: hidden;
    background: #eef2f7;
    aspect-ratio: 4 / 3;
    min-height: clamp(160px, 28vw, 220px);
}

.product-card-image-link {
    display: block;
    position: absolute;
    inset: 0;
    text-decoration: none;
}

.product-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

/* ---- Skeleton loader ----
   The shimmer lives in the container BACKGROUND, which always paints beneath
   the image. A cached image paints instantly on top with no fade, so there is
   no flash on navigation. The shimmer is only visible behind an image that is
   still downloading (its box is transparent until bytes arrive). JS stops the
   animation once the image has loaded. No opacity transition on the image. */
@keyframes sm-skeleton-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.img-skeleton {
    background-color: #eef2f7;
    background-image: linear-gradient(90deg, #eef2f7 25%, #e2e8f0 37%, #eef2f7 63%);
    background-size: 200% 100%;
    animation: sm-skeleton-shimmer 1.4s linear infinite;
}

.img-skeleton.is-loaded {
    background-image: none;
    animation: none;
}

.product-card:hover .product-card-image {
    transform: scale(1.04);
}

.product-card-wishlist,
.add-to-wishlist-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border: 1px solid #e8ecf1;
    border-radius: 50%;
    background: var(--white);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: .95rem;
    z-index: 2;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.product-card-wishlist:hover,
.add-to-wishlist-overlay:hover {
    color: #64748b;
    border-color: #d1dae6;
}
.product-card-wishlist.heart-active,
.add-to-wishlist-overlay.heart-active {
    color: var(--accent-red);
}

.product-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 18px 18px;
    gap: 0;
}

.product-card-title-link {
    text-decoration: none;
    color: inherit;
}

.product-card-title {
    margin: 0 0 8px;
    font-size: clamp(1rem, 2.2vw, 1.12rem);
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-dark);
    letter-spacing: -.02em;
}

.product-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.product-card-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: .78rem;
    color: #f59e0b;
}

.product-card-stars .far.fa-star {
    color: #d1d5db;
}

.product-card-rating-num {
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-light);
}

.product-card-desc {
    margin: 0 0 16px;
    font-size: clamp(.82rem, 1.8vw, .9rem);
    line-height: 1.55;
    color: #64748b;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 4px;
}

.product-card-price {
    font-size: clamp(1.05rem, 2.4vw, 1.2rem);
    font-weight: 800;
    color: var(--text-dark);
    white-space: nowrap;
}

.product-card-footer .btn {
    flex-shrink: 0;
}

@media (max-width: 400px) {
    .product-card-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .product-card-footer .btn {
        width: 100%;
    }
}

/* ---- Modern product card ---- */
.modern-product-card {
    position: relative;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0,0,0,.06);
    transition: .3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.modern-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

/* Badge */
.product-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    color: var(--text-dark);
}

/* Wishlist button */
.wishlist-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: none;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-light);
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: .2s ease;
}

.wishlist-btn:hover { color: var(--accent-red); transform: scale(1.1); }
.wishlist-btn.active,
.wishlist-btn.heart-active { color: var(--accent-red); }

/* Image area */
.product-image-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f7f7f8;
    min-height: 240px;
    padding: 48px 20px 20px;
    position: relative;
    text-decoration: none;
}

.product-image {
    width: 100%;
    max-width: 240px;
    height: 200px;
    object-fit: contain;
    transition: transform .35s ease;
}

.modern-product-card:hover .product-image { transform: scale(1.04); }

/* In-cart badge on image */
.in-cart-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: var(--accent-blue);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Content area */
.product-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Rating row */
.rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.stars {
    display: flex;
    gap: 3px;
    color: #f59e0b;
    font-size: .85rem;
}

.rating-text {
    font-size: .85rem;
    color: #6b7280;
    font-weight: 600;
}

/* Title */
.modern-product-card .product-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.3;
    color: var(--text-dark);
}

/* Category */
.product-category {
    color: #8b8b8b;
    font-size: .85rem;
    margin-bottom: 16px;
}

/* Price */
.price-row { margin-top: auto; }

.modern-product-card .product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

/* Action buttons */
.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.product-actions .btn-secondary,
.product-actions .btn-primary {
    height: 48px;
    border-radius: 999px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: .875rem;
    transition: .25s ease;
    font-family: inherit;
    cursor: pointer;
    border: none;
}

.product-actions .btn-secondary {
    background: #f3f4f6;
    color: #111827;
}

.product-actions .btn-secondary:hover { background: #e5e7eb; }

.product-actions .btn-primary:hover {
    transform: translateY(-2px);
}

.product-actions .btn-primary:disabled,
.product-actions .btn-primary.btn-incart {
    opacity: .7;
    cursor: not-allowed;
    transform: none;
}

/* Hidden card (filter) */
.modern-product-card.is-hidden { display: none; }

/* Empty state */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}
.empty-state i { font-size: 3rem; margin-bottom: 16px; color: var(--border); }

/* Responsive grid breakpoints */
@media (max-width: 768px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .product-actions { grid-template-columns: 1fr; }
}

@media (min-width: 1400px) {
    .product-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================
   FEATURED PRODUCTS SECTION
============================== */
.featured-products { background: var(--bg-light); }

/* ============================
   FEATURES SECTION
============================== */
.features-section { background: var(--white); padding-bottom: 80px; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2px;
    border: 1px solid var(--border);
}
.feature-card {
    padding: 36px;
    border: 1px solid var(--border);
    background: var(--white);
    transition: background .25s ease;
}
.feature-card:hover { background: var(--bg-light); }
.feature-icon {
    width: 52px; height: 52px;
    background: var(--light-blue);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.feature-card p { font-size: .875rem; color: var(--text-light); line-height: 1.65; }

/* ============================
   TESTIMONIALS
============================== */
.testimonials-section {
    background: var(--bg-light);
    padding-bottom: 80px;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.featured-testimonial {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}
.featured-testimonial .testimonial-text { color: rgba(255,255,255,.85); }
.featured-testimonial strong { color: var(--white); }
.featured-testimonial span { color: rgba(255,255,255,.6); }

.testimonial-card .stars { color: #f59e0b; font-size: .9rem; }
.featured-testimonial .stars { color: #fbbf24; }
.testimonial-text { font-size: .9rem; color: var(--text-mid); font-style: italic; flex-grow: 1; line-height: 1.7; }
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}
.featured-testimonial .testimonial-author { border-top-color: rgba(255,255,255,.2); }
.author-avatar {
    width: 40px; height: 40px;
    background: var(--accent-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .85rem;
    flex-shrink: 0;
}
.featured-testimonial .author-avatar { background: rgba(255,255,255,.2); }
.testimonial-author strong { display: block; font-size: .875rem; font-weight: 700; }
.testimonial-author span { font-size: .78rem; color: var(--text-light); }

/* ============================
   CTA BANNER
============================== */
.cta-banner {
    background: linear-gradient(110deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    color: var(--white);
    padding: 72px 0;
}
.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    flex-wrap: wrap;
}
.cta-banner h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); color: var(--white); margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,.75); font-size: .95rem; max-width: 480px; }
.cta-banner-actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

/* ============================
   PAGE HERO (inner pages)
============================== */
.page-hero {
    background: linear-gradient(110deg, var(--text-dark) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 72px 0 56px;
}
.page-hero .section-eyebrow { color: #7fcde0; }
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--white);
    margin: 8px 0 16px;
}
.page-hero p { color: rgba(255,255,255,.7); max-width: 540px; }

/* ============================
   PRODUCTS PAGE
============================== */
.products-page-section {
    padding: 32px 0 56px;
    background: var(--white);
}

.products-category-header {
    display: grid;
    grid-template-columns: 4px minmax(0, auto) 1fr;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
}

.products-category-accent {
    align-self: stretch;
    width: 4px;
    min-height: 52px;
    background: #016a88;
    border-radius: 2px;
}

.products-category-text h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    letter-spacing: -.02em;
}

.products-search-query {
    margin: 4px 0 0;
    font-size: .92rem;
    color: var(--text-mid);
}

.products-category-count {
    margin: 6px 0 0;
    font-size: .92rem;
    color: var(--text-light);
}

.products-category-rule {
    height: 1px;
    background: #e8ecf1;
    align-self: center;
}

.products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 14px 18px;
    margin-bottom: 28px;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    background: var(--white);
}

.products-range {
    margin: 0;
    font-size: .92rem;
    color: var(--text-mid);
}

.products-range strong {
    color: var(--text-dark);
    font-weight: 700;
}

.products-sort-form {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.products-sort-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.products-sort-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.products-sort-icon {
    position: absolute;
    left: 14px;
    color: var(--text-mid);
    font-size: 1rem;
    pointer-events: none;
}

.products-sort-select {
    appearance: none;
    min-width: 190px;
    padding: 10px 38px 10px 40px;
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    background: var(--white);
    color: var(--text-dark);
    font-family: inherit;
    font-size: .88rem;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: border-color .2s ease;
}

.products-sort-select:focus {
    border-color: var(--accent-blue);
}

.products-sort-chevron {
    position: absolute;
    right: 12px;
    color: var(--text-mid);
    font-size: .9rem;
    pointer-events: none;
}

.products-page-grid {
    padding-bottom: 32px;
}

.products-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 8px;
}

.products-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    color: var(--text-dark);
    text-decoration: none;
    cursor: pointer;
    font-size: .95rem;
}

.products-page-btn.is-disabled {
    color: #cbd5e1;
    cursor: default;
}

.products-page-numbers {
    display: flex;
    align-items: center;
    gap: 10px;
}

.products-page-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 6px;
    border-radius: 50%;
    color: var(--text-dark);
    text-decoration: none;
    font-size: .92rem;
    font-weight: 600;
    transition: background .2s ease, color .2s ease;
}

.products-page-number:hover {
    background: #f1f5f9;
}

.products-page-number.is-active {
    background: #016a88;
    color: var(--white);
}

@media (max-width: 640px) {
    .products-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .products-sort-form {
        width: 100%;
        margin-left: 0;
    }

    .products-sort-wrap,
    .products-sort-select {
        width: 100%;
    }
}

.filter-form {
    display: flex;
    align-items: center;
    gap: 12px;
}
.search-input, .sort-select {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    outline: none;
    font-family: inherit;
    font-size: .85rem;
}
.search-input:focus, .sort-select:focus {
    border-color: var(--accent-blue);
}
.btn-search {
    padding: 10px 14px;
}
.products-count {
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-light);
    margin-bottom: 28px;
}

/* ============================
   BREADCRUMB
============================== */
.breadcrumb-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    font-size: .82rem;
    color: var(--text-light);
}
.breadcrumb-bar .container { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb-bar a { color: var(--text-light); transition: color .2s; }
.breadcrumb-bar a:hover { color: var(--accent-blue); }
.breadcrumb-bar i { font-size: .65rem; color: var(--border); }
.breadcrumb-bar span { color: var(--text-dark); font-weight: 600; }

/* ============================
   PRODUCT DETAIL PAGE (pd-*)
============================== */
.pd-section {
    padding: 32px 0 56px;
    background: var(--white);
}

.pd-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
     position: relative;
    overflow: visible;
}

.pd-gallery {
    width: 100%;
    min-width: 0;
    overflow: visible;
}

.pd-gallery-sizer {
    width: 100%;
}

.pd-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
      min-width: 0;
    overflow: visible;
}

.pd-gallery-main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e8ecf1;
    aspect-ratio: 4 / 5;
    max-height: min(640px, calc(100vh - 130px));
}

.pd-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Sticky image column + JS fallback */
@media (min-width: 901px) {
    .pd-section,
    .pd-section > .container {
        overflow: visible;
    }

    .pd-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
        gap: clamp(32px, 5vw, 64px);
        align-items: start;
    }

    .pd-gallery {
        position: sticky;
        top: 106px;
        align-self: start;
        z-index: 2;
        height: fit-content;
        max-height: calc(100vh - 120px);
    }

    .pd-gallery-main {
        width: 100%;
        aspect-ratio: 1 / 1;
        max-height: calc(100vh - 120px);
    }

    .pd-gallery.is-fixed .pd-gallery-main {
        position: fixed;
        top: 106px;
        z-index: 20;
        width: var(--pd-gallery-width, 40%);
        max-height: calc(100vh - 120px);
    }

    .pd-gallery.is-bottom {
        position: relative;
        top: auto;
        align-self: end;
    }

    .pd-gallery.is-bottom .pd-gallery-main {
        position: relative;
        top: auto;
        width: 100%;
    }
}

.pd-reviews-inline {
    margin-top: 12px;
    padding: 28px 0 0;
    border-top: 1px solid #e8ecf1;
    background: transparent;
}

.pd-reviews-inline .pd-reviews-layout {
    grid-template-columns: 1fr;
    gap: 20px;
}


.pd-category-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 6px 14px;
    border: 1px solid #e8ecf1;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-mid);
    background: var(--white);
    margin: 0;
}

.pd-title {
    margin: 0;
    font-size: clamp(1.55rem, 3.5vw, 2.35rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.03em;
    color: var(--text-dark);
}

.pd-owned-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #d1e7ee;
    background: #e8f5f9;
    color: #016a88;
    font-size: .86rem;
    line-height: 1.4;
    min-width: 0;
    max-width: 100%;
}

.pd-owned-note > i {
    flex-shrink: 0;
    font-size: .9rem;
    color: #016a88;
    margin-top: 2px;
}

.pd-owned-note > span {
    min-width: 0;
    flex: 1;
    overflow-wrap: anywhere;
}

.pd-owned-note a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
}

.pd-owned-note a:hover {
    color: #014052;
}

.pd-price {
    margin: 0;
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
    font-weight: 700;
    color: var(--text-dark);
}

.pd-rating-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
}

.pd-rating-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.pd-stars {
    display: inline-flex;
    gap: 2px;
    color: #f59e0b;
    font-size: .85rem;
}

.pd-stars .far.fa-star {
    color: #d1d5db;
}

.pd-rating-score {
    font-size: .92rem;
    font-weight: 700;
    color: var(--text-dark);
}

.pd-rating-count {
    font-size: .88rem;
    color: var(--text-light);
}

.pd-delivery-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    font-size: .86rem;
    color: var(--text-mid);
    margin: 0;
    line-height: 1.5;
}

.pd-delivery-note i {
    color: var(--accent-blue);
}

.pd-deployment {
    margin: 0;
}

.pd-deployment-label {
    margin: 0 0 10px;
    font-size: .88rem;
    font-weight: 700;
    color: var(--text-dark);
}

.pd-deployment-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pd-deployment-chip {
    min-width: 88px;
    height: 42px;
    padding: 0 18px;
    border: 1px solid #e8ecf1;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--text-mid);
    font-family: inherit;
    font-size: .86rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.pd-deployment-chip.is-active {
    background: var(--text-dark);
    border-color: var(--text-dark);
    color: var(--white);
}

.pd-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
}

.pd-actions .btn-primary {
    flex: 1;
    width: 100%;
}


.pd-review-link {
    display: inline-block;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    color: var(--text-mid);
    font-family: inherit;
    font-size: .84rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    align-self: flex-start;
}

.pd-review-link:hover {
    color: var(--accent-blue);
}

.pd-accordion {
    border-top: 1px solid #e8ecf1;
    margin: 0;
    overflow-anchor: none;
}

.pd-info .pd-accordion:first-of-type {
    margin-top: 4px;
    padding-top: 4px;
}

.pd-accordion summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 10px 0;
    cursor: pointer;
    list-style: none;
    font-size: .92rem;
    font-weight: 700;
    color: var(--text-dark);
}

.pd-accordion summary::-webkit-details-marker {
    display: none;
}

.pd-accordion summary i {
    color: var(--text-light);
    font-size: .75rem;
    transition: transform .35s ease;
}

.pd-accordion[open] summary i,
.pd-accordion.is-open summary i {
    transform: rotate(180deg);
}

.pd-accordion-body {
    padding: 4px 0 16px;
    color: var(--text-mid);
    font-size: .9rem;
    line-height: 1.7;
    overflow: hidden;
    will-change: height, opacity;
}

.pd-accordion.is-animating .pd-accordion-body {
    transition: height .38s cubic-bezier(.22, 1, .36, 1),
                opacity .3s ease,
                padding .38s cubic-bezier(.22, 1, .36, 1);
}

.pd-accordion.is-collapsed .pd-accordion-body {
    height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
}

.pd-feature-list {
    display: grid;
    gap: 10px;
    padding-left: 18px;
}

.pd-support-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.pd-support-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.pd-support-item i {
    color: var(--accent-blue);
    margin-top: 3px;
}

.pd-support-item strong {
    display: block;
    font-size: .86rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.pd-support-item span {
    font-size: .82rem;
    color: var(--text-light);
}

/* Reviews section */
.pd-reviews-section {
    padding: 40px 0 56px;
    background: var(--white);
    border-top: 1px solid #e8ecf1;
}

.pd-reviews-heading {
    margin: 0 0 24px;
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    font-weight: 800;
    color: var(--text-dark);
}

.pd-reviews-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

@media (min-width: 901px) {
    .pd-reviews-layout {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

.pd-reviews-average {
    margin: 0;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    color: var(--text-dark);
}

.pd-reviews-average span {
    font-size: .45em;
    font-weight: 700;
    color: var(--text-light);
}

.pd-reviews-total {
    margin: 8px 0 20px;
    font-size: .9rem;
    color: var(--text-light);
}

.pd-review-bar-row {
    display: grid;
    grid-template-columns: 14px 1fr;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.pd-review-bar-label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-mid);
}

.pd-review-bar-track {
    height: 6px;
    background: #eef2f6;
    border-radius: 999px;
    overflow: hidden;
}

.pd-review-bar-fill {
    height: 100%;
    background: var(--text-dark);
    border-radius: 999px;
}

.pd-reviews-carousel-wrap {
    position: relative;
    min-height: 240px;
}

.pd-review-card {
    display: none;
    padding: 20px;
    border: 1px solid #e8ecf1;
    border-radius: 14px;
    background: var(--white);
    min-height: 220px;
}

.pd-review-card.is-active {
    display: block;
}

.pd-review-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.pd-review-card-header strong {
    font-size: .95rem;
    color: var(--text-dark);
}

.pd-review-card-header time {
    font-size: .82rem;
    color: var(--text-light);
    white-space: nowrap;
}

.pd-review-card-stars {
    margin-bottom: 12px;
}

.pd-review-card-text {
    margin: 0 0 16px;
    font-size: .92rem;
    line-height: 1.7;
    font-size: .92rem;
    line-height: 1.65;
    color: var(--text-mid);
}

.pd-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #dceff4;
    color: #016a88;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .82rem;
    font-weight: 800;
}

.pd-reviews-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
}

.pd-reviews-dots {
    display: flex;
    gap: 8px;
}

.pd-reviews-dot {
    width: 28px;
    height: 4px;
    border: none;
    border-radius: 999px;
    background: #dceff4;
    cursor: pointer;
    padding: 0;
    transition: background .2s ease;
}

.pd-reviews-dot.is-active {
    background: #016a88;
}

.pd-reviews-next {
    width: 38px;
    height: 38px;
    border: 1px solid #e8ecf1;
    border-radius: 50%;
    background: var(--white);
    color: var(--text-dark);
    cursor: pointer;
    transition: background .2s ease;
}

.pd-reviews-next:hover {
    background: #f8fafc;
}

/* Review modal */
.pd-modal[hidden] {
    display: none;
}

.pd-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pd-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .45);
}

.pd-modal-dialog {
    position: relative;
    width: min(100%, 480px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: var(--white);
    border: 1px solid #e8ecf1;
    border-radius: 16px;
    padding: 28px 24px 24px;
}

.pd-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: 1px solid #e8ecf1;
    border-radius: 50%;
    background: var(--white);
    color: var(--text-mid);
    cursor: pointer;
}

.pd-modal-title {
    margin: 0 0 6px;
    font-size: 1.35rem;
    font-weight: 800;
}

.pd-modal-subtitle {
    margin: 0 0 22px;
    font-size: .88rem;
    color: var(--text-light);
}

.pd-form-group {
    margin-bottom: 18px;
}

.pd-form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--text-mid);
}

.pd-form-group input,
.pd-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    font-family: inherit;
    font-size: .9rem;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.pd-form-group input:focus,
.pd-form-group textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(1, 106, 136, .12);
}

.pd-star-input {
    display: flex;
    gap: 6px;
}

.pd-star-input-btn {
    border: none;
    background: none;
    padding: 0;
    font-size: 1.35rem;
    color: #d1d5db;
    cursor: pointer;
}

.pd-star-input-btn.is-active {
    color: #f59e0b;
}

.pd-form-error {
    margin: 0 0 14px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--accent-red);
}

.pd-modal-submit {
    width: 100%;
    min-height: 48px;
    border: none;
    border-radius: 999px;
    background: #016a88;
    color: var(--white);
    font-family: inherit;
    font-size: .92rem;
    font-weight: 700;
    cursor: pointer;
}

.pd-modal-submit:hover:not(:disabled) {
    background: #0283a8;
}

.pd-modal-submit:disabled {
    opacity: .7;
    cursor: wait;
}

body.pd-modal-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .pd-gallery-main {
        aspect-ratio: 16 / 11;
    }

    .pd-support-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .pd-section {
        padding-top: 24px;
    }


    .pd-review-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Legacy aliases kept for older markup */
.product-detail-section { padding: 56px 0 72px; }
.product-showcase-section { background: var(--white); }

/* Trust badges */
.trust-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.badge-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-mid);
    text-transform: uppercase;
    letter-spacing: .05em;
}
.badge-item i { color: var(--accent-blue); }

/* Related section */
.related-section { background: var(--bg-light); padding-bottom: 80px; }

/* ============================
   CONTACT PAGE
============================== */
.contact-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #014052 0%, #016a88 55%, #2ba6c4 100%);
    color: var(--white);
    padding: 56px 0 64px;
}

.contact-hero-pattern {
    position: absolute;
    inset: 0;
    opacity: .12;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 0v24M0 12h24' stroke='%23ffffff' stroke-width='1' fill='none'/%3E%3C/svg%3E");
    background-size: 28px 28px;
    pointer-events: none;
}

.contact-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    font-size: .82rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.contact-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
}

.contact-hero p {
    margin: 0;
    font-size: clamp(.92rem, 2vw, 1.05rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, .88);
}

.contact-breadcrumb {
    background: #f1f5f9;
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 0 14px;
}

.contact-breadcrumb .contact-page-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .75rem;
    color: var(--text-light);
}

.contact-breadcrumb a {
    color: var(--text-mid);
    text-decoration: none;
    transition: color .2s ease;
}

.contact-breadcrumb a:hover {
    color: var(--accent-blue);
}

.contact-breadcrumb i {
    font-size: .6rem;
    color: #cbd5e1;
}

.contact-breadcrumb span {
    color: var(--text-dark);
    font-weight: 500;
}

.contact-page-section {
    padding: 28px 0 56px;
    background: #f1f5f9;
}

.contact-page-wrap {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.contact-page-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.contact-page-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.contact-page-right {
    min-width: 0;
}
/* new contact styling */

.contact-section-head {
    margin-bottom: 20px;
}

.contact-section-head h2 {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.contact-section-head p {
    margin: 0;
    font-size: .875rem;
    color: var(--text-light);
}

.offices-directory {
    padding-bottom: 8px;
    min-width: 0;
    max-width: 100%;
}

.offices-directory-head {
    margin-bottom: 20px;
}

.offices-directory-title {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.offices-directory-accent {
    width: 4px;
    min-height: 48px;
    border-radius: 4px;
    background: var(--accent-blue);
    flex-shrink: 0;
}

.offices-directory-title h2 {
    margin: 0 0 6px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -.02em;
}

.offices-directory-count {
    margin: 0;
    font-size: .875rem;
    color: var(--text-light);
}

.offices-directory-panel {
    overflow: visible;
    min-width: 0;
    max-width: 100%;
}

.offices-directory-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    padding: 0 0 14px;
}

.offices-directory-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(1, 106, 136, 0.12);
    color: var(--accent-blue);
    font-size: .8125rem;
    font-weight: 600;
}

.offices-directory-regions {
    font-size: .8125rem;
    color: var(--text-light);
}

.offices-table-wrap {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    width: 100%;
    max-width: 100%;
}

.offices-table {
    width: 100%;
    border-collapse: collapse;
}

.offices-table thead {
    background: #f1f5f9;
}

.offices-table th {
    padding: 13px 18px;
    text-align: left;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #64748b;
    border-bottom: 1px solid #e5e7eb;
}

.offices-table td {
    padding: 16px 18px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    font-size: .8125rem;
    color: var(--text-mid);
    background: var(--white);
}

.offices-table tbody tr:last-child td {
    border-bottom: 0;
}

.offices-table tbody tr[hidden] {
    display: none;
}

.offices-table-office {
    font-weight: 700;
    font-size: .875rem;
    color: var(--text-dark);
    min-width: 180px;
}

.offices-table-address span {
    line-height: 1.45;
}

.offices-table-address,
.offices-table-phone {
    display: table-cell;
}

.offices-table-address i,
.offices-table-phone i {
    color: #94a3b8;
    margin-right: 8px;
    font-size: .78rem;
}

.offices-table-phone a {
    color: inherit;
    text-decoration: none;
}

.offices-table-phone a:hover {
    color: var(--accent-blue);
}

.offices-table-action {
    width: 56px;
    text-align: right;
}

.offices-table-directions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #64748b;
    text-decoration: none;
    transition: var(--transition);
}

.offices-table-directions:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: rgba(1, 106, 136, 0.06);
}

.offices-directory-hours {
    margin: 16px 0 0;
    font-size: .8125rem;
    color: var(--text-light);
}

/* Desktop table vs mobile cards */
.offices-mobile-only {
    display: none;
}

.offices-desktop-only {
    display: block;
}

/* Mobile office cards (layout only — visibility toggled above / in media query) */
.offices-mobile-list {
    flex-direction: column;
    gap: 14px;
}

.office-mobile-card {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
}

.office-mobile-card-head {
    padding: 16px 16px 12px;
    border-bottom: 1px solid #f1f5f9;
}

.office-mobile-card-title {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.35;
}

.office-mobile-card-region {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(1, 106, 136, 0.1);
    color: var(--accent-blue);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.office-mobile-card-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.office-mobile-detail {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.office-mobile-detail-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f1f5f9;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: .85rem;
}

.office-mobile-detail-content {
    flex: 1;
    min-width: 0;
}

.office-mobile-label {
    display: block;
    margin-bottom: 4px;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #94a3b8;
}

.office-mobile-detail-content p,
.office-mobile-detail-content a {
    margin: 0;
    font-size: .875rem;
    line-height: 1.45;
    color: var(--text-mid);
    word-break: break-word;
}

.office-mobile-detail-content a {
    font-weight: 600;
    color: var(--accent-blue);
    text-decoration: none;
}

.offices-directory-card {
    margin-bottom: 24px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Floating chat widget (site-wide) */
.chat-widget {
    position: fixed;
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    z-index: 9990;
    width: 56px;
    pointer-events: none;
}

.chat-widget > * {
    pointer-events: auto;
}

.chat-widget-panel {
    position: fixed;
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + 68px);
    width: 260px;
    max-width: calc(100% - 32px);
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 10px;
    animation: chatWidgetIn .2s ease;
    z-index: 9991;
}

.chat-widget-panel[hidden] {
    display: none !important;
}

.chat-widget-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background .2s ease;
}

.chat-widget-option:hover {
    background: #f8fafc;
}

.chat-widget-option-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.chat-widget-option-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chat-widget-option-text strong {
    font-size: .9rem;
    color: var(--text-dark);
}

.chat-widget-option-text small {
    font-size: .78rem;
    color: var(--text-light);
}

.chat-widget-toggle {
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 50%;
    background: var(--accent-blue);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(1, 106, 136, 0.35);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    transition: background .2s ease;
    flex-shrink: 0;
}

.chat-widget-toggle:hover {
    background: var(--btn-primary-hover);
}

.chat-widget-toggle.is-open {
    background: var(--btn-primary-active);
}

@keyframes chatWidgetIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.contact-form-card {
    width: 100%;
}

.contact-form-wide {
    width: 100%;
}

.contact-form-sub {
    margin: 4px 0 0;
    font-size: .8125rem;
    font-weight: 400;
    color: var(--text-light);
}

.contact-field-label {
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #016a88;
}

.contact-field-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}

.contact-page-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-card {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 20px;
    border-top: 3px solid #016a88;
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.contact-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #e8f5f9;
    color: #016a88;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-office-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.contact-office-tab {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: var(--white);
    color: #475569;
    font-family: inherit;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.35;
    padding: 10px 12px;
    cursor: pointer;
    text-align: center;
}

.contact-office-tab.is-active {
    border-color: var(--accent-blue);
    background: rgba(1, 106, 136, 0.2);
    color: var(--accent-blue);
}

.contact-card-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    font-size: .82rem;
    line-height: 1;
}

.contact-card-header h2 {
    margin: 0;
    font-size: .95rem;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: -.01em;
}

.contact-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.contact-info-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 8px;
    background: #e8f5f9;
    color: #016a88;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    font-size: .78rem;
    line-height: 1;
}

.contact-info-list strong {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #016a88;
    margin-bottom: 2px;
    line-height: 1.3;
}

.contact-info-list a,
.contact-info-list span {
    display: block;
    font-size: .8125rem;
    font-weight: 400;
    color: #334155;
    line-height: 1.4;
    text-decoration: none;
}

.contact-info-list a:hover {
    color: #016a88;
}

.contact-info-sub {
    margin-top: 2px;
    font-size: .82rem !important;
    color: var(--text-light) !important;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.contact-field-input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
    font-family: inherit;
    font-size: .8125rem;
    font-weight: 400;
    color: #334155;
    padding: 10px 12px;
    outline: none;
    transition: border-color .2s ease, background .2s ease;
}

.contact-field-input:focus {
    border-color: #7fcde0;
    background: var(--white);
}

.contact-field-input::placeholder {
    color: #94a3b8;
}

.contact-field-textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.5;
}

.contact-page-form .btn {
    margin-top: 2px;
}

.contact-form-error {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fef2f2;
    color: var(--dark-red);
    font-size: .88rem;
    font-weight: 600;
}

.contact-form-success {
    text-align: center;
    padding: 32px 16px;
}

.contact-form-success i {
    font-size: 2.5rem;
    color: #22c55e;
    margin-bottom: 12px;
}

.contact-form-success h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 600;
}

.contact-form-success p {
    margin: 0 0 20px;
    color: var(--text-light);
    font-size: .9rem;
}

.contact-whatsapp-note {
    margin: 8px 0 0;
    text-align: center;
    font-size: .75rem;
    color: #94a3b8;
}

.contact-map-card {
    margin-top: 20px;
}

.contact-map-wrap {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #f3f4f6;
}

.contact-map-wrap iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
}

.req { color: var(--accent-red); }

/* ============================
   CART PAGE
============================== */
.cart-page,
.checkout-page {
    background: #f1f5f9;
    padding: 28px 0 56px;
}

.cart-page-wrap,
.checkout-page-wrap {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.cart-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.cart-page-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.cart-back-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    background: var(--white);
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: .78rem;
    flex-shrink: 0;
    transition: border-color .2s ease, color .2s ease;
}

.cart-back-btn:hover {
    border-color: #7fcde0;
    color: var(--accent-blue);
}

.cart-page-header-icon {
    color: var(--accent-blue);
    font-size: .95rem;
}

.cart-page-header h1 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
}

.cart-item-badge {
    padding: 5px 12px;
    border-radius: 999px;
    background: #dceff4;
    color: #016a88;
    font-size: .72rem;
    font-weight: 600;
    white-space: nowrap;
}

.cart-page-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 20px;
    align-items: start;
}

.cart-main-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.cart-owned-section {
    background: var(--white);
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: 18px;
    background-image: linear-gradient(180deg, #f8fbff 0%, #ffffff 48%);
}

.cart-owned-header {
    display: block;
    margin-bottom: 14px;
}

.cart-owned-header h2 {
    margin: 0 0 4px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-dark);
}

.cart-owned-header p {
    margin: 0;
    font-size: .82rem;
    color: var(--text-mid);
}

.cart-owned-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 16px;
}

.cart-owned-meta > div {
    padding: 10px 12px;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    background: #fff;
}

.cart-owned-meta dt {
    margin: 0 0 4px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--text-light);
}

.cart-owned-meta dd {
    margin: 0;
    font-size: .92rem;
    font-weight: 800;
    color: var(--text-dark);
}

.cart-owned-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.cart-owned-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid #e8ecf1;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.cart-owned-card-media {
    height: 140px;
    overflow: hidden;
    background: #e2e8f0;
}

.cart-owned-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.cart-owned-card-body {
    padding: 12px 14px 14px;
}

.cart-owned-badge {
    display: inline-block;
    margin-bottom: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    font-size: .68rem;
    font-weight: 700;
}

.cart-owned-card-body h3 {
    margin: 0;
    font-size: .92rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

.cart-owned-price {
    margin: 6px 0 0;
    font-size: .84rem;
    font-weight: 700;
    color: var(--text-mid);
}

.cart-owned-modules {
    margin-top: 4px;
}

.cart-owned-modules h3 {
    margin: 0 0 10px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--text-light);
}

.cart-owned-module-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cart-owned-module-list li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid #e8ecf1;
    border-radius: 999px;
    background: #f8fafc;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-dark);
}

.cart-owned-module-list li span {
    color: var(--text-mid);
    font-weight: 700;
}

.cart-owned-billing {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #e0f2fe;
    color: #0369a1;
}

.cart-owned-billing i {
    margin-top: 2px;
    flex-shrink: 0;
}

.cart-owned-billing p {
    margin: 0;
    font-size: .82rem;
    line-height: 1.45;
}

.cart-owned-billing strong {
    font-weight: 800;
}

.cart-items-box {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.cart-items-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid #e5e7eb;
    background: #f8fafc;
}

.cart-items-box-header h2 {
    margin: 0;
    font-size: .95rem;
    font-weight: 800;
    color: var(--text-dark);
}

.cart-items-box-header span {
    font-size: .75rem;
    font-weight: 700;
    color: var(--text-mid);
}

@media (max-width: 900px) {
    .cart-owned-grid,
    .cart-owned-meta {
        grid-template-columns: 1fr 1fr;
    }
}

.cart-item-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 18px;
    border-bottom: 1px solid #e5e7eb;
}

.cart-item-row-last {
    border-bottom: none;
}

.cart-item-image {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    align-self: flex-start;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
    padding-right: 8px;
}

.cart-item-name {
    margin: 0 0 4px;
    font-size: .8125rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
}

.cart-item-price {
    margin: 0;
    font-size: .8125rem;
    font-weight: 700;
    color: #1e293b;
}

.cart-item-proration,
.checkout-item-proration {
    display: block;
    margin: 4px 0 0;
    font-size: .72rem;
    line-height: 1.4;
    font-weight: 600;
    color: #0369a1;
}

.cart-proration-note,
.checkout-proration-note {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: .8rem;
    line-height: 1.4;
}

.cart-qty-btn {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    line-height: 1;
    transition: background .2s ease, color .2s ease;
}

.cart-qty-btn.is-disabled {
    opacity: .4;
    pointer-events: none;
    cursor: not-allowed;
}

.cart-qty-btn:hover {
    background: #e8f5f9;
    color: var(--accent-blue);
}

.cart-line-total {
    flex-shrink: 0;
    min-width: 88px;
    text-align: right;
    font-size: .8125rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
}

.cart-remove-btn {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    background: #fef2f2;
    color: var(--accent-red);
    text-decoration: none;
    font-size: .75rem;
    transition: background .2s ease;
}

.cart-remove-btn:hover {
    background: #fee2e2;
}

.cart-summary-card {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px;
    position: sticky;
    top: 90px;
}

.cart-summary-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.cart-summary-header i {
    color: var(--accent-blue);
    font-size: .85rem;
}

.cart-summary-header h2 {
    margin: 0;
    font-size: .9rem;
    font-weight: 600;
    color: #1e293b;
}

.cart-seats-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    margin-bottom: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
}

.cart-seats-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cart-seats-title {
    font-size: .8125rem;
    font-weight: 700;
    color: #1e293b;
}

.cart-seats-copy small {
    font-size: .6875rem;
    line-height: 1.3;
    color: #64748b;
}

.cart-seats-control {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
}

.cart-seats-input {
    width: 46px;
    height: 32px;
    padding: 0;
    border: 0;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    text-align: center;
    font: 700 .8125rem/32px Inter, sans-serif;
    color: #1e293b;
    background: transparent;
    -moz-appearance: textfield;
}

.cart-seats-input::-webkit-outer-spin-button,
.cart-seats-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-seats-input:focus {
    outline: none;
    background: #e8f5f9;
}

.cart-seats-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 32px;
    padding: 0 8px;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    font: 700 .8125rem/32px Inter, sans-serif;
    color: #1e293b;
    background: #f8fafc;
}

.cart-seats-control.is-locked {
    opacity: .95;
}

.cart-seats-copy a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
}

.cart-seats-copy a:hover {
    text-decoration: underline;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: .8125rem;
    color: #64748b;
}

.cart-summary-row strong {
    font-size: .875rem;
    font-weight: 700;
    color: #1e293b;
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    margin-bottom: 10px;
    border-top: 1px solid #e5e7eb;
    font-size: .875rem;
    font-weight: 600;
    color: #1e293b;
}

.cart-summary-total strong {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

.cart-summary-note {
    margin: 0 0 16px;
    font-size: .72rem;
    color: #94a3b8;
    line-height: 1.45;
}

.cart-summary-card .btn-primary {
    margin-bottom: 10px;
}

.cart-empty,
.checkout-success {
    text-align: center;
    padding: 48px 24px;
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.cart-empty > i,
.checkout-success > i {
    display: block;
    font-size: 2.2rem;
    color: #cbd5e1;
    margin-bottom: 14px;
}

.checkout-success > i {
    color: #22c55e;
}

.cart-empty h2,
.checkout-success h2 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 600;
}

.cart-empty p,
.checkout-success p {
    margin: 0 0 20px;
    font-size: .8125rem;
    color: #64748b;
}

.checkout-success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Keep button icons normal size/color inside success/retry panels */
.checkout-success .btn i,
.checkout-retry-form .btn i {
    font-size: inherit;
    color: inherit;
    margin-bottom: 0;
}

/* ============================
   CHECKOUT PAGE
============================== */
.checkout-page-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.checkout-page-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkout-title-bar {
    width: 4px;
    height: 36px;
    border-radius: 2px;
    background: var(--accent-blue);
    flex-shrink: 0;
}

.checkout-page-title h1 {
    margin: 0 0 2px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
}

.checkout-page-title p {
    margin: 0;
    font-size: .75rem;
    color: #94a3b8;
}

.checkout-form-error {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 11px 14px;
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fef2f2;
    color: var(--accent-red);
    font-size: .8125rem;
    font-weight: 500;
}

.checkout-replace-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px 16px;
    border: 1px solid #fde68a;
    border-radius: 10px;
    background: #fffbeb;
    color: #92400e;
    font-size: .8125rem;
    line-height: 1.45;
}

.checkout-replace-warning > i {
    margin-top: 2px;
    font-size: 1rem;
    color: #d97706;
    flex-shrink: 0;
}

.checkout-replace-warning strong {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    color: #78350f;
}

.checkout-replace-warning ul {
    margin: 0;
    padding-left: 18px;
}

.checkout-replace-warning li + li {
    margin-top: 4px;
}

.checkout-replace-warning em {
    font-style: normal;
    font-weight: 700;
}

.checkout-provision-retry > i {
    color: var(--accent-red);
}

.checkout-retry-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 8px;
}

.checkout-page-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 20px;
    align-items: start;
}

.checkout-billing-card,
.checkout-summary-card {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px 20px;
}

.checkout-card-title {
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-blue);
    font-size: .9rem;
    font-weight: 600;
    color: #1e293b;
}

.checkout-billing-card input,
.checkout-billing-card select,
.checkout-billing-card textarea {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
    font-family: inherit;
    font-size: .8125rem;
    color: #334155;
    padding: 10px 12px;
    outline: none;
    transition: border-color .2s ease, background .2s ease;
}

.checkout-billing-card select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394a3b8' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    cursor: pointer;
}

.checkout-billing-card input:focus,
.checkout-billing-card select:focus,
.checkout-billing-card textarea:focus {
    border-color: #7fcde0;
    background: var(--white);
}

/* Searchable country picker (checkout) */
.country-combobox {
    position: relative;
    margin-bottom: 12px;
}

.country-combobox-trigger {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
    font-family: inherit;
    font-size: .8125rem;
    color: #334155;
    padding: 10px 12px;
    cursor: pointer;
    text-align: left;
    transition: border-color .2s ease, background .2s ease;
}

.country-combobox.is-open .country-combobox-trigger,
.country-combobox-trigger:focus {
    border-color: #7fcde0;
    background: var(--white);
    outline: none;
}

.country-combobox.is-invalid .country-combobox-trigger {
    border-color: #ef4444;
}

.country-combobox-trigger-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.country-combobox-trigger .country-name.is-placeholder {
    color: #94a3b8;
}

.country-combobox-trigger .fa-chevron-down {
    color: #94a3b8;
    font-size: .7rem;
    flex-shrink: 0;
}

.country-flag {
    font-size: 1.05rem;
    line-height: 1;
}

.country-combobox-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 40;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .12);
    overflow: hidden;
}

.country-combobox-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid #eef2f7;
}

.country-combobox-search-wrap .fa-search {
    color: #94a3b8;
    font-size: .8rem;
}

.country-combobox-search {
    flex: 1;
    border: 0 !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: .8125rem;
    color: #334155;
    outline: none;
}

.country-combobox-list {
    list-style: none;
    margin: 0;
    padding: 6px;
    max-height: 240px;
    overflow-y: auto;
}

.country-combobox-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 7px;
    cursor: pointer;
    font-size: .8125rem;
    color: #334155;
}

.country-combobox-option.is-hidden,
.country-combobox-option[hidden] {
    display: none !important;
}

.country-combobox-option:hover,
.country-combobox-option.is-selected {
    background: #f0f9fc;
}

.country-combobox-empty {
    margin: 0;
    padding: 14px 12px;
    text-align: center;
    color: #94a3b8;
    font-size: .8rem;
}

.checkout-billing-card input::placeholder,
.checkout-billing-card textarea::placeholder {
    color: #94a3b8;
}

.checkout-billing-card textarea {
    resize: vertical;
    min-height: 100px;
    margin-bottom: 0;
}

.checkout-summary-card {
    position: sticky;
    top: 90px;
}

.checkout-items-list {
    margin-bottom: 14px;
    max-height: 280px;
    overflow-y: auto;
}

.checkout-item {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 10px;
    align-items: start;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.checkout-item:last-child {
    border-bottom: none;
}

.checkout-item img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.checkout-item-info {
    min-width: 0;
}

.checkout-item-info strong {
    display: block;
    font-size: .8125rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
    margin-bottom: 4px;
}

.checkout-item-unit {
    display: block;
    font-size: .72rem;
    color: #94a3b8;
    margin-bottom: 4px;
}

.checkout-item-proration {
    margin-bottom: 4px;
}

.checkout-plan-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
}

.checkout-plan-detail-row {
    display: block;
    font-size: .72rem;
    color: #94a3b8;
    line-height: 1.45;
}

.checkout-plan-billing-change strong {
    color: #016a88;
}

.checkout-plan-products {
    margin: 2px 0 0;
    padding-left: 1rem;
    font-size: .72rem;
    color: #64748b;
}

.checkout-plan-products li {
    margin: 2px 0;
}

.checkout-plan-products li span {
    color: #016a88;
    font-weight: 600;
}

.checkout-plan-detail-note {
    display: block;
    font-size: .68rem;
    color: #94a3b8;
    line-height: 1.4;
}

.checkout-summary-was {
    font-size: .78rem;
    color: #94a3b8;
    font-weight: 400;
    margin-left: 4px;
}

.account-update-quote-body {
    flex: 1;
    min-width: 0;
}

.account-update-quote-list {
    margin: 6px 0 0;
    padding-left: 1.1rem;
    font-size: .88rem;
    line-height: 1.5;
}

.account-update-quote-list li {
    margin: 2px 0;
}

.checkout-proration-note {
    margin-top: 4px;
}

.checkout-qty-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: #dceff4;
    color: #016a88;
    font-size: .68rem;
    font-weight: 600;
}

.checkout-item-total {
    font-size: .8125rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-size: .8125rem;
    color: #64748b;
}

.checkout-summary-row strong {
    font-weight: 700;
    color: #1e293b;
}

.checkout-summary-muted span:last-child {
    color: var(--accent-blue);
    font-weight: 600;
    font-size: .75rem;
}

.checkout-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 12px 0 16px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    font-size: .8125rem;
    font-weight: 600;
    color: #1e293b;
}

.checkout-summary-total strong {
    font-size: .95rem;
    font-weight: 700;
    color: #1e293b;
}

.checkout-payment h3 {
    margin: 0 0 10px;
    font-size: .8125rem;
    font-weight: 600;
    color: #1e293b;
}

.checkout-payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    font-size: .8125rem;
    color: #334155;
}

.checkout-payment-option input {
    accent-color: var(--accent-blue);
}

#nc-payment-buttons {
    min-height: 44px;
    margin: 12px 0;
}

.nc-widget-status {
    font-size: .75rem;
    color: #64748b;
    margin: 4px 0 0;
}

.nc-security-seal {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0 4px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    font-size: .7rem;
    color: #64748b;
}

.nc-security-seal img {
    flex-shrink: 0;
}

.checkout-summary-card .btn-primary {
    margin-top: 14px;
}

/* ============================
   WISHLIST PAGE
============================== */
.wishlist-hero {
    background: linear-gradient(135deg, #991b1b 0%, var(--accent-red) 52%, #f87171 100%);
    color: var(--white);
    padding: 48px 24px 72px;
    text-align: center;
}

.wishlist-hero-inner {
    max-width: 640px;
    margin: 0 auto;
}

.wishlist-hero-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .28);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.wishlist-hero-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.wishlist-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(1.6rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
}

.wishlist-hero p {
    margin: 0;
    font-size: clamp(.85rem, 2vw, .95rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, .9);
}

.wishlist-page-section {
    background: #f1f5f9;
    padding: 0 0 56px;
}

.wishlist-page-wrap {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.wishlist-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: -36px;
    margin-bottom: 24px;
    padding: 14px 18px;
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.wishlist-toolbar-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.wishlist-toolbar-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #fef2f2;
    color: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-toolbar-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    line-height: 1;
}

.wishlist-toolbar-summary strong {
    display: block;
    font-size: .9rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
}

.wishlist-toolbar-summary span {
    display: block;
    font-size: .75rem;
    color: #94a3b8;
    line-height: 1.3;
}

.wishlist-sort-form {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.wishlist-grid {
    padding-bottom: 8px;
}

.wishlist-saved-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--accent-red);
    color: var(--white);
    font-size: .72rem;
    font-weight: 600;
    line-height: 1;
}

.wishlist-saved-badge i {
    font-size: .65rem;
}

.wishlist-remove-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--white);
    color: var(--accent-red);
    border: 1px solid rgba(239, 68, 68, .18);
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .12);
    opacity: 0;
    visibility: hidden;
    transform: scale(.86) translateY(-4px);
    pointer-events: none;
    transition:
        opacity .22s ease,
        transform .22s ease,
        visibility .22s ease,
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.wishlist-card:hover .wishlist-remove-btn,
.wishlist-card:focus-within .wishlist-remove-btn {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

.wishlist-remove-btn:hover {
    background: #fee2e2;
    color: var(--accent-red);
    border-color: #fecaca;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .1);
}

.wishlist-remove-btn i {
    font-size: .9rem;
}

@media (hover: none) {
    .wishlist-remove-btn {
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
    }
}

.wishlist-empty {
    margin-top: -28px;
    text-align: center;
    padding: 48px 24px;
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.wishlist-empty i {
    font-size: 2.2rem;
    color: #fecaca;
    margin-bottom: 14px;
}

.wishlist-empty h2 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
}

.wishlist-empty p {
    margin: 0 0 20px;
    font-size: .8125rem;
    color: #64748b;
}

.wishlist-empty .btn {
    max-width: 280px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .cart-page-layout,
    .checkout-page-layout,
    .contact-page-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary-card,
    .checkout-summary-card {
        position: static;
    }

    .cart-item-row {
        flex-wrap: wrap;
        gap: 12px;
    }

    .cart-item-info {
        flex: 1 1 calc(100% - 80px);
        order: 1;
    }

    .cart-item-image {
        order: 0;
    }

    .cart-line-total {
        order: 2;
        margin-left: auto;
        text-align: right;
    }

    .cart-remove-btn {
        order: 3;
    }

    .contact-map-card {
        flex: none;
    }

    .contact-map-wrap iframe {
        height: 300px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .wishlist-toolbar {
        margin-top: -28px;
    }

    .wishlist-sort-form {
        width: 100%;
        margin-left: 0;
    }

    .wishlist-sort-form .products-sort-wrap,
    .wishlist-sort-form .products-sort-select {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .cart-page-wrap,
    .checkout-page-wrap,
    .wishlist-page-wrap {
        padding: 0 16px;
    }

    .wishlist-hero {
        padding: 40px 16px 64px;
    }

    .wishlist-toolbar {
        padding: 12px 14px;
        margin-top: -24px;
    }

    .cart-item-image {
        width: 56px;
        height: 56px;
    }

    .cart-item-row {
        padding: 14px;
    }

    .cart-page-header h1 {
        font-size: .95rem;
    }

    .contact-hero {
        padding: 44px 0 52px;
    }

    .contact-card {
        padding: 16px;
    }

    .contact-page-section {
        padding: 20px 0 40px;
    }

    .contact-page-wrap {
        padding: 0 16px;
    }

    .contact-page-layout,
    .contact-page-left {
        gap: 16px;
    }

    .contact-map-card {
        margin-top: 16px;
    }

    .contact-map-wrap iframe {
        height: 260px;
    }

    .contact-info-list strong {
        font-size: 10px;
    }

    .contact-info-list a,
    .contact-info-list span {
        font-size: .78rem;
    }

    
    .chat-widget {
        right: max(12px, env(safe-area-inset-right, 0px));
        bottom: max(12px, env(safe-area-inset-bottom, 0px));
        width: 52px;
    }

    .chat-widget-panel {
        right: max(12px, env(safe-area-inset-right, 0px));
        bottom: calc(max(12px, env(safe-area-inset-bottom, 0px)) + 64px);
        width: min(260px, calc(100% - 24px));
        max-width: calc(100% - 24px);
    }

    .chat-widget-toggle {
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
    }

    .offices-desktop-only {
        display: none;
    }

    .offices-mobile-only.offices-mobile-list {
        display: flex;
    }

    .offices-directory-hours {
        line-height: 1.5;
    }
}

/* Legacy contact form classes */
.contact-section { padding: 72px 0; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: flex-start;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.form-success {
    text-align: center;
    padding: 48px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.form-success i { font-size: 3rem; color: #22c55e; }
.form-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: var(--dark-red);
    padding: 12px 16px;
    font-size: .875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

/* ============================
   FOOTER
============================== */
.footer {
    margin-top: 64px;
    background: #1B4D5D;
    color: var(--white);
}

.footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 56px 24px 40px;
    text-align: center;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 32px;
}

.footer-logo img {
    height: 80px;
    width: auto;
    display: block;
    border-radius: 4px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 36px;
    margin-bottom: 40px;
}

.footer-links a {
    font-size: .875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .62);
    text-decoration: none;
    transition: color .2s ease;
    white-space: nowrap;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-meta {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px 24px;
}

.footer-meta-link {
    justify-self: start;
}

.footer-socials {
    justify-self: center;
}

.footer-copy {
    justify-self: end;
}

.footer-meta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .62);
    text-decoration: none;
    transition: color .2s ease;
    white-space: nowrap;
}

.footer-meta-link:hover {
    color: var(--white);
}

.footer-meta-link i {
    font-size: .9rem;
}

.footer-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, .55);
    font-size: .95rem;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.footer-socials a:hover {
    color: var(--white);
    transform: translateY(-1px);
}

.footer-copy {
    margin: 0;
    font-size: .75rem;
    color: rgba(255, 255, 255, .42);
    line-height: 1.4;
    white-space: nowrap;
}

/* ============================
   RESPONSIVE
============================== */
@media (max-width: 1024px) {
    .hero-finder-inner { grid-template-columns: 1fr; gap: 36px; }
    .hero-art { min-height: 330px; }
    .hero-type-box { left: 10%; right: auto; }
    .product-showcase-grid { grid-template-columns: 1fr; }
    .product-showcase-visual { position: static; order: -1; }
    .product-visual-frame,
    .product-visual-frame img { min-height: 460px; }
    .product-detail-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }

    .hero-content h1 { font-size: 2.4rem; }
    .product-finder-hero { min-height: auto; }
    .hero-finder-inner { padding-top: 50px; padding-bottom: 48px; }
    .hero-copy h1 { font-size: clamp(2.35rem, 10vw, 3.65rem); }
    .hero-copy p:not(.section-eyebrow) { font-size: 1rem; }
    .hero-search { height: 60px; padding: 0 18px; }
    .hero-search input { font-size: 1rem; }
    .hero-art { min-height: 240px; }
    .hero-type-box { top: 0; width: 68%; }
    .hero-window-main { height: 155px; }
    .hero-window-side { height: 220px; }
    .home-filter-bar { padding: 20px 0 24px; }
    .home-filter-chip, .home-filter-select-wrap { min-height: 48px; padding: 0 18px; font-size: .92rem; }
    .home-filter-select-wrap { margin-left: 0; min-width: 136px; }
    .home-products-heading { align-items: flex-start; flex-direction: column; padding-top: 18px; }
    .home-products-heading > p { white-space: normal; }
    .product-detail-section { padding: 34px 0 56px; }
    .product-showcase-top { align-items: flex-start; flex-direction: column; }
    .product-showcase-actions { width: 100%; }
    .product-showcase-actions .btn { flex: 1; justify-content: center; min-height: 52px; }
    .product-showcase-copy { margin-bottom: 42px; }
    .product-visual-frame,
    .product-visual-frame img { min-height: 360px; }

    .why-strip-inner { justify-content: flex-start; }
    .why-divider { display: none; }

    .features-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }

    .cta-banner-inner { flex-direction: column; align-items: flex-start; }

    .footer {
        margin-top: 48px;
    }

    .footer-main {
        padding: 44px 20px 32px;
    }

    .footer-logo {
        margin-bottom: 28px;
    }

    .footer-links {
        gap: 12px 24px;
        margin-bottom: 32px;
    }

    .footer-meta {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .footer-meta-link,
    .footer-socials,
    .footer-copy {
        justify-self: center;
    }

    .detail-features ul { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-col { padding: 28px 20px; }

    .top-bar .container { justify-content: center; }
    .top-bar span:not(:first-child) { display: none; }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 36px 16px 28px;
    }

    .footer-logo {
        margin-bottom: 24px;
    }

    .footer-logo img {
        height: 28px;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 28px;
    }

    .footer-socials {
        gap: 18px;
    }

    .hero-cta-group { flex-direction: column; }
    .hero-content { padding: 60px 0; }
    .hero-art { min-height: 210px; }
    .hero-type-box span { font-size: 3.8rem; }
    .hero-window-main { width: 86%; }
    .hero-window-side { display: none; }
    .product-showcase-actions { flex-direction: column; }
    .product-showcase-actions .btn { width: 100%; }
    .detail-price-inline { width: 100%; grid-template-columns: 1fr; }
    .product-visual-frame,
    .product-visual-frame img { min-height: 280px; }
    .trust-badges { flex-direction: column; }
}

.pd-pricing-config {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 4px 0 8px;
    padding: 18px;
    border: 1px solid #e8ecf1;
    border-radius: 12px;
    background: #f8fafc;
}

.pd-config-label {
    margin: 0 0 10px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-mid);
}

.pd-tier-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.pd-tier-option {
    display: block;
    cursor: pointer;
}

.pd-tier-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pd-tier-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 72px;
    padding: 12px 14px;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    background: var(--white);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.pd-tier-card strong {
    font-size: .88rem;
    color: var(--text-dark);
}

.pd-tier-card span {
    font-size: .82rem;
    color: var(--accent-blue);
    font-weight: 700;
}

.pd-tier-option input:checked + .pd-tier-card {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(1, 106, 136, .12);
}

.pd-billing-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.pd-billing-option {
    display: block;
    cursor: pointer;
}

.pd-billing-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pd-billing-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 72px;
    padding: 12px 14px;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    background: var(--white);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease;
}

.pd-billing-card strong {
    font-size: .88rem;
    color: var(--text-dark);
}

.pd-billing-card span {
    font-size: .78rem;
    color: var(--text-mid);
}

.pd-billing-option.is-selected .pd-billing-card,
.pd-billing-option input:checked + .pd-billing-card {
    border-color: var(--accent-blue);
    background: rgba(1, 106, 136, 0.06);
    box-shadow: 0 0 0 3px rgba(1, 106, 136, .12);
}

.pd-billing-options.is-locked .pd-billing-option,
.pd-billing-option.is-locked {
    cursor: not-allowed;
}

.pd-billing-option input:disabled + .pd-billing-card,
.pd-billing-options.is-locked .pd-billing-option:not(.is-selected) .pd-billing-card {
    opacity: .55;
    background: #f8fafc;
    box-shadow: none;
}

.pd-billing-options.is-locked .pd-billing-option.is-selected .pd-billing-card,
.pd-billing-option.is-locked.is-selected .pd-billing-card,
.pd-billing-option input:disabled:checked + .pd-billing-card {
    opacity: 1;
    border-color: var(--accent-blue);
    background: rgba(1, 106, 136, 0.06);
    box-shadow: none;
}

@media (max-width: 720px) {
    .pd-billing-options {
        grid-template-columns: 1fr;
    }
}

.pd-addon-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pd-addon-section.is-hidden {
    display: none;
}

.pd-addon-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    background: var(--white);
}

.pd-addon-included-hint,
.pd-form-hint {
    margin: 0 0 10px;
    font-size: .8rem;
    color: #6b7280;
    line-height: 1.4;
}

.pd-addon-option > input[type="checkbox"] {
    margin-top: 4px;
    accent-color: var(--accent-blue);
    flex-shrink: 0;
}

.pd-addon-option > input[type="checkbox"]:disabled {
    accent-color: var(--accent-blue);
    opacity: 1;
    cursor: default;
    filter: none;
}

.pd-addon-body {
    flex: 1;
    min-width: 0;
}

.pd-addon-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pd-addon-name {
    flex: 1;
    min-width: 0;
    font-size: .88rem;
    font-weight: 600;
    color: #394252;
    line-height: 1.35;
    cursor: pointer;
}

.pd-addon-price-label {
    display: block;
    margin-top: 4px;
    cursor: pointer;
}

.pd-addon-price {
    display: block;
    font-size: .78rem;
    color: var(--text-light);
    line-height: 1.4;
}

.pd-addon-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    flex-shrink: 0;
}

.pd-addon-toggle i {
    font-size: .75rem;
    transition: transform .2s ease;
}

.pd-addon-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.pd-addon-desc {
    margin: 8px 0 0;
    font-size: .82rem;
    line-height: 1.55;
    color: var(--text-light);
}

.pd-addon-desc[hidden] {
    display: none;
}

.pd-config-summary {
    padding-top: 4px;
    border-top: 1px solid #e8ecf1;
}

.pd-config-summary-total {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
}

.pd-pro-includes-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 0;
    padding: 8px 12px;
    font-size: .8rem;
    line-height: 1.35;
    color: #0369a1;
    background: #e0f2fe;
    border-radius: 8px;
}

.pd-pro-includes-note i {
    flex-shrink: 0;
    font-size: .9rem;
    color: #0284c7;
}

.pd-pro-includes-note.is-hidden {
    display: none;
}

.cart-item-config,
.checkout-item-config {
    margin: 4px 0 0;
    font-size: .72rem;
    line-height: 1.4;
    color: #94a3b8;
}

@media (max-width: 640px) {
    .pd-tier-options {
        grid-template-columns: 1fr;
    }
}
/* ============================
   STORE ACCOUNT + AUTH MODAL
============================== */
.store-account-wrap {
    position: relative;
    flex-shrink: 0;
}

.store-account-btn.store-icon,
.store-account-btn.store-icon.mobile-nav-icon {
    position: relative;
    background: transparent;
    border-color: transparent;
    color: #fff;
}

.store-account-btn.store-icon:hover,
.store-account-btn.store-icon:focus-visible,
.store-account-btn.store-icon.mobile-nav-icon:hover {
    background: transparent;
    border-color: transparent;
    color: #fff;
}

.store-account-btn.store-icon i {
    color: #fff;
}

.store-account-btn.is-logged-in.store-icon,
.store-account-btn.is-logged-in.store-icon.mobile-nav-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: auto;
    height: 42px;
    min-width: 0;
    min-height: 42px;
    max-width: 240px;
    padding: 0 12px;
    border: none;
    border-radius: 8px;
    background: transparent;
    overflow: hidden;
}

.store-account-btn.is-logged-in.store-icon:hover,
.store-account-btn.is-logged-in.store-icon.mobile-nav-icon:hover {
    background: rgba(255, 255, 255, .12);
    transform: none;
}

.store-account-name {
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: 0;
}

.store-account-mobile-icon {
    display: none;
    flex-shrink: 0;
    font-size: 1.1rem;
    color: #fff;
}

.store-account-chevron {
    flex-shrink: 0;
    font-size: .65rem;
    color: rgba(255, 255, 255, .85);
    transition: transform .18s ease;
}

.store-account-btn.is-logged-in[aria-expanded="true"] .store-account-chevron {
    transform: rotate(180deg);
}

@media (max-width: 1024px) {
    .store-account-btn.is-logged-in.store-icon,
    .store-account-btn.is-logged-in.store-icon.mobile-nav-icon {
        width: auto;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        max-width: 36px;
        padding: 0;
        gap: 0;
        justify-content: center;
    }

    .store-account-mobile-icon {
        display: block;
    }

    .store-account-name,
    .store-account-chevron {
        display: none;
    }

    .store-actions {
        flex-shrink: 0;
        max-width: calc(100% - 88px);
    }
}

.store-account-tooltip {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    padding: 7px 10px;
    border-radius: 8px;
    background: #0f172a;
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    z-index: 40;
}

.store-account-tooltip::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border: 5px solid transparent;
    border-bottom-color: #0f172a;
}

.store-account-btn:hover .store-account-tooltip,
.store-account-btn:focus-visible .store-account-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.store-account-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 260px;
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 1100;
    padding: 8px;
    overflow: hidden;
}

.store-account-menu[hidden] {
    display: none;
}

.store-account-menu-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    margin-bottom: 6px;
    border-radius: 10px;
    background: #f1f5f9;
}

.store-account-avatar {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--primary-blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    line-height: 1;
    user-select: none;
}

.store-account-menu-meta {
    min-width: 0;
}

.store-account-menu-meta strong {
    display: block;
    font-size: .88rem;
    color: var(--text-dark);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-account-menu-meta span {
    display: block;
    font-size: .75rem;
    color: var(--text-light);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-account-menu a,
.store-account-signout {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border: 0;
    background: none;
    border-radius: 8px;
    color: var(--text-mid);
    font: inherit;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.store-account-menu a:hover,
.store-account-signout:hover {
    background: #f8fafc;
    color: var(--primary-blue);
}

.store-account-signout {
    color: var(--accent-red);
    border-top: 1px solid #eef2f6;
    margin-top: 4px;
    border-radius: 0 0 8px 8px;
}

.store-mobile-menu-link {
    width: 100%;
    background: none;
    border: 0;
    font: inherit;
    cursor: pointer;
    text-align: left;
}

/* Standalone sign in / register — Amazon-style shell, SoftMark colors */
body.auth-standalone {
    margin: 0;
    height: 100vh;
    overflow: hidden;
    font-family: Inter, sans-serif;
    background: #f4f6f8;
    color: var(--text-dark);
}

.auth-topbar {
    display: flex;
    align-items: center;
    height: 52px;
    padding: 0 28px;
    background: var(--white);
    border-bottom: 1px solid #e5e7eb;
    box-sizing: border-box;
}

.auth-topbar-logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.auth-topbar-logo img {
    height: 34px;
    width: auto;
    max-width: 180px;
    display: block;
    object-fit: contain;
}

.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 52px);
    padding: 20px 16px;
    box-sizing: border-box;
    overflow: hidden;
}

.auth-shell {
    background: var(--white);
    border: 1px solid #dbe1e8;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.auth-shell-signin {
    width: min(100%, 420px);
    padding: 28px 28px 24px;
}

.auth-shell-register {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    width: min(100%, 920px);
    overflow: hidden;
}

.auth-form-pane {
    padding: 28px 32px 24px;
}

.auth-title {
    margin: 0 0 18px;
    font-size: 1.45rem;
    line-height: 1.25;
    font-weight: 700;
    color: var(--text-dark);
}

.auth-side-pane {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    padding: 32px 28px;
    background: #eef2f5;
    border-left: 1px solid #e5e7eb;
}

.auth-side-pane h2 {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--text-dark);
}

.auth-side-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.auth-side-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.auth-side-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.05rem;
}

.auth-side-list strong {
    display: block;
    margin-bottom: 4px;
    font-size: .92rem;
    font-weight: 700;
    color: var(--text-dark);
}

.auth-side-list p {
    margin: 0;
    font-size: .82rem;
    line-height: 1.4;
    color: var(--text-mid);
}

.auth-form-error {
    margin: 0 0 12px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: var(--dark-red);
    font-size: .8rem;
    font-weight: 600;
}

.auth-field {
    margin-bottom: 12px;
}

.auth-field label {
    display: block;
    margin-bottom: 5px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-dark);
}

.auth-optional {
    font-weight: 500;
    color: var(--text-light);
    text-transform: none;
}

.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-wrap input {
    width: 100%;
    min-height: 40px;
    padding: 9px 12px;
    border: 1px solid #c9d2dc;
    border-radius: 6px;
    background: var(--white);
    font: inherit;
    font-size: .9rem;
    color: var(--text-dark);
    outline: none;
    box-sizing: border-box;
}

.auth-input-wrap.has-toggle input {
    padding-right: 40px;
}

.auth-input-wrap input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(1, 106, 136, .12);
}

/* Hide Edge / IE / Chromium built-in password reveal — keep our toggle only */
.auth-input-wrap input[type="password"]::-ms-reveal,
.auth-input-wrap input[type="password"]::-ms-clear {
    display: none !important;
    width: 0;
    height: 0;
}

.auth-input-wrap input[type="password"]::-webkit-credentials-auto-fill-button,
.auth-input-wrap input[type="password"]::-webkit-strong-password-auto-fill-button {
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    right: 0;
}

.auth-toggle-pass {
    position: absolute;
    right: 6px;
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    z-index: 2;
}

.auth-submit {
    width: 100%;
    min-height: 42px;
    margin-top: 4px;
    border: 0;
    border-radius: 8px;
    background: var(--accent-blue);
    color: var(--white);
    font: inherit;
    font-size: .92rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-submit:hover {
    background: var(--btn-primary-hover);
}

.auth-switch {
    margin: 14px 0 0;
    font-size: .84rem;
    color: var(--text-mid);
}

.auth-switch a {
    color: var(--accent-blue);
    font-weight: 700;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.auth-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
}

@media (max-width: 860px) {
    body.auth-standalone.is-register {
        height: auto;
        min-height: 100vh;
        overflow: auto;
    }

    .auth-shell-register {
        grid-template-columns: minmax(0, 1fr);
        width: min(100%, 480px);
    }

    .auth-side-pane {
        border-left: 0;
        border-top: 1px solid #e5e7eb;
        padding: 24px 28px;
    }

    .auth-page {
        height: auto;
        min-height: calc(100vh - 52px);
        overflow: visible;
        align-items: flex-start;
        padding-top: 24px;
        padding-bottom: 24px;
    }
}

@media (max-width: 640px) {
    .auth-topbar {
        height: 48px;
        padding: 0 16px;
    }

    .auth-topbar-logo img {
        height: 28px;
        max-width: 150px;
    }

    .auth-form-pane,
    .auth-shell-signin {
        padding: 22px 18px 20px;
    }

    .auth-title {
        font-size: 1.25rem;
    }
}

/* Account pages */
.account-page {
    background: #f1f5f9;
    padding: 28px 0 56px;
    min-width: 0;
}

.account-page-wrap {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
    min-width: 0;
    box-sizing: border-box;
}

.account-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
    font-size: .82rem;
    color: var(--text-light);
}

.account-breadcrumb a {
    color: var(--text-mid);
    text-decoration: none;
}

.account-breadcrumb a:hover {
    color: var(--accent-blue);
}

.account-page-header h1 {
    margin: 0 0 18px;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.account-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 22px;
    max-width: 100%;
    min-width: 0;
    margin-bottom: 22px;
    border-bottom: 1px solid #e5e7eb;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.account-tabs::-webkit-scrollbar {
    display: none;
}

.account-tabs a {
    position: relative;
    flex-shrink: 0;
    padding: 10px 2px 14px;
    color: var(--text-mid);
    text-decoration: none;
    font-size: .95rem;
    font-weight: 600;
    white-space: nowrap;
}

.account-tabs a.is-active {
    color: var(--primary-blue);
}

.account-tabs a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: var(--primary-blue);
}

.account-tab-aux {
    display: inline;
}

.account-panel {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 22px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.account-form {
    display: grid;
    gap: 14px;
    width: 100%;
    max-width: none;
}

.account-field {
    width: 100%;
}

.account-field label {
    display: block;
    margin-bottom: 6px;
    font-size: .78rem;
    font-weight: 700;
    color: var(--text-mid);
}

.account-field input {
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font: inherit;
    background: #f9fafb;
}

.account-form-actions {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 4px;
}

.account-form-actions .account-save-btn:disabled,
.account-form-actions .btn:disabled {
    cursor: not-allowed;
    pointer-events: none;
    opacity: .55;
}

.account-flash {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 600;
}

.account-flash.is-success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.account-flash.is-error {
    background: #fef2f2;
    color: var(--dark-red);
    border: 1px solid #fecaca;
}

.account-empty {
    margin: 0 0 16px;
    color: var(--text-mid);
}

.account-plans-grid,
.account-orders-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.account-company-card {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 20px;
}

.account-company-card > div {
    padding: 12px 14px;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    background: #f8fafc;
}

.account-company-card span {
    display: block;
    margin: 0 0 4px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--text-light);
}

.account-company-card strong {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text-dark);
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 800px) {
    .account-company-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.plan-update-panel .plan-update-meta {
    margin-bottom: 16px;
}

.account-panel > .pd-owned-note {
    margin: 0 0 20px;
}

.account-field-hint {
    margin: 0 0 10px;
    font-size: .85rem;
    color: var(--text-light);
    line-height: 1.45;
}

.account-seats-control {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.account-seats-input {
    width: 72px;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-align: center;
    font: inherit;
    font-weight: 700;
    background: #f9fafb;
}

.account-seats-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.account-billing-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.account-billing-option {
    cursor: pointer;
    min-width: 0;
}

.account-billing-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.account-billing-option span {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 78px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
    transition: border-color .15s ease, background .15s ease;
}

.account-billing-option strong {
    font-size: .95rem;
    color: var(--text-dark);
}

.account-billing-option small {
    font-size: .78rem;
    color: var(--text-light);
    line-height: 1.35;
}

.account-billing-option.is-selected span,
.account-billing-option input:checked + span {
    border-color: var(--primary-blue);
    background: #eff6ff;
}

.account-update-form .account-form-actions {
    justify-content: flex-start;
    margin-top: 8px;
}

@media (max-width: 720px) {
    .account-billing-options {
        grid-template-columns: 1fr;
    }
}

.account-plan-tile,
.account-order-tile {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.account-plan-tile-media {
    display: block;
    flex: 0 0 120px;
    height: 120px;
    max-height: 120px;
    overflow: hidden;
    background: #f3f4f6;
}

.account-plan-tile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.account-plan-modules-block {
    margin-top: 18px;
    padding: 16px 18px;
    border: 1px solid #e8ecf1;
    border-radius: 12px;
    background: #fff;
}

.account-plan-modules-block h3 {
    margin: 0 0 10px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--text-light);
}

.account-plan-modules-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.account-plan-modules-list li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid #e8ecf1;
    border-radius: 999px;
    background: #f8fafc;
    font-size: .84rem;
    font-weight: 600;
    color: var(--text-dark);
}

.account-plan-modules-list li span {
    color: var(--text-mid);
    font-weight: 700;
}

.account-plan-card-modules,
.cart-owned-card-modules,
.cart-item-modules {
    margin-top: 12px;
}

.account-plan-card-modules h3,
.cart-owned-card-modules h4,
.cart-item-modules h4 {
    margin: 0 0 8px;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--text-light);
}

.store-module-hint {
    margin: 0 0 8px;
    font-size: .78rem;
    color: #6b7280;
    line-height: 1.4;
}

.store-module-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.store-module-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    background: #fff;
}

.store-module-name {
    font-size: .84rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.35;
}

.store-module-price {
    flex-shrink: 0;
    font-size: .78rem;
    color: var(--text-light);
    line-height: 1.4;
    white-space: nowrap;
}

.account-plan-tile-body,
.account-order-tile {
    padding: 16px;
}

.account-plan-tile-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.account-plan-tile-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.account-plan-status,
.account-order-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: #dceff4;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: .72rem;
}

.account-plan-status.is-inactive {
    background: #fee2e2;
    color: #b91c1c;
}

.account-order-status.is-cancelled {
    background: #fee2e2;
    color: #b91c1c;
}

.account-plan-category {
    font-size: .78rem;
    color: var(--text-light);
}

.account-plan-title {
    margin: 0 0 12px;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
}

.account-plan-title a {
    color: var(--text-dark);
    text-decoration: none;
}

.account-plan-title a:hover {
    color: var(--accent-blue);
}

.account-plan-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 12px;
}

.account-plan-facts div {
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--white);
    border: 1px solid #e8ecf1;
}

.account-plan-facts dt {
    margin: 0 0 4px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--text-light);
}

.account-plan-facts dd {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
}

.account-plan-modules {
    margin: 0 0 8px;
    font-size: .82rem;
    line-height: 1.4;
    color: var(--text-mid);
}

.account-plan-modules span {
    display: block;
    margin-bottom: 2px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--text-light);
}

.account-plan-order {
    margin: 0 0 14px;
    font-size: .78rem;
    color: var(--text-light);
}

.account-plan-cancel-note {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 0 0 14px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fef3c7;
    color: #92400e;
    font-size: .8rem;
    line-height: 1.4;
}

.account-plan-cancel-note i {
    margin-top: 2px;
    flex-shrink: 0;
}

.account-plan-actions {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.account-plan-cancel {
    white-space: nowrap;
}

.account-plan-update {
    white-space: nowrap;
    font-size: .84rem;
    font-weight: 600;
    color: var(--accent-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.account-plan-update:hover {
    color: var(--text-dark);
}

.account-order-tile-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.account-order-tile-head > div {
    display: grid;
    gap: 4px;
}

.account-order-tile-head strong {
    color: var(--text-dark);
}

.account-order-tile-head span {
    font-size: .84rem;
    color: var(--text-light);
}

.account-order-tile-meta {
    text-align: right;
}

.account-order-products {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.account-order-product {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 10px;
    align-items: center;
}

.account-order-product img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.account-order-product strong {
    display: block;
    font-size: .86rem;
    color: var(--text-dark);
}

.account-order-product span {
    font-size: .78rem;
    color: var(--text-light);
}

.account-order-invoice {
    margin-top: auto;
    color: var(--accent-blue);
    font-size: .84rem;
    font-weight: 700;
    text-decoration: none;
}

.account-order-invoice:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .account-plans-grid,
    .account-orders-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .account-plan-actions .btn {
        width: 100%;
    }

    .account-order-tile-head {
        flex-direction: column;
    }

    .account-order-tile-meta {
        text-align: left;
    }
}

/* Shared store confirm modal */
.store-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, .45);
}

.store-modal-overlay[hidden] {
    display: none;
}

.store-modal {
    width: min(100%, 420px);
    padding: 28px 24px 22px;
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .22);
    text-align: center;
}

.store-modal-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fef2f2;
    color: var(--accent-red);
    font-size: 1.15rem;
}

.store-modal-title {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
}

.store-modal-text {
    margin: 0 0 22px;
    font-size: .875rem;
    line-height: 1.45;
    color: #64748b;
}

.store-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.store-modal-confirm-form {
    margin: 0;
}

body.store-modal-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .store-account-tooltip {
        display: none;
    }

    .cart-seats-block {
        flex-wrap: wrap;
    }

    .account-tabs {
        gap: 16px;
        padding-bottom: 2px;
    }

    .account-page-wrap {
        padding-left: 16px;
        padding-right: 16px;
    }

    .account-panel {
        padding: 16px;
    }

    .account-tab-aux {
        display: none;
    }
}

/* ============================================================
   ACCOUNT — Plans overview card + Orders table (2026-09)
============================================================ */

/* Plans: company info as small bordered cards (matches the original company-card look) */
.account-plan-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin: 0 0 20px;
}

.account-plan-overview-row {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 14px;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    background: #f8fafc;
}

.account-plan-overview-row > span {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--text-light);
}

.account-plan-overview-row > strong {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text-dark);
    overflow-wrap: anywhere;
}

.account-company-sub {
    display: block;
    margin-top: 2px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--accent-blue);
    text-decoration: none;
}

.account-company-sub:hover {
    text-decoration: underline;
}

/* ---- Orders: filter pills ---- */
.account-orders-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}

.account-filter-pill {
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--white);
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-mid);
    text-decoration: none;
    transition: var(--transition);
}

.account-filter-pill:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.account-filter-pill.is-active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}

/* ---- Orders: table ---- */
.account-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.account-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
}

.account-table thead th {
    padding: 11px 16px;
    text-align: left;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--text-light);
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.account-table td {
    padding: 13px 16px;
    border-bottom: 1px solid #eef2f6;
    color: var(--text-mid);
    vertical-align: middle;
}

.account-table tbody tr:last-child td {
    border-bottom: none;
}

.account-table tbody tr:hover {
    background: #fafcfd;
}

.account-table .is-num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: var(--text-dark);
    white-space: nowrap;
}

.account-table .is-action {
    text-align: right;
    white-space: nowrap;
}

.account-order-ref {
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: .01em;
}

.account-order-more {
    color: var(--text-light);
    font-size: .8rem;
}

.account-table-link {
    color: var(--accent-blue);
    font-weight: 700;
    text-decoration: none;
}

.account-table-link:hover {
    text-decoration: underline;
}

.account-status-badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .02em;
    background: #dceff4;
    color: var(--primary-blue);
}

.account-status-badge.is-cancelled {
    background: #fee2e2;
    color: #b91c1c;
}

.account-status-badge.is-pending {
    background: #fef3c7;
    color: #92400e;
}

/* ---- Pagination ---- */
.account-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 16px;
}

.account-page-btn {
    padding: 7px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--white);
    font-size: .84rem;
    font-weight: 600;
    color: var(--text-mid);
    text-decoration: none;
    transition: var(--transition);
}

.account-page-btn:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.account-page-btn.is-disabled {
    opacity: .4;
    pointer-events: none;
}

.account-page-status {
    font-size: .82rem;
    color: var(--text-light);
    font-weight: 600;
}

/* ---- Orders table: stack to cards on small screens ---- */
@media (max-width: 720px) {
    .account-table-wrap {
        overflow-x: visible;
        border: none;
        border-radius: 0;
    }

    .account-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .account-table tbody tr {
        display: block;
        margin-bottom: 12px;
        border: 1px solid var(--border);
        border-radius: 12px;
        overflow: hidden;
    }

    .account-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        padding: 10px 14px;
        border-bottom: 1px solid #eef2f6;
        text-align: right;
    }

    .account-table td::before {
        content: attr(data-label);
        font-size: .68rem;
        font-weight: 800;
        letter-spacing: .05em;
        text-transform: uppercase;
        color: var(--text-light);
        text-align: left;
    }

    .account-table td.is-action,
    .account-table td.is-num {
        text-align: right;
    }

    .account-table td[data-label=""]::before {
        content: "";
    }
}

/* ---- Plans: renewal card ---- */
.account-renewal {
    margin: 0 0 20px;
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent-blue);
    border-radius: 12px;
    background: var(--white);
}

.account-renewal.is-due {
    border-left-color: #9a5b00;
    background: #fffaf1;
}

.account-renewal.is-overdue,
.account-renewal.is-lapsed {
    border-left-color: #b91c1c;
    background: #fef4f4;
}

.account-renewal-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 24px;
}

.account-renewal h3 {
    margin: 0 0 4px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--text-light);
}

.account-renewal-line {
    margin: 0;
    font-size: .92rem;
    line-height: 1.5;
    color: var(--text-mid);
    max-width: 52ch;
}

.account-renewal-line strong {
    color: var(--text-dark);
}

.account-renewal-mode {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    flex-shrink: 0;
}

.account-renewal-mode-label {
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--text-light);
}

.account-renewal-mode-options {
    display: flex;
    gap: 6px;
    padding: 3px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #f8fafc;
}

.account-renewal-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-mid);
    cursor: pointer;
    transition: var(--transition);
}

.account-renewal-toggle:has(input:checked) {
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: 0 1px 2px rgba(16,38,44,.08);
}

.account-renewal-toggle input {
    accent-color: var(--accent-blue);
}

.account-renewal-action {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eef2f6;
}

.account-renewal-hint {
    font-size: .82rem;
    color: var(--text-light);
}

@media (max-width: 640px) {
    .account-renewal-main {
        flex-direction: column;
    }
    .account-renewal-action .btn {
        width: 100%;
    }
}

/* ============================
   LANGUAGE SWITCHER + ARABIC (includes/i18n.php)
============================== */
.store-lang-wrap {
    position: relative;
    flex-shrink: 0;
}

.store-lang-btn.store-icon {
    width: auto;
    min-width: 42px;
    padding: 0 10px;
    gap: 6px;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.store-lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-end: 0;
    min-width: 180px;
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 1100;
    padding: 6px;
}

.store-lang-menu[hidden] {
    display: none;
}

.store-lang-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text-mid);
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
}

.store-lang-menu a:hover,
.store-lang-menu a.is-active {
    background: #f8fafc;
    color: var(--primary-blue);
}

.store-lang-menu a i {
    font-size: .75rem;
    color: var(--accent-blue);
}

/* Phones / tablets switch language from the menu drawer instead. */
@media (max-width: 1024px) {
    .store-lang-wrap { display: none; }
}

.store-mobile-lang-list {
    list-style: none;
    margin: 0 0 12px;
    padding: 4px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.store-mobile-lang-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    color: rgba(255, 255, 255, .85);
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
}

.store-mobile-lang-link:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, .45);
}

.store-mobile-lang-link.is-active {
    background: var(--white);
    border-color: var(--white);
    color: var(--primary-blue);
}

/* Sign in / register page (no store header) */
.auth-topbar {
    justify-content: space-between;
    gap: 16px;
}

.auth-lang {
    display: flex;
    align-items: center;
    gap: 4px;
}

.auth-lang a {
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--text-light);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
}

.auth-lang a:hover {
    color: var(--primary-blue);
}

.auth-lang a.is-active {
    background: var(--light-blue);
    color: var(--primary-blue);
}

/* Forgot / reset password */
.auth-lead {
    margin: 0 0 18px;
    font-size: .9rem;
    line-height: 1.5;
    color: var(--text-light);
}

.auth-form-success {
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    background: #f0fdf4;
    color: #166534;
    font-size: .875rem;
    line-height: 1.5;
}

.auth-forgot-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--accent-blue);
    font-size: .8125rem;
    font-weight: 600;
    text-decoration: none;
}

.auth-forgot-link:hover {
    text-decoration: underline;
}

a.auth-submit-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
}

/* Arabic: Arabic-capable font, and never letter-space Arabic script
   (spacing breaks the joins between letters). */
html[lang="ar"] body,
html[lang="ar"] body.auth-standalone,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] select,
html[lang="ar"] textarea {
    font-family: 'Noto Sans Arabic', 'Inter', Tahoma, sans-serif;
}

html[lang="ar"] *,
html[lang="ar"] *::before,
html[lang="ar"] *::after {
    letter-spacing: normal !important;
}

/* French / Arabic price labels are longer than English — let them wrap. */
html:not([lang="en"]) .product-card-price {
    white-space: normal;
}

/* Product names, descriptions and reviews may still be in English on an Arabic
   page: let each paragraph take the direction of its own text. */
[dir="rtl"] .product-card-title,
[dir="rtl"] .product-card-desc,
[dir="rtl"] .carousel .content h2,
[dir="rtl"] .carousel .content p,
[dir="rtl"] .pd-title,
[dir="rtl"] .pd-accordion-body p,
[dir="rtl"] .pd-feature-list li,
[dir="rtl"] .pd-addon-name,
[dir="rtl"] .pd-addon-desc,
[dir="rtl"] .pd-review-card-text,
[dir="rtl"] .pd-modal-subtitle,
[dir="rtl"] #pd-breadcrumb-name,
[dir="rtl"] .cart-item-name,
[dir="rtl"] .cart-owned-card-body h3,
[dir="rtl"] .store-module-name,
[dir="rtl"] .checkout-item-info strong,
[dir="rtl"] .account-plan-title,
[dir="rtl"] .store-search-result-name {
    unicode-bidi: plaintext;
    text-align: right;
}

/* Prices, references, emails and phone numbers stay left-to-right inside
   right-to-left text. */
[dir="rtl"] input[type="email"],
[dir="rtl"] input[type="tel"],
[dir="rtl"] .account-order-ref {
    direction: ltr;
    text-align: right;
}

[dir="rtl"] .offices-table-phone a,
[dir="rtl"] .offices-table-phone span,
[dir="rtl"] .office-mobile-detail-content a[href^="tel:"] {
    direction: ltr;
    unicode-bidi: isolate;
}

[dir="rtl"] .offices-table-address span,
[dir="rtl"] .office-mobile-detail-content a:not([href^="tel:"]),
[dir="rtl"] .office-mobile-detail-content > span:not(.office-mobile-label) {
    unicode-bidi: plaintext;
}
