/* Hero Slider */
.hero {
    position: relative;
    height: 100dvh;
    /* Dynamic viewport height for mobile stability */
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #000;
    color: #fff;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-bg img.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-text-wrapper {
    max-width: 40rem;
    animation: fadeInUp 1s ease-out;
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.hero-text-wrapper.fade-out {
    opacity: 0;
    transform: translateY(10px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.hero-btn {
    background: #fff;
    color: #000;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    margin-top: 2rem;
}

.hero-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
}

/* Slider Controls */
.hero-pagination {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    z-index: 20;
    display: flex;
    gap: 1rem;
}

.progress-btn {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
}

.progress-btn svg {
    position: absolute;
    inset: 0;
    transform: rotate(-90deg);
}

.progress-btn .foreground {
    stroke-dasharray: 126;
    /* 2 * PI * 20 */
    stroke-dashoffset: 126;
    /* Hide all inactive foreground rings */
}

.progress-active {
    color: #fff;
}

.progress-active .foreground {
    animation: fillProgress 5s linear forwards;
}

@keyframes fillProgress {
    from {
        stroke-dashoffset: 126;
    }

    to {
        stroke-dashoffset: 0;
    }
}

@keyframes circle-progress {
    from {
        stroke-dashoffset: 126;
    }

    to {
        stroke-dashoffset: 0;
    }
}

.progress-active circle.foreground {
    stroke-dasharray: 126;
    stroke-dashoffset: 126;
    animation: circle-progress 5s linear forwards;
}

/* Products Grid */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--on-surface-variant);
    margin-top: 0.5rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.product-card {
    cursor: pointer;
    position: relative;
    background: #fff;
    border-radius: 1.25rem;
    transition: all 0.4s ease;
}

.product-image-wrapper {
    position: relative;
    aspect-ratio: 1/1;
    background: #f8f8f8;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    margin-bottom: 1.25rem;
    overflow: hidden;
    transition: all 0.5s ease;
}

.product-card:hover .product-image-wrapper {
    background: #f0f0f0;
    transform: translateY(-5px);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #1a1c1d;
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 5;
}

.product-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover img {
    transform: scale(1.08);
}

.product-info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.product-name {
    font-weight: 800;
    font-size: 1.15rem;
    line-height: 1.3;
    color: #1a1c1d;
    flex: 1;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #4a4d50;
}

.product-rating .star-icon {
    color: #ffb800;
    font-size: 1.1rem;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 500;
    color: #6c7278;
    margin-bottom: 1rem;
}

.product-swatches {
    display: flex;
    gap: 0.5rem;
}

.swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #e2e4e6;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.swatch:hover {
    transform: scale(1.15);
}

.swatch.active {
    box-shadow: 0 0 0 2px #1a1c1d;
}

/* Categories Section */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    height: auto;
}

@media (min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(12, 1fr);
        min-height: 700px;
    }
}

.category-large {
    grid-column: span 12;
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .category-large {
        grid-column: span 8;
    }
}

.category-sm-stack {
    grid-column: span 12;
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .category-sm-stack {
        grid-column: span 4;
    }
}

.category-card {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 1rem;
    cursor: pointer;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: #fff;
    transition: background 0.5s ease;
}

.category-card:hover .category-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.category-title-lg {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.category-btn {
    width: fit-content;
    border-bottom: 1px solid #fff;
    padding-bottom: 4px;
    font-weight: 600;
}

/* Advanced Flash Sale section */
.flash-sale {
    position: relative;
    padding: 4rem 0;
    background: #0a0a0a;
    color: #fff;
    overflow: clip;
    /* Strict container for decorative glows */
}

@media (min-width: 1024px) {
    .flash-sale {
        padding: 8rem 0;
    }
}

.flash-sale::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -250px;
    /* Fixed value to keep it off-canvas but clipped */
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.15) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.flash-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
    text-align: center;
}

@media (min-width: 1024px) {
    .flash-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        text-align: left;
    }
}

.flash-info {
    max-width: 540px;
}

.flash-badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #facc15;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.flash-title-lg {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.flash-title-lg span {
    background: linear-gradient(135deg, #fef08a 0%, #facc15 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.flash-subtitle-light {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 3rem;
}

/* Glassmorphism Timer */
.advanced-timer {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    justify-content: center;
}

@media (min-width: 1024px) {
    .advanced-timer {
        gap: 1.5rem;
        margin-bottom: 3.5rem;
        justify-content: flex-start;
    }
}

.timer-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 1rem;
    min-width: 75px;
    text-align: center;
    transition: transform 0.3s ease;
}

@media (min-width: 1024px) {
    .timer-box {
        padding: 1.5rem;
        border-radius: 1.25rem;
        min-width: 90px;
    }
}

.timer-num {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.25rem;
}

@media (min-width: 1024px) {
    .timer-num {
        font-size: 2.25rem;
        margin-bottom: 0.5rem;
    }
}


.timer-txt {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
}

/* Progress Bar */
.stock-status {
    margin-bottom: 4rem;
}

.stock-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.stock-urgent {
    color: #f87171;
    animation: textPulse 2s infinite;
}

@keyframes textPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.stock-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.stock-progress {
    height: 100%;
    width: 65%;
    background: linear-gradient(to right, #facc15, #f87171);
    border-radius: var(--radius-full);
    position: relative;
}

.stock-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: barShine 3s infinite;
}

@keyframes barShine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Hero Image Side */
.flash-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    order: -1;
}

@media (min-width: 1024px) {
    .flash-visual {
        order: 1;
    }
}


.flash-bg-glow {
    position: absolute;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.1) 0%, transparent 60%);
    z-index: 0;
}

.flash-hero-img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 600px;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
    animation: floatLaptop 6s ease-in-out infinite;
}

@keyframes floatLaptop {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

.flash-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #facc15;
    color: #000;
    padding: 1.25rem 3rem;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px -5px rgba(250, 204, 21, 0.3);
}

.flash-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 30px -10px rgba(250, 204, 21, 0.4);
    background: #fff;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 4rem 0;
}

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

.feature-item {
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.875rem;
    color: var(--on-surface-variant);
    max-width: 180px;
    margin: 0 auto;
}

/* Testimonials Redesign */
.testimonial-section {
    background-color: #ffffff;
    padding: 2rem 0;
}

.testimonial-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.testimonial-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 700;
    color: #4b5563;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.score-stars,
.card-stars {
    display: flex;
    gap: 2px;
}

.score-stars .material-symbols-outlined,
.card-stars .material-symbols-outlined {
    font-size: 1.25rem;
    color: #FFB800;
    /* Gold */
    font-variation-settings: 'FILL' 1;
}

.testimonial-main-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.testimonial-subtitle {
    color: #6b7280;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.25rem;
    padding: 0.5rem 0.25rem 2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.testimonial-grid::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

@media (min-width: 1024px) {
    .testimonial-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        overflow-x: visible;
        padding: 0;
    }
}

.testimonial-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    background: #ffffff;
    border: 1px solid #f0f0f2;
    padding: 2rem;
    border-radius: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
}

@media (min-width: 1024px) {
    .testimonial-card {
        flex: none;
        padding: 2.5rem;
    }
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

.card-stars {
    margin-bottom: 1.5rem;
}

.card-quote-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.card-text {
    color: #4b5563;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.card-image {
    width: 65%;
    margin-bottom: 2rem;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

.card-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f3f4f6;
}

.footer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-info {
    display: flex;
    flex-direction: column;
}

.footer-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #111827;
}

.verified-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #0ea5e9;
    /* Light Blue */
    font-size: 0.8rem;
    font-weight: 600;
}

.verified-badge .material-symbols-outlined {
    font-size: 0.9rem;
    font-variation-settings: 'FILL' 1;
}

/* Testimonial Stats Counters */
.testimonial-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 6rem;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .testimonial-stats {
        gap: 8vw;
    }
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #3b69ed;
    /* Exact matching blue */
    line-height: 1;
    letter-spacing: -0.03em;
}

.stat-label {
    font-size: 1.15rem;
    font-weight: 600;
    color: #111827;
}


/* Newsletter Section Fix */
.newsletter-section {
    width: 100%;
    padding: 5rem 0;
    background-color: #fff;
    /* White bg so the card floats on it */
}

/* The actual centering wrapper — this is what was missing */
.newsletter-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
    /* tighter on mobile */
}

@media (min-width: 768px) {
    .newsletter-wrapper {
        padding: 0 2rem;
    }
}

.newsletter-card {
    display: flex;
    flex-direction: column;
    background-color: #F7F7F7;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    font-family: 'Figtree', sans-serif;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
    .newsletter-card {
        flex-direction: row;
        min-height: 390px;
        align-items: stretch;
    }
}

.newsletter-image {
    position: relative;
    flex: 1;
    min-height: 300px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .newsletter-image {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.newsletter-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Specific position fix for the woman in the reference/Unsplash images */
.woman-coffee-alt {
    object-position: center !important;
}

.newsletter-body {
    flex: 1;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    color: #13131D;
    /* Precise color from reference */
}

@media (min-width: 768px) {
    .newsletter-body {
        padding: 4rem 5rem;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.newsletter-icon {
    margin-bottom: 1.5rem;
}

.newsletter-icon svg {
    width: 40px;
    height: 40px;
    stroke: #13131D;
}

.newsletter-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #13131D;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.highlight-discount {
    position: relative;
    display: inline-block;
    padding: 0 6px;
    z-index: 1;
}

.highlight-discount::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 55%;
    background-color: #d1fae5;
    /* Soft emerald/green highlight */
    z-index: -1;
    border-radius: 3px;
}

.newsletter-desc {
    font-size: 1rem;
    /* 16px Figtree from reference */
    color: rgba(19, 19, 29, 0.82);
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.newsletter-form-inline {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(19, 19, 29, 0.15);
    border-radius: 10px;
    padding: 5px;
    width: 100%;
    transition: box-shadow 0.3s ease;
}

.newsletter-form-inline:focus-within {
    box-shadow: 0 0 0 3px rgba(59, 109, 245, 0.1);
}

.newsletter-email {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 15px;
    font-size: 1rem;
    outline: none;
    color: #13131D;
    min-width: 0;
}

.newsletter-submit {
    background-color: #3b6df5;
    color: #fff;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: background 0.2s ease;
}

.newsletter-submit:hover {
    background-color: #2554d4;
}

@media (max-width: 415px) {
    .newsletter-form-inline {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        gap: 12px;
    }

    .newsletter-email {
        background: #fff;
        border: 1px solid rgba(19, 19, 29, 0.15);
        border-radius: 10px;
        width: 100%;
        padding: 14px 15px;
    }

    .newsletter-submit {
        width: 100%;
        border-radius: 50px;
        /* Pill shape */
        padding: 14px;
        font-size: 1rem;
    }
}

/* Newsletter Benefits Bar */
.newsletter-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 cols on mobile */
    gap: 2.5rem 1.5rem;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

@media (min-width: 768px) {
    .newsletter-benefits {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
        margin-top: 4rem;
        padding-top: 3rem;
    }
}

/* Mobile: icon stacked above text, centered */
.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
}

/* Desktop: icon left of text, row layout */
@media (min-width: 768px) {
    .benefit-item {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 1rem;
    }
}

.benefit-icon {
    width: 52px;
    height: 52px;
    background-color: #f0f7f0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .benefit-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }
}

.benefit-icon .material-symbols-outlined {
    font-size: 26px;
    color: #6aa84f;
    /* green from screenshot */
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

.benefit-content {
    display: flex;
    flex-direction: column;
}

.benefit-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #13131D;
    margin-bottom: 0.2rem;
    line-height: 1.3;
}

.benefit-desc {
    display: block;
    font-size: 0.8rem;
    color: rgba(19, 19, 29, 0.55);
    line-height: 1.4;
}

/* Promo Marquee Section */
.promo-marquee {
    background: linear-gradient(90deg, #b071eb 0%, #7cb3ec 100%);
    overflow: hidden;
    padding: 1.2rem 0;
    color: #fff;
    display: flex;
    align-items: center;
}

.promo-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
}

.promo-track {
    display: inline-flex;
    white-space: nowrap;
    align-items: center;
    animation: marquee-scroll 40s linear infinite;
    will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
    .promo-track:hover {
        animation-play-state: paused;
    }
}

.promo-content {
    display: inline-flex;
    align-items: center;
    gap: 3rem;
    padding-right: 3rem;
    /* Spacing between loop sets */
}

.promo-bold {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.promo-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    color: #fff;
    font-size: 0.75em;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.3s ease, color 0.3s ease;
}

.promo-btn:hover {
    background: #fff;
    color: #b071eb;
    /* Pulls the brand purple on hover */
}

.promo-reg {
    font-size: 1.2rem;
    font-weight: 500;
}

.promo-stock {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.promo-stock-num {
    font-size: 2.8rem;
    font-weight: 300;
    letter-spacing: -0.02em;
}

.promo-stock-text {
    font-size: 0.65em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.2rem;
    opacity: 0.9;
}

/* Categories Nav Grid */
.categories-nav {
    background-color: #f4f4f5;
    /* Light grey background to contrast the white cards */
    padding: 2rem 0;
}

.categories-nav-grid {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 0.5rem 1.5rem 2rem;
    scroll-snap-type: x mandatory;
    scroll-padding: 1.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: flex-start;
}

.categories-nav-grid::-webkit-scrollbar {
    display: none;
}

@media (min-width: 1024px) {
    .categories-nav-grid {
        justify-content: flex-start;
        gap: 1.5rem;
        padding-left: 0;
        padding-right: 0;
    }
}

/* Alignment fix for categories nav */
.categories-nav-grid {
    padding-left: 30px;
    padding-right: 0;
}

.cat-nav-item {
    margin: 0;
}


/* Category Card */
.cat-nav-item {
    position: relative;
    display: block;
    width: clamp(160px, 18vw, 230px);
    aspect-ratio: 9 / 10;
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    scroll-snap-align: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

/* .cat-nav-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
} */

/* Product Image */
.cat-nav-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2.5rem;
    /* Keeps the product centered and padded from edges */
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    mix-blend-mode: multiply;
    /* Removes white backgrounds from product images */
}

/* Special styling for Collaborations Card */
.cat-collab .cat-nav-img {
    padding: 0;
    object-fit: cover;
    mix-blend-mode: normal;
}

/* Dark gradient overlay for Collaborations so the white text pops */
.cat-collab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    pointer-events: none;
}

.cat-nav-item:hover .cat-nav-img {
    transform: scale(1.08);
    /* slight smooth zoom on hover */
}

/* Bottom-left label */
.cat-nav-label {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #111;
    margin: 0;
    z-index: 2;
    /* Sit above the image and gradient */
}

.cat-collab .cat-nav-label {
    color: #fff;
}

/* Product Slider Pattern */
.product-slider-wrapper {
    margin-top: -1rem;
}

.product-slider {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 1rem 1.5rem 3rem;
    scroll-snap-type: x mandatory;
    scroll-padding: 1.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product-slider::-webkit-scrollbar {
    display: none;
}

.product-slider .product-card {
    min-width: 260px;
    /* Optimal width for mobile peek */
    flex-shrink: 0;
    scroll-snap-align: start;
}

@media (min-width: 1024px) {
    .product-slider {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        overflow-x: visible;
        padding: 0;
        gap: 2rem;
    }

    .product-slider .product-card {
        min-width: 0;
    }

    .product-slider-wrapper {
        max-width: var(--max-width);
        margin: 0 auto;
        padding: 0 1.5rem;
    }
}

/* Slider Navigation Buttons */
.slider-wrapper {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 10;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    color: #1a1c1d;
}

.slider-nav-btn:hover {
    background: #f9fafb;
    transform: translateY(-50%) scale(1.05);
}

.slider-nav-btn.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.slider-nav-left {
    left: 1rem;
}

.slider-nav-right {
    right: 1rem;
}

@media (min-width: 1024px) {
    .slider-wrapper {
        padding: 0 1.5rem;
    }

    .slider-nav-left {
        left: -1rem;
    }

    .slider-nav-right {
        right: -1rem;
    }
}



/* 5-Column Grid Support for Product Sliders */
@media (min-width: 1024px) {
    .grid-5-cols {
        grid-template-columns: repeat(5, 1fr) !important;
    }
}

/* ========================
   FAQ SECTION
   ======================== */

.faq-section {
    padding: 4rem 0;
    background-color: #fff;
}

/* Two-column layout */
.faq-container {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
}

/* ---- Left column ---- */
.faq-heading {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: #111;
    margin-bottom: 1.25rem;
}

.faq-subtext {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.faq-link {
    color: #e07b3c;
    text-decoration: none;
}

.faq-link:hover {
    text-decoration: underline;
}

/* Stacked overlapping avatars */
.faq-avatars {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.faq-avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -10px;
    object-fit: cover;
}

.faq-avatars .faq-avatar-img:first-child {
    margin-left: 0;
}

/* Wrapper for last avatar + green online dot */
.faq-avatar-online {
    position: relative;
    display: inline-flex;
    margin-left: -10px;
}

.faq-online-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid #fff;
}

.faq-support-line {
    font-size: 0.8rem;
    color: #777;
    line-height: 1.7;
}

.faq-support-line strong {
    color: #333;
}

/* ---- Right column: Accordion ---- */
.faq-right {
    background: #f4f4f5;
    border-radius: 16px;
    padding: 1rem 2rem;
    /* Give the grey box breathing room from the text/dividers */
}

.faq-accordion {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
}

.faq-item:last-child {
    border-bottom: none;
}

/* Accordion button — default light state */
.faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 0;
    /* Removing horizontal padding so it aligns flush left */
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
    transition: none;
    font-family: inherit;
}

/* Hover → only the chevron bubble goes black */
.faq-btn:hover .faq-icon {
    background: #111;
    color: #fff;
    border-radius: 50%;
}

/* When accordion is open — only chevron bubble is black, row stays light */
.faq-btn[aria-expanded="true"] .faq-icon {
    background: #111;
    color: #fff;
    border-radius: 50%;
    transform: rotate(180deg);
}

/* Chevron icon — sits in a soft grey pill by default, blacks out on hover/open */
.faq-icon {
    font-size: 1.1rem;
    color: #555;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e5e5ea;
    transition: transform 0.3s ease, background 0.2s ease, color 0.2s ease;
}

/* Collapsible answer panel */
.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.35s ease;
    padding: 0;
    background: transparent;
    opacity: 0;
}

.faq-panel.is-open {
    max-height: 200px;
    padding: 0 0 1.5rem 0;
    opacity: 1;
}

.faq-panel p {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.65;
    margin: 0;
}

/* ---- Mobile responsive ---- */
@media (max-width: 768px) {
    .faq-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .faq-heading {
        font-size: 1.75rem;
    }
}

/* ========================
   MARQUEE SECTION
   ======================== */

/* Wrapper: ONLY element with overflow:hidden — no scrollbars possible */
.marquee-wrapper {
    width: 100%;
    overflow: clip;
    padding: 2.5rem 0;
    box-sizing: border-box;
    position: relative;
}

/* Track: two identical content sets side-by-side — animation lives here */
.marquee-track {
    display: -webkit-inline-flex;
    /* Safari compat */
    display: inline-flex;
    white-space: nowrap;
    /* 
     * CRITICAL FIX: Do NOT use prefers-reduced-motion to kill this animation.
     * Many OS/Chrome profiles have this ON by default which silently breaks it.
     * Instead we keep it running always and use will-change for GPU acceleration.
     */
    -webkit-animation: marquee-scroll 25s linear infinite;
    animation: marquee-scroll 25s linear infinite;
    will-change: transform;
}

/* Pause on hover (desktop only — touch devices have no hover state) */
@media (hover: hover) {
    .marquee-wrapper:hover .marquee-track {
        -webkit-animation-play-state: paused;
        animation-play-state: paused;
    }
}

/* Each content set fills half the track */
.marquee-content {
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    gap: 2.5rem;
    padding-right: 2.5rem;
    /* Must match gap exactly — this is what makes the loop seamless */
}

/* Text — with solid color fallback for older/mobile browsers */
.marquee-text {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    /* Fallback color — shows if gradient text is unsupported */
    color: rgba(100, 107, 75, 1);
    /* Gradient text (supported everywhere modern) */
    background: linear-gradient(90deg, rgba(77, 82, 60, 1) 0%, rgba(133, 141, 103, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Separator */
.marquee-sep {
    font-size: clamp(0.75rem, 2vw, 1.5rem);
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    opacity: 0.45;
    color: rgba(100, 107, 75, 1);
    background: linear-gradient(90deg, rgba(77, 82, 60, 1) 0%, rgba(133, 141, 103, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Keyframe: moves exactly -50% (= one full content set width) */
@-webkit-keyframes marquee-scroll {
    from {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    to {
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}

/* Showcase Grid Section */
.bg-surface-container-low {
    background-color: var(--surface-container-low);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 1.5rem;
}

.showcase-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    background: #000;
}

.showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    opacity: 0.9;
}

.showcase-card:hover .showcase-img {
    transform: scale(1.05);
    opacity: 1;
}

.showcase-content {
    position: absolute;
    inset: 0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    pointer-events: none;
}

.showcase-subtitle {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.showcase-title {
    font-size: clamp(1.25rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.showcase-brand {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    pointer-events: none;
    white-space: nowrap;
}

/* Card Sizes */
.card-large {
    grid-column: span 2;
    grid-row: span 2;
}

.card-small {
    grid-column: span 1;
}

.card-wide {
    grid-column: span 2;
}

/* Responsive Grid Optimization */
@media (max-width: 1200px) {
    .showcase-grid {
        grid-auto-rows: 250px;
        gap: 1rem;
    }
}

@media (max-width: 900px) {
    .showcase-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 180px;
        gap: 0.75rem;
    }

    .showcase-content {
        padding: 1.25rem;
    }

    .showcase-title {
        font-size: 1.25rem;
    }

    .showcase-subtitle {
        font-size: 0.625rem;
    }
}

/* Mobile Specific Optimized Layout (<700px) */
@media (max-width: 700px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 140px;
        /* Base row height for mobile */
        gap: 0.5rem;
        /* Tight gaps like screenshot */
    }

    .showcase-content {
        padding: 1rem;
    }

    /* Top Large Card - Centered Text per screenshot */
    .card-large {
        grid-column: span 2;
        grid-row: span 2;
        /* Still taller than others */
    }

    .card-large .showcase-content {
        justify-content: center;
        align-items: center;
        text-align: center;
        background: radial-gradient(circle, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
    }

    .card-large .showcase-subtitle {
        display: none;
        /* Hidden in mobile screenshot */
    }

    .card-large .showcase-title {
        font-size: 1.5rem;
    }

    /* Small Cards - Side by Side */
    .card-small {
        grid-column: span 1;
        grid-row: span 1;
    }

    .card-small .showcase-title {
        font-size: 1rem;
    }

    /* Bottom Wide Card */
    .card-wide {
        grid-column: span 2;
        grid-row: span 1;
    }

    .card-wide .showcase-title {
        font-size: 1.25rem;
    }
}

/* Very small screens polish */
@media (max-width: 400px) {
    .showcase-grid {
        grid-auto-rows: 120px;
    }

    .card-large .showcase-title {
        font-size: 1.25rem;
    }
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}