/* ── Hero Section ── */
.hero-section {
    position: relative;
    height: 75vh;
    overflow: hidden;
    background: #f3f4f6;
}


.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.5));
    z-index: 10;
}

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
}

.hero-content-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}


.hero-text {
    max-width: 640px;
}

.hero-label {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-sky);
    font-weight: 600;
    margin-bottom: 16px;
}


.hero-title {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: var(--brand-dark);
    margin: 0 0 24px;
}


.hero-description {
    font-size: 16px;
    font-weight: 300;
    color: var(--brand-muted);
    line-height: 1.7;
    margin: 0 0 32px;
    max-width: 480px;
}


.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Hero Dots */
.hero-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 32px;
    height: 4px;
    border-radius: var(--radius-full);
    background: rgba(17, 24, 39, 0.2);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
}

.hero-dot.active {
    background: var(--brand-dark);
}

.hero-badge {
    position: absolute;
    top: 32px;
    right: 32px;
    z-index: 20;
    width: 112px;
    height: 112px;
    animation: float 6s ease-in-out infinite;
    display: none;
}


@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-badge svg {
    width: 100%;
    height: 100%;
    animation: spin 20s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-badge-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* ── Categories Section ── */
.categories-section {
    padding: 40px 0 56px;
    background: var(--brand-card);
    border-bottom: 1px solid var(--brand-border);
}


/* Category Scroll */
.category-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}


.category-item {
    flex-shrink: 0;
    text-align: center;
}

.category-image-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--brand-border);
    padding: 2px;
    margin: 0 auto;
    transition: all var(--transition-base);
}


.category-item:hover .category-image-wrapper {
    border-color: var(--brand-sky);
}

.category-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.category-name {
    font-size: 12px;
    color: var(--brand-muted);
    font-weight: 500;
    margin-top: 8px;
    transition: color var(--transition-fast);
}


.category-item:hover .category-name {
    color: var(--brand-dark);
}

/* ── Flash Sale Section ── */
.flash-sale-section {
    padding: 40px 0;
    background: var(--brand-bg);
    border-bottom: 1px solid var(--brand-border);
}


.flash-sale-wrapper {
    border-radius: var(--radius-xl);
    padding: 1.5px;
    background: linear-gradient(135deg, var(--brand-secondary), var(--brand-highlight), var(--brand-secondary));
    background-size: 200% 200%;
    animation: shimmer 3s linear infinite;
}

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

.flash-sale-inner {
    background: var(--brand-card);
    border-radius: calc(var(--radius-xl) - 2px);
    padding: 24px;
}


.flash-sale-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}


.flash-sale-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.flash-sale-dot {
    width: 8px;
    height: 8px;
    background: var(--brand-secondary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.flash-sale-text {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-secondary);
    font-weight: 700;
    margin: 0;
}

.flash-sale-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0;
}


.flash-sale-subtitle {
    font-size: 14px;
    color: var(--brand-muted);
    margin: 4px 0 0;
}

/* Countdown */
.countdown-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.countdown-label {
    font-size: 12px;
    color: var(--brand-muted);
    margin-right: 4px;
}

.countdown-box {
    background: var(--brand-card);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-md);
    padding: 6px 12px;
    text-align: center;
}

.countdown-number {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-secondary);
    line-height: 1;
}


.countdown-sep {
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-secondary);
}

.countdown-unit {
    font-size: 8px;
    color: var(--brand-muted);
    margin-top: 2px;
}

/* Flash Products Grid */
.flash-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}


/* ── Dual Banners Section ── */
.dual-banners-section {
    padding: 40px 0;
    background: #fff;
    border-bottom: 1px solid var(--brand-border);
}


.dual-banners-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}


.banner-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: block;
}

.banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.banner-card:hover img {
    transform: scale(1.06);
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2), transparent);
}

.banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 24px;
}


.banner-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-sky);
    font-weight: 600;
    margin-bottom: 8px;
}

.banner-label-accent {
    color: var(--brand-accent);
}

.banner-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}


.banner-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 16px;
    display: none;
}


.banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    transition: gap var(--transition-fast);
}

.banner-card:hover .banner-cta {
    gap: 12px;
}

/* ── Trending Section ── */
.trending-section {
    padding: 48px 0;
    background: var(--brand-bg);
    border-bottom: 1px solid var(--brand-border);
}


.trending-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}


.trending-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-sky);
    font-weight: 600;
    margin-bottom: 8px;
}

.trending-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0;
}


/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}


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

.btn-load-more {
    padding: 14px 32px;
    border-radius: var(--radius-full);
    border: 1px solid var(--brand-border);
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-dark);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.btn-load-more:hover {
    border-color: var(--brand-dark);
}

/* ── Style Picks Section ── */
.style-picks-section {
    padding: 48px 0;
    background: #fff;
    border-bottom: 1px solid var(--brand-border);
}


.style-picks-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}


.style-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: block;
}

.style-card-large {
    aspect-ratio: 3/4;
}


.style-card:not(.style-card-large) {
    aspect-ratio: 4/3;
}

.style-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.style-card:hover img {
    transform: scale(1.06);
}

.style-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.style-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px;
}


.style-card-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-sky);
    font-weight: 600;
    margin-bottom: 8px;
}

.style-card-label-accent {
    color: var(--brand-accent);
}

.style-card-label-highlight {
    color: var(--brand-highlight);
}

.style-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}


.style-card-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 16px;
    max-width: 320px;
}

.style-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin-top: 16px;
    transition: gap var(--transition-fast);
}

.style-card:hover .style-card-cta {
    gap: 12px;
}

/* ── Brand Marquee Section ── */
.brand-marquee-section {
    padding: 32px 0;
    background: var(--brand-bg);
    border-bottom: 1px solid var(--brand-border);
    overflow: hidden;
}

.brand-marquee-label {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-muted);
    margin-bottom: 24px;
}

.brand-marquee-container {
    overflow: hidden;
    white-space: nowrap;
}

.brand-marquee-content {
    display: inline-flex;
    align-items: center;
    gap: 64px;
    animation: marquee 30s linear infinite;
}

.brand-marquee-content:hover {
    animation-play-state: paused;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 24px;
    color: #d1d5db;
    transition: color var(--transition-fast);
    cursor: pointer;
}

.brand-name:hover {
    color: var(--brand-dark);
}

/* ── New Arrivals Section ── */
.new-arrivals-section {
    padding: 48px 0;
    background: #fff;
    border-bottom: 1px solid var(--brand-border);
}


.scroll-nav {
    display: flex;
    gap: 8px;
}

.scroll-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--brand-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-muted);
    transition: all var(--transition-fast);
}

.scroll-nav-btn:hover {
    border-color: var(--brand-dark);
    color: var(--brand-dark);
}

.new-arrivals-scroller {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 0 24px 16px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.new-arrivals-scroller::-webkit-scrollbar {
    display: none;
}


.new-arrival-card {
    flex-shrink: 0;
    width: 240px;
    background: var(--brand-bg);
}


/* ── Reviews Section ── */
.reviews-section {
    padding: 48px 0;
    background: var(--brand-bg);
    border-bottom: 1px solid var(--brand-border);
}


.reviews-header {
    text-align: center;
    margin-bottom: 40px;
}

.reviews-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.reviews-stars {
    display: flex;
    gap: 2px;
}

.reviews-rating-text {
    font-size: 14px;
    color: var(--brand-muted);
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}


.review-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 24px;
    border: 1px solid var(--brand-border);
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
}

.review-text {
    font-size: 14px;
    color: var(--brand-muted);
    font-weight: 300;
    line-height: 1.7;
    margin: 0 0 16px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-author-image {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    background: #f3f4f6;
}

.review-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-author-name {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

.review-author-label {
    font-size: 12px;
    color: var(--brand-muted);
    margin: 0;
}

/* ── Instagram Section ── */
.instagram-section {
    padding: 48px 0;
    background: #fff;
    border-bottom: 1px solid var(--brand-border);
}


.instagram-header {
    text-align: center;
    margin-bottom: 32px;
}

.instagram-desc {
    font-size: 14px;
    color: var(--brand-muted);
    margin: 8px 0 0;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}


.instagram-card {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #f3f4f6;
    display: block;
}


.instagram-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.instagram-card:hover img {
    transform: scale(1.06);
}

.instagram-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

.instagram-card:hover .instagram-overlay {
    background: rgba(17, 24, 39, 0.4);
}

.instagram-overlay svg {
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.instagram-card:hover .instagram-overlay svg {
    opacity: 1;
}

/* ── 404 Error Page ── */
.error-404-wrapper {
    position: relative;
    min-height: 68vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 16px 100px;
    overflow: hidden;
    background-color: var(--shop-zen-cream, #F9F7F2);
    background-image:
        radial-gradient(rgba(58, 95, 63, 0.07) 1px, transparent 1px),
        radial-gradient(rgba(58, 95, 63, 0.04) 1px, transparent 1px);
    background-size: 20px 20px, 10px 10px;
    background-position: 0 0, 10px 10px;
    text-align: center;
}


/* Decorative background accent (soft green glow) */
.error-404-bg-accent {
    position: absolute;
    top: -120px;
    right: -120px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(58, 95, 63, 0.08) 0%, transparent 70%);
    pointer-events: none;
}


.error-404-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Decorative top-left corner bracket */
.error-404-content::before {
    content: '';
    position: absolute;
    top: -28px;
    left: -10px;
    width: 40px;
    height: 40px;
    border-left: 3px solid var(--shop-zen-primary, #3A5F3F);
    border-top: 3px solid var(--shop-zen-primary, #3A5F3F);
    opacity: 0.12;
    border-radius: 4px 0 0 0;
    pointer-events: none;
}

/* "Error 404" pill badge */
.error-404-content::after {
    content: '• Error 404';
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--shop-zen-border, #E5E7EB);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    color: #3F4A3C;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 28px;
    width: fit-content;
    order: -1;
}

/* Large 404 Code */
.error-404-code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
    position: relative;
}

.error-404-code__digit {
    font-family: var(--font-display);
    font-size: 140px;
    font-weight: 800;
    color: var(--shop-zen-dark, #1E3F2A);
    line-height: 0.85;
    letter-spacing: -0.04em;
}


.error-404-code__zero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px solid var(--shop-zen-sage-light, #E9EFE9);
    position: relative;
}


.error-404-code__zero-inner {
    font-family: var(--font-display);
    font-size: 140px;
    font-weight: 800;
    color: var(--shop-zen-primary-light, #4A6B3F);
    line-height: 0.85;
    letter-spacing: -0.04em;
}

/* Dotted accent under the green zero */
.error-404-code__zero::after {
    content: '•••';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--shop-zen-primary, #3A5F3F);
    opacity: 0.25;
}


/* 404 Title */
.error-404-title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: var(--shop-zen-dark, #1E3F2A);
    margin: 32px 0 12px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}


/* 404 Text */
.error-404-text {
    font-family: var(--font-display);
    font-size: 16px;
    color: #4B5563;
    font-weight: 500;
    line-height: 1.6;
    margin: 0 0 28px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Action Buttons */
.error-404-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.error-404-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-fast);
    font-family: var(--font-sans);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.error-404-btn--primary {
    background: var(--shop-zen-dark, #1E3F2A);
    color: #fff;
    border: 1px solid #0f2316;
    box-shadow: 0 4px 14px rgba(30, 63, 42, 0.22);
}

.error-404-btn--primary:hover {
    background: #163322;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(30, 63, 42, 0.28);
}

.error-404-btn--secondary {
    background: transparent;
    color: var(--shop-zen-text, #1F2937);
    border: none;
    border-bottom: 2px solid #D1D5DB;
    border-radius: 0;
    padding: 13px 4px;
    box-shadow: none;
}

.error-404-btn--secondary:hover {
    border-color: var(--shop-zen-text, #1F2937);
    color: var(--shop-zen-text, #1F2937);
    transform: none;
    box-shadow: none;
}

/* 404 Responsive */


/**
====================================================================
  Responsive Styles
====================================================================
*/

@media (min-width: 1024px) {
.hero-section {
        height: 85vh;
    }

.hero-content-inner {
        padding: 0 48px;
    }

.hero-label {
        font-size: 14px;
    }

.hero-title {
        font-size: 64px;
    }

.hero-description {
        font-size: 18px;
    }

.hero-badge {
        display: block;
    }

.categories-section {
        padding: 56px 0;
    }

.category-scroll {
        gap: 32px;
    }

.category-image-wrapper {
        width: 112px;
        height: 112px;
    }

.category-name {
        font-size: 14px;
    }

.flash-sale-section {
        padding: 56px 0;
    }

.flash-sale-inner {
        padding: 40px;
    }

.flash-sale-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

.flash-sale-title {
        font-size: 28px;
    }

.countdown-number {
        font-size: 24px;
    }

.flash-products-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 16px;
    }

.dual-banners-section {
        padding: 56px 0;
    }

.banner-content {
        padding: 40px;
    }

.banner-title {
        font-size: 36px;
    }

.banner-desc {
        display: block;
    }

.trending-section {
        padding: 80px 0;
    }

.trending-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

.trending-title {
        font-size: 36px;
    }

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

.style-picks-section {
        padding: 80px 0;
    }

.style-picks-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

.style-card-large {
        grid-row: span 2;
    }

.style-card-content {
        padding: 32px;
    }

.style-card-title {
        font-size: 24px;
    }

.new-arrivals-section {
        padding: 80px 0;
    }

.new-arrivals-scroller {
        padding: 0 32px 16px;
    }

.new-arrival-card {
        width: 280px;
    }

.reviews-section {
        padding: 80px 0;
    }

.reviews-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

.instagram-section {
        padding: 80px 0;
    }

.instagram-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 12px;
    }

.instagram-card {
        border-radius: var(--radius-xl);
    }

.error-404-wrapper {
        min-height: 60vh;
        padding: 70px 16px 80px;
    }

.error-404-bg-accent {
        width: 600px;
        height: 600px;
        top: -200px;
        right: -200px;
    }

.error-404-code__digit {
        font-size: 120px;
    }

.error-404-code__zero {
        width: 120px;
        height: 120px;
    }

.error-404-code__zero-inner {
        font-size: 120px;
    }

.error-404-title {
        font-size: 32px;
    }
}

@media (min-width: 768px) {
.flash-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }

.dual-banners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

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

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

@media (max-width: 768px) {
    .error-404-wrapper {
        padding: 56px 16px;
        min-height: auto;
    }

    .error-404-content::after {
        margin-bottom: 20px;
    }

    .error-404-code__digit {
        font-size: 84px;
    }

    .error-404-code__zero {
        width: 84px;
        height: 84px;
        border-width: 2px;
    }

    .error-404-code__zero-inner {
        font-size: 84px;
    }

    .error-404-title {
        font-size: 26px;
    }

    .error-404-text {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .error-404-actions {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 32px;
    }

    .error-404-btn--primary {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .error-404-code__digit {
        font-size: 64px;
    }

    .error-404-code__zero {
        width: 64px;
        height: 64px;
    }

    .error-404-code__zero-inner {
        font-size: 64px;
    }

    .error-404-title {
        font-size: 22px;
    }
}

/* ── Breadcrumb Bar (shared across inner pages) ── */
.single-breadcrumb-bar {
    background: var(--shop-zen-cream, #F9F7F2);
    border-bottom: 1px solid var(--shop-zen-border, #E5E7EB);
    padding: 16px 0;
}

.single-breadcrumb-bar .container {
    max-width: 1350px;
}

.single-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-muted);
    flex-wrap: wrap;
}

.single-breadcrumb a {
    color: var(--brand-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.single-breadcrumb a:hover {
    color: var(--shop-zen-dark, #1E3F2A);
}

.single-breadcrumb .sep {
    opacity: 0.5;
}

.single-breadcrumb .current {
    color: #1F2937;
}

/* ── Tap-Target Accessibility ──
   Visible font sizes (13px header menu / 14px footer) are intentionally
   kept small. These rules enlarge the interactive hit box only, so each
   link meets the recommended minimum touch target height on mobile
   without changing the on-screen text size. */
.footer-col .footer-links a,
.footer-col .section ul > li > a,
.footer-widget-col .footer-links a,
.footer-bottom-links a,
.footer-copyright .footer-credit a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 4px 0;
    box-sizing: border-box;
}

.footer-col .footer-links li,
.footer-col .section ul > li,
.footer-widget-col .footer-links li {
    margin-bottom: 0;
}
