/* ── 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: var(--max-width);
    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 ── */
.err404 {
    padding: clamp(72px, 13vh, 140px) 0;
    text-align: center;
}

.err404__inner {
    max-width: 560px;
    margin: 0 auto;
}

.err404__code {
    font-family: var(--font-display);
    font-size: clamp(96px, 18vw, 160px);
    font-weight: 700;
    line-height: 0.85;
    letter-spacing: -0.05em;
    color: var(--brand-dark);
    margin-bottom: 24px;
}

.err404__title {
    font-family: var(--font-display);
    font-size: clamp(24px, 3.6vw, 32px);
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0 0 14px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.err404__text {
    max-width: 440px;
    margin: 0 auto 32px;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--brand-muted);
}

/* Search */
.err404__search {
    max-width: 440px;
    margin: 0 auto 28px;
}

.err404__search .search-form {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.err404__search .search-field-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.err404__search .search-field-icon {
    position: absolute;
    left: 18px;
    color: var(--brand-text-muted);
    pointer-events: none;
}

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

.err404__search .search-field::placeholder {
    color: var(--brand-text-muted);
}

.err404__search .search-field:focus {
    outline: none;
    border-color: var(--brand-sky);
    box-shadow: 0 0 0 3px rgba(0, 114, 255, 0.12);
}

.err404__search .search-submit {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: var(--brand-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.err404__search .search-submit:hover {
    background: #000;
    transform: scale(1.05);
}

/* Action buttons */
.err404__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.err404__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.err404__btn--primary {
    background: var(--brand-dark);
    color: #fff;
    border: 1px solid var(--brand-dark);
    box-shadow: 0 10px 26px rgba(28, 28, 28, 0.18);
}

.err404__btn--primary:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

.err404__btn--ghost {
    background: transparent;
    color: var(--brand-dark);
    border: 1px solid var(--brand-border);
}

.err404__btn--ghost:hover {
    border-color: var(--brand-dark);
    color: var(--brand-dark);
    transform: translateY(-2px);
}

/* 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);
    }

.err404__code {
        font-size: 160px;
    }
}

@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) {
    .err404__actions {
        flex-direction: column;
    }

    .err404__btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .err404__code {
        font-size: 88px;
    }

    .err404__title {
        font-size: 22px;
    }
}
