/*
 * Sunsgoods Theme - Main Stylesheet
 * Extracted from the original inline <style> block of sunsgoods_index.html.
 * Do not edit style.css (theme header only); edit this file instead.
 */

/* =========================================================================
 * Brand design tokens — single source of truth for colors.
 * Use these variables for new components; legacy hardcoded hex values are
 * being migrated to them progressively.
 * ========================================================================= */
:root {
    --brand:        #c41230; /* primary brand red */
    --brand-dark:   #a30e25; /* hover / active */
    --brand-tint:   #fef2f2; /* light red background */
    --ink:          #1a1a1a; /* primary text / headings */
    --muted:        #888888; /* secondary text */
    --line:         #e6e6e6; /* borders / dividers */
    --accent-2:     #c49a6c; /* secondary accent (warm tan) */

    /* Typography tokens (Inter everywhere). */
    --font-sans:    'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --fs-body:      16px;  /* body copy */
    --fs-param:     14px;  /* small parameters / meta */
    --fs-h:         28px;  /* section title baseline */
}

    /* -----------------------------------------------------------------
     * Typography — site-wide font is now Inter (locally hosted, woff2).
     *
     * The legacy family names ('oxygen-*', 'Roboto-Regular') are repointed
     * to the Inter files so every existing `font-family` reference across
     * all templates/CSS renders Inter without per-file edits. New code
     * should use the canonical `Inter` family / `--font-sans` token.
     * ----------------------------------------------------------------- */

    /*
     * `Inter Fallback` — a synthetic fontface that re-uses the local Arial
     * glyphs but adjusts metrics so the swap from fallback → Inter (when
     * the woff2 finishes loading) doesn't reflow the layout. Cuts the CLS
     * caused by font swap from ~0.07 to <0.005.
     *
     * Numbers were taken from Bramus' calculator for Inter @ Arial.
     */
    @font-face {
        font-family: 'Inter Fallback';
        src: local('Arial');
        size-adjust: 107.40%;
        ascent-override: 90%;
        descent-override: 22.43%;
        line-gap-override: 0%;
    }

    @font-face {
        font-family: 'Inter';
        src: url('../fonts/Inter-Regular.woff2') format('woff2');
        font-style: normal;
        font-weight: 400;
        font-display: swap;
    }
    @font-face {
        font-family: 'Inter';
        src: url('../fonts/Inter-Medium.woff2') format('woff2');
        font-style: normal;
        font-weight: 500;
        font-display: swap;
    }
    @font-face {
        font-family: 'Inter';
        src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
        font-style: normal;
        font-weight: 600;
        font-display: swap;
    }
    @font-face {
        font-family: 'Inter';
        src: url('../fonts/Inter-Bold.woff2') format('woff2');
        font-style: normal;
        font-weight: 700;
        font-display: swap;
    }

    /* Legacy aliases → Inter (so old references keep working). Each legacy
     * family gets a 400 + 700 cut so headings that pair the old family name
     * with font-weight:700 render real Inter Bold (not faux-bold). */
    @font-face {
        font-family: 'oxygen-light';
        src: url('../fonts/Inter-Regular.woff2') format('woff2');
        font-style: normal;
        font-weight: 400;
        font-display: swap;
    }
    @font-face {
        font-family: 'oxygen-light';
        src: url('../fonts/Inter-Bold.woff2') format('woff2');
        font-style: normal;
        font-weight: 700;
        font-display: swap;
    }
    @font-face {
        font-family: 'oxygen-regular';
        src: url('../fonts/Inter-Regular.woff2') format('woff2');
        font-style: normal;
        font-weight: 400;
        font-display: swap;
    }
    @font-face {
        font-family: 'oxygen-regular';
        src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
        font-style: normal;
        font-weight: 600;
        font-display: swap;
    }
    @font-face {
        font-family: 'oxygen-regular';
        src: url('../fonts/Inter-Bold.woff2') format('woff2');
        font-style: normal;
        font-weight: 700;
        font-display: swap;
    }
    @font-face {
        font-family: 'oxygen-bold';
        src: url('../fonts/Inter-Bold.woff2') format('woff2');
        font-style: normal;
        font-weight: 400 700;
        font-display: swap;
    }
    @font-face {
        font-family: 'Roboto-Regular';
        src: url('../fonts/Inter-Regular.woff2') format('woff2');
        font-style: normal;
        font-weight: 400;
        font-display: swap;
    }
    @font-face {
        font-family: 'Roboto-Regular';
        src: url('../fonts/Inter-Bold.woff2') format('woff2');
        font-style: normal;
        font-weight: 700;
        font-display: swap;
    }

    /* Basic Resets */
    body {
        margin: 0;
        font-family: var(--font-sans);
        font-size: var(--fs-body);
        line-height: 1.6;
        color: var(--ink);
    }

    /* Spacer rendered by header.php right after the fixed topbar + header.
       Reserves the same total height (44 + 80 = 124px) so page content
       always starts below the header, regardless of any per-page CSS.
       Using a real DOM element instead of `body { padding-top }` avoids
       conflicts with templates that reset body padding. */
    .site-header-spacer {
        height: 124px;
        flex-shrink: 0;
    }
    * {
        box-sizing: border-box;
    }

    /* Top Bar */
    .site-topbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #555;
        color: #e0e0e0;
        font-size: 13px;
        z-index: 1001;
        font-family: 'oxygen-regular', Arial, sans-serif;
    }
    .topbar-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 40px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 44px;
    }
    .topbar-left, .topbar-right {
        display: flex;
        align-items: center;
        gap: 30px;
    }
    .topbar-link {
        color: #e0e0e0;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 6px;
        transition: color 0.3s;
    }
    .topbar-link:hover, .topbar-dropdown:hover .topbar-dropdown-toggle {
        color: #fff;
    }
    .topbar-icon {
        width: 14px;
        height: 14px;
        fill: currentColor;
    }
    .topbar-search {
        display: flex;
        align-items: center;
        background: #666;
        border-radius: 20px;
        padding: 2px 15px;
        height: 30px;
        transition: background 0.3s;
    }
    .topbar-search:focus-within {
        background: #777;
    }
    .topbar-search input {
        background: transparent;
        border: none;
        color: #fff;
        font-size: 13px;
        outline: none;
        width: 220px;
    }
    .topbar-search input::placeholder {
        color: #ccc;
    }
    .topbar-search button {
        background: transparent;
        border: none;
        color: #fff;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }
    .topbar-dropdown {
        position: relative;
        cursor: pointer;
        display: flex;
        align-items: center;
        height: 44px;
    }
    .topbar-dropdown-toggle {
        display: flex;
        align-items: center;
        gap: 6px;
        color: #e0e0e0;
        transition: color 0.3s;
    }
    .topbar-arrow {
        width: 10px;
        height: 10px;
        fill: currentColor;
    }
    .topbar-dropdown-menu {
        position: absolute;
        top: 44px;
        right: 0;
        background: #fff;
        border: 1px solid #eee;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        list-style: none;
        padding: 10px 0;
        margin: 0;
        min-width: 120px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        z-index: 100;
    }
    .topbar-dropdown:hover .topbar-dropdown-menu,
    .topbar-dropdown.is-open .topbar-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .topbar-dropdown-menu li a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 20px;
        color: #333;
        text-decoration: none;
        transition: background 0.2s;
        text-transform: uppercase;
        font-size: 13px;
    }
    .topbar-dropdown-menu li a:hover {
        background: #f5f5f5;
        color: #c41230;
    }
    .topbar-dropdown-menu img {
        width: 20px;
        height: 14px;
        object-fit: cover;
        border-radius: 2px;
    }
    /* Language switcher: flag on toggle + current-language highlight */
    .topbar-lang-switcher .topbar-flag {
        width: 20px;
        height: 14px;
        object-fit: cover;
        border-radius: 2px;
        margin-right: 4px;
        vertical-align: middle;
    }
    .topbar-lang-switcher .topbar-dropdown-menu li a.is-current {
        background: #f5f5f5;
        color: #c41230;
    }

    /* Site Header */
    .site-header {
        position: fixed;
        top: 44px;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        z-index: 1000;
        display: flex;
        justify-content: center;
    }
    .header-container {
        max-width: 1400px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
        height: 80px;
    }

    /* Logo */
    .logo img {
        height: 50px;
        width: auto;
        display: block;
        object-fit: contain;
    }

    /* Navigation */
    .main-menu {
        display: flex;
        align-items: center;
        gap: 30px;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .menu-item {
        position: relative;
    }
    .menu-item > a {
        font-size: 15px;
        font-weight: 600;
        color: #000;
        text-decoration: none;
        padding: 30px 0; /* Makes hover area taller */
        display: flex;
        align-items: center;
        gap: 6px;
        transition: color 0.2s;
    }
    .menu-item > a:hover,
    .menu-item.current-menu-item > a,
    .menu-item.current-menu-parent > a,
    .menu-item.current-menu-ancestor > a,
    .menu-item.current_page_item > a,
    .menu-item.current_page_parent > a,
    .menu-item.current_page_ancestor > a {
        color: #c41230;
    }
    .menu-item > a svg {
        width: 10px;
        height: 10px;
        fill: currentColor;
        transition: transform 0.2s;
    }
    .menu-item:hover > a svg {
        transform: rotate(180deg);
    }

    /* Dropdowns */
    .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        min-width: 220px;
        padding: 10px 0;
        border-radius: 4px;
        list-style: none;
        margin: 0;
        z-index: 1010;
    }
    .menu-item:hover > .dropdown-menu {
        display: block;
    }
    .dropdown-menu li a {
        display: block;
        padding: 12px 20px;
        font-size: 14px;
        color: #333;
        text-decoration: none;
        transition: all 0.2s;
    }
    .dropdown-menu li a:hover,
    .dropdown-menu li.current-menu-item > a,
    .dropdown-menu li.current-menu-parent > a,
    .dropdown-menu li.current-menu-ancestor > a,
    .dropdown-menu li.current_page_item > a,
    .dropdown-menu li.current_page_parent > a,
    .dropdown-menu li.current_page_ancestor > a {
        background-color: #f5f5f5;
        color: #c41230;
    }

    /* Third-level flyout */
    .dropdown-menu .menu-item {
        position: relative;
    }
    .dropdown-menu .dropdown-menu {
        display: none;
        top: 0;
        left: 100%;
        margin-top: -10px;
        box-shadow: 4px 4px 12px rgba(0,0,0,0.08);
    }
    .dropdown-menu .menu-item-has-children:hover > .dropdown-menu {
        display: block;
    }
    .dropdown-menu .menu-item-has-children > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .dropdown-menu .menu-item-has-children > a::after {
        content: '›';
        margin-left: 8px;
        font-size: 18px;
        line-height: 1;
    }

    /* Actions */
    .header-actions {
        display: flex;
        align-items: center;
        gap: 20px;
    }
    .search-toggle {
        cursor: pointer;
        padding: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .search-toggle svg {
        width: 20px;
        height: 20px;
        fill: #333;
        transition: fill 0.2s;
    }
    .search-toggle:hover svg {
        fill: #c41230;
    }
    .quote-btn {
        background-color: #c41230;
        color: #fff;
        padding: 10px 24px;
        border-radius: 4px;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        transition: background 0.3s;
    }
    .quote-btn:hover {
        background-color: #a30e25;
    }

    /* Fullscreen Search Overlay */
    .search-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.85);
        z-index: 2000;
        align-items: center;
        justify-content: center;
    }
    .search-overlay.active {
        display: flex;
    }
    .search-overlay form {
        width: 80%;
        max-width: 600px;
        position: relative;
    }
    .search-overlay input {
        width: 100%;
        background: transparent;
        border: none;
        border-bottom: 2px solid #fff;
        color: #fff;
        font-size: 32px;
        padding: 10px 0;
        outline: none;
    }
    .search-overlay input::placeholder {
        color: rgba(255,255,255,0.5);
    }
    .search-close {
        position: absolute;
        top: 40px;
        right: 40px;
        cursor: pointer;
        font-size: 50px;
        color: #fff;
        line-height: 1;
        font-weight: 300;
    }

    /* Floating Widget */
    .floating-widget {
        position: fixed;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 9999;
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: flex-end;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .floating-widget.is-hidden {
        transform: translateY(-50%) translateX(100%);
    }
    .float-btn {
        display: flex;
        align-items: center;
        height: 46px;
        max-width: 46px;
        border-radius: 23px 0 0 23px;
        color: #fff !important;
        text-decoration: none;
        font-size: 14px;
        font-family: 'oxygen-regular', Arial, sans-serif;
        overflow: hidden;
        transition: max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s;
        white-space: nowrap;
        box-shadow: -2px 2px 10px rgba(0,0,0,0.15);
    }
    .float-btn:hover {
        max-width: 400px;
    }
    .float-icon {
        width: 46px;
        height: 46px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    .float-icon svg {
        width: 20px; /* Reduced icon size */
        height: 20px;
        fill: #fff;
    }
    .float-text-wrapper {
        display: grid;
        padding-right: 20px;
    }
    .float-text-wrapper > span {
        grid-area: 1 / 1;
        font-weight: 600;
        transition: opacity 0.3s ease;
    }
    .floatwindow_more_box {
        opacity: 0;
    }
    .float-btn:hover .floatwindow_tit_box {
        opacity: 0;
    }
    .float-btn:hover .floatwindow_more_box {
        opacity: 1;
    }

    .float-inquiry { background-color: #c41230; }
    .float-online { background-color: #a07cf0; }
    .float-contact { background-color: #3a96e8; }
    .float-email { background-color: #6cba36; }
    .float-whatsapp { background-color: #fab900; }

    .float-inquiry:hover { background-color: #a30e25; }
    .float-online:hover { background-color: #8c67da; }
    .float-contact:hover { background-color: #3182ca; }
    .float-email:hover { background-color: #5ea02d; }
    .float-whatsapp:hover { background-color: #e5a900; }

    .float-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: rgba(0,0,0,0.35);
        color: #fff;
        cursor: pointer;
        border: none;
        font-size: 14px;
        line-height: 1;
        transition: transform 0.3s, opacity 0.3s;
        align-self: flex-end;
        margin-top: 4px;
        box-shadow: -1px 1px 6px rgba(0,0,0,0.15);
    }
    .float-toggle:hover {
        background: rgba(0,0,0,0.55);
    }
    .float-toggle.is-collapsed {
        position: fixed;
        right: 8px;
        top: 50%;
        transform: translateY(-50%) rotate(180deg);
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    @media (max-width: 992px) {
        .floating-widget {
            transform: scale(0.8) translateY(-50%);
            transform-origin: right center;
        }
        .floating-widget.is-hidden {
            transform: scale(0.8) translateY(-50%) translateX(100%);
        }
    }

    /* Quote Modal Styles */
    .quote-modal-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.6);
        z-index: 3000;
        align-items: center;
        justify-content: center;
    }
    .quote-modal-overlay.active {
        display: flex;
    }
    .quote-modal-content {
        background: #fff;
        width: 90%;
        max-width: 850px;
        max-height: 90vh;
        position: relative;
        display: flex;
        flex-direction: row;
        box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    }
    .quote-modal-close {
        position: absolute;
        top: 15px;
        right: 20px;
        cursor: pointer;
        font-size: 28px;
        color: #333;
        z-index: 10;
        font-weight: bold;
        line-height: 1;
    }
    .quote-modal-left {
        flex: 1;
        background-color: #333;
        background-image: url('../images/24-hour-customer-service.webp');
        background-size: cover;
        background-position: center;
        position: relative;
        padding: 40px 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        color: #fff;
    }
    .quote-modal-left::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1;
    }
    .quote-modal-left-content {
        position: relative;
        z-index: 2;
    }
    .contact-us-text {
        color: #b2cc3e;
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-style: italic;
        font-size: 24px;
        font-weight: 700;
        margin: 0 0 10px 0;
    }
    .quote-modal-left-content h2 {
        color: #fff;
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: 28px;
        margin: 5px 0;
        font-weight: 700;
        line-height: 1.2;
    }
    .quote-modal-right {
        flex: 1.2;
        padding: 30px 40px;
        background: #fff;
        overflow-y: auto;
    }
    .quote-modal-right h3 {
        color: #0a1c32;
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: 26px;
        font-weight: 700;
        margin-top: 0;
        margin-bottom: 20px;
    }
    .clean-quote-form {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .form-row {
        display: flex;
        gap: 15px;
    }
    .form-group {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    .form-group label {
        font-size: 13px;
        font-weight: 600;
        color: #333;
        margin-bottom: 4px;
    }
    .req {
        color: red;
    }
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group textarea,
    .form-group input[type="file"] {
        width: 100%;
        padding: 8px 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 13px;
        font-family: inherit;
    }
    .form-group input:focus,
    .form-group textarea:focus {
        border-color: #c41230;
        outline: none;
    }
    .checkbox-group {
        display: flex;
        gap: 15px;
        margin-top: 4px;
    }
    .checkbox-group label {
        font-weight: normal;
        font-size: 13px;
        display: flex;
        align-items: center;
        gap: 5px;
        cursor: pointer;
        margin: 0;
    }
    .submit-btn {
        background-color: #c41230;
        color: #fff;
        border: none;
        border-radius: 30px;
        padding: 10px 24px;
        width: 100%;
        font-size: 15px;
        font-weight: bold;
        cursor: pointer;
        transition: background 0.3s;
        margin-top: 5px;
    }
    .submit-btn:hover {
        background-color: #a30e25;
    }

    /* Responsive */
    @media (max-width: 992px) {
        .header-container { padding: 0 15px; }
        .main-menu { display: none; /* desktop nav hidden, mobile panel takes over */ }
        .main-navigation { display: none; }
        .header-actions .quote-btn { display: none; }
        .header-actions .search-toggle { display: inline-flex; align-items: center; justify-content: center; } /* visible on mobile */
        .mobile-menu-toggle { display: inline-flex; }
        .quote-modal-content {
            flex-direction: column;
            max-height: 85vh;
        }
        .quote-modal-left { display: none; }
        .form-row { flex-direction: column; gap: 12px; }
        .quote-modal-right { padding: 20px; }
    }
    @media (max-width: 768px) {
        .header-container { height: 64px; }
        .logo img { height: 40px; }
    }
    @media (max-width: 480px) {
        .header-actions { gap: 12px; }
        .header-container { padding: 0 12px; }
    }

    /* ----------------------------------------------------------------
     * Mobile header: hamburger toggle + slide-in panel
     * ---------------------------------------------------------------- */
    .mobile-menu-toggle {
        /* Hidden on desktop. Shown at ≤992px. */
        display: none;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        width: 40px;
        height: 40px;
        padding: 0;
        background: transparent;
        border: none;
        cursor: pointer;
        position: relative;
    }
    @media (max-width: 992px) {
        .mobile-menu-toggle { display: inline-flex; }
    }
    .mobile-menu-toggle__bar {
        width: 24px;
        height: 2px;
        background: #1a1a1a;
        border-radius: 2px;
        transition: transform 0.25s ease, opacity 0.2s ease;
    }
    .mobile-menu-toggle.is-active .mobile-menu-toggle__bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .mobile-menu-toggle.is-active .mobile-menu-toggle__bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.is-active .mobile-menu-toggle__bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .mobile-menu-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        z-index: 1500;
        opacity: 0;
        transition: opacity 0.25s ease;
        cursor: pointer;
    }
    .mobile-menu-backdrop.is-open {
        opacity: 1;
    }

    .mobile-menu-panel {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100%;
        background: #fff;
        z-index: 1600;
        display: flex;
        flex-direction: column;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 4px 0 16px rgba(0, 0, 0, 0.12);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .mobile-menu-panel.is-open {
        transform: translateX(0);
    }
    .mobile-menu-panel__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        background: linear-gradient(135deg, #c41230 0%, #9e0f26 100%);
        border-bottom: none;
    }
    .mobile-menu-panel__logo img {
        height: 36px;
        width: auto;
        display: block;
    }
    .mobile-menu-panel__close {
        width: 36px;
        height: 36px;
        font-size: 32px;
        line-height: 1;
        color: #fff;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
    }
    .mobile-menu-panel__search {
        margin: 16px 20px;
        display: flex;
        align-items: center;
        background: #f4f4f4;
        border-radius: 999px;
        padding: 4px 12px;
    }
    .mobile-menu-panel__search input {
        flex: 1;
        background: transparent;
        border: none;
        outline: none;
        height: 36px;
        font-size: 14px;
        color: #1a1a1a;
    }
    .mobile-menu-panel__search input::placeholder {
        color: #888;
    }
    .mobile-menu-panel__search button {
        background: transparent;
        border: none;
        cursor: pointer;
        color: #555;
        padding: 4px 6px;
        display: flex;
        align-items: center;
    }
    .mobile-menu-panel__search button svg {
        width: 14px;
        height: 14px;
        fill: currentColor;
    }
    .mobile-menu-panel__nav {
        flex: 1;
        padding: 8px 0 16px;
    }
    .mobile-menu-panel__nav .main-menu {
        display: flex;
        flex-direction: column;
        gap: 0;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .mobile-menu-panel__nav .main-menu > .menu-item {
        position: static;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.25);
    }
    .mobile-menu-panel__nav .menu-item {
        position: static;
        width: 100%;
    }
    /* Top-level item header — red gradient bar (matches category sidenav). */
    .mobile-menu-panel__nav .main-menu > .menu-item > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 13px 16px;
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 0.2px;
        color: #fff;
        background: linear-gradient(135deg, #c00 0%, #a00 100%);
        text-decoration: none;
    }
    .mobile-menu-panel__nav .main-menu > .menu-item-has-children > a::after {
        content: '';
        width: 9px;
        height: 9px;
        border-right: 2px solid rgba(255,255,255,0.85);
        border-bottom: 2px solid rgba(255,255,255,0.85);
        transform: rotate(45deg);
        transition: transform 0.25s ease;
        margin-left: 12px;
        flex-shrink: 0;
    }
    .mobile-menu-panel__nav .main-menu > .menu-item-has-children.is-open > a::after {
        transform: rotate(225deg);
    }
    .mobile-menu-panel__nav .main-menu > .menu-item > a:hover,
    .mobile-menu-panel__nav .main-menu > .menu-item > a:active,
    .mobile-menu-panel__nav .main-menu > .menu-item-has-children.is-open > a,
    .mobile-menu-panel__nav .main-menu > .current-menu-item > a,
    .mobile-menu-panel__nav .main-menu > .current-menu-ancestor > a {
        background: linear-gradient(135deg, #a00 0%, #800 100%);
        color: #fff;
    }
    .mobile-menu-panel__nav .menu-item > a svg {
        display: none; /* hide the desktop chevron, we draw our own */
    }
    /* Sub-menu lists — white panel, animated collapse. */
    .mobile-menu-panel__nav .dropdown-menu,
    .mobile-menu-panel__nav .sub-menu {
        display: none;
        position: static;
        width: 100%;
        min-width: 0;
        max-width: none;
        top: auto;
        left: auto;
        right: auto;
        background: #fff;
        box-shadow: none;
        border-radius: 0;
        padding: 4px 0;
        margin: 0;
        list-style: none;
        z-index: auto;
    }
    .mobile-menu-panel__nav .menu-item:hover > .dropdown-menu,
    .mobile-menu-panel__nav .menu-item:hover > .sub-menu {
        display: none;
    }
    .mobile-menu-panel__nav .menu-item-has-children.is-open > .dropdown-menu,
    .mobile-menu-panel__nav .menu-item-has-children.is-open > .sub-menu {
        display: block;
    }
    .mobile-menu-panel__nav .dropdown-menu li,
    .mobile-menu-panel__nav .sub-menu li {
        width: 100%;
        list-style: none;
    }
    /* Sub-menu link — white bg, grey bullet, red on hover/active. */
    .mobile-menu-panel__nav .dropdown-menu li a,
    .mobile-menu-panel__nav .sub-menu li a {
        width: 100%;
        padding: 11px 16px 11px 18px;
        font-size: 13px;
        line-height: 1.35;
        color: #333;
        display: flex;
        align-items: center;
        gap: 10px;
        border-left: 3px solid transparent;
        position: relative;
        transition: background-color 0.15s, color 0.15s, border-color 0.15s;
    }
    /* bullet dot */
    .mobile-menu-panel__nav .dropdown-menu li a::before,
    .mobile-menu-panel__nav .sub-menu li a::before {
        content: '';
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #ccc;
        flex-shrink: 0;
        transition: background-color 0.15s;
    }
    .mobile-menu-panel__nav .dropdown-menu li a:hover,
    .mobile-menu-panel__nav .dropdown-menu li a:active,
    .mobile-menu-panel__nav .sub-menu li a:hover,
    .mobile-menu-panel__nav .sub-menu li a:active,
    .mobile-menu-panel__nav .dropdown-menu .current-menu-item > a,
    .mobile-menu-panel__nav .sub-menu .current-menu-item > a {
        background: #faf3f3;
        color: #c00;
        border-left-color: #c00;
        font-weight: 600;
    }
    .mobile-menu-panel__nav .dropdown-menu li a:hover::before,
    .mobile-menu-panel__nav .dropdown-menu li a:active::before,
    .mobile-menu-panel__nav .sub-menu li a:hover::before,
    .mobile-menu-panel__nav .dropdown-menu .current-menu-item > a::before,
    .mobile-menu-panel__nav .sub-menu .current-menu-item > a::before {
        background: #c00;
    }
    /* Third level — slightly indented, lighter. */
    .mobile-menu-panel__nav .dropdown-menu .dropdown-menu li a,
    .mobile-menu-panel__nav .sub-menu .sub-menu li a {
        padding-left: 32px;
        font-size: 12.5px;
        color: #666;
    }
    .mobile-menu-panel__nav .dropdown-menu .dropdown-menu,
    .mobile-menu-panel__nav .sub-menu .sub-menu {
        background: #fafafa;
    }
    /* Chevron for 2nd-level items that have a 3rd-level submenu. */
    .mobile-menu-panel__nav .dropdown-menu > .menu-item-has-children > a {
        justify-content: space-between;
    }
    .mobile-menu-panel__nav .dropdown-menu > .menu-item-has-children > a::after {
        content: '';
        width: 8px;
        height: 8px;
        border-right: 2px solid #999;
        border-bottom: 2px solid #999;
        transform: rotate(45deg);
        transition: transform 0.25s ease;
        margin-left: auto;
        flex-shrink: 0;
    }
    .mobile-menu-panel__nav .dropdown-menu > .menu-item-has-children.is-open > a::after {
        transform: rotate(225deg);
        border-color: #c00;
    }
    .mobile-menu-panel__contact {
        border-top: 1px solid #eee;
        padding: 16px 20px 24px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .mobile-menu-panel__contact-link {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #444;
        font-size: 14px;
        text-decoration: none;
    }
    .mobile-menu-panel__contact-link svg {
        width: 14px;
        height: 14px;
        fill: currentColor;
    }
    body.mobile-menu-open {
        overflow: hidden;
    }

    /* Banner Styles */
    .hero-banner {
        position: relative;
        width: 100%;
        height: 758px;
        overflow: hidden;
        display: flex;
        align-items: center;
        background-color: #000;
    }
    .hero-video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        transform: translate(-50%, -50%);
        object-fit: cover;
        z-index: 1;
    }
    .hero-video--iframe {
        width: 100vw;
        height: 56.25vw;         /* 16:9 ratio of viewport width  */
        min-height: 100%;
        min-width: 177.78vh;     /* 16:9 ratio of viewport height */
        border: 0;
        pointer-events: none;    /* prevent click-through to YouTube UI */
        /*
         * YouTube always renders its own chrome (top title bar, bottom
         * progress/share buttons, corner watermark) regardless of
         * controls=0 / modestbranding=1. Scale the iframe up so those
         * bands fall outside the banner — the parent `.hero-banner` has
         * overflow:hidden, so the excess is clipped cleanly.
         */
        transform: translate(-50%, -50%) scale(1.4);
    }
    .hero-overlay {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 2;
    }
    .hero-container {
        position: relative;
        z-index: 3;
        width: 100%;
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px;
    }
    .hero-content {
        max-width: 800px;
        padding-left: 20px;
    }
    .hero-heading {
        color: #fff;
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: 46px;
        font-weight: 700;
        margin: 0 0 20px 0;
        line-height: 1.2;
        text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    }
    .hero-description {
        color: #fff;
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: 18px;
        font-weight: 400;
        line-height: 1.6;
        margin: 0 0 35px 0;
        max-width: 640px;
        text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    }
    .hero-btn {
        display: inline-block;
        background-color: #c41230;
        color: #fff;
        padding: 14px 32px;
        border-radius: 30px;
        font-size: 16px;
        font-weight: 700;
        text-decoration: none;
        transition: background 0.3s;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }
    .hero-btn:hover {
        background-color: #a30e25;
    }
    @media (max-width: 768px) {
        .hero-banner { height: auto; min-height: 500px; padding: 60px 0; }
        .hero-heading { font-size: 32px; }
        .hero-description { font-size: 16px; }
        .hero-content { padding-left: 0; }
    }

    /* Contact CTA Section */
    .contact-cta-section {
        position: relative;
        width: 100%;
        padding: 300px 20px;
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .contact-cta-overlay {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        z-index: 1;
    }
    .contact-cta-content {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .contact-cta-logo {
        max-width: 250px;
        height: auto;
        margin-bottom: 20px;
    }
    .contact-cta-heading {
        color: #BCD259;
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: 38px;
        font-weight: 700;
        margin: 0 0 35px 0;
        text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    }
    .contact-cta-btn {
        display: inline-block;
        background-color: #c41230;
        color: #fff;
        padding: 15px 35px;
        border-radius: 4px;
        font-size: 16px;
        font-weight: 600;
        text-decoration: none;
        transition: background 0.3s;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }
    .contact-cta-btn:hover {
        background-color: #a30e25;
    }
    @media (max-width: 992px) {
        .contact-cta-section { padding: 160px 20px; }
        .contact-cta-heading { font-size: 32px; }
    }
    @media (max-width: 768px) {
        .contact-cta-section { padding: 100px 20px; }
        .contact-cta-heading { font-size: 26px; margin: 0 0 24px 0; }
        .contact-cta-logo { max-width: 180px; }
        .contact-cta-btn { padding: 12px 26px; font-size: 14px; }
    }
    @media (max-width: 480px) {
        .contact-cta-section { padding: 70px 16px; }
        .contact-cta-heading { font-size: 22px; line-height: 1.3; }
        .contact-cta-logo { max-width: 140px; margin-bottom: 14px; }
    }

    /* Logo Carousel Section */
    .logo-carousel-section {
        position: relative;
        width: 100%;
        max-width: 1400px;
        margin: 60px auto 0 auto;
        overflow: hidden;
        padding: 40px 0 0 0;
        background-color: transparent;
        border-top: 1px solid #eaeaea;
    }
    .logo-track {
        display: flex;
        align-items: center;
        width: max-content;
        animation: scrollLogos 30s linear infinite;
        position: relative;
        z-index: 2;
    }
    .logo-track:hover {
        animation-play-state: paused;
    }
    .logo-slide {
        padding: 0 40px;
    }
    .logo-slide img {
        height: 60px;
        width: auto;
        object-fit: contain;
    }
    @keyframes scrollLogos {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }

    /* About Section */
    .about-section {
        padding: 80px 20px;
        background-color: #fff;
    }
    .about-container {
        max-width: 1400px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        gap: 60px;
    }
    .about-image-col {
        flex: 1;
    }
    .about-image-col img {
        width: 100%;
        height: auto;
        border-radius: 4px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        display: block;
    }
    .about-content-col {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    .about-heading {
        color: #333;
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: 36px;
        font-weight: 700;
        margin: 0 0 20px 0;
    }
    .about-desc {
        color: #666;
        font-size: 15px;
        line-height: 1.6;
        margin: 0 0 40px 0;
    }
    .about-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        margin-bottom: 40px;
    }
    .about-feature {
        display: flex;
        align-items: flex-start;
        gap: 15px;
    }
    .feature-icon {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        object-fit: contain;
    }
    
    .feature-text {
        color: #333;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.4;
        padding-top: 8px;
    }
    .about-btn {
        display: inline-block;
        color: #000;
        font-size: 15px;
        font-weight: 700;
        text-decoration: none;
        border-bottom: 2px solid #000;
        padding-bottom: 3px;
        align-self: flex-start;
        transition: color 0.3s, border-color 0.3s;
    }
    .about-btn:hover {
        color: #c41230;
        border-color: #c41230;
    }
    
    @media (max-width: 992px) {
        .about-container {
            flex-direction: column;
            gap: 40px;
        }
        .about-features {
            grid-template-columns: 1fr;
        }
        .about-heading {
            font-size: 30px;
        }
    }

    /* Packaging Section */
    .packaging-section {
        padding: 80px 20px;
        background-color: #fff;
    }
    .packaging-container {
        max-width: 1400px;
        margin: 0 auto;
    }
    .packaging-heading {
        color: #333;
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: 36px;
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
        margin: 0 auto 20px;
        max-width: 720px;
    }
    .packaging-divider {
        display: block;
        width: 80px;
        height: 3px;
        margin: 0 auto 60px;
        background-color: #b2cc3e;
        border-radius: 2px;
    }
    .packaging-grid {
        display: flex;
        align-items: center;
        gap: 60px;
    }
    .packaging-image-col {
        flex: 1;
    }
    .packaging-image-col img {
        width: 100%;
        height: auto;
        border-radius: 4px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        display: block;
    }
    .packaging-content-col {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    .packaging-row {
        color: #666;
        font-size: 15px;
        line-height: 1.7;
        margin: 0 0 22px 0;
    }
    .packaging-row strong {
        color: #333;
        font-weight: 700;
    }
    .packaging-btn {
        display: inline-block;
        align-self: flex-start;
        background-color: #c41230;
        color: #fff;
        padding: 14px 32px;
        border-radius: 4px;
        font-size: 15px;
        font-weight: 700;
        text-decoration: none;
        margin-top: 18px;
        transition: background 0.3s;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }
    .packaging-btn:hover {
        background-color: #a30e25;
    }
    @media (max-width: 992px) {
        .packaging-grid {
            flex-direction: column;
            gap: 40px;
        }
        .packaging-heading {
            font-size: 30px;
        }
        .packaging-divider {
            margin-bottom: 40px;
        }
    }

    /* Ordering Steps Section */
    .ordering-section {
        padding: 80px 20px;
        background-color: #f5f5f5;
    }
    .ordering-container {
        max-width: 1400px;
        margin: 0 auto;
    }
    .ordering-heading {
        color: #333;
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: 36px;
        font-weight: 700;
        text-align: center;
        margin: 0 0 18px 0;
    }
    .ordering-subtext {
        color: #666;
        font-size: 15px;
        line-height: 1.6;
        text-align: center;
        max-width: 640px;
        margin: 0 auto 60px;
    }
    .ordering-steps {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
    .ordering-step {
        text-align: center;
        padding: 0 10px;
    }
    .ordering-step__icon {
        color: #b2cc3e;
        margin-bottom: 18px;
        line-height: 1;
    }
    .ordering-step__icon svg {
        width: 48px;
        height: 48px;
        display: inline-block;
    }
    .ordering-step__icon img {
        width: 48px;
        height: 48px;
        object-fit: contain;
        display: inline-block;
    }
    .ordering-step__title {
        color: #333;
        font-size: 20px;
        font-weight: 700;
        margin: 0 0 12px 0;
    }
    .ordering-step__desc {
        color: #777;
        font-size: 14px;
        line-height: 1.6;
        margin: 0;
    }
    @media (max-width: 992px) {
        .ordering-steps {
            grid-template-columns: repeat(2, 1fr);
            gap: 40px 24px;
        }
        .ordering-heading {
            font-size: 30px;
        }
    }
    @media (max-width: 560px) {
        .ordering-steps {
            grid-template-columns: repeat(2, 1fr);
            gap: 32px 16px;
        }
    }
    .trust-section {
        padding: 80px 20px;
    }
    .trust-container {
        max-width: 1400px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        gap: 60px;
    }
    .trust-content-col {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    .trust-image-col {
        flex: 1;
    }
    .trust-image-col img {
        width: 100%;
        height: auto;
        border-radius: 4px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        display: block;
    }
    .trust-heading {
        color: #333;
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: 36px;
        font-weight: 700;
        margin: 0 0 20px 0;
    }
    .trust-desc {
        color: #666;
        font-size: 16px;
        line-height: 1.7;
        margin: 0 0 40px 0;
    }
    .trust-desc strong {
        color: #222;
        font-weight: 700;
    }
    .trust-logos-box {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 35px;
        background: #fff;
        padding: 25px 30px;
        border-radius: 6px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        margin-bottom: 40px;
    }
    .trust-logos-box img {
        height: auto;
        max-height: 55px;
        max-width: 140px;
        object-fit: contain;
    }
    .trust-logos-box img:not(:last-child) {
        border-right: 1px solid #eaeaea;
        padding-right: 35px;
    }
    .trust-btn {
        display: inline-block;
        color: #000;
        font-size: 15px;
        font-weight: 700;
        text-decoration: none;
        border-bottom: 2px solid #000;
        padding-bottom: 3px;
        align-self: flex-start;
        transition: color 0.3s, border-color 0.3s;
    }
    .trust-btn:hover {
        color: #c41230;
        border-color: #c41230;
    }
    
    @media (max-width: 992px) {
        .trust-container {
            flex-direction: column-reverse;
            gap: 40px;
        }
        .trust-heading {
            font-size: 30px;
        }
        .trust-logos-box {
            flex-direction: column;
            gap: 25px;
            padding: 30px;
        }
        .trust-logos-box img:not(:last-child) {
            border-right: none;
            border-bottom: 1px solid #eaeaea;
            padding-right: 0;
            padding-bottom: 25px;
        }
    }

    /* Production Lines Section (full-width stacked rows) */
    .project-section {
        padding: 80px 0 0 0;
        background-color: #fff;
    }
    .project-heading {
        text-align: center;
        color: #333;
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: 36px;
        font-weight: 700;
        margin: 0 0 40px 0;
    }
    .pline-list {
        display: grid;
        grid-template-columns: repeat(var(--pline-desktop-columns, 2), minmax(0, 1fr));
        gap: 28px;
        width: 100%;
        max-width: 1640px;
        margin: 0 auto;
        padding: 0 48px;
        box-sizing: border-box;
    }
    .pline-card {
        min-width: 0;
        display: flex;
        flex-direction: column;
        position: relative;
        background: #fff;
        border: 1px solid #ececec;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }
    .pline-card--link {
        cursor: pointer;
    }
    .pline-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    }
    /* Stretched link — makes the whole card clickable. */
    .pline-card__link {
        position: absolute;
        inset: 0;
        z-index: 4;
        font-size: 0;
        text-indent: -9999px;
    }
    /* Media (image) area — top of the card. */
    .pline-card__media {
        position: relative;
        width: 100%;
        aspect-ratio: 16 / 10;
        background-image: var(--pline-bg-url, none);
        background-size: cover;
        background-position: center;
        background-color: #e9eef2; /* fallback when no image is set */
    }
    /* Modern engines: prefer the image-set (WebP) value so only one file
     * is fetched instead of both PNG and WebP. */
    @supports (background-image: image-set(url('x') type('image/png'))) {
        .pline-card__media {
            background-image: var(--pline-bg, var(--pline-bg-url, none));
        }
    }
    /* Step number — top-left badge. */
    .pline-card__num {
        position: absolute;
        top: 14px;
        left: 14px;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        height: 36px;
        padding: 0 10px;
        background: #fff;
        color: #c41230;
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: 19px;
        font-weight: 700;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    }
    /* Custom tag — top-right pill. */
    .pline-card__tag {
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 2;
        display: inline-block;
        padding: 5px 12px;
        background: #c41230;
        color: #fff;
        font-size: 12px;
        font-weight: 700;
        border-radius: 6px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    }
    /* Body — white text area below the image. */
    .pline-card__body {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        padding: 18px 22px 24px;
    }
    /* Meta row — left category label + right feature label. */
    .pline-card__meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 10px;
        min-height: 16px;
    }
    .pline-card__cat {
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #8a8f98;
    }
    .pline-card__feat {
        display: inline-flex;
        align-items: center;
        font-size: 12px;
        font-weight: 600;
        color: #5a5f68;
        white-space: nowrap;
    }
    .pline-card__feat::before {
        content: "";
        display: inline-block;
        width: 7px;
        height: 7px;
        margin-right: 6px;
        border-radius: 50%;
        background: #c41230;
    }
    .pline-card__title {
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: 22px;
        font-weight: 700;
        line-height: 1.3;
        color: #1a1a1a;
        margin: 0 0 10px 0;
    }
    .pline-card__desc {
        font-size: 14px;
        line-height: 1.6;
        color: #666;
        margin: 0;
    }

    @media (max-width: 992px) {
        .pline-list {
            grid-template-columns: repeat(var(--pline-tablet-columns, 2), minmax(0, 1fr));
            gap: 22px;
            padding: 0 32px;
        }
    }
    @media (max-width: 768px) {
        .pline-card__title {
            font-size: 20px;
        }
        .pline-card__body {
            padding: 16px 18px 20px;
        }
    }
    @media (max-width: 600px) {
        .pline-list {
            grid-template-columns: repeat(var(--pline-mobile-columns, 1), minmax(0, 1fr));
            gap: 18px;
            padding: 0 16px;
        }
    }

    /* Offerings Section (alternating image / text rows) */
    .offerings-section {
        padding: 80px 20px;
        background-color: #fff;
    }
    .offerings-heading {
        text-align: center;
        color: #333;
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: 36px;
        font-weight: 700;
        margin: 0 0 18px 0;
    }
    .offerings-subtext {
        text-align: center;
        color: #666;
        font-size: 15px;
        line-height: 1.6;
        max-width: 720px;
        margin: 0 auto 30px;
    }
    .offerings-container {
        max-width: 1400px;
        margin: 0 auto;
    }
    .offering-row {
        display: flex;
        width: 100%;
        align-items: center;
        gap: 60px;
        padding: 50px 0;
    }
    .offering-row + .offering-row {
        border-top: 1px solid var(--line, #e6e6e6);
    }
    .offering-row:nth-child(even) {
        flex-direction: row-reverse;
    }
    .offering-image {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .offering-image img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 4px;
    }
    .offering-content {
        flex: 1;
    }
    .offering-title {
        color: #333;
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: 30px;
        font-weight: 700;
        margin: 0 0 18px 0;
    }
    .offering-desc {
        color: #666;
        font-size: 15px;
        line-height: 1.7;
        margin: 0 0 28px 0;
    }
    .offering-btn {
        display: inline-block;
        background-color: #c41230;
        color: #fff;
        padding: 12px 28px;
        border-radius: 4px;
        font-size: 15px;
        font-weight: 700;
        text-decoration: none;
        transition: background 0.3s;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }
    .offering-btn:hover {
        background-color: #a30e25;
    }
    @media (max-width: 992px) {
        .offering-row,
        .offering-row:nth-child(even) {
            flex-direction: column;
            gap: 30px;
            padding: 40px 0;
        }
        .offering-image,
        .offering-content {
            flex: 0 0 100%;
            max-width: 100%;
            width: 100%;
        }
        .offerings-heading {
            font-size: 30px;
        }
        .offering-title {
            font-size: 26px;
        }
    }

    /* Offerings CTA Banner (full-width brand red, below offerings section) */
    .offerings-cta-banner {
        width: 100%;
        background-color: var(--brand, #c41230);
        display: flex;
        align-items: center;
        justify-content: center;
        height: 250px;
        padding: 30px 40px;
        box-sizing: border-box;
    }
    .offerings-cta-banner__inner {
        max-width: 1400px;
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 8px;
        height: 100%;
    }
    .offerings-cta-banner__title {
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: clamp(22px, 3.2vw, 40px);
        font-weight: 700;
        color: #fff;
        margin: 0;
        line-height: 1.2;
        max-width: 100%;
        word-wrap: break-word;
    }
    .offerings-cta-banner__desc {
        font-family: 'Inter', Arial, sans-serif;
        font-size: clamp(14px, 1.6vw, 18px);
        font-weight: 400;
        color: rgba(255, 255, 255, 0.9);
        margin: 0;
        max-width: 720px;
        line-height: 1.5;
    }
    .offerings-cta-banner__btn {
        display: inline-block;
        background-color: #fff;
        color: var(--brand, #c41230);
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: clamp(14px, 1.4vw, 16px);
        font-weight: 700;
        padding: 10px 32px;
        border-radius: 4px;
        text-decoration: none;
        transition: background-color 0.3s, color 0.3s;
        margin-top: 4px;
    }
    .offerings-cta-banner__btn:hover {
        background-color: var(--brand-dark, #a30e25);
        color: #fff;
    }

    @media (max-width: 768px) {
        .offerings-cta-banner {
            height: auto;
            min-height: 250px;
            padding: 30px 20px;
        }
    }

    /* Services Section */
    .services-section {
        padding: 80px 20px;
        background-color: #fff;
    }
    .services-heading {
        text-align: center;
        color: #333;
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: 36px;
        font-weight: 700;
        margin: 0 0 50px 0;
    }
    .services-container {
        max-width: 1400px;
        margin: 0 auto;
    }
    .service-row {
        display: flex;
        width: 100%;
        align-items: center;
    }
    .service-row:nth-child(even) {
        flex-direction: row-reverse;
    }
    .service-content {
        flex: 0 0 50%;
        width: 50%;
        padding: 0 80px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background-color: #f8f9fa;
    }
    .service-title {
        color: #333;
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: 28px;
        font-weight: 400;
        margin: 0 0 25px 0;
    }
    .service-title span {
        color: #c41230;
        font-weight: 700;
    }
    .service-list {
        list-style: none;
        padding: 0;
        margin: 0 0 35px 0;
    }
    .service-list li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        color: #555;
        font-size: 15px;
        margin-bottom: 12px;
        line-height: 1.5;
    }
    .service-list svg {
        width: 18px;
        height: 18px;
        fill: #c41230;
        flex-shrink: 0;
        margin-top: 2px;
    }
    .service-link {
        color: #000;
        font-size: 15px;
        font-weight: 700;
        text-decoration: none;
        border-bottom: 2px solid #000;
        padding-bottom: 2px;
        align-self: flex-start;
        transition: color 0.3s, border-color 0.3s;
    }
    .service-link:hover {
        color: #c41230;
        border-color: #c41230;
    }
    .service-image {
        flex: 0 0 50%;
        width: 50%;
    }
    .service-image img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    @media (max-width: 992px) {
        .service-row, .service-row:nth-child(even) {
            flex-direction: column-reverse;
        }
        .service-content, .service-image {
            flex: 0 0 100%;
            width: 100%;
        }
        .service-content {
            padding: 40px 25px;
        }
    }

    /* FAQ Section */
    .faq-section {
        padding: 80px 20px;
        background: #fff;
    }
    .faq-inner {
        max-width: 1200px;
        margin: 0 auto;
    }
    .faq-heading {
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: clamp(24px, 3vw, 36px);
        font-weight: 700;
        color: #1a1a1a;
        text-align: center;
        margin: 0 0 16px;
    }
    .faq-subtext {
        text-align: center;
        font-size: 15px;
        color: #555;
        margin: 0 0 56px;
        line-height: 1.6;
    }
    .faq-contact-link,
    .faq-inline-link {
        color: #4caf50;
        text-decoration: none;
        font-weight: 500;
    }
    .faq-contact-link:hover,
    .faq-inline-link:hover {
        text-decoration: underline;
    }
    .faq-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }
    .faq-item {
        padding: 32px 36px;
        border: 1px solid #e53935;
        background: #fdf3f3;
        margin: -1px 0 0 -1px; /* collapse borders */
    }
    .faq-question {
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: 16px;
        font-weight: 700;
        color: #1a1a1a;
        margin: 0 0 12px;
        line-height: 1.4;
    }
    .faq-answer {
        font-size: 14px;
        color: #555;
        line-height: 1.7;
        margin: 0;
    }
    /* Clickable FAQ item: stretched link covers the whole card */
    .faq-item--linked {
        position: relative;
        transition: background 0.3s;
    }
    .faq-item__link {
        position: absolute;
        inset: 0;
        z-index: 1;
    }
    /* Keep the inline answer link clickable above the stretched link */
    .faq-item--linked .faq-inline-link {
        position: relative;
        z-index: 2;
    }
    .faq-item--linked:hover {
        background: #fbe9e9;
    }
    .faq-item--linked:hover .faq-question {
        color: #c41230;
    }

    @media (max-width: 768px) {
        .faq-grid { grid-template-columns: 1fr; }
        .faq-item { margin: 0; border: 1px solid #e53935; border-top: none; }
        .faq-item:first-child { border-top: 1px solid #e53935; }
        .faq-section { padding: 60px 16px; }
    }

    /* Resources Section */
    .resources-section {
        padding: 80px 20px;
        background: #fff;
        text-align: center;
    }
    .resources-heading {
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: clamp(22px, 2.8vw, 34px);
        font-weight: 700;
        color: #1a1a1a;
        margin: 0 0 16px;
    }
    .resources-divider {
        display: block;
        width: 60px;
        height: 3px;
        background: #4caf50;
        margin: 0 auto 48px;
        border-radius: 2px;
    }
    .resources-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
        max-width: 1400px;
        margin: 0 auto;
        text-align: left;
    }
    .resource-card {
        display: flex;
        flex-direction: column;
        border: 1px solid var(--line, #e6e6e6);
        border-radius: 4px;
        overflow: hidden;
        text-decoration: none;
        color: inherit;
        transition: box-shadow 0.25s;
        cursor: pointer;
    }
    .resource-card:hover {
        box-shadow: 0 6px 24px rgba(0,0,0,0.10);
    }
    .resource-card__media {
        width: 100%;
        aspect-ratio: 5/3;
        overflow: hidden;
    }
    .resource-card__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.35s;
    }
    .resource-card:hover .resource-card__media img {
        transform: scale(1.04);
    }
    .resource-card__body {
        padding: 24px 24px 16px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    .resource-card__title {
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: 17px;
        font-weight: 700;
        color: #1a1a1a;
        margin: 0 0 12px;
        line-height: 1.4;
    }
    .resource-card__excerpt {
        font-size: 14px;
        color: #555;
        line-height: 1.65;
        margin: 0 0 16px;
        flex: 1;
    }
    .resource-card__more {
        font-size: 13px;
        font-weight: 700;
        color: #4caf50;
        letter-spacing: 0.3px;
    }
    .resource-card__meta {
        padding: 12px 24px;
        border-top: 1px solid var(--line, #e6e6e6);
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        color: #999;
    }

    @media (max-width: 992px) {
        .resources-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 600px) {
        .resources-grid { grid-template-columns: 1fr; }
        .resources-section { padding: 60px 16px; }
    }

    /* Testimonials Section */
    .testimonials-section {
        position: relative;
        width: 100%;
        background-color: #3a3a3a;
        background-image: url('../images/factory-interior.webp');
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        background-repeat: no-repeat;
        padding: 80px 20px;
    }
    .testimonials-overlay {
        position: absolute;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.60);
        z-index: 1;
    }
    .testimonials-inner {
        position: relative;
        z-index: 2;
        max-width: 1400px;
        margin: 0 auto;
        text-align: center;
    }
    .testimonials-heading {
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: clamp(24px, 3vw, 38px);
        font-weight: 700;
        color: #fff;
        margin: 0 0 12px;
    }
    .testimonials-subtext {
        font-size: clamp(14px, 1.5vw, 16px);
        color: rgba(255,255,255,0.85);
        margin: 0 0 50px;
    }
    .testimonials-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    .testimonials-card {
        background: #fff;
        border-radius: 8px;
        padding: 36px 30px 28px;
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    .testimonials-card__body {
        font-size: 15px;
        line-height: 1.7;
        color: #444;
        margin: 0 0 24px;
        flex: 1;
    }
    .testimonials-card__author {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-bottom: 14px;
    }
    .testimonials-card__avatar {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        object-fit: cover;
        flex-shrink: 0;
    }
    .testimonials-card__author-text {
        display: flex;
        flex-direction: column;
        gap: 4px;
        text-align: left;
    }
    .testimonials-card__name {
        font-weight: 600;
        font-size: 15px;
        color: #1a1a1a;
    }
    .testimonials-card__role {
        font-size: 13px;
        color: #888;
    }
    .testimonials-card__address {
        display: flex;
        align-items: center;
        gap: 4px;
        font-size: 12px;
        line-height: 1.4;
        color: #999;
    }
    .testimonials-card__address-icon {
        flex-shrink: 0;
        color: #c41230;
    }
    .testimonials-card__stars {
        color: #4caf50;
        font-size: 20px;
        letter-spacing: 2px;
    }
    .testimonials-more-btn {
        display: inline-block;
        margin-top: 44px;
        background-color: #c41230;
        color: #fff;
        padding: 15px 35px;
        border-radius: 4px;
        font-size: 16px;
        font-weight: 600;
        text-decoration: none;
        transition: background 0.3s;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }
    .testimonials-more-btn:hover {
        background-color: #a30e25;
    }

    @media (max-width: 992px) {
        .testimonials-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    @media (max-width: 640px) {
        .testimonials-section {
            background-attachment: scroll;
            padding: 60px 16px;
        }
        .testimonials-grid {
            grid-template-columns: 1fr;
        }
        .testimonials-card {
            padding: 28px 20px 22px;
        }
        .testimonials-more-btn {
            margin-top: 32px;
            padding: 12px 26px;
            font-size: 14px;
        }
    }

    /* Solutions Carousel Section */
    .solutions-section {
        padding: 80px 0;
        background-color: #fff;
    }
    .solutions-header {
        text-align: center;
        max-width: 1000px;
        margin: 0 auto 50px auto;
        padding: 0 20px;
    }
    .solutions-title {
        color: #333;
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: 32px;
        font-weight: 700;
        margin: 0 0 20px 0;
    }
    .solutions-desc {
        color: #666;
        font-size: 15px;
        line-height: 1.6;
        margin: 0;
    }
    /* Solutions grid (replaces carousel) */
    .solutions-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px;
    }
    .solution-card {
        display: flex;
        flex-direction: column;
        border: 1px solid var(--line, #e6e6e6);
        background: #fff;
    }
    .solution-card__img-wrap {
        display: block;
        overflow: hidden;
        aspect-ratio: 4 / 3;
    }
    .solution-card__img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.35s;
    }
    .solution-card__img-wrap:hover img {
        transform: scale(1.05);
    }
    .solution-card__body {
        padding: 16px 16px 20px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    .solution-card__title {
        font-size: 15px;
        font-weight: 600;
        color: #1a1a1a;
        margin: 0 0 6px;
        line-height: 1.4;
    }
    .solution-card__desc {
        font-size: 13px;
        color: #666;
        margin: 0 0 14px;
        flex: 1;
    }
    .solution-card__btn {
        display: inline-block;
        font-size: 13px;
        font-weight: 700;
        color: var(--brand, #c41230);
        text-decoration: none;
        transition: color 0.2s;
    }
    .solution-card__btn:hover {
        color: var(--brand-dark, #a30e25);
    }
    .solutions-footer {
        text-align: center;
        margin-top: 40px;
    }
    .solutions-more-btn {
        display: inline-block;
        background: var(--brand, #c41230);
        color: #fff;
        font-size: 15px;
        font-weight: 700;
        padding: 14px 52px;
        text-decoration: none;
        letter-spacing: 0.5px;
        border-radius: 4px;
        transition: background 0.3s;
    }
    .solutions-more-btn:hover {
        background: var(--brand-dark, #a30e25);
    }

    @media (max-width: 992px) {
        .solutions-grid { grid-template-columns: repeat(2, 1fr); }
        .solutions-title { font-size: 28px; }
    }
    @media (max-width: 600px) {
        .solutions-grid { grid-template-columns: 1fr; padding: 0 16px; }
        .solutions-section { padding: 60px 0; }
    }

    /* Project Cases Grid Section */
    .cases-section {
        padding: 80px 20px;
        background-color: #fff;
    }
    .cases-heading {
        text-align: center;
        color: #333;
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: 32px;
        font-weight: 700;
        margin: 0 0 50px 0;
    }
    .cases-grid {
        max-width: 1400px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .case-item {
        position: relative;
        display: block;
        overflow: hidden;
        border-radius: 4px;
        aspect-ratio: 4 / 3;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        text-decoration: none;
    }
    .case-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
    .case-item::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.15);
        transition: background 0.3s;
        z-index: 1;
    }
    .case-item:hover::before {
        background: rgba(0,0,0,0.4);
    }
    .case-item:hover img {
        transform: scale(1.08);
    }
    .case-btn {
        position: absolute;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
        display: inline-block;
        border: 2px solid #fff;
        color: #fff;
        padding: 10px 30px;
        font-size: 15px;
        font-weight: 600;
        letter-spacing: 0.5px;
        transition: all 0.3s;
        background: rgba(0, 0, 0, 0.2);
    }
    .case-item:hover .case-btn {
        background: #fff;
        color: #333;
    }
    
    @media (max-width: 1200px) {
        .cases-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }
    @media (max-width: 992px) {
        .cases-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 14px;
        }
        .case-btn {
            bottom: 16px;
            padding: 8px 18px;
            font-size: 13px;
            letter-spacing: 0.2px;
            white-space: nowrap;
            max-width: calc(100% - 24px);
            text-overflow: ellipsis;
            overflow: hidden;
        }
    }
    @media (max-width: 576px) {
        .cases-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }
        .case-item {
            border-radius: 6px;
        }
        .case-btn {
            bottom: 12px;
            padding: 6px 12px;
            font-size: 12px;
            border-width: 1px;
        }
    }
    @media (max-width: 380px) {
        .case-btn {
            font-size: 11px;
            padding: 5px 10px;
        }
    }

    /* Best-Selling Series Section */
    .bestselling-section {
        padding: 80px 20px;
        background-color: #fff;
    }
    .bestselling-heading {
        text-align: center;
        color: #333;
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: 32px;
        font-weight: 700;
        margin: 0 0 50px 0;
    }
    .bestselling-container {
        max-width: 1400px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    .bestselling-item {
        display: flex;
        flex-direction: column;
    }
    .bestselling-item img {
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        margin-bottom: 25px;
    }
    .bestselling-content {
        display: flex;
        flex-direction: column;
        flex: 1;
    }
    .bestselling-title {
        color: #333;
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: 24px;
        font-weight: 400;
        margin: 0 0 15px 0;
    }
    .bestselling-desc {
        color: #555;
        font-size: 15px;
        line-height: 1.6;
        margin: 0 0 25px 0;
    }
    .bestselling-link {
        margin-top: auto;
        align-self: flex-start;
        color: #000;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
        border-bottom: 2px solid #000;
        padding-bottom: 3px;
        transition: color 0.3s, border-color 0.3s;
    }
    .bestselling-link:hover {
        color: #c41230;
        border-color: #c41230;
    }
    
    @media (max-width: 992px) {
        .bestselling-container {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    @media (max-width: 768px) {
        .bestselling-container {
            grid-template-columns: 1fr;
        }
        .bestselling-heading {
            font-size: 28px;
        }
    }

    /* Join Us Grid Section */
    .join-section {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }
    .join-block {
        position: relative;
        padding: 100px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        background-size: cover;
        background-position: center;
    }
    .join-block.full-width {
        grid-column: 1 / -1;
        padding: 120px 20px;
    }
    .join-block::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0, 0, 0, 0.55);
        z-index: 1;
    }
    .join-content {
        position: relative;
        z-index: 2;
        max-width: 800px;
    }
    .join-heading {
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: 26px;
        font-weight: 600;
        line-height: 1.4;
        margin: 0 0 25px 0;
        color: #fff;
    }
    .join-heading .highlight {
        color: #BCD259;
    }
    .join-desc {
        font-size: 15px;
        line-height: 1.6;
        color: #eee;
        margin: 0 0 30px 0;
    }
    .join-btn {
        display: inline-block;
        background-color: #c41230;
        color: #fff;
        padding: 12px 35px;
        font-size: 14px;
        font-weight: 600;
        border-radius: 30px;
        text-decoration: none;
        transition: background-color 0.3s;
    }
    .join-btn:hover {
        background-color: #a30e25;
    }

    @media (max-width: 992px) {
        .join-section {
            grid-template-columns: 1fr;
        }
        .join-block.full-width {
            grid-column: 1;
        }
        .join-heading {
            font-size: 22px;
        }
    }

    /* Custom Furniture Section */
    .custom-furniture-section {
        padding: 80px 20px;
        background-color: #fff;
    }
    .custom-heading {
        text-align: center;
        color: #333;
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: 32px;
        font-weight: 700;
        margin: 0 0 50px 0;
    }
    .custom-grid {
        max-width: 1400px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 40px 30px;
    }
    .custom-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .custom-item img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        margin-bottom: 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.05); /* Very subtle shadow for depth */
        transition: transform 0.3s;
    }
    .custom-item:hover img {
        transform: translateY(-5px);
    }
    .custom-title {
        color: #333;
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: 19px;
        font-weight: 400;
        margin: 0;
    }
    
    @media (max-width: 992px) {
        .custom-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 40px 20px;
        }
    }
    @media (max-width: 576px) {
        .custom-grid {
            grid-template-columns: 1fr;
        }
        .custom-heading {
            font-size: 28px;
        }
    }

    /* Value / Get Started Contact Section */
    .value-contact-section {
        padding: 80px 20px 0;
        background: #fff;
    }
    .value-contact-inner {
        max-width: 1200px;
        margin: 0 auto 60px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: start;
    }
    /* Left column */
    .value-contact-heading {
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: clamp(22px, 2.6vw, 32px);
        font-weight: 700;
        color: #1a1a1a;
        margin: 0 0 16px;
        line-height: 1.3;
    }
    .value-contact-desc {
        font-size: 15px;
        color: #555;
        line-height: 1.7;
        margin: 0 0 24px;
    }
    .value-contact-desc strong, .value-contact-desc b { color: #1a1a1a; }
    .value-contact-img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 4px;
        object-fit: cover;
    }
    .value-contact-video {
        position: relative;
        display: block;
        width: 100%;
        aspect-ratio: 3 / 2;
        border: 0;
        padding: 0;
        background: #000;
        cursor: pointer;
        overflow: hidden;
        border-radius: 4px;
    }
    .value-contact-video__poster {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s ease, filter .4s ease;
    }
    .value-contact-video__play {
        position: absolute;
        top: 50%; left: 50%;
        width: 72px; height: 72px;
        transform: translate(-50%, -50%);
        transition: transform .25s ease;
        pointer-events: none;
    }
    .value-contact-video__play svg { width: 100%; height: 100%; display: block; }
    .value-contact-video:hover .value-contact-video__poster { transform: scale(1.04); filter: brightness(.85); }
    .value-contact-video:hover .value-contact-video__play   { transform: translate(-50%, -50%) scale(1.12); }
    .value-contact-video iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }
    /* Right column — form */
    .value-contact-form-title {
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: 32px;
        font-weight: 700;
        color: #1a1a1a;
        margin: 0 0 24px;
    }
    .value-contact-form {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .vcf-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .value-contact-form input[type="text"],
    .value-contact-form input[type="email"],
    .value-contact-form input[type="tel"],
    .value-contact-form select,
    .value-contact-form textarea {
        width: 100%;
        padding: 11px 14px;
        border: 1px solid var(--line, #e0e0e0);
        border-radius: 4px;
        font-size: 14px;
        font-family: var(--font-sans);
        color: #333;
        background: #fff;
        box-sizing: border-box;
        transition: border-color 0.2s;
        outline: none;
    }
    .value-contact-form input:focus,
    .value-contact-form select:focus,
    .value-contact-form textarea:focus {
        border-color: #4caf50;
    }
    .value-contact-form select { color: #888; cursor: pointer; }
    .value-contact-form textarea { resize: vertical; }
    .vcf-submit {
        background: #4caf50;
        color: #fff;
        border: none;
        border-radius: 4px;
        padding: 14px 24px;
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
        transition: background 0.3s;
        font-family: var(--font-sans);
    }
    .vcf-submit:hover { background: #43a047; }
    .vcf-feedback { margin: 0; font-size: 14px; min-height: 20px; }

    @media (max-width: 900px) {
        .value-contact-inner { grid-template-columns: 1fr; gap: 40px; }
    }
    @media (max-width: 480px) {
        .vcf-row { grid-template-columns: 1fr; }
        .value-contact-section { padding: 60px 16px 0; }
    }

    /* Footer Section */
    .site-footer {
        background-color: #111;
        color: #b0b0b0;
        padding: 60px 20px 30px;
        font-family: 'oxygen-regular', Arial, sans-serif;
    }
    .footer-top {
        max-width: 1400px;
        margin: 0 auto 40px;
        display: grid;
        grid-template-columns: 220px 1fr 1fr 1fr;
        gap: 48px;
        align-items: start;
    }
    /* Logo col */
    .footer-col--logo {
        display: flex;
        align-items: flex-start;
    }
    .footer-logo-img {
        max-width: 180px;
        width: 100%;
        height: auto;
        display: block;
    }
    .footer-logo-text {
        color: #fff;
        font-size: 26px;
        font-weight: 700;
        text-decoration: none;
    }
    /* Columns */
    .footer-heading {
        color: #fff;
        font-family: 'oxygen-regular', Arial, sans-serif;
        font-size: 17px;
        font-weight: 700;
        letter-spacing: 0.4px;
        margin: 0 0 22px;
        text-transform: uppercase;
        cursor: default;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .footer-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .footer-list li {
        margin-bottom: 14px;
        line-height: 1.5;
    }
    .footer-list li,
    .footer-list a {
        color: #b0b0b0;
        text-decoration: none;
        font-size: 15px;
        transition: color 0.25s;
    }
    .footer-list a:hover { color: #fff; }
    .footer-list.contact-list li { font-size: 15px; }
    /* Follow us */
    .footer-follow-label {
        color: #fff;
        font-size: 15px;
        font-weight: 700;
        margin: 24px 0 12px;
    }
    .footer-socials {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }
    .footer-socials a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border: 1px solid #555;
        border-radius: 50%;
        transition: border-color 0.25s, background 0.25s;
    }
    .footer-socials a:hover { border-color: #fff; background: #fff; }
    .footer-socials a:hover img { filter: invert(1); }
    .footer-socials img { width: 15px; height: 15px; }
    /* Divider + bottom */
    .footer-divider {
        max-width: 1400px;
        margin: 0 auto;
        height: 1px;
        background: #2a2a2a;
    }
    .footer-bottom {
        max-width: 1400px;
        margin: 20px auto 0;
    }
    .footer-copy p {
        font-size: 13px;
        line-height: 1.7;
        margin: 0;
        color: #777;
    }
    .footer-heading__chevron { display: none; }

    @media (max-width: 1100px) {
        .footer-top { grid-template-columns: 160px 1fr 1fr 1fr; gap: 32px; }
    }
    @media (max-width: 768px) {
        .site-topbar { display: none; }
        .site-header-spacer { height: 80px; }
        .site-footer { padding: 40px 20px 24px; }
        .footer-top {
            display: block;
            margin: 0 auto 20px;
            border-top: 1px solid #2a2a2a;
        }
        .footer-col--logo {
            padding: 24px 0 20px;
            border-bottom: 1px solid #2a2a2a;
        }
        .footer-col:not(.footer-col--logo) {
            border-bottom: 1px solid #2a2a2a;
        }
        .footer-heading {
            padding: 16px 0;
            margin: 0;
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
        }
        .footer-heading__chevron {
            display: inline-block;
            width: 10px;
            height: 10px;
            border-right: 2px solid #888;
            border-bottom: 2px solid #888;
            transform: rotate(45deg);
            transition: transform 0.2s;
            margin-right: 4px;
            flex-shrink: 0;
        }
        .footer-col.is-open .footer-heading__chevron {
            transform: rotate(-135deg);
            margin-top: 4px;
        }
        .footer-col__panel {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            padding: 0 4px;
        }
        .footer-col.is-open .footer-col__panel {
            max-height: 1200px;
            padding: 0 4px 18px;
        }
        .footer-bottom { margin-top: 16px; text-align: center; }
    }
    @media (max-width: 768px) {
        .site-header-spacer { height: 64px; } /* header shrinks to 64px on phones */

        /* ---- Footer accordion (≤768px) ---------------------------------- */
        .site-footer { padding: 40px 20px 30px; }
        .footer-top {
            display: block;
            margin: 0 auto 24px auto;
            border-top: 1px solid #2a2a2a;
        }
        .footer-col {
            border-bottom: 1px solid #2a2a2a;
        }
        .footer-heading {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin: 0;
            padding: 18px 4px;
            font-size: 15px;
            cursor: pointer;
            user-select: none;
            -webkit-tap-highlight-color: transparent;
        }
        .footer-heading__chevron {
            display: inline-block;
            width: 10px;
            height: 10px;
            border-right: 2px solid #fff;
            border-bottom: 2px solid #fff;
            transform: rotate(45deg);
            transition: transform 0.25s ease;
            margin-right: 6px;
        }
        .footer-col.is-open .footer-heading__chevron {
            transform: rotate(-135deg);
            margin-top: 4px;
        }
        .footer-col__panel {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease, padding 0.25s ease;
            padding: 0 4px;
        }
        .footer-col.is-open .footer-col__panel {
            max-height: 1200px;
            padding: 0 4px 18px;
        }
        .footer-list li {
            margin-bottom: 12px;
        }
        .footer-list a {
            font-size: 13.5px;
        }
        .footer-divider { display: none; }
        .footer-bottom {
            margin: 8px auto 0;
            gap: 14px;
        }
        .footer-logo-text { font-size: 24px; }
        .footer-copy p { font-size: 12px; }
        .footer-socials a {
            width: 32px;
            height: 32px;
        }
        .footer-socials img {
            width: 14px;
            height: 14px;
        }
    }
    @media (max-width: 576px) {
        /* keep the accordion (single column) — overrides removed since
         * the ≤768px block already collapses to one column. */
    }

    /* ===== WordPress Admin Bar Adaptation =====
       admin bar: 32px (>=783px) / 46px (<=782px), position:fixed, z-index:99999.
       将固定定位的 topbar / header 整体下移，避免被遮挡。 */
    body.admin-bar .site-topbar { top: 32px; }
    body.admin-bar .site-header { top: 76px; } /* 32 + 44 (topbar) */
    @media (max-width: 992px) {
        /* 此断点下 topbar 隐藏，header 紧贴 admin bar */
        .site-header { top: 0; }
		body.admin-bar .site-header { top: 32px; }
    }
    @media screen and (max-width: 782px) {
        #wpadminbar { position: fixed !important; }
		body.admin-bar .site-topbar { top: 46px; }
        body.admin-bar .site-header { top: 46px; } /* topbar 已隐藏 */
    }

    /* Typographic weight normalization: all <a> tags and all titles use regular (400) */
    a,
    h1, h2, h3, h4, h5, h6,
    .footer-logo-text,
    .contact-us-text,
    .service-title span,
    .join-heading .highlight {
        font-weight: 400 !important;
    }

    /* ============================================= */
    /* Products Archive / WooCommerce Category Page  */
    /* ============================================= */

/* Products Page Styles */
    .page-banner {
        position: relative;
        width: 100%;
        height: 350px;
        background-image: url('../images/ib.jpg');
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 30px;
    }
    .page-banner::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1;
    }
    .page-banner-title {
        position: relative;
        z-index: 2;
        color: #fff;
        font-size: 32px;
        font-weight: 400;
        text-align: center;
        font-family: 'oxygen-regular', Arial, sans-serif;
    }
    .products-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 10px 20px 80px 20px;
        font-family: 'oxygen-regular', Arial, sans-serif;
    }
    .breadcrumb {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        color: #888;
        margin-bottom: 40px;
    }
    .breadcrumb a {
        color: #888;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 5px;
    }
    .breadcrumb a:hover {
        color: #c41230;
    }
    .breadcrumb .current {
        color: #c41230;
    }
    .breadcrumb svg {
        width: 14px;
        height: 14px;
        fill: currentColor;
    }
    .category-boxes {
        display: flex;
        flex-wrap: nowrap;
        gap: 15px;
        justify-content: space-between;
    }
    .category-box {
        flex: 1;
        background-color: #eeeeee;
        padding: 15px 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #333;
        font-size: 13px;
        transition: background-color 0.3s;
    }
    .category-box:hover {
        background-color: #e0e0e0;
    }
    .cat-dot {
        color: #c41230;
        font-size: 18px;
        line-height: 0;
        margin-right: 8px;
    }
    .cat-arrow {
        color: #c41230;
        font-size: 14px;
        line-height: 0;
        margin-left: 8px;
        font-family: Arial, sans-serif;
    }
    @media (max-width: 992px) {
        .category-boxes {
            flex-wrap: wrap;
        }
        .category-box {
            flex: 1 1 calc(33.333% - 10px);
        }
    }
    @media (max-width: 768px) {
        .category-box {
            flex: 1 1 calc(50% - 7.5px);
        }
        .page-banner {
            height: 250px;
        }
        .page-banner-title {
            font-size: 24px;
        }
    }
    @media (max-width: 480px) {
        .category-box {
            flex: 1 1 100%;
        }
    }


    /* Products Main Section */
    .products-main {
        background-color: #fff;
        padding: 40px 0 80px 0;
        font-family: 'oxygen-regular', Arial, sans-serif;
    }
    .section-title-wrap {
        text-align: center;
        margin-bottom: 40px;
    }
    .section-title {
        font-size: 28px;
        color: #000;
        font-weight: 600;
        margin: 0 0 10px 0;
    }
    .title-line {
        width: 40px;
        height: 2px;
        background-color: #d19a5b; /* The orange/brown color from screenshot */
        margin: 0 auto;
    }
    .products-layout {
        display: flex;
        gap: 40px;
        align-items: flex-start;
    }
    /* Sidebar */
    .products-sidebar {
        width: 22%;
        flex-shrink: 0;
    }
    .sidebar-search {
        display: flex;
        margin-bottom: 30px;
    }
    .sidebar-search input {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #f0f0f0;
        background-color: #f5f5f5;
        border-right: none;
        outline: none;
        font-size: 14px;
        color: #333;
    }
    .sidebar-search button {
        background-color: #c49a6c;
        border: none;
        color: #fff;
        padding: 0 18px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s;
    }
    .sidebar-search button:hover {
        background-color: #a88258;
    }
    .sidebar-widget {
        margin-bottom: 40px;
    }
    .widget-title {
        font-size: 18px;
        color: #222;
        margin: 0 0 20px 0;
        font-weight: 600;
    }
    .category-list {
        list-style: none;
        padding: 0;
        margin: 0;
        border-top: 1px solid #eee;
    }
    .category-list li {
        border-bottom: 1px solid #eee;
    }
    .category-list a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
        text-decoration: none;
        color: #333;
        font-size: 14px;
        transition: color 0.3s;
    }
    .category-list a:hover {
        color: #c49a6c;
    }
    .category-list span {
        font-size: 18px;
        color: #666;
        font-weight: 300;
    }
    .latest-products-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .latest-product-item {
        display: flex;
        gap: 15px;
        align-items: center;
    }
    .latest-product-item img {
        width: 80px;
        height: 60px;
        object-fit: cover;
        background-color: #f9f9f9;
    }
    .latest-pro-info {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    .latest-pro-info h4 {
        margin: 0;
        font-size: 13px;
        color: #333;
        font-weight: 400;
        line-height: 1.4;
    }
    .latest-pro-info a {
        font-size: 12px;
        color: #c49a6c;
        text-decoration: none;
    }
    
    /* Main Grid */
    .products-grid-area {
        width: 78%;
    }
    .product-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    .product-card {
        display: flex;
        flex-direction: column;
    }
    .product-img {
        position: relative;
        width: 100%;
        aspect-ratio: 1 / 1;       /* square product image across the grid */
        background-color: #f9f9f9;
        overflow: hidden;
        margin-bottom: 15px;
    }
    .product-img img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;         /* fill the box; minor crop on extreme ratios */
        transition: transform 0.5s;
    }
    .product-card:hover .product-img img {
        transform: scale(1.05);
    }
    .hot-icon {
        position: absolute;
        top: 10px;
        left: 10px;
        background-color: #c49a6c;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2;
    }
    .product-info {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .product-title {
        font-size: 15px;
        color: #222;
        margin: 0;
        font-weight: 500;
        line-height: 1.4;
    }
    .product-more {
        font-size: 13px;
        color: #c49a6c;
        text-decoration: none;
    }
    .product-more:hover {
        text-decoration: underline;
    }
    
    @media (max-width: 992px) {
        .products-layout {
            flex-direction: column;
        }
        .products-sidebar {
            width: 100%;
        }
        .products-grid-area {
            width: 100%;
        }
        .product-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    @media (max-width: 576px) {
        .product-grid {
            grid-template-columns: 1fr;
        }
    }

    .category-list .cat-toggle {
        cursor: pointer;
    }
    .category-list .cat-icon {
        display: inline-block;
        transition: transform 0.3s;
    }
    .category-list li.open > .cat-toggle .cat-icon {
        transform: rotate(45deg);
    }
    .category-list li.open > .cat-toggle {
        color: #c49a6c;
    }
    .sub-cat-list {
        list-style: none;
        padding: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }
    .category-list li.open > .sub-cat-list {
        max-height: 500px;
    }
    .sub-cat-list li {
        border-bottom: none !important;
    }
    .sub-cat-list li a {
        padding: 10px 0 10px 15px !important;
        font-size: 13px !important;
        color: #666 !important;
        border-left: 2px solid transparent;
    }
    .sub-cat-list li a:hover {
        color: #c49a6c !important;
        border-left-color: #c49a6c;
        padding-left: 20px !important;
    }

/* Tighten the breadcrumb + top-level category boxes section — the generic
 * `.products-container` rule gives it 80px bottom padding which is too much
 * here because the next section (promo/filter bar) already has its own gap. */
section.products-container {
    padding-bottom: 16px !important;
}

/* -------------------------------------------------------------------------
 * Product Category Promo Cards (rendered above the filter bar)
 * ------------------------------------------------------------------------- */
.products-promo {
    padding: 12px 0 4px;
}
.products-promo .products-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.promo-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.promo-cards .promo-card {
    display: block;
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 4 / 3;
}
.promo-cards .promo-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.promo-cards a.promo-card:hover img {
    transform: scale(1.04);
}
@media (max-width: 992px) {
    .promo-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .promo-cards { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

/* -------------------------------------------------------------------------
 * Products filter bar (rendered above `.products-main` by section-archive.php)
 * ------------------------------------------------------------------------- */
.products-filter-bar {
    padding: 24px 0;
}
.products-filter-bar .products-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.products-filter-bar .filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* ---------- Custom dropdown ---------- */
.sg-dropdown {
    position: relative;
    flex: 1 1 0;
    min-width: 140px;
}
.sg-dropdown__trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 50px;
    padding: 0 24px;
    border: 3px solid #d5d5d5;
    border-radius: 0;
    background: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    color: #c41230;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
    outline: none;
    box-sizing: border-box;
}
.sg-dropdown__icon {
    display: flex;
    align-items: center;
    font-size: 22px;
    line-height: 1;
    color: #c41230;
    transition: color 0.25s ease;
}
.sg-dropdown__chevron {
    font-size: 16px;
    color: #c41230;
    transition: transform 0.25s ease, color 0.25s ease;
}
.sg-dropdown.is-open .sg-dropdown__chevron {
    transform: rotate(180deg);
}

/* Hover — solid red background, white icon/text */
.sg-dropdown__trigger:hover {
    border-color: #c41230;
    color: #fff;
    background: #c41230;
}
.sg-dropdown__trigger:hover .sg-dropdown__icon,
.sg-dropdown__trigger:hover .sg-dropdown__chevron {
    color: #fff;
}
/* Open — solid red */
.sg-dropdown.is-open .sg-dropdown__trigger {
    border-color: #c41230;
    background: #c41230;
    color: #fff;
}
.sg-dropdown.is-open .sg-dropdown__trigger .sg-dropdown__icon,
.sg-dropdown.is-open .sg-dropdown__trigger .sg-dropdown__chevron {
    color: #fff;
}
/* Filtered (has an active value) — subtle accent, not permanently solid */
.sg-dropdown.is-filtered .sg-dropdown__trigger {
    border-color: #c41230;
    color: #c41230;
    background: #fff;
}
.sg-dropdown.is-filtered .sg-dropdown__trigger:hover {
    background: #c41230;
    color: #fff;
}

/* Menu */
.sg-dropdown__menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 100%;
    max-height: 260px;
    overflow-y: auto;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    z-index: 100;
}
.sg-dropdown.is-open .sg-dropdown__menu {
    display: block;
}
.sg-dropdown__option {
    padding: 9px 20px;
    font-size: 14px;
    color: #444;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}
.sg-dropdown__option:hover {
    background: #fef2f2;
    color: #c41230;
}
.sg-dropdown__option.is-selected {
    font-weight: 600;
    color: #c41230;
}

/* ---------- Filter form rows + collapsible pop-out search ---------- */
.products-filter-bar .filter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

/* The search "pill" sits at the end of the dropdown row. Default state shows
 * just a 50px round-icon button; clicking the icon expands an absolutely
 * positioned input leftward over the adjacent dropdowns. Layout never shifts
 * because the wrapper itself stays 50px wide. */
.filter-search-pop {
    position: relative;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    margin-left: auto; /* push to the far right */
}
.filter-search-pop__toggle {
    position: relative;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 3px solid #d5d5d5;
    background: #fff;
    color: #c41230;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    z-index: 3;
    transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.filter-search-pop__toggle:hover,
.filter-search-pop__toggle:focus-visible {
    background: #c41230;
    color: #fff;
    border-color: #c41230;
    outline: none;
}
.filter-search-pop.is-open .filter-search-pop__toggle {
    background: #c41230;
    color: #fff;
    border-color: #c41230;
}
.filter-search-pop__icon {
    display: block;
    pointer-events: none;
}
.filter-search-pop__icon--close { display: none; }
.filter-search-pop.is-open .filter-search-pop__icon--search { display: none; }
.filter-search-pop.is-open .filter-search-pop__icon--close  { display: block; }

.filter-search-pop__input {
    position: absolute;
    right: 50px; /* anchor to the left edge of the toggle button */
    top: 0;
    height: 50px;
    width: 0;
    padding: 0;
    border: 3px solid #d5d5d5;
    border-right: 0;
    background: #fff;
    color: #333;
    font: inherit;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0);
    opacity: 0;
    visibility: hidden;
    transition: width 0.34s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.2s ease,
                opacity 0.2s ease 0.05s,
                border-color 0.25s ease,
                box-shadow 0.25s ease;
    z-index: 2;
}
.filter-search-pop.is-open .filter-search-pop__input {
    width: 360px;
    padding: 0 18px;
    opacity: 1;
    visibility: visible;
    border-color: #c41230;
    box-shadow: 0 6px 20px rgba(196, 18, 48, 0.12);
}
.filter-search-pop__input::placeholder {
    color: #aaa;
}
/* Hide native ✕ on type="search" — the toggle button doubles as close. */
.filter-search-pop__input::-webkit-search-cancel-button,
.filter-search-pop__input::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

/* Responsive */
@media (max-width: 992px) {
    .products-filter-bar { padding: 16px 0; }
    .products-filter-bar .filter-form {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        align-items: stretch;
    }
    /* On smaller screens we give the search-pop its own full-width row at
     * the bottom of the grid, where it expands to fill the row instead of
     * sliding over the dropdowns. */
    .filter-search-pop {
        grid-column: 1 / -1;
        flex: none;
        width: 100%;
        height: 44px;
        margin-left: 0;
    }
    .filter-search-pop__toggle {
        height: 44px;
        border-width: 2px;
    }
    .filter-search-pop__input {
        height: 44px;
        right: 44px;
        border-width: 2px;
    }
    .filter-search-pop.is-open .filter-search-pop__input {
        width: calc(100% - 44px);
    }
    .sg-dropdown {
        flex: none;
        min-width: 0;
        width: 100%;
    }
    .sg-dropdown__trigger {
        height: 44px;
        padding: 0 12px;
        gap: 8px;
        font-size: 13px;
        border-width: 2px;
    }
    .sg-dropdown__icon {
        font-size: 18px;
        flex-shrink: 0;
    }
    .sg-dropdown__chevron {
        font-size: 14px;
        flex-shrink: 0;
    }
    .sg-dropdown__text {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        flex: 1;
        min-width: 0;
        text-align: left;
    }
    .sg-dropdown__menu {
        min-width: 0;
        width: 100%;
    }
}
@media (max-width: 640px) {
    .products-filter-bar .filter-form {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .filter-search-pop {
        height: 42px;
    }
    .filter-search-pop__toggle {
        width: 42px;
        height: 42px;
    }
    .filter-search-pop__input {
        height: 42px;
        right: 42px;
        font-size: 14px;
    }
    .filter-search-pop.is-open .filter-search-pop__input {
        width: calc(100% - 42px);
        padding: 0 14px;
    }
    .sg-dropdown__trigger {
        height: 40px;
        padding: 0 10px;
        gap: 6px;
        font-size: 12px;
        border-width: 1.5px;
    }
    .sg-dropdown__icon {
        font-size: 16px;
    }
    .sg-dropdown__chevron {
        font-size: 12px;
    }
    .sg-dropdown__option {
        padding: 10px 14px;
        font-size: 13px;
    }
}
@media (max-width: 380px) {
    .products-filter-bar .filter-form {
        grid-template-columns: 1fr 1fr;
    }
    .sg-dropdown__trigger {
        font-size: 11.5px;
        padding: 0 8px;
    }
}

/* -------------------------------------------------------------------------
 * Full-width product grid (sidebar removed) + SKU line below title
 * ------------------------------------------------------------------------- */
.products-layout--no-sidebar .products-grid-area {
    width: 100% !important;
}
.products-layout--no-sidebar {
    display: block !important;
}
.products-layout--no-sidebar .product-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
}
@media (max-width: 768px) {
    .products-main { padding: 30px 0 24px; }
    .section-title-wrap { margin-bottom: 24px; }
    .section-title { font-size: 22px; }
    .products-layout--no-sidebar .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
    .products-layout--no-sidebar .product-card .product-title {
        font-size: 12.5px !important;
        font-weight: 600 !important;
        line-height: 1.35 !important;
    }
    .product-card .product-info {
        padding: 10px 2px 4px;
    }
    .product-img {
        margin-bottom: 10px;
    }
    .product-badge-new {
        font-size: 10px;
        padding: 1px 5px;
        margin-right: 5px;
        letter-spacing: 0.4px;
    }
}
@media (max-width: 480px) {
    .section-title { font-size: 20px; }
    .products-layout--no-sidebar .product-grid {
        gap: 10px !important;
    }
    .products-layout--no-sidebar .product-card .product-title {
        font-size: 11.5px !important;
        line-height: 1.3 !important;
    }
    .product-badge-new {
        font-size: 9px;
        padding: 1px 4px;
        margin-right: 4px;
    }
}
@media (max-width: 420px) {
    /* Keep 2 columns even on the smallest phones — single column makes
     * cards feel oversized and pushes the grid below the fold. */
    .products-layout--no-sidebar .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

a.product-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    background: #fff;
}
.product-card .product-info {
    padding: 14px 4px 4px;
    gap: 6px !important;
}
.products-layout--no-sidebar .product-card .product-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    display: block;
}
/* Mobile overrides — placed AFTER the base rule so they win (equal
 * specificity + !important + later source order). */
@media (max-width: 768px) {
    .products-layout--no-sidebar .product-card .product-title {
        font-size: 12.5px !important;
        font-weight: 600 !important;
    }
}
@media (max-width: 480px) {
    .products-layout--no-sidebar .product-card .product-title {
        font-size: 11.5px !important;
    }
}
.product-badge-new {
    display: inline-block;
    background: #c49a6c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    padding: 2px 7px;
    border-radius: 3px;
    margin-right: 8px;
    vertical-align: middle;
    line-height: 1.4;
    text-transform: uppercase;
}
.product-sku {
    margin: 0;
    font-size: 13px;
    color: #888;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* -------------------------------------------------------------------------
 * Single Product page
 * ------------------------------------------------------------------------- */
.single-product {
    padding: 20px 0 80px;
}
.single-product__breadcrumb {
    margin-bottom: 24px;
}
.single-product__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 48px;
    align-items: flex-start;
}

/* Gallery */
.single-product__gallery {
    position: sticky;
    top: 20px;
}
.single-product__main-image {
    width: 100%;
    background: #f5f5f5;
    overflow: hidden;
}
.single-product__main-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}
.single-product__thumbs {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}
.single-product__thumb {
    padding: 0;
    border: 2px solid transparent;
    background: #f5f5f5;
    cursor: pointer;
    overflow: hidden;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    transition: border-color 0.2s ease;
}
.single-product__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.single-product__thumb.is-active,
.single-product__thumb:hover {
    border-color: #c49a6c;
}

/* Social share bar below gallery */
.single-product__share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}
.single-product__share-label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    letter-spacing: 0.3px;
}
.single-product__share-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #c49a6c;
    background: #c49a6c;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    padding: 0;
}
.single-product__share-link:hover {
    color: #fff;
    background: #111;
    border-color: #111;
}
.single-product__share-link img {
    width: 16px;
    height: 16px;
}
.single-product__share-link:hover img {
    filter: brightness(0) invert(1);
}
.single-product__share-link.is-copied {
    color: #fff;
    background: #2ecc71;
    border-color: #2ecc71;
}

/* Right column */
.single-product__title {
    margin: 0 0 6px;
    font-size: 28px;
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1.3;
}
.single-product__sku {
    margin: 0 0 16px;
    color: #999;
    font-size: 13px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

/* Price block (shown between SKU and the spec grid) */
.single-product__price {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 4px 0 14px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #fff7ec 0%, #fdefda 100%);
    border: 1px solid #f1dcae;
    border-radius: 6px;
}
.single-product__price-note {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: #66543a;
}
.single-product__price-label {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #a67b3c;
    font-weight: 600;
}
.single-product__price-value {
    font-size: 30px;
    font-weight: 700;
    color: #c49a6c;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.single-product__quantity-discounts {
    margin: 4px 0 18px;
}
.single-product__quantity-discounts-title {
    margin: 0 0 8px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}
.single-product__quantity-discounts-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.single-product__quantity-discounts-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid #d5e5d2;
    border-radius: 4px;
    padding: 5px 10px 5px 5px;
    color: #333;
    font-size: 13px;
}
.single-product__quantity-discounts-list strong {
    background: #d5f0d0;
    border-radius: 2px;
    padding: 4px 7px;
    color: #26732c;
    font-weight: 700;
}

/* Availability strip (stock + warehouse chips) */
.single-product__availability {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.single-product__avail-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    width: 100%;
    min-width: 0;
}
.single-product__avail-row.has-multiple-statuses {
    flex-wrap: wrap;
}
.single-product__avail-row.has-multiple-statuses .single-product__avail-item--warehouse {
    flex: 1 1 100%;
}
.single-product__avail-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    line-height: 1.3;
}
.single-product__avail-icon {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}
.single-product__avail-key {
    color: #888;
    font-weight: 400;
    margin-right: 2px;
}
.single-product__avail-item--stock.is-in {
    color: #216c3a;
    background: #e7f5ec;
    border-color: #c2e5cf;
}
.single-product__avail-item--stock.is-low {
    color: #8a5a10;
    background: #fef5e3;
    border-color: #f2dcaa;
}
.single-product__avail-item--stock.is-out {
    color: #9a2828;
    background: #fce8e8;
    border-color: #f0c0c0;
}
.single-product__avail-item--stock.is-made-to-order {
    color: #765519;
    background: #fff5dd;
    border-color: #efdcaa;
}
.single-product__avail-item--stock {
    flex: 0 0 auto;
    white-space: nowrap;
    min-width: 150px;
    justify-content: center;
}
.single-product__avail-item--warehouse {
    color: #34495e;
    background: #eef3f8;
    border-color: #d5e1ed;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.single-product__avail-name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    white-space: nowrap;
}
.single-product__avail-address-wrap {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    display: block;
}
.single-product__avail-address {
    display: inline-block;
    white-space: nowrap;
}
.single-product__avail-address.is-overflowing {
    animation: avail-scroll var(--scroll-duration, 6s) ease-in-out infinite alternate;
    animation-delay: 1.5s;
}
@keyframes avail-scroll {
    0%, 20%  { transform: translateX(0); }
    80%, 100% { transform: translateX(var(--scroll-dist, -100px)); }
}

/* Spec fields (3-col grid of labelled read-only inputs) */
.single-product__fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 18px;
    margin: 0 0 24px;
}
.sg-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.sg-field label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.sg-field input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #e0e0e0;
    background: #f9f9f9;
    color: #333;
    font-size: 14px;
    font-family: inherit;
    border-radius: 2px;
    outline: none;
    cursor: default;
    user-select: text;
}
.sg-field input[readonly] {
    pointer-events: auto;
    background: #f9f9f9;
}

/* Action row: Manual / Video on the left, Inquiry button on the right */
.single-product__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 0 0 28px;
    padding: 16px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.single-product__actions-left {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.single-product__actions-right {
    margin-left: auto;
}
.sg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    text-decoration: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    line-height: 1.2;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}
.sg-btn svg {
    flex-shrink: 0;
}
.sg-btn--lg {
    padding: 12px 28px;
    font-size: 15px;
}
.sg-btn--primary {
    background: #c49a6c;
    color: #fff;
    border: 1px solid #c49a6c;
}
.sg-btn--primary:hover {
    background: #a8824f;
    border-color: #a8824f;
    color: #fff;
}
.sg-btn--outline {
    background: #fff;
    color: #333;
    border: 1px solid #d0d0d0;
}
.sg-btn--outline:hover {
    border-color: #c49a6c;
    color: #c49a6c;
}

/* Server-rendered market availability notice. Product content remains visible. */
.sg-product-market-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 28px;
    padding: 16px 18px;
    border: 1px solid #dfd3c4;
    border-left: 4px solid #c49a6c;
    border-radius: 6px;
    background: #fbf8f3;
    color: #3f3a34;
}
.sg-product-market-banner__copy {
    display: grid;
    gap: 3px;
    line-height: 1.5;
}
.sg-product-market-banner__copy strong {
    color: #222;
    font-size: 15px;
}
.sg-product-market-banner__copy span {
    font-size: 14px;
}
.sg-product-market-banner__link {
    flex: 0 0 auto;
    padding: 9px 14px;
    border: 1px solid #1f2420;
    border-radius: 4px;
    background: #1f2420;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.sg-product-market-banner__link:hover,
.sg-product-market-banner__link:focus-visible {
    background: #fff;
    color: #1f2420;
}
@media (max-width: 640px) {
    .sg-product-market-banner {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Selling points + Description shared heading style */
.single-product__selling {
    margin: 0 0 28px;
}
.single-product__selling > .single-product__section-heading,
.single-product__description > .single-product__section-heading,
.single-product__selling h3,
.single-product__description h3 {
    font-size: 18px;
    color: #222;
    margin: 0 0 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    border-left: 3px solid #c49a6c;
    padding-left: 10px;
    line-height: 1.3;
}
.single-product__selling ol {
    margin: 0;
    padding: 0 0 0 22px;
    color: #444;
    line-height: 1.7;
}
.single-product__selling ol li {
    padding: 4px 0;
}

/* Description block now spans the full container below the two-column area */
.single-product__description {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #eee;
    color: #444;
    line-height: 1.75;
    font-size: 14px;
}
.single-product__description p {
    margin: 0 0 12px;
}
/* Constrain rich-text content from overflowing the container on mobile. */
.single-product__description img,
.single-product__description video,
.single-product__description iframe {
    max-width: 100%;
    height: auto;
    display: block;
}
/* Gutenberg image blocks: strip the default figure margins and stretch
 * large/full-size images to the full description width (their intrinsic
 * width — e.g. 1024px — is otherwise narrower than the container). */
.single-product__description .wp-block-image {
    margin: 0 0 16px;
}
.single-product__description .wp-block-image.size-large img,
.single-product__description .wp-block-image.size-full img,
.single-product__description .wp-block-image:not([class*="size-"]) img {
    width: 100%;
}
.single-product__description table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.single-product__description pre,
.single-product__description code {
    white-space: pre-wrap;
    word-wrap: break-word;
}

@media (max-width: 900px) {
    .single-product__layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .single-product__gallery {
        position: static;
    }
    .single-product__fields {
        grid-template-columns: repeat(2, 1fr);
    }
    .single-product__actions-right {
        margin-left: 0;
        width: 100%;
    }
    .single-product__actions-right .sg-btn {
        width: 100%;
    }
}

/* -------------------------------------------------------------------------
 * Mobile (<= 600px): prevent right-side overflow on narrow viewports.
 * ------------------------------------------------------------------------- */
@media (max-width: 600px) {
    .single-product {
        overflow-x: hidden;
    }
    .single-product__layout,
    .single-product__gallery,
    .single-product__body {
        min-width: 0;
    }
    .single-product__title {
        font-size: 22px;
        word-wrap: break-word;
        overflow-wrap: anywhere;
    }
    .single-product__sku {
        word-wrap: break-word;
        overflow-wrap: anywhere;
    }
    .single-product__price {
        padding: 12px 14px;
    }
    .single-product__price-value {
        font-size: 24px;
    }
    /* Stock + warehouse stack vertically so a long warehouse name can't
       push past the right edge. */
    .single-product__avail-row {
        flex-wrap: wrap;
        gap: 6px;
    }
    .single-product__avail-item--stock {
        min-width: 0;
        width: 100%;
        justify-content: flex-start;
    }
    .single-product__avail-item--warehouse {
        width: 100%;
        flex: 1 1 100%;
    }
    /* Variant option buttons may have long labels — let them wrap. */
    .sg-variants__btn {
        max-width: 100%;
        white-space: normal;
        word-break: break-word;
    }
    /* Action buttons go full-width to avoid two cramped buttons spilling out. */
    .single-product__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .single-product__actions-left {
        width: 100%;
    }
    .single-product__actions-left .sg-btn {
        flex: 1 1 100%;
        width: 100%;
        justify-content: center;
    }
    .sg-btn {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .products-container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .single-product__thumbs {
        grid-template-columns: repeat(4, 1fr);
    }
    .single-product__fields {
        grid-template-columns: 1fr;
    }
    .single-product__actions-left .sg-btn {
        flex: 1 1 100%;
        justify-content: center;
    }
}

/* -------------------------------------------------------------------------
 * Modals (shared by Inquiry form + Video lightbox)
 * ------------------------------------------------------------------------- */
body.sg-modal-open {
    overflow: hidden;
}
.sg-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.sg-modal[hidden] {
    display: none;
}
.sg-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    cursor: pointer;
    animation: sg-fade-in 0.2s ease;
}
.sg-modal__dialog {
    position: relative;
    background: #fff;
    width: 100%;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: sg-pop-in 0.2s ease;
}
.sg-modal__dialog--form {
    max-width: 560px;
    padding: 32px;
}
.sg-modal__dialog--video {
    max-width: 960px;
    background: #000;
    overflow: visible;
}
.sg-modal__close {
    position: absolute;
    top: 10px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}
.sg-modal__dialog--video .sg-modal__close {
    color: #fff;
    top: -44px;
    right: 0;
}
.sg-modal__close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #222;
}
.sg-modal__header {
    margin-bottom: 20px;
}
.sg-modal__header h3 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
}
.sg-modal__header p {
    margin: 0;
    color: #666;
    font-size: 13px;
}

/* Inquiry form fields */
.sg-inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.sg-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.sg-inquiry-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    letter-spacing: 0.2px;
}
.sg-inquiry-form label .req {
    color: #c0392b;
    font-weight: 400;
}
.sg-inquiry-form input[type=text],
.sg-inquiry-form input[type=email],
.sg-inquiry-form input[type=tel],
.sg-inquiry-form textarea {
    padding: 10px 12px;
    border: 1px solid #d8d8d8;
    border-radius: 3px;
    font-size: 14px;
    font-family: inherit;
    color: #222;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease;
}
.sg-inquiry-form input:focus,
.sg-inquiry-form textarea:focus {
    border-color: #c49a6c;
}
.sg-inquiry-form input[readonly] {
    background: #fafafa;
    color: #555;
}
.sg-inquiry-form textarea {
    resize: vertical;
    min-height: 110px;
}
.sg-inquiry-form__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 4px;
    flex-wrap: wrap;
}
.sg-form-feedback {
    margin: 0;
    font-size: 13px;
    color: #666;
    flex: 1 1 auto;
    min-height: 18px;
}
.sg-form-feedback.is-success {
    color: #1e7e34;
}
.sg-form-feedback.is-error {
    color: #c0392b;
}
@media (max-width: 560px) {
    .sg-form-row {
        grid-template-columns: 1fr;
    }
    .sg-modal__dialog--form {
        padding: 24px 20px;
    }
}

/* Video lightbox iframe wrapper */
.sg-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}
.sg-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@keyframes sg-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes sg-pop-in {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* -------------------------------------------------------------------------
 * Skeleton-shimmer lazy-loaded images
 *
 * Add `.sg-lazy-wrap` to an element that directly contains one <img>. A
 * shimmer gradient is rendered via `::before` so it coexists with any
 * existing `background` color on the element. When `.is-loaded` is toggled
 * (by assets/js/lazy.js on the image `load` event) the shimmer fades out
 * and the image fades in.
 * ------------------------------------------------------------------------- */
.sg-lazy-wrap {
    position: relative;
}
.sg-lazy-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(230, 230, 230, 1) 0%,
        rgba(245, 245, 245, 1) 50%,
        rgba(230, 230, 230, 1) 100%
    );
    background-size: 200% 100%;
    animation: sg-skeleton-shimmer 1.5s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.sg-lazy-wrap.is-loaded::before {
    opacity: 0;
    animation: none;
}
.sg-lazy-wrap > img,
.sg-lazy-wrap > a > img,
.sg-lazy-wrap > button > img {
    position: relative;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.sg-lazy-wrap.is-loaded > img,
.sg-lazy-wrap.is-loaded > a > img,
.sg-lazy-wrap.is-loaded > button > img {
    opacity: 1;
}

@keyframes sg-skeleton-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* `.product-img` keeps a uniform 1:1 box for grid alignment; the lazy-load
 * fade is layered on top of the absolutely-positioned `<img>`. */
.product-img.sg-lazy-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.5s ease;
    z-index: 1;
}
.product-img.sg-lazy-wrap.is-loaded img {
    opacity: 1;
}

/* -------------------------------------------------------------------------
 * AJAX product grid — skeleton cards + loading state
 * ------------------------------------------------------------------------- */
.products-grid-area {
    position: relative;
    min-height: 300px;
}
.products-grid-area.is-loading {
    pointer-events: none;
}
.products-grid-area .products-pagination[data-sg-hidden] {
    opacity: 0.4;
}
.product-card--skeleton {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    background: #fff;
}
.product-card--skeleton .product-img {
    position: relative;
    width: 100%;
    padding-top: 66.66%;
    background: #f5f5f5;
    overflow: hidden;
    margin-bottom: 15px;
}
.product-card--skeleton .product-info {
    padding: 14px 4px 4px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sg-skeleton-line {
    position: relative;
    height: 14px;
    border-radius: 3px;
    background: #ececec;
    overflow: hidden;
}
.sg-skeleton-line::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.55) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: sg-skeleton-shimmer 1.5s ease-in-out infinite;
}
.sg-skeleton-line--title {
    height: 16px;
    width: 72%;
}
.sg-skeleton-line--sku {
    height: 11px;
    width: 35%;
}

/* -------------------------------------------------------------------------
 * Products pagination
 * ------------------------------------------------------------------------- */
.products-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 40px;
    padding: 20px 0;
}

.products-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    background: #fff;
    transition: all 0.2s ease;
    cursor: pointer;
}

.products-pagination .page-numbers:hover {
    background: #f5f5f5;
    border-color: #bbb;
    color: #333;
}

.products-pagination .page-numbers.current {
    background: #c78a2e;
    border-color: #c78a2e;
    color: #fff;
    pointer-events: none;
}

.products-pagination .page-numbers.prev,
.products-pagination .page-numbers.next {
    font-size: 16px;
    font-weight: 700;
}

.products-pagination .page-numbers.dots {
    border: none;
    background: transparent;
    pointer-events: none;
    min-width: 30px;
    padding: 0;
    color: #999;
}

.products-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #777;
    font-size: 15px;
    background: #fafafa;
    border: 1px dashed #e0e0e0;
    border-radius: 4px;
}



/* -------------------------------------------------------------------------
 * Mobile fixed quick-action bar (phones only).
 *
 * Rendered by `sunsgoods_render_mobile_bar()` in inc/site-settings.php.
 * Hidden on desktop; on phones it pins to the bottom of the viewport and
 * splits its items evenly. Items are configured in Appearance → Site
 * Settings → Mobile Quick Bar.
 * ------------------------------------------------------------------------- */
.sg-wa-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    z-index: 9000;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.sg-wa-fab:hover, .sg-wa-fab:active {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.sg-wa-fab svg { width: 30px; height: 30px; display: block; }

@media (max-width: 768px) {
    .sg-wa-fab {
        right: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0));
    }

    /* Lift the right-side floating widget above the WhatsApp FAB. */
    .floating-widget {
        bottom: 80px;
    }
}


/* -------------------------------------------------------------------------
 * Standalone breadcrumb bar (template-parts/breadcrumbs.php) used on blog +
 * content pages. Product pages keep their own `.products-container` wrapper.
 * ------------------------------------------------------------------------- */
.sg-breadcrumb-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 20px 0;
}
.sg-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    color: #888;
    margin: 0 0 20px;
}
.sg-breadcrumb a {
    color: #888;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.sg-breadcrumb a:hover {
    color: #c41230;
}
.sg-breadcrumb .current {
    color: #c41230;
}
@media (max-width: 600px) {
    .sg-breadcrumb-wrap {
        padding: 12px 16px 0;
    }
    .sg-breadcrumb {
        font-size: 12.5px;
        gap: 6px;
    }
}

/* -------------------------------------------------------------------------
 * Default page template (page.php) — clean title + content layout.
 * Breadcrumbs are rendered automatically via the header hook.
 * ------------------------------------------------------------------------- */
.sg-page-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 60px;
}
.sg-page-container {
    max-width: 960px;
}
.sg-page-title {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin: 0 0 30px;
    line-height: 1.3;
}
.sg-page-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}
.sg-page-content h2,
.sg-page-content h3 {
    color: #222;
    margin-top: 36px;
    margin-bottom: 16px;
}
.sg-page-content h2 {
    font-size: 24px;
}
.sg-page-content h3 {
    font-size: 20px;
}
.sg-page-content p {
    margin-bottom: 18px;
}
.sg-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.sg-page-content ul,
.sg-page-content ol {
    margin-bottom: 18px;
    padding-left: 24px;
}
.sg-page-content li {
    margin-bottom: 6px;
}
.sg-page-content a {
    color: #c41230;
    text-decoration: none;
}
.sg-page-content a:hover {
    text-decoration: underline;
}
@media (max-width: 768px) {
    .sg-page-wrap {
        padding: 0 16px 40px;
    }
    .sg-page-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .sg-page-content {
        font-size: 15px;
    }
}


/* -------------------------------------------------------------------------
 * Cookie consent bar (inc/cookie-consent.php). Fixed to the bottom, slides
 * up on first visit, dismissed via Accept / Decline.
 * ------------------------------------------------------------------------- */
.sg-cookie {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9500;
    background: #1f1f1f;
    color: #f2f2f2;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    padding-bottom: env(safe-area-inset-bottom, 0);
}
.sg-cookie.is-visible {
    transform: translateY(0);
}
.sg-cookie__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.sg-cookie__text {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: #dcdcdc;
    flex: 1 1 auto;
}
.sg-cookie__link {
    color: #fff;
    text-decoration: underline;
    margin-left: 4px;
}
.sg-cookie__actions {
    flex: 0 0 auto;
    display: flex;
    gap: 10px;
}
.sg-cookie__btn {
    border: 0;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.sg-cookie__btn--accept {
    background: #c41230;
    color: #fff;
}
.sg-cookie__btn--accept:hover {
    background: #a30e25;
}
.sg-cookie__btn--decline {
    background: transparent;
    color: #ccc;
    border: 1px solid #555;
}
.sg-cookie__btn--decline:hover {
    border-color: #888;
    color: #fff;
}

@media (max-width: 768px) {
    .sg-cookie__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 14px 16px;
    }
    .sg-cookie__text {
        font-size: 12.5px;
    }
    .sg-cookie__actions {
        justify-content: flex-end;
    }
    .sg-cookie__btn {
        flex: 1 1 0;
        padding: 11px 12px;
    }
    /* When the mobile quick bar is also present, lift the cookie bar above it. */
    .sg-mobile-bar ~ .sg-cookie.is-visible,
    body:has(.sg-mobile-bar) .sg-cookie.is-visible {
        bottom: 58px;
    }
}


/* =========================================================================
 * UNIFIED HOVER ANIMATION
 *
 * Site-wide standard: image zoom to scale(1.03) + a soft shadow lift on the
 * card. Everything is transform/box-shadow based (GPU-composited) so there
 * is no layout reflow / page jump. Appended last so it overrides the older
 * per-component scale values (1.04 / 1.05 / 1.08 / translateY).
 * ========================================================================= */

/* --- Image zoom: normalise every card image to 1.03 --- */
.product-card .product-img img,
.case-item img,
.promo-cards a.promo-card img,
.custom-item img,
.blog-card__img,
.blog-rp__img,
.cat-recommend-card__link img,
.tb-products__card img,
.tb-supply__card img,
.alu-products__img img,
.fd-team-card__img img {
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.product-card:hover .product-img img,
.case-item:hover img,
.promo-cards a.promo-card:hover img,
.custom-item:hover img,
.blog-card__link:hover .blog-card__img,
.blog-rp__item:hover .blog-rp__img,
.cat-recommend-card__link:hover img,
.tb-products__card:hover img,
.tb-supply__card:hover img,
.alu-products__card:hover .alu-products__img img,
.fd-team-card:hover .fd-team-card__img img {
    transform: scale(1.03) !important;
}

/* --- Card lift: soft shadow on hover (no movement → no neighbour shift) --- */
.product-card,
.blog-card,
.blog-rp__item,
.cat-recommend-card,
.tb-products__card,
.tb-supply__card,
.alu-products__card,
.promo-cards a.promo-card,
.case-item {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    will-change: transform;
}
.product-card:hover,
.blog-card:hover,
.blog-rp__item:hover,
.cat-recommend-card:hover,
.tb-products__card:hover,
.tb-supply__card:hover,
.alu-products__card:hover,
.promo-cards a.promo-card:hover,
.case-item:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

/* Ensure image wrappers clip the zoom so it never overflows / shifts layout. */
.product-card .product-img,
.case-item,
.promo-cards a.promo-card,
.blog-card__thumb,
.blog-rp__img-wrap,
.cat-recommend-card__link,
.tb-products__card,
.tb-supply__card,
.alu-products__img,
.fd-team-card__img {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .product-card .product-img img,
    .case-item img,
    .promo-cards a.promo-card img,
    .custom-item img,
    .blog-card__img,
    .blog-rp__img,
    .cat-recommend-card__link img,
    .tb-products__card img,
    .tb-supply__card img,
    .alu-products__img img,
    .fd-team-card__img img {
        transition: none;
    }
    .product-card:hover .product-img img,
    .case-item:hover img,
    .promo-cards a.promo-card:hover img,
    .custom-item:hover img,
    .blog-card__link:hover .blog-card__img,
    .blog-rp__item:hover .blog-rp__img,
    .cat-recommend-card__link:hover img,
    .tb-products__card:hover img,
    .tb-supply__card:hover img,
    .alu-products__card:hover .alu-products__img img,
    .fd-team-card:hover .fd-team-card__img img {
        transform: none !important;
    }
}


/* -------------------------------------------------------------------------
 * Filter bar: search-only mode (all-products archive with no attribute
 * dropdowns) → render the search as a full-width, always-open field with
 * the magnifier acting as a submit button.
 * ------------------------------------------------------------------------- */
.filter-form--search-only {
    display: block;
}
.filter-form--search-only .filter-search-pop {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    height: 50px;
    margin: 0;
    flex: 1 1 100%;
    border: 2px solid #d5d5d5;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.filter-form--search-only .filter-search-pop:focus-within {
    border-color: #c41230;
    box-shadow: 0 0 0 3px rgba(196, 18, 48, 0.12);
}
.filter-form--search-only .filter-search-pop__input {
    position: static;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: 100%;
    padding: 0 18px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
}
.filter-form--search-only .filter-search-pop__toggle {
    flex: 0 0 58px;
    width: 58px;
    height: 100%;
    border: 0;
    border-left: 1px solid #eee;
    border-radius: 0;
    background: #c41230;
    color: #fff;
}
.filter-form--search-only .filter-search-pop__toggle:hover,
.filter-form--search-only .filter-search-pop__toggle:focus-visible {
    background: #a30e25;
}
/* Always show the magnifier (never the close X) in search-only mode. */
.filter-form--search-only .filter-search-pop__icon--close { display: none !important; }
.filter-form--search-only .filter-search-pop__icon--search { display: block !important; }

@media (max-width: 640px) {
    .filter-form--search-only .filter-search-pop { height: 44px; }
    .filter-form--search-only .filter-search-pop__toggle { flex-basis: 50px; width: 50px; }
    .filter-form--search-only .filter-search-pop__input { font-size: 14px; padding: 0 14px; }
}


/* -------------------------------------------------------------------------
 * Breadcrumb layout.
 * Archive trails may wrap, while a product trail stays on one line and
 * truncates only the final product title.
 * ------------------------------------------------------------------------- */
.products-container .breadcrumb {
    flex-wrap: wrap;
    row-gap: 4px;
}
.products-container .single-product__breadcrumb {
    flex-wrap: nowrap;
    row-gap: 0;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
}
.single-product__breadcrumb > a,
.single-product__breadcrumb > span:not(.current) {
    flex: 0 0 auto;
}
.single-product__breadcrumb .current {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (max-width: 600px) {
    .single-product__breadcrumb,
    .products-container .breadcrumb {
        font-size: 12px;
        gap: 6px;
        row-gap: 4px;
        margin-bottom: 16px;
        line-height: 1.4;
    }
    .products-container .single-product__breadcrumb {
        row-gap: 0;
    }
    .single-product__breadcrumb svg,
    .products-container .breadcrumb svg {
        width: 12px;
        height: 12px;
    }
}


/* -------------------------------------------------------------------------
 * Homepage mobile spacing tweaks (solutions carousel side margins, value &
 * cases section padding, value-grid gap).
 * ------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .value-section { padding: 48px 16px; }
    .cases-section { padding: 48px 16px; }
    .value-grid { gap: 22px 12px; }
    /* Give the solutions carousel breathing room on both edges. */
    .carousel-container { padding: 0 16px; }
}
@media (max-width: 480px) {
    .value-section,
    .cases-section { padding: 40px 14px; }
    .value-grid { gap: 18px 10px; }
    .carousel-container { padding: 0 12px; }
}


/* -------------------------------------------------------------------------
 * Homepage sections: tighten the large 80px vertical paddings on mobile so
 * sections don't feel over-spaced on small screens.
 * ------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .about-section,
    .trust-section,
    .services-section,
    .bestselling-section,
    .packaging-section,
    .ordering-section,
    .offerings-section,
    .custom-section { padding-top: 48px; padding-bottom: 48px; }
    .project-section { padding-top: 48px; }
    .solutions-section { padding-top: 48px; padding-bottom: 48px; }

    .about-heading,
    .trust-heading,
    .services-heading,
    .project-heading,
    .packaging-heading,
    .ordering-heading,
    .offerings-heading,
    .solutions-title,
    .bestselling-title,
    .value-heading { margin-bottom: 28px; }
}
@media (max-width: 480px) {
    .about-section,
    .trust-section,
    .services-section,
    .bestselling-section,
    .packaging-section,
    .ordering-section,
    .offerings-section,
    .custom-section { padding-top: 40px; padding-bottom: 40px; }
    .project-section { padding-top: 40px; }
    .solutions-section { padding-top: 40px; padding-bottom: 40px; }

    .about-heading,
    .trust-heading,
    .services-heading,
    .project-heading,
    .solutions-title,
    .bestselling-title,
    .value-heading { margin-bottom: 22px; }
}


/* -------------------------------------------------------------------------
 * Product gallery lightbox.
 * Reuses the .sg-modal shell; this just styles the dialog variant + nav.
 * ------------------------------------------------------------------------- */
.sg-modal__dialog--lightbox {
    background: transparent;
    box-shadow: none;
    padding: 0;
    width: auto;
    max-width: 95vw;
    max-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}
.sg-modal__dialog--lightbox .sg-modal__close {
    top: -44px;
    right: 0;
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    width: 38px;
    height: 38px;
    border-radius: 50%;
}
.sg-modal__dialog--lightbox .sg-modal__close:hover {
    background: rgba(0, 0, 0, 0.65);
}

.sg-lightbox__stage {
    flex: 0 1 auto;
    max-width: 100%;
    max-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sg-lightbox__stage img {
    max-width: 95vw;
    max-height: 92vh;
    width: auto;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.sg-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
    z-index: 2;
}
.sg-lightbox__nav:hover,
.sg-lightbox__nav:focus-visible {
    background: rgba(0, 0, 0, 0.7);
    outline: none;
}
.sg-lightbox__nav--prev { left: -68px; }
.sg-lightbox__nav--next { right: -68px; }

.sg-lightbox__counter {
    position: absolute;
    bottom: -34px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    letter-spacing: 0.4px;
    user-select: none;
}

@media (max-width: 768px) {
    .sg-lightbox__nav {
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.55);
    }
    .sg-lightbox__nav--prev { left: 8px; }
    .sg-lightbox__nav--next { right: 8px; }
    .sg-modal__dialog--lightbox .sg-modal__close {
        top: -42px;
        right: 8px;
    }
    .sg-lightbox__counter { bottom: -28px; font-size: 12px; }
}


/* -------------------------------------------------------------------------
 * Product gallery hover zoom (desktop only).
 *
 *   .single-product__main-image  → the hover trigger (already exists)
 *   .single-product__zoom-lens   → small square overlay on the main image
 *                                   indicating the magnified area
 *   .single-product__zoom-pane   → the magnification pane that floats to the
 *                                   right of the gallery, showing the area
 *                                   under the cursor at higher zoom
 *
 * On touch / coarse-pointer devices the JS bails out, and the existing
 * "click → lightbox" behaviour takes over.
 * ------------------------------------------------------------------------- */
.single-product__main-image {
    position: relative;
}

/* The zoom pane is a sibling of `.single-product__main-image` (NOT inside
 * it) because the main-image wrapper has `overflow: hidden` for the lazy
 * skeleton — placing the pane inside would clip it. Sits relative to the
 * gallery column (which is `position: sticky`, making it a containing
 * block for absolute children). */
.single-product__gallery { position: relative; }

.single-product__zoom-lens {
    position: absolute;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(0, 0, 0, 0.35);
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.05);
    cursor: zoom-in;
    z-index: 3;
}
.single-product__zoom-lens[hidden] { display: none; }

.single-product__zoom-pane {
    position: absolute;
    top: 0;
    left: calc(100% + 20px);
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 540px;
    background-color: #f7f7f7;
    background-repeat: no-repeat;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    z-index: 50;
}
.single-product__zoom-pane[hidden] { display: none; }

/* Disable on tablet/mobile — coarse pointers go straight to the lightbox. */
@media (max-width: 992px), (hover: none), (pointer: coarse) {
    .single-product__zoom-pane,
    .single-product__zoom-lens {
        display: none !important;
    }
}


/* -------------------------------------------------------------------------
 * Hero YouTube facade — replaces the autoplaying iframe with a poster image
 * + play button. The iframe is injected only when the visitor clicks it.
 * Saves ~950 KB JS + ~600ms TBT and a third-party cookie set on first load.
 * ------------------------------------------------------------------------- */
.hero-video--facade {
    /* Reset the inherited `.hero-video { top:50%; left:50%; transform:translate(-50%,-50%) }`
     * positioning — without these overrides the button gets pulled off-screen
     * into the top-left corner. */
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: #000;
    cursor: pointer;
    z-index: 1;
    display: block;
    overflow: hidden;
}
.hero-video__poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.6s ease;
}
.hero-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: transform 0.25s ease;
}
.hero-video__play svg { width: 100%; height: 100%; display: block; }
.hero-video--facade:hover .hero-video__poster { transform: scale(1.02); filter: brightness(0.92); }
.hero-video--facade:hover .hero-video__play   { transform: translate(-50%, -50%) scale(1.08); }
@media (max-width: 768px) {
    .hero-video__play { width: 64px; height: 64px; }
}

/* -------------------------------------------------------------------------
 * Hero image carousel — alternative to the video banner. Fades between
 * slides; each slide is a <picture> with a mobile <source>. The text
 * overlay (.hero-container) renders above via its existing z-index:3.
 * ------------------------------------------------------------------------- */
.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}
.hero-slide.is-active {
    opacity: 1;
}
.hero-slide picture,
.hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 16px;
}
.hero-dot {
    position: relative;
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}
/* Expand the clickable/tappable area to >=24px without enlarging the dot
 * visually (WCAG 2.5.8 target size). */
.hero-dot::after {
    content: '';
    position: absolute;
    inset: -8px;
}
.hero-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}
.hero-dot.is-active {
    background: #fff;
    transform: scale(1.2);
}
@media (max-width: 768px) {
    .hero-dots { bottom: 14px; }
    .hero-dot { width: 9px; height: 9px; }
}

/* Hybrid hero — video on desktop, image carousel on mobile. */
@media (max-width: 768px) {
    .hero-banner--hybrid .hero-video,
    .hero-banner--hybrid .hero-video--facade,
    .hero-banner--hybrid .hero-video--iframe {
        display: none !important;
    }
}
@media (min-width: 769px) {
    .hero-banner--hybrid .hero-slides,
    .hero-banner--hybrid .hero-dots {
        display: none !important;
    }
}

/* Split video hero — separate video on desktop vs. mobile (pure "video" mode
 * with a Mobile video URL set). CSS swaps the two at the 768px breakpoint.
 * The facade injector skips any variant whose computed display is `none`, so
 * the hidden viewport never downloads the heavy YouTube payload. */
@media (max-width: 768px) {
    .hero-video--desktop {
        display: none !important;
    }
}
@media (min-width: 769px) {
    .hero-video--mobile {
        display: none !important;
    }
}
