/* home_redesign.css */

/* Layout Wrapper - Removing the split */
body {
    overflow-x: clip;
    width: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(234, 88, 12, 0.025) 0%, transparent 45%),
        radial-gradient(circle at 90% 40%, rgba(234, 88, 12, 0.02) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(234, 88, 12, 0.015) 0%, transparent 35%),
        #f4f6f9;
}

.home-redesign-wrapper {
    /* Kept for compatibility if needed, but not used for split anymore */
}

/* Sections Base */
.hr-section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.hr-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Light Theme Hero Slider Redesign -> Minimalist Apple Style */
.full-hero-wrapper {
    background: transparent;
    padding-top: 0;
    width: min(1280px, 94%);
    margin: 0 auto 30px auto;
}
.dark-hero {
    border-radius: 12px;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    background: 
        radial-gradient(circle at 80% 50%, rgba(234, 88, 12, 0.05), transparent 50%),
        linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    background-image: 
        radial-gradient(circle at 80% 50%, rgba(234, 88, 12, 0.05), transparent 50%),
        linear-gradient(rgba(234, 88, 12, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(234, 88, 12, 0.015) 1px, transparent 1px),
        linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    background-size: 100% 100%, 24px 24px, 24px 24px, 100% 100%;
    height: clamp(140px, 28vw, 380px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03), 0 1px 3px rgba(0,0,0,0.02);
    padding: 0;
    border: 1px solid rgba(234, 88, 12, 0.08);
}

.dark-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 40%;
    height: 80%;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.08) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

.dark-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -10%;
    width: 50%;
    height: 90%;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.06) 0%, transparent 70%);
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}

.dark-hero-slide {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 0 5%;
    box-sizing: border-box;
    z-index: 1;
    position: relative;
}

.dark-hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 54%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0;
    box-sizing: border-box;
}

.dark-hero-image::after {
    display: none;
}

.dark-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right center;
    opacity: 1;
    transition: none;
    filter: none;
    transform: none !important;
}

.swiper-slide-active .dark-hero-image img {
    transform: none !important;
    opacity: 1 !important;
    transition: none;
}

.dark-hero-content {
    position: absolute;
    left: 6%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40%;
    margin: 0;
    background: transparent;
    padding: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.dark-hero-subtitle {
    display: inline-flex;
    align-items: center;
    background: rgba(234, 88, 12, 0.08);
    border: 1px solid rgba(234, 88, 12, 0.2);
    color: #ea580c;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: clamp(0.6rem, 1.8vw, 0.75rem);
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) 0.1s;
    width: fit-content;
    box-sizing: border-box;
}

.dark-hero-trust-tags {
    display: flex;
    gap: 15px;
    margin-top: 18px;
    font-size: 11px;
    color: #64748b;
    opacity: 0;
    animation: heroImgFadeIn 0.8s ease-out forwards 0.4s;
}
.dark-hero-trust-tags.desktop-only {
    display: flex;
}
.dark-hero-trust-tags.mobile-only-flex {
    display: none;
}
.dark-hero-trust-tags span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}
.dark-hero-trust-tags i {
    color: #10b981;
}

.hero-floating-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #10b981;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.1);
}

.dark-hero-title {
    font-size: clamp(1.2rem, 3.5vw, 2.2rem);
    font-weight: 850;
    line-height: 1.25;
    margin-bottom: 16px;
    color: #111827;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
    text-shadow: 0 1px 6px rgba(255, 255, 255, 0.95);
    letter-spacing: -0.5px;
}

.highlight-text {
    color: #ea580c;
    font-weight: 700;
}

.highlight-title {
    color: #ea580c;
}

.dark-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff5722 0%, #ea580c 100%);
    color: #fff !important;
    padding: clamp(8px, 1.5vw, 12px) clamp(16px, 2.5vw, 28px);
    border-radius: 50px;
    font-size: clamp(0.75rem, 1.8vw, 0.9rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) 0.3s;
    width: fit-content;
    white-space: nowrap;
    max-width: 100%;
    box-sizing: border-box;
}

.dark-hero-btn:hover {
    background: linear-gradient(135deg, #ff7043 0%, #f97316 100%);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
    transform: translateY(-2px) scale(1.02) !important;
    color: #fff !important;
}

.desktop-only {
    display: inline-flex;
}

.mobile-only {
    display: none;
}

/* Animations for Active Slide */
.swiper-slide-active .dark-hero-title,
.swiper-slide-active .dark-hero-subtitle,
.swiper-slide-active .dark-hero-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Swiper Controls Customization */
.dark-hero-nav {
    color: #111 !important;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.dark-hero-nav::after {
    font-size: 18px !important;
}

.dark-hero:hover .dark-hero-nav {
    opacity: 1;
}

.dark-hero-nav:hover {
    transform: scale(1.1);
}

.dark-hero-pagination {
    bottom: clamp(10px, 2vw, 20px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    text-align: center !important;
    z-index: 10 !important;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dark-hero-pagination .swiper-pagination-bullet {
    background: rgba(0, 0, 0, 0.25);
    width: 8px;
    height: 8px;
    margin: 0 !important;
    transition: all 0.3s;
    opacity: 1;
}

.dark-hero-pagination .swiper-pagination-bullet-active {
    background: #ea580c;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .dark-hero {
        height: clamp(140px, 28vw, 300px);
    }
}
@media (max-width: 768px) {
    .full-hero-wrapper {
        padding-top: 0;
        margin-bottom: 20px;
    }
    .dark-hero {
        height: clamp(140px, 30vw, 240px);
        border-radius: 8px;
    }

    .dark-hero-slide {
        flex-direction: row;
        justify-content: flex-start;
        padding: 0 5%;
    }
    
    .dark-hero-image {
        position: absolute;
        top: 0;
        right: 0;
        left: auto;
        width: 52%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding-right: 0;
        box-sizing: border-box;
    }
    
    .dark-hero-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: right center;
    }

    .dark-hero-content {
        position: absolute;
        left: 6%;
        top: 50%;
        transform: translateY(-50%);
        width: 42%;
        align-items: flex-start;
        text-shadow: 0 1px 3px rgba(255, 255, 255, 0.95);
        display: flex;
        flex-direction: column;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: inline-flex !important;
        padding: clamp(4px, 1.2vw, 6px) clamp(10px, 2.5vw, 14px) !important;
        margin-top: 6px;
        font-size: clamp(0.6rem, 2vw, 0.75rem) !important;
        white-space: nowrap !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        box-shadow: 0 2px 8px rgba(234, 88, 12, 0.15) !important;
    }

    .dark-hero-title {
        font-size: clamp(0.95rem, 3.5vw, 1.25rem);
        margin-bottom: 2px;
        line-height: 1.2;
    }
    
    .dark-hero-subtitle {
        font-size: clamp(0.55rem, 2vw, 0.7rem) !important;
        padding: 2px 8px !important;
        margin-bottom: 4px !important;
    }
    
    .dark-hero-trust-tags.desktop-only {
        display: none !important;
    }
    .dark-hero-trust-tags.mobile-only-flex {
        display: flex !important;
        margin-top: 6px !important;
        font-size: clamp(0.55rem, 1.8vw, 0.65rem) !important;
        gap: 8px !important;
    }
    
    .hero-floating-badge {
        top: 8px !important;
        right: 8px !important;
        font-size: 8px !important;
        padding: 2px 6px !important;
    }
    
    .dark-hero-pagination {
        bottom: 8px !important;
    }
}

/* Categories */
.hr-categories {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    overflow-x: auto;
    padding-bottom: 10px;
}

.hr-categories::-webkit-scrollbar {
    display: none;
}

.hr-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 80px;
    text-decoration: none;
    color: #333;
}

.hr-category-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 1.5rem;
    color: #111;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.hr-category-item:hover .hr-category-icon {
    background: #f4f4f4;
    transform: translateY(-2px);
}

.hr-category-name {
    font-size: 0.85rem;
    font-weight: 700;
}

/* Products Grid */
.hr-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.hr-product-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    color: #1a1a2e;
    transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04),
                0 1px 2px rgba(0, 0, 0, 0.02);
    transform: translate3d(0, 0, 0);
    will-change: transform, box-shadow;
    cursor: pointer !important;
    z-index: 50;
}

.hr-product-card * {
    cursor: pointer !important;
}

.hr-product-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08),
                0 8px 16px rgba(0, 0, 0, 0.04),
                0 0 0 1px rgba(234, 88, 12, 0.08);
    border-color: rgba(234, 88, 12, 0.12);
    transform: translate3d(0, -6px, 0);
}

.hr-product-img {
    width: 100%;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f1f3 100%);
    overflow: hidden;
}

/* Subtle gradient overlay at bottom of image */
.hr-product-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.04), transparent);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.hr-product-card:hover .hr-product-img::after {
    opacity: 0;
}

.hr-product-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.4s ease;
}

.hr-product-card:hover .hr-product-img img {
    transform: scale(1.06);
}

.hr-product-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    color: #94a3b8;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.hr-product-wishlist:hover {
    color: #ef4444;
    background: #fff;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
    transform: scale(1.1);
}

.hr-product-info {
    padding: 14px 16px 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    cursor: pointer !important;
    position: relative;
    z-index: 2;
    gap: 6px;
}

.hr-product-info * {
    cursor: pointer !important;
}

.hr-product-title {
    font-size: 0.88rem;
    font-weight: 650;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
    color: #1e293b;
    line-height: 1.4;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.hr-product-card:hover .hr-product-title {
    color: #ea580c;
}

.hr-product-price-row {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.hr-product-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.hr-product-price-old {
    font-size: 0.78rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
}

/* Flash Sale specifics */
.hr-flash-timer {
    display: flex;
    gap: 5px;
    align-items: center;
    margin-left: 10px;
}

.hr-flash-timer-box {
    background: #ff4757;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
    min-width: 28px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.hr-flash-timer-colon {
    font-weight: bold;
    color: #ff4757;
}

.hr-progress-bar {
    width: 100%;
    height: 8px;
    background: #eee;
    border-radius: 10px;
    margin-top: 10px;
    overflow: hidden;
    position: relative;
}

.hr-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff9f43, #ff4757, #ea580c, #ff4757, #ff9f43);
    background-size: 200% 100%;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    animation: progressBarFlow 3s ease infinite, hrProgressSlideIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    transform-origin: left;
    box-shadow: 0 0 8px rgba(255, 71, 87, 0.4);
}

.hr-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
    animation: progressShine 2.5s ease-in-out infinite 1s;
}

@keyframes progressBarFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes hrProgressSlideIn {
    from { transform: scaleX(0); opacity: 0; }
    to { transform: scaleX(1); opacity: 1; }
}

@keyframes progressShine {
    0% { left: -100%; }
    100% { left: 200%; }
}

.hr-progress-text {
    font-size: 0.75rem;
    color: #666;
    margin-top: 4px;
    text-align: right;
}

/* Todays For You Tabs */
.hr-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 5px;
    justify-content: center;
}

.hr-tab {
    padding: 8px 20px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    background: #fff;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.hr-tab.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* Best Selling Store Layout */
.hr-store-layout {
    display: flex;
    gap: 20px;
}

.hr-store-banner {
    flex: 0 0 25%;
    background: #d1d5db;
    /* Greyish background as per mockup */
    border-radius: 8px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    min-height: 400px;
    background-image: url('https://via.placeholder.com/400x600?text=BeliBeli+Mall');
    /* Placeholder */
    background-size: cover;
    background-position: center;
    color: #111;
}

.hr-store-banner h3 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.hr-store-banner p {
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.hr-store-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
}

.hr-store-card {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.hr-store-card-header {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
}

.hr-store-card-logo {
    width: 50px;
    height: 50px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: #3b82f6;
    position: relative;
}

.hr-store-card-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #3b82f6;
    color: white;
    font-size: 0.6rem;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hr-store-card-info {
    flex: 1;
}

.hr-store-card-name {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.hr-store-card-desc {
    font-size: 0.8rem;
    color: #666;
}

.hr-store-products {
    display: flex;
    gap: 10px;
}

.hr-store-product {
    flex: 1;
    background: #f8fafc;
    padding: 8px;
    border-radius: 6px;
    text-align: center;
}

.hr-store-product img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    mix-blend-mode: multiply;
}

.hr-store-product-price {
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 5px;
}

/* Badges & Out of Stock */
.hr-badge-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4757;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 20px;
    z-index: 10;
}

.hr-badge-stock {
    position: absolute;
    bottom: 10px;
    left: 10px;
    top: auto;
    right: auto;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 6px;
    z-index: 10;
}

.hr-product-card.out-of-stock .hr-product-img img {
    filter: blur(3px) grayscale(50%);
    opacity: 0.7;
}

.hr-out-of-stock-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 20px;
    z-index: 10;
    pointer-events: none;
    font-size: 0.8rem;
}

/* Hover Actions */
.hr-product-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.9);
    transition: bottom 0.3s;
    z-index: 20;
}

/* Hover override is no longer strictly needed but keeping it safe */
.hr-product-card:hover .hr-product-actions {
    bottom: 0;
}

.hr-btn-action {
    background: #111;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.hr-btn-action:hover {
    background: #ff4757;
    color: white;
}

/* Swiper overrides */
.hr-hero.swiper {
    padding: 0;
}

.hr-hero .swiper-slide {
    display: flex;
    align-items: center;
    min-height: 300px;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .hr-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hr-store-layout {
        flex-direction: column;
    }

    .hr-store-banner {
        min-height: 200px;
    }

    .hr-hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hr-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .hr-product-actions {
        bottom: 0;
        background: rgba(255, 255, 255, 0.85);
        padding: 8px;
    }

    .hr-btn-action {
        padding: 6px 10px;
        font-size: 0.75rem;
    }

    .hr-store-grid {
        grid-template-columns: 1fr;
    }

    .hr-hero-content {
        padding: 25px;
        position: relative;
        z-index: 2;
        background: rgba(255, 255, 255, 0.85);
    }

    .hr-hero-image {
        opacity: 0.3;
        width: 100%;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .hr-categories {
        padding-bottom: 15px;
        gap: 10px;
    }

    .hr-section {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .hr-hero {
        min-height: 220px;
    }

    .hr-hero-title {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }

    .hr-hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .hr-hero-content {
        padding: 20px 15px;
    }

    .hr-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .hr-section {
        padding: 12px;
    }

    .hr-section-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .hr-category-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .hr-category-name {
        font-size: 0.75rem;
    }

    .hr-flash-timer-box {
        padding: 4px 6px !important;
        font-size: 0.85rem !important;
    }

    .hr-product-card .hr-product-title {
        font-size: 0.82rem;
    }

    .hr-product-card .hr-product-price {
        font-size: 0.9rem;
    }
}

/* PWA Promo Section */
.pwa-promo-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-radius: 24px;
    margin: 40px auto;
    max-width: 1200px;
    box-shadow: 0 10px 40px rgba(217,119,6,0.08);
    position: relative;
    overflow: hidden;
}

.pwa-promo-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(217,119,6,0.05) 0%, transparent 70%);
    transform: rotate(30deg);
    pointer-events: none;
}

.pwa-promo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.pwa-promo-content {
    flex: 1;
    max-width: 600px;
}

.pwa-badge {
    display: inline-block;
    background: #d97706;
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(217,119,6,0.3);
}

.pwa-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 15px;
}

.pwa-desc {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 25px;
}

.pwa-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.pwa-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #334155;
    background: rgba(255,255,255,0.7);
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.9);
}

.btn-install-app {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0f172a;
    color: #fff;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(15,23,42,0.2);
}

.btn-install-app:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(15,23,42,0.3);
    background: #1e293b;
}

.pwa-promo-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 260px;
    height: 520px;
    background: #fff;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25), inset 0 0 0 10px #0f172a;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
}

.phone-mockup::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #0f172a;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.floating-app-icon {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    object-fit: contain;
    padding: 10px;
    background: #fff;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

@media (max-width: 991px) {
    .pwa-promo-container {
        flex-direction: column;
        text-align: center;
    }
    .pwa-features {
        justify-content: center;
    }
    .pwa-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .pwa-promo-section {
        margin: 20px 10px;
        padding: 40px 15px;
    }
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
    .floating-app-icon {
        width: 80px;
        height: 80px;
    }
}

/* =======================================================
   ULTRA LUXURY DESKTOP & TABLET ENHANCEMENTS (>= 992px)
   ======================================================= */
@media (min-width: 992px) {
    .container, .full-hero-wrapper, .hr-container {
        max-width: 1240px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Desktop Category Grid */
    .hr-categories {
        display: grid !important;
        grid-template-columns: repeat(9, 1fr) !important;
        gap: 14px !important;
        margin-bottom: 35px !important;
        padding: 0 !important;
        overflow: visible !important;
    }
    
    .hr-category-item {
        min-width: 0 !important;
        background: #ffffff !important;
        border-radius: 18px !important;
        padding: 16px 8px !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    }
    
    .hr-category-item:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.06) !important;
        border-color: #cbd5e1 !important;
    }
    
    .hr-category-icon {
        width: 52px !important;
        height: 52px !important;
        border-radius: 16px !important;
        background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
        border: 1px solid #e2e8f0 !important;
        margin-bottom: 8px !important;
        font-size: 1.35rem !important;
        color: #0f172a !important;
        box-shadow: none !important;
    }
    
    .hr-category-item:hover .hr-category-icon {
        background: linear-gradient(135deg, #ffe082 0%, #d4a853 100%) !important;
        border-color: #d4a853 !important;
        color: #0b0b0c !important;
        transform: scale(1.08) !important;
    }
    
    .hr-category-name {
        font-size: 0.8rem !important;
        font-weight: 700 !important;
        color: #1e293b !important;
        line-height: 1.3 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    /* Desktop Product Cards Elevation */
    .hr-product-card:hover, .ultra-lux-card:hover {
        transform: translateY(-6px) !important;
        box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08) !important;
        border-color: #cbd5e1 !important;
    }
}