/* Homepage styles — design tokens (also output via wp_head in scripts-styles.php) */
:root {
    --hp-primary:       #FF6B00;
    --hp-primary-hover: #E55F00;
    --hp-dark:          #00184a;
    --hp-dark-light:    #002266;
    --hp-white:         #FFFFFF;
    --hp-bg-warm:       #FDFBF8;
    --hp-gray-light:    #F7F4EF;
    --hp-gray:          #E5E5E5;
    --hp-text:          #333333;
    --hp-text-muted:    #666666;
    --hp-radius:        12px;
    --hp-shadow:        0 4px 15px rgba(0,0,0,0.08);
    --hp-shadow-hover:  0 8px 25px rgba(0,0,0,0.12);
    /* vx aliases */
    --vx-primary:       #FF6B00;
    --vx-primary-hover: #E55F00;
    --vx-dark:          #00184a;
    --vx-dark-light:    #002266;
    --vx-white:         #FFFFFF;
    --vx-bg:            #FDFBF8;
    --vx-gray-light:    #F7F4EF;
    --vx-gray:          #E5E5E5;
    --vx-text:          #333333;
    --vx-text-muted:    #666666;
    --vx-success:       #22C55E;
    --vx-error:         #EF4444;
    --vx-radius:        12px;
    --vx-radius-sm:     8px;
    --vx-shadow:        0 4px 15px rgba(0,0,0,0.08);
    --vx-shadow-hover:  0 8px 25px rgba(0,0,0,0.12);
}

        /* ===== PREVENT HORIZONTAL SCROLLBAR + WARM BG ===== */
        html, body {
            overflow-x: hidden !important;
            background-color: var(--hp-bg-warm) !important;
        }

        /* ===== CUSTOM SCROLLBAR ===== */
        html {
            scrollbar-width: thin !important;
            scrollbar-color: var(--hp-primary) transparent !important;
        }

        ::-webkit-scrollbar {
            width: 8px !important;
            background: transparent !important;
        }

        ::-webkit-scrollbar-track {
            background: transparent !important;
        }

        ::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, var(--hp-primary), var(--hp-primary-hover)) !important;
            border-radius: 10px !important;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(180deg, var(--hp-primary-hover), #cc5500) !important;
        }

        /* ===== BREAK OUT OF ALL THEME WRAPPERS ===== */
        .hp-announcement-bar,
        .hp-custom-header,
        .hp-homepage,
        .hp-mobile-footer-nav {
            /* Negative margins to break out of any padding/centering */
            width: 100vw !important;
            max-width: 100vw !important;
            margin-left: calc(-50vw + 50%) !important;
            box-sizing: border-box !important;
        }

        .hp-custom-header,
        .hp-homepage,
        .hp-mobile-footer-nav,
        .hp-announcement-bar {
            font-family: "IBM Plex Sans Arabic", sans-serif;
        }

        .hp-homepage {
            padding: 0;
            overflow-x: hidden;
        }

        /* ========================================
           ANNOUNCEMENT BAR
           ======================================== */

        .hp-announcement-bar {
            background: var(--hp-dark);
            color: var(--hp-white);
            overflow: hidden;
            white-space: nowrap;
            position: relative;
            padding: 9px 0;
            font-size: 13px;
            font-weight: 500;
            direction: ltr;
        }

        .hp-announcement-track {
            display: inline-flex;
            animation: hp-marquee 35s linear infinite;
            width: max-content;
        }

        .hp-announcement-item {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 0 50px;
            direction: rtl;
        }

        .hp-announcement-item svg {
            width: 14px;
            height: 14px;
            flex-shrink: 0;
            fill: var(--hp-primary);
        }

        @keyframes hp-marquee {
            0% { transform: translateX(-50%); }
            100% { transform: translateX(0); }
        }

        /* ========================================
           CUSTOM HEADER
           ======================================== */

        .hp-custom-header {
            background: var(--hp-white);
            border-bottom: 1px solid var(--hp-gray);
            position: relative;
            z-index: 100;
        }

        .hp-header-main {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 18px 40px;
            max-width: 1400px;
            margin: 0 auto;
            gap: 25px;
        }

        .hp-header-logo {
            flex: 0 0 auto;
            order: 1;
        }

        .hp-header-logo img {
            height: 58px;
            width: auto;
            display: block;
        }

        .hp-header-logo a {
            display: block;
            text-decoration: none;
        }

        .hp-header-search {
            flex: 1;
            max-width: 500px;
            order: 2;
            position: relative;
        }

        .hp-header-search-input {
            width: 100%;
            padding: 16px 50px 16px 25px;
            border: 2px solid var(--hp-primary);
            border-radius: 30px;
            font-size: 16px;
            outline: none;
            transition: all 0.3s;
            direction: rtl;
            background: rgba(255, 107, 0, 0.04);
            box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.08);
        }

        .hp-header-search-input:focus {
            border-color: var(--hp-primary);
            background: var(--hp-white);
            box-shadow: 0 0 0 5px rgba(255, 107, 0, 0.15);
        }

        .hp-header-search-input::placeholder {
            color: var(--hp-text-muted);
        }

        .hp-header-search-icon {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            width: 18px;
            height: 18px;
            color: var(--hp-text-muted);
            pointer-events: none;
        }

        .hp-header-search-clear {
            position: absolute;
            left: 10px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            font-size: 20px;
            color: var(--hp-text-muted);
            cursor: pointer;
            padding: 0 5px;
            line-height: 1;
            display: none;
        }

        .hp-header-search-clear:hover {
            color: var(--hp-text);
        }

        .hp-header-cart {
            flex: 0 0 auto;
            order: 3;
            position: relative;
        }

        .hp-header-cart a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: var(--hp-gray-light);
            color: var(--hp-dark);
            text-decoration: none;
            transition: all 0.3s;
            position: relative;
        }

        .hp-header-cart a:hover {
            background: var(--hp-primary);
            color: var(--hp-white);
        }

        .hp-header-cart svg {
            width: 22px;
            height: 22px;
        }

        .hp-header-cart-count {
            position: absolute;
            top: -4px;
            right: -4px;
            background: var(--hp-primary);
            color: var(--hp-white);
            width: 20px;
            height: 20px;
            border-radius: 50%;
            font-size: 11px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid var(--hp-white);
        }

        /* ===== CART PREVIEW DROPDOWN ===== */
        .hp-cart-dropdown {
            display: none;
            position: absolute;
            top: calc(100% + 10px);
            left: 0;
            right: auto;
            width: min(340px, 90vw);
            background: var(--hp-white);
            border-radius: 14px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.15);
            z-index: 200;
            direction: rtl;
            overflow: hidden;
            border: 1px solid var(--hp-gray);
        }

        .hp-cart-dropdown.hp-open {
            display: block;
            animation: hp-dropdown-in 0.2s ease;
        }

        @keyframes hp-dropdown-in {
            from { opacity: 0; transform: translateY(-8px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .hp-cart-dropdown-header {
            padding: 14px 18px;
            border-bottom: 1px solid var(--hp-gray);
            font-weight: 700;
            font-size: 15px;
            color: var(--hp-dark);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .hp-cart-dropdown-header span {
            font-size: 12px;
            font-weight: 500;
            color: var(--hp-text-muted);
        }

        .hp-cart-dropdown-items {
            max-height: 280px;
            overflow-y: auto;
            padding: 8px 0;
            scrollbar-width: thin;
        }

        .hp-cart-dropdown-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 18px;
            transition: background 0.15s;
        }

        .hp-cart-dropdown-item:hover {
            background: var(--hp-gray-light);
        }

        .hp-cart-dropdown-item img {
            width: 52px;
            height: 52px;
            border-radius: 8px;
            object-fit: cover;
            flex-shrink: 0;
            border: 1px solid var(--hp-gray);
        }

        .hp-cart-dropdown-item-info {
            flex: 1;
            min-width: 0;
        }

        .hp-cart-dropdown-item-name {
            font-size: 13px;
            font-weight: 500;
            color: var(--hp-text);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 3px;
        }

        .hp-cart-dropdown-item-meta {
            font-size: 12px;
            color: var(--hp-text-muted);
        }

        .hp-cart-dropdown-item-price {
            font-size: 14px;
            font-weight: 700;
            color: var(--hp-primary);
            white-space: nowrap;
        }

        .hp-cart-dropdown-empty {
            padding: 30px 18px;
            text-align: center;
            color: var(--hp-text-muted);
            font-size: 14px;
        }

        .hp-cart-dropdown-empty svg {
            width: 40px;
            height: 40px;
            margin-bottom: 8px;
            opacity: 0.4;
            stroke: currentColor;
            fill: none;
        }

        .hp-cart-dropdown-footer {
            padding: 14px 18px;
            border-top: 1px solid var(--hp-gray);
        }

        .hp-cart-dropdown-total {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
            font-size: 15px;
            font-weight: 700;
            color: var(--hp-dark);
        }

        .hp-cart-dropdown-total .hp-cart-total-amount {
            color: var(--hp-primary);
            font-size: 17px;
        }

        .hp-cart-dropdown-btn,
        a.hp-cart-dropdown-btn {
            display: block !important;
            width: 100% !important;
            padding: 14px 32px !important;
            background: linear-gradient(135deg, #FF8C00, #FF6B00) !important;
            color: #fff !important;
            border: none !important;
            border-radius: 999px !important;
            font-size: 15px !important;
            font-weight: 700 !important;
            font-family: "IBM Plex Sans Arabic", "Cairo", sans-serif !important;
            text-align: center !important;
            text-decoration: none !important;
            cursor: pointer !important;
            letter-spacing: 0.02em !important;
            box-shadow: 0 4px 14px rgba(255, 107, 0, 0.35) !important;
            transition: transform 0.2s ease, box-shadow 0.2s ease !important;
            box-sizing: border-box !important;
        }

        .hp-cart-dropdown-btn:hover,
        .hp-cart-dropdown-btn:visited,
        .hp-cart-dropdown-btn:focus,
        a.hp-cart-dropdown-btn:hover {
            color: #fff !important;
            text-decoration: none !important;
            transform: translateY(-2px) !important;
            box-shadow: 0 8px 22px rgba(255, 107, 0, 0.45) !important;
            background: linear-gradient(135deg, #FF8C00, #FF6B00) !important;
        }

        /* ===== HEADER SEARCH DROPDOWN ===== */
        .hp-search-dropdown {
            display: none;
            position: absolute;
            top: calc(100% + 6px);
            left: 0;
            right: 0;
            background: var(--hp-white);
            border-radius: 14px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.15);
            z-index: 200;
            direction: rtl;
            overflow: hidden;
            border: 1px solid var(--hp-gray);
        }

        .hp-search-dropdown.hp-open {
            display: block;
            animation: hp-dropdown-in 0.2s ease;
        }

        .hp-search-dropdown-items {
            max-height: 340px;
            overflow-y: auto;
            padding: 6px 0;
            scrollbar-width: thin;
        }

        .hp-search-dropdown-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 16px;
            text-decoration: none;
            transition: background 0.15s;
        }

        .hp-search-dropdown-item:hover {
            background: var(--hp-gray-light);
        }

        .hp-search-dropdown-item img {
            width: 48px;
            height: 48px;
            border-radius: 8px;
            object-fit: cover;
            flex-shrink: 0;
            border: 1px solid var(--hp-gray);
        }

        .hp-search-dropdown-item-info {
            flex: 1;
            min-width: 0;
        }

        .hp-search-dropdown-item-name {
            font-size: 13px;
            font-weight: 500;
            color: var(--hp-text);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .hp-search-dropdown-item-price {
            font-size: 13px;
            font-weight: 700;
            color: var(--hp-primary);
            margin-top: 2px;
        }

        .hp-search-dropdown-empty {
            padding: 25px 16px;
            text-align: center;
            color: var(--hp-text-muted);
            font-size: 13px;
        }

        .hp-search-dropdown-loading {
            padding: 20px;
            text-align: center;
        }

        .hp-search-dropdown-loading::after {
            content: "";
            display: inline-block;
            width: 22px;
            height: 22px;
            border: 2px solid var(--hp-gray);
            border-radius: 50%;
            border-top-color: var(--hp-primary);
            animation: hp-spin 0.8s linear infinite;
        }

        .hp-search-dropdown-footer {
            padding: 10px 16px;
            border-top: 1px solid var(--hp-gray);
            text-align: center;
        }

        .hp-search-dropdown-viewall {
            display: inline-block;
            padding: 8px 24px;
            background: var(--hp-dark);
            color: var(--hp-white);
            border-radius: 8px;
            font-size: 13px;
            font-weight: 600;
            text-decoration: none;
            transition: background 0.2s;
        }

        .hp-search-dropdown-viewall:hover {
            background: var(--hp-dark-light);
            color: var(--hp-white);
        }

        .hp-search-dropdown-count {
            font-size: 12px;
            color: var(--hp-text-muted);
            margin-bottom: 8px;
        }

        /* Menu bar */
        .hp-menu-bar {
            background: var(--hp-dark);
            overflow-x: auto;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .hp-menu-bar::-webkit-scrollbar {
            display: none;
        }

        .hp-menu-bar ul {
            display: flex;
            justify-content: center;
            align-items: center;
            list-style: none;
            margin: 0;
            padding: 0;
            max-width: 1400px;
            margin: 0 auto;
            direction: rtl;
            gap: 0;
        }

        .hp-menu-bar li a {
            display: block;
            padding: 16px 34px;
            color: rgba(255,255,255,0.85);
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
            white-space: nowrap;
            transition: all 0.2s;
            border-bottom: 3px solid transparent;
        }

        .hp-menu-bar li a:hover,
        .hp-menu-bar li.current-menu-item a {
            color: var(--hp-white);
            background: rgba(255,255,255,0.08);
            border-bottom-color: var(--hp-primary);
        }

        /* ========================================
           SECTIONS
           ======================================== */

        .hp-section {
            margin-top: 35px;
            margin-bottom: 0;
            padding: 0 100px;
        }

        .hp-section:first-child {
            margin-top: 0;
        }

        .hp-section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
            direction: rtl;
        }

        .hp-section-title {
            font-size: 24px;
            font-weight: 700;
            color: var(--hp-dark);
            margin: 0;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .hp-section-icon {
            width: 28px;
            height: 28px;
            flex-shrink: 0;
            fill: var(--hp-primary);
        }

        .hp-trending-title {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: linear-gradient(135deg, #FF6B00 0%, #FF8533 100%);
            color: var(--hp-white) !important;
            padding: 12px 25px;
            border-radius: 30px;
            font-size: 22px;
            box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
        }

        .hp-fire-icon {
            width: 28px;
            height: 28px;
            animation: hp-fire-pulse 1.5s ease-in-out infinite;
        }

        @keyframes hp-fire-pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.15); }
        }

        .hp-section-link {
            color: var(--hp-white);
            background: var(--hp-primary);
            text-decoration: none;
            font-weight: 600;
            font-size: 15px;
            padding: 12px 28px;
            border-radius: 25px;
            transition: all 0.3s ease;
            display: inline-block;
        }

        .hp-section-link:hover {
            background: var(--hp-primary-hover);
            color: var(--hp-white);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
        }

        /* ========================================
           HERO SLIDER
           ======================================== */

        .hp-hero-wrapper {
            padding: 0 100px !important;
            margin-top: 15px !important;
            margin-bottom: 25px !important;
        }

        .hp-hero-slider {
            position: relative;
            overflow: hidden;
            border-radius: 16px;
            direction: ltr;
        }

        .hp-hero-slides {
            display: grid;
            direction: ltr;
            transform: none !important;
        }

        .hp-hero-slide {
            grid-area: 1 / 1;
            position: relative;
            aspect-ratio: 21/9;
            background: linear-gradient(135deg, var(--hp-dark) 0%, var(--hp-dark-light) 100%);
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: opacity 0.45s ease, visibility 0.45s ease;
            z-index: 1;
            overflow: hidden;
        }

        .hp-hero-slide.is-active {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            z-index: 2;
        }

        .hp-hero-slide::before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                linear-gradient(to left, rgba(0, 24, 74, 0.42) 0%, rgba(0, 24, 74, 0.22) 34%, rgba(0, 24, 74, 0.08) 68%, rgba(0, 24, 74, 0.01) 100%);
            z-index: 1;
            pointer-events: none;
        }

        .hp-hero-content {
            position: relative;
            z-index: 2;
            padding: 60px clamp(78px, 8.5vw, 154px);
            max-width: 58%;
            direction: rtl !important;
            unicode-bidi: embed !important;
            text-align: right !important;
            margin-left: auto;
            margin-right: 0;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
        }

        .hp-hero-title,
        .hp-hero-subtitle,
        .hp-hero-btn {
            direction: rtl !important;
            unicode-bidi: embed !important;
            text-align: right !important;
        }

        .hp-hero-title,
        .hp-hero-subtitle {
            width: 100%;
        }

        .hp-hero-btn {
            display: block;
            width: fit-content;
            max-width: 100%;
            align-self: flex-end;
            margin-left: auto;
            margin-right: 0;
            background: var(--hp-primary);
            color: var(--hp-white);
            padding: 15px 40px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s ease;
            white-space: nowrap;
            text-align: center !important;
        }

        .hp-hero-title {
            font-size: 42px;
            font-weight: 800;
            color: var(--hp-white);
            margin: 0 0 15px 0;
            text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
        }

        .hp-hero-subtitle {
            font-size: 18px;
            color: var(--hp-white);
            margin: 0 0 25px 0;
            text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
        }

        .hp-hero-btn:hover {
            background: var(--hp-primary-hover);
            color: var(--hp-white);
            transform: translateY(-2px);
        }

        .hp-hero-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            background: var(--hp-white);
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
            transition: all 0.3s ease;
            z-index: 10;
        }

        .hp-hero-nav:hover {
            background: var(--hp-primary);
            color: var(--hp-white);
        }

        .hp-hero-nav.hp-prev {
            left: 20px;
        }

        .hp-hero-nav.hp-next {
            right: 20px;
        }

        .hp-hero-dots {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 12;
        }

        .hp-hero-dot {
            width: 12px;
            height: 12px;
            min-width: 12px;
            min-height: 12px;
            padding: 0;
            flex: 0 0 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.28);
            border: 1px solid rgba(255, 255, 255, 0.55);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
            cursor: pointer;
            transition: all 0.3s ease;
            appearance: none;
            -webkit-appearance: none;
            line-height: 0;
        }

        .hp-hero-dot.active {
            background: var(--hp-primary);
            border-color: var(--hp-primary);
            transform: scale(1.2);
            box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.16);
        }

        /* ========================================
           TRUST STRIP (below hero)
           ======================================== */

        .hp-trust-strip {
            display: flex;
            justify-content: center;
            gap: 0;
            padding: 16px 0;
            margin-top: 15px;
            direction: rtl;
            flex-wrap: nowrap;
            overflow: hidden;
            width: 100vw !important;
            margin-left: calc(-50vw + 50%) !important;
            background: var(--hp-gray-light);
            border-top: 1px solid var(--hp-gray);
            border-bottom: 1px solid var(--hp-gray);
        }

        .hp-trust-strip-inner {
            display: flex;
            justify-content: space-around;
            gap: 20px;
            width: 100%;
            max-width: 1400px;
            padding: 0 40px;
        }

        .hp-trust-strip-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            font-weight: 600;
            color: var(--hp-text);
            white-space: nowrap;
            flex-shrink: 0;
        }

        /* Hide duplicate items on desktop (only needed for mobile scroll) */
        .hp-trust-strip-item.hp-trust-duplicate {
            display: none;
        }

        .hp-trust-strip-icon {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            background: linear-gradient(135deg, var(--hp-primary), #FF8533);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .hp-trust-strip-icon svg {
            width: 18px;
            height: 18px;
            fill: var(--hp-white);
            stroke: none;
        }

        .hp-trust-strip-text span {
            display: block;
            font-size: 11px;
            font-weight: 400;
            color: var(--hp-text-muted);
        }

        /* ========================================
           CATEGORY SLIDER - full width, better icons
           ======================================== */

        .hp-categories-section {
            padding: 0 80px !important;
            margin-top: 15px !important;
        }

        .hp-categories-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 20px 0;
            direction: rtl;
        }

        .hp-categories-title {
            font-size: 24px;
            font-weight: 800;
            color: var(--hp-dark);
            margin: 0;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .hp-categories-title .hp-section-icon {
            width: 26px;
            height: 26px;
        }

        .hp-cat-arrows {
            display: flex;
            gap: 8px;
        }

        .hp-cat-arrow {
            width: 38px;
            height: 38px;
            background: var(--hp-white);
            border: 1.5px solid var(--hp-gray);
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.25s ease;
            color: var(--hp-dark);
        }

        .hp-cat-arrow:hover {
            background: var(--hp-dark);
            border-color: var(--hp-dark);
            color: var(--hp-white);
        }

        .hp-cat-arrow svg {
            width: 18px;
            height: 18px;
        }

        .hp-categories-wrapper {
            position: relative;
            overflow: hidden;
            background: var(--hp-gray-light);
            border-radius: 16px;
            padding: 8px 0 14px;
        }

        .hp-categories-slider {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            overflow-y: hidden;
            padding: 8px 0;
            -webkit-overflow-scrolling: touch;
            scroll-behavior: smooth;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .hp-categories-slider::-webkit-scrollbar {
            display: none;
        }

        .hp-category-item {
            scroll-snap-align: start;
            flex: 0 0 auto;
            min-width: 90px;
            max-width: 110px;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            transition: all 0.3s ease;
            padding: 6px;
        }

        .hp-category-item:hover {
            transform: translateY(-5px);
        }

        .hp-category-icon {
            width: 76px;
            height: 76px;
            border-radius: 50%;
            background: var(--hp-white);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .hp-category-item:hover .hp-category-icon {
            border-color: var(--hp-primary);
            box-shadow: 0 6px 20px rgba(255, 107, 0, 0.15);
            transform: scale(1.08);
        }

        .hp-category-icon svg {
            width: 34px;
            height: 34px;
            stroke: var(--hp-dark);
            fill: none;
        }

        .hp-category-item:hover .hp-category-icon svg {
            stroke: var(--hp-primary);
        }

        .hp-category-name {
            font-size: 14px;
            font-weight: 600;
            color: var(--hp-dark);
            text-align: center;
            max-width: 140px;
            line-height: 1.3;
        }

        .hp-cat-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 36px;
            height: 36px;
            background: var(--hp-white);
            border: 1px solid var(--hp-gray);
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--hp-shadow);
            transition: all 0.3s ease;
            z-index: 10;
        }

        .hp-cat-nav:hover {
            background: var(--hp-primary);
            color: var(--hp-white);
            border-color: var(--hp-primary);
        }

        .hp-cat-nav.hp-cat-prev {
            left: 5px;
        }

        .hp-cat-nav.hp-cat-next {
            right: 5px;
        }

        /* ========================================
           TRENDING PRODUCTS SLIDER
           ======================================== */

        .hp-trending-wrapper {
            position: relative;
            overflow: hidden;
            border: 2px solid var(--hp-primary);
            border-radius: 16px;
            padding: 20px 15px;
            background: linear-gradient(135deg, rgba(255, 107, 0, 0.03) 0%, rgba(255, 107, 0, 0.08) 100%);
        }

        .hp-trending-slider {
            display: flex;
            gap: 20px;
            overflow-x: auto;
            scroll-behavior: smooth;
            padding: 10px 0;
            scrollbar-width: none;
            -ms-overflow-style: none;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
        }

        .hp-trending-slider::-webkit-scrollbar {
            display: none;
        }

        .hp-trending-slider .hp-product-card {
            scroll-snap-align: start;
            flex: 0 0 calc(20% - 16px);
            min-width: 220px;
        }

        .hp-trend-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background: var(--hp-white);
            border: 1px solid var(--hp-gray);
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--hp-shadow);
            transition: all 0.3s ease;
            z-index: 10;
        }

        .hp-trend-nav:hover {
            background: var(--hp-primary);
            color: var(--hp-white);
            border-color: var(--hp-primary);
        }

        .hp-trend-nav.hp-trend-prev {
            left: 0;
        }

        .hp-trend-nav.hp-trend-next {
            right: 0;
        }

        .hp-trending-show-all {
            text-align: center;
            margin-top: 20px;
            padding-top: 15px;
        }

        /* ========================================
           PRODUCT CARDS
           ======================================== */

        .hp-products-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 18px;
        }

        .hp-product-card {
            background: var(--hp-white);
            border-radius: var(--hp-radius);
            box-shadow: var(--hp-shadow);
            overflow: hidden;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        .hp-product-card:hover {
            box-shadow: var(--hp-shadow-hover);
            transform: translateY(-5px);
        }

        .hp-product-image-wrapper {
            position: relative;
            aspect-ratio: 1;
            overflow: hidden;
            background: var(--hp-gray-light);
        }

        .hp-product-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: opacity 0.3s ease;
        }

        .hp-product-image.hp-hover-image {
            position: absolute;
            top: 0;
            left: 0;
            opacity: 0;
        }

        .hp-product-card:hover .hp-product-image.hp-main-image {
            opacity: 0;
        }

        .hp-product-card:hover .hp-product-image.hp-hover-image {
            opacity: 1;
        }

        .hp-product-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background: var(--hp-primary);
            color: var(--hp-white);
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
        }

        .hp-product-badge.hp-out-of-stock {
            background: var(--hp-dark);
        }

        .hp-product-info {
            padding: 15px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .hp-product-title {
            font-size: 14px;
            font-weight: 500;
            color: var(--hp-text);
            margin: 0 0 10px 0;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            min-height: 40px;
            direction: ltr;
            text-align: left;
        }

        .hp-product-title a {
            color: inherit;
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .hp-product-title a:hover {
            color: var(--hp-dark);
        }

        .hp-product-price {
            font-size: 18px;
            font-weight: 700;
            color: var(--hp-primary);
            margin-bottom: 15px;
        }

        .hp-product-price del {
            color: var(--hp-text-muted);
            font-size: 14px;
            font-weight: 400;
            margin-left: 8px;
        }

        .hp-product-price ins {
            text-decoration: none;
        }

        .hp-product-actions {
            display: flex;
            gap: 10px;
            margin-top: auto;
            direction: rtl;
        }

        .hp-btn-buy {
            flex: 1;
            background: linear-gradient(135deg, #FF8C00, #FF6B00);
            color: #FFFFFF;
            border: none;
            padding: 12px 20px;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            text-align: center;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .hp-btn-buy:hover {
            background: linear-gradient(135deg, #FF7800, #E55F00);
            color: #FFFFFF;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
        }

        .hp-btn-cart {
            width: 44px;
            height: 44px;
            min-width: 44px;
            background: #00184a;
            color: #FFFFFF;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hp-btn-cart:hover {
            background: #002266;
            color: #FFFFFF;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 24, 74, 0.3);
        }

        .hp-btn-cart svg {
            width: 34px;
            height: 34px;
        }

        .hp-btn-out-of-stock {
            flex: 1;
            background: var(--hp-gray);
            color: var(--hp-text-muted);
            border: none;
            padding: 12px 20px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: not-allowed;
            text-align: center;
        }

        .hp-btn-view-cart {
            background: var(--hp-dark);
        }

        .hp-btn-view-cart:hover {
            background: var(--hp-dark-light);
        }

        .hp-product-card .added_to_cart,
        .hp-product-card .wc-forward {
            display: none !important;
        }

        /* ========================================
           SEARCH BAR (in products section)
           ======================================== */

        .hp-products-header {
            flex-wrap: wrap;
            gap: 15px;
        }

        .hp-search-wrapper {
            position: relative;
            flex: 1;
            max-width: 400px;
            min-width: 250px;
        }

        .hp-search-input {
            width: 100%;
            padding: 16px 50px 16px 45px;
            border: 2px solid var(--hp-gray);
            border-radius: 30px;
            font-size: 15px;
            outline: none;
            transition: all 0.3s ease;
            direction: rtl;
            background: var(--hp-white);
            margin-bottom: 10px;
        }

        .hp-search-input:focus {
            border-color: var(--hp-primary);
            box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1);
        }

        .hp-search-input::placeholder {
            color: var(--hp-text-muted);
        }

        .hp-search-icon {
            position: absolute;
            right: 18px;
            top: calc(50% - 5px);
            transform: translateY(-50%);
            width: 20px;
            height: 20px;
            color: var(--hp-primary);
            stroke-width: 2.5;
            pointer-events: none;
        }

        .hp-search-input:focus + .hp-search-icon {
            color: var(--hp-primary);
            stroke-width: 3;
        }

        .hp-search-clear {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            width: 24px;
            height: 24px;
            border: none;
            background: var(--hp-gray);
            color: var(--hp-text-muted);
            border-radius: 50%;
            cursor: pointer;
            font-size: 18px;
            line-height: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }

        .hp-search-clear:hover {
            background: var(--hp-primary);
            color: var(--hp-white);
        }

        .hp-search-results-info {
            text-align: center;
            padding: 15px;
            margin-bottom: 20px;
            background: var(--hp-gray-light);
            border-radius: 10px;
            color: var(--hp-text);
            font-size: 14px;
            direction: rtl;
        }

        .hp-search-results-info strong {
            color: var(--hp-primary);
        }

        .hp-no-search-results {
            text-align: center;
            padding: 60px 20px;
            color: var(--hp-text-muted);
            font-size: 16px;
            direction: rtl;
        }

        .hp-no-search-results svg {
            width: 60px;
            height: 60px;
            margin-bottom: 15px;
            opacity: 0.5;
        }

        .hp-product-card.hp-hidden {
            display: none !important;
        }

        .hp-search-loading {
            text-align: center;
            padding: 40px;
        }

        .hp-search-loading::after {
            content: "";
            display: inline-block;
            width: 30px;
            height: 30px;
            border: 3px solid var(--hp-gray);
            border-radius: 50%;
            border-top-color: var(--hp-primary);
            animation: hp-spin 0.8s linear infinite;
        }

        /* ========================================
           LOAD MORE
           ======================================== */

        .hp-load-more-wrapper {
            text-align: center;
            margin-top: 40px;
        }

        .hp-btn-load-more {
            background: var(--hp-white);
            color: var(--hp-dark);
            border: 2px solid var(--hp-dark);
            padding: 15px 50px;
            border-radius: 30px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .hp-btn-load-more:hover {
            background: var(--hp-dark);
            color: var(--hp-white);
        }

        .hp-btn-load-more:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .hp-btn-load-more.hp-loading {
            position: relative;
            color: transparent;
        }

        .hp-btn-load-more.hp-loading::after {
            content: "";
            position: absolute;
            width: 20px;
            height: 20px;
            top: 50%;
            left: 50%;
            margin-left: -10px;
            margin-top: -10px;
            border: 2px solid var(--hp-dark);
            border-radius: 50%;
            border-top-color: transparent;
            animation: hp-spin 0.8s linear infinite;
        }

        @keyframes hp-spin {
            to { transform: rotate(360deg); }
        }

        /* ========================================
           TRUST BADGES FOOTER
           ======================================== */

        .hp-trust-footer {
            background: var(--hp-dark);
            padding: 50px 30px;
            margin-top: 50px;
        }

        .hp-trust-badges {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .hp-trust-badge {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 25px 15px;
            background: rgba(255,255,255,0.06);
            border-radius: 16px;
            border: 1px solid rgba(255,255,255,0.1);
            transition: all 0.3s;
        }

        .hp-trust-badge:hover {
            background: rgba(255,255,255,0.1);
            transform: translateY(-3px);
        }

        .hp-trust-badge-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(255, 107, 0, 0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 14px;
        }

        .hp-trust-badge-icon svg {
            width: 26px;
            height: 26px;
            fill: var(--hp-primary);
        }

        .hp-trust-badge-title {
            color: var(--hp-white);
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 5px;
            direction: rtl;
        }

        .hp-trust-badge-desc {
            color: rgba(255,255,255,0.6);
            font-size: 13px;
            direction: rtl;
        }

        /* ========================================
           SITE FOOTER
           ======================================== */

        .hp-site-footer {
            background: #001030;
            color: rgba(255,255,255,0.7);
            direction: rtl;
            padding: 40px 30px 20px;
        }

        .hp-footer-content {
            display: flex;
            gap: 60px;
            justify-content: center;
            max-width: 900px;
            margin: 0 auto;
            padding-bottom: 25px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

        .hp-footer-col h4 {
            color: var(--hp-white);
            font-size: 16px;
            font-weight: 700;
            margin: 0 0 12px;
        }

        .hp-footer-col ul {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .hp-footer-col ul li {
            margin-bottom: 8px;
        }

        .hp-footer-col ul li a {
            color: rgba(255,255,255,0.6);
            text-decoration: none;
            font-size: 14px;
            transition: color 0.2s;
        }

        .hp-footer-col ul li a:hover {
            color: var(--hp-primary);
        }

        .hp-footer-bottom {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            padding-top: 20px;
            font-size: 13px;
            color: rgba(255,255,255,0.4);
        }

        .hp-footer-bottom span:first-child {
            font-weight: 700;
            color: rgba(255,255,255,0.6);
        }

        /* ========================================
           TOAST NOTIFICATION
           ======================================== */

        .hp-added-notice {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%) translateY(100px);
            background: var(--hp-dark);
            color: var(--hp-white);
            padding: 15px 30px;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 500;
            z-index: 9999;
            opacity: 0;
            transition: all 0.3s ease;
            direction: rtl;
        }

        .hp-added-notice.hp-show {
            transform: translateX(-50%) translateY(0);
            opacity: 1;
        }

        /* ========================================
           STICKY MOBILE FOOTER NAV
           ======================================== */

        .hp-mobile-footer-nav {
            display: none;
        }

        /* ========================================
           RESPONSIVE
           ======================================== */

        @media (max-width: 1200px) {
            /* Reduce side paddings to prevent cutoff on narrower screens */
            .hp-section {
                padding: 0 60px;
            }

            .hp-hero-wrapper {
                padding: 0 60px !important;
            }

            .hp-categories-section {
                padding: 0 50px !important;
            }

            .hp-products-grid {
                grid-template-columns: repeat(4, 1fr);
            }

            .hp-trending-slider .hp-product-card {
                flex: 0 0 calc(25% - 15px);
            }

            .hp-category-icon {
                width: 70px;
                height: 70px;
            }

            .hp-category-icon svg {
                width: 30px;
                height: 30px;
            }

            .hp-categories-title {
                font-size: 20px;
            }
        }

        @media (max-width: 1080px) {
            /* Fix tablet cutoff — reduce paddings and constrain widths */
            .hp-announcement-bar,
            .hp-custom-header,
            .hp-homepage,
            .hp-mobile-footer-nav {
                width: 100% !important;
                max-width: 100% !important;
                margin-left: 0 !important;
            }

            .hp-trust-strip {
                width: 100% !important;
                margin-left: 0 !important;
            }

            .hp-section {
                padding: 0 40px;
            }

            .hp-hero-wrapper {
                padding: 0 40px !important;
            }

            .hp-categories-section {
                padding: 0 40px !important;
            }

            .hp-products-grid {
                grid-template-columns: repeat(3, 1fr);
            }

            .hp-trending-slider .hp-product-card {
                flex: 0 0 calc(33.333% - 14px);
            }

            .hp-hero-slide {
                aspect-ratio: 16/9;
            }

            .hp-hero-title {
                font-size: 32px;
            }

            .hp-hero-content {
                padding: 40px;
                max-width: 60%;
            }

            .hp-trust-badges {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .hp-announcement-bar {
                font-size: 12px;
                padding: 6px 0;
            }

            .hp-trust-strip {
                background: rgba(255, 107, 0, 0.06);
                border-top: 1px solid rgba(255, 107, 0, 0.1);
                border-bottom: 1px solid rgba(255, 107, 0, 0.1);
                overflow: hidden;
                flex-wrap: nowrap;
                gap: 0;
                padding: 10px 0;
                margin: 0;
                justify-content: flex-start;
                direction: ltr;
            }

            .hp-trust-strip-inner {
                display: flex;
                gap: 0;
                animation: hp-trust-scroll 50s linear infinite;
                width: max-content;
                justify-content: flex-start;
            }

            /* Show duplicate items on mobile for seamless scroll */
            .hp-trust-strip-item.hp-trust-duplicate {
                display: flex;
            }

            .hp-trust-strip-item {
                font-size: 12px;
                gap: 6px;
                padding: 0 20px;
                flex-shrink: 0;
                direction: rtl;
            }

            .hp-trust-strip-icon {
                width: 30px;
                height: 30px;
                border-radius: 8px;
            }

            .hp-trust-strip-icon svg {
                width: 15px;
                height: 15px;
            }

            .hp-trust-strip-text span {
                display: none;
            }

            @keyframes hp-trust-scroll {
                0% { transform: translateX(-50%); }
                100% { transform: translateX(0); }
            }

            .hp-section {
                margin-top: 20px;
                margin-bottom: 0;
                padding: 0 12px;
            }

            .hp-section:first-child,
            .hp-section.hp-hero-wrapper {
                margin-top: 8px;
            }

            /* Mobile header */
            .hp-header-main {
                padding: 10px 12px;
                gap: 10px;
            }

            .hp-header-logo img {
                height: 35px;
            }

            /* Mobile cart & search dropdowns */
            .hp-cart-dropdown {
                width: calc(100vw - 24px);
                left: 50% !important;
                right: auto !important;
                transform: translateX(-50%);
                max-width: 360px;
            }

            .hp-cart-dropdown-items {
                max-height: 220px;
            }

            .hp-search-dropdown-items {
                max-height: 260px;
            }

            .hp-header-search-input {
                padding: 10px 40px 10px 15px;
                font-size: 13px;
            }

            .hp-menu-bar ul {
                justify-content: flex-start;
                padding: 0 10px;
            }

            .hp-menu-bar li a {
                padding: 8px 14px;
                font-size: 12px;
            }

            /* Categories */
            .hp-categories-section {
                padding: 0 10px !important;
                margin-top: 10px !important;
            }

            .hp-categories-header {
                padding: 10px 12px 2px;
            }

            .hp-categories-title {
                font-size: 18px;
            }

            .hp-cat-arrows {
                display: none;
            }

            .hp-categories-wrapper {
                padding: 8px 0 12px;
                border-radius: 12px;
            }

            .hp-categories-slider {
                gap: 4px;
                padding: 5px 0;
            }

            .hp-category-item {
                min-width: 72px;
                max-width: 80px;
                padding: 3px;
            }

            .hp-category-icon {
                width: 56px;
                height: 56px;
                margin-bottom: 6px;
            }

            .hp-category-icon svg {
                width: 24px;
                height: 24px;
            }

            .hp-category-name {
                font-size: 10px;
                font-weight: 700;
                max-width: 70px;
            }

            /* Trending */
            .hp-trending-wrapper {
                padding: 15px 10px;
                padding-top: 25px;
                position: relative;
            }

            .hp-section:has(.hp-trending-wrapper) .hp-section-header {
                position: absolute;
                top: -15px;
                right: 15px;
                z-index: 10;
                margin: 0;
            }

            .hp-section:has(.hp-trending-wrapper) {
                position: relative;
                margin-top: 30px;
            }

            .hp-trending-title {
                font-size: 15px;
                padding: 8px 16px;
                gap: 2px;
            }

            .hp-products-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }

            .hp-trending-slider .hp-product-card {
                flex: 0 0 calc(50% - 10px);
                min-width: 160px;
            }

            .hp-hero-wrapper {
                padding: 0 10px !important;
                margin-bottom: 10px !important;
            }

            .hp-hero-slider {
                border-radius: 12px;
            }

            .hp-hero-slide {
                aspect-ratio: 4/3;
            }

            .hp-hero-content {
                padding: 15px 42px;
                max-width: 100%;
            }

            .hp-hero-title {
                font-size: 24px;
            }

            .hp-hero-subtitle {
                font-size: 14px;
            }

            .hp-hero-btn {
                padding: 12px 30px;
                font-size: 14px;
            }

            .hp-hero-dot {
                width: 9px;
                height: 9px;
                min-width: 9px;
                min-height: 9px;
                flex-basis: 9px;
            }

            .hp-hero-nav {
                width: 40px;
                height: 40px;
            }

            .hp-hero-nav.hp-prev {
                left: 10px;
            }

            .hp-hero-nav.hp-next {
                right: 10px;
            }

            .hp-trending-slider {
                gap: 5px;
            }

            .hp-product-info {
                padding: 10px;
            }

            .hp-product-title {
                font-size: 13px;
                min-height: 36px;
            }

            .hp-product-price {
                font-size: 16px;
            }

            .hp-btn-buy {
                padding: 10px 12px;
                font-size: 12px;
            }

            .hp-btn-cart {
                width: 38px;
                height: 38px;
                min-width: 38px;
                border-radius: 10px;
            }

            .hp-btn-cart svg {
                width: 28px;
                height: 28px;
            }

            .hp-btn-out-of-stock {
                padding: 10px 12px;
                font-size: 12px;
            }

            .hp-section-title {
                font-size: 20px;
                margin-bottom: 25px !important;
            }

            .hp-section-icon {
                width: 22px;
                height: 22px;
            }

            .hp-section-header {
                margin-bottom: 0;
            }

            .hp-fire-icon {
                width: 18px;
                height: 18px;
            }

            .hp-products-header {
                flex-direction: column;
                align-items: stretch;
                gap: 4px;
                margin-bottom: 2px;
            }

            .hp-search-wrapper {
                max-width: 100%;
                min-width: auto;
                margin-bottom: 4px;
                margin-top: -20px !important;
            }

            .hp-search-input {
                padding: 16px 48px 16px 42px;
                font-size: 15px;
                border-width: 2px;
                margin-bottom: 8px;
            }

            .hp-search-icon {
                width: 22px;
                height: 22px;
                right: 16px;
                top: calc(50% - 4px);
            }

            .hp-search-clear {
                width: 26px;
                height: 26px;
                font-size: 20px;
                left: 12px;
            }

            .hp-search-results-info {
                padding: 10px;
                margin-bottom: 12px;
            }

            /* Trust badges 2 cols on mobile */
            .hp-trust-footer {
                padding: 30px 12px;
                margin-top: 30px;
            }

            .hp-trust-badges {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }

            .hp-trust-badge {
                padding: 18px 10px;
            }

            .hp-trust-badge-icon {
                width: 44px;
                height: 44px;
                margin-bottom: 10px;
            }

            .hp-trust-badge-icon svg {
                width: 22px;
                height: 22px;
            }

            .hp-trust-badge-title {
                font-size: 14px;
            }

            .hp-trust-badge-desc {
                font-size: 11px;
            }

            /* Sticky mobile footer nav */
            .hp-mobile-footer-nav {
                display: flex;
                position: fixed;
                bottom: 0;
                left: 0;
                right: 0;
                /* Reset the full-bleed negative-margin hack — position:fixed + left:0/right:0 already covers full width */
                margin-left: 0 !important;
                width: 100% !important;
                max-width: 100% !important;
                background: var(--hp-white);
                border-top: 1px solid var(--hp-gray);
                z-index: 9990;
                padding: 8px 0 0;
                padding-bottom: calc(8px + env(safe-area-inset-bottom));
                box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
                /* Explicit base transform so transition always starts from the right place */
                transform: translateY(0) translateZ(0);
                transition: opacity 0.25s ease, transform 0.25s ease;
                /* GPU compositing — prevents iOS Safari viewport-resize jump */
                will-change: transform;
                -webkit-backface-visibility: hidden;
                backface-visibility: hidden;
            }

            .hp-mobile-footer-nav::after {
                content: "";
                position: absolute;
                bottom: 0;
                left: 0;
                right: 0;
                height: 100px;
                background: var(--hp-white);
                z-index: -1;
                transform: translateY(100%);
            }

            .hp-mobile-footer-nav.hp-nav-hidden {
                opacity: 0;
                transform: translateY(100%) translateZ(0);
                pointer-events: none;
            }

            .hp-footer-content {
                flex-direction: column;
                gap: 30px;
                text-align: center;
                padding: 0 20px 20px;
            }

            .hp-site-footer {
                padding: 30px 15px 90px;
            }

            .hp-mobile-footer-nav a {
                flex: 1;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                text-decoration: none;
                color: var(--hp-text-muted);
                font-size: 10px;
                font-weight: 600;
                gap: 3px;
                transition: color 0.2s;
                position: relative;
            }

            .hp-mobile-footer-nav a.hp-active,
            .hp-mobile-footer-nav a:hover {
                color: var(--hp-primary);
            }

            .hp-mobile-footer-nav svg {
                width: 24px;
                height: 24px;
            }

            .hp-mobile-nav-badge {
                position: absolute;
                top: -2px;
                right: calc(50% - 18px);
                background: var(--hp-primary);
                color: var(--hp-white);
                width: 16px;
                height: 16px;
                border-radius: 50%;
                font-size: 9px;
                font-weight: 700;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            /* Add bottom padding so content is not hidden behind sticky footer */
            .hp-homepage {
                padding-bottom: 70px;
            }

            /* Move toast above mobile nav */
            .hp-added-notice {
                bottom: 80px;
            }
        }
