/* ── 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: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    overflow: hidden;
}


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


.error-404-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

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

.error-404-code__digit {
    font-family: var(--font-display);
    font-size: 80px;
    font-weight: 700;
    color: var(--brand-dark);
    line-height: 1;
    letter-spacing: -0.04em;
}


.error-404-code__zero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--brand-sky);
    position: relative;

}


.error-404-code__zero-inner {
    font-family: var(--font-display);
    font-size: 80px;
    font-weight: 700;
    color: var(--brand-sky);
    line-height: 1;
    letter-spacing: -0.04em;
}


/* 404 Title */
.error-404-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}


/* 404 Text */
.error-404-text {
    font-size: 16px;
    color: var(--brand-muted);
    font-weight: 300;
    line-height: 1.7;
    margin: 0 0 36px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

/* Search Form */
.error-404-search {
    margin-bottom: 32px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.error-404-search .search-form {
    display: flex;
    align-items: center;
    position: relative;
}

.error-404-search .search-field {
    width: 100%;
    padding: 14px 52px 14px 20px;
    border-radius: var(--radius-full);
    border: 1px solid var(--brand-border);
    font-size: 14px;
    color: var(--brand-dark);
    background: var(--brand-bg);
    font-family: var(--font-sans);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.error-404-search .search-field::placeholder {
    color: var(--brand-muted);
}

.error-404-search .search-field:focus {
    border-color: rgba(0, 114, 255, 0.5);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 114, 255, 0.1);
}

.error-404-search .search-submit {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
    border: none;
    cursor: pointer;
    font-size: 0;
    padding: 0;
}

.error-404-search .search-submit:hover {
    background: rgba(17, 24, 39, 0.85);
}

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

.error-404-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
    font-family: var(--font-sans);
    cursor: pointer;
}

.error-404-btn--primary {
    background: var(--brand-dark);
    color: #fff;
    border: none;
    box-shadow: 0 4px 16px rgba(17, 24, 39, 0.15);
}

.error-404-btn--primary:hover {
    background: rgba(17, 24, 39, 0.85);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(17, 24, 39, 0.2);
}

.error-404-btn--secondary {
    background: #fff;
    color: var(--brand-dark);
    border: 1px solid var(--brand-border);
}

.error-404-btn--secondary:hover {
    border-color: var(--brand-dark);
    color: var(--brand-dark);
    transform: translateY(-1px);
}

/* Helpful Links */
.error-404-links {
    padding-top: 32px;
    border-top: 1px solid var(--brand-border);
}

.error-404-links__label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brand-muted);
    font-weight: 600;
    margin: 0 0 16px;
}

.error-404-links__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.error-404-links__list li a {
    font-size: 14px;
    color: var(--brand-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-weight: 400;
}

.error-404-links__list li a:hover {
    color: var(--brand-sky);
}

/* 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: 100px 0;
    }

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

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

width: 120px;
        height: 120px;

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

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

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

@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: 48px 0;
        min-height: auto;
    }

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

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

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

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

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

    .error-404-actions {
        flex-direction: column;
        margin-bottom: 36px;
    }

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

    .error-404-links__list {
        gap: 16px;
    }
}

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

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

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

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