/* ==========================================================================
   mellow — base styles
   ========================================================================== */

@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-VariableFont_wght.ttf') format('truetype-variations'),
         url('/assets/fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-Italic-VariableFont_wght.ttf') format('truetype-variations'),
         url('/assets/fonts/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

:root {
    --color-teal: #2A9D8F;
    --color-teal-dark: #218074;
    --color-coral: #F4A261;
    --color-coral-dark: #e8903e;
    --color-cream: #FAF3E0;
    --color-charcoal: #333333;
    --color-white: #ffffff;
    --color-border: #e7ddc7;
    --color-muted: #6b6b63;
    --color-teal-tint: #E9F5F3;
    --color-coral-tint: #FDEEE2;

    --font-heading: 'Montserrat', 'Segoe UI', sans-serif;
    --font-body: 'Open Sans', 'Segoe UI', sans-serif;
    --font-script: 'Caveat', cursive;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --shadow-card: 0 4px 16px rgba(51, 51, 51, 0.08);
    --shadow-card-hover: 0 10px 28px rgba(51, 51, 51, 0.14);
    --container-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-charcoal);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

main { display: block; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.6em;
    color: var(--color-charcoal);
}

h1 {font-size: clamp(16px, 3vw, 32px);}
h2 {font-size: clamp(15px, 2.5vw, 28px);}
h3 {font-size: clamp(14px, 2vw, 24px);}

p { margin: 0 0 1em; }

a {
    color: var(--color-teal);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover { color: var(--color-teal-dark); }

img { max-width: 100%; display: block; }

ul { padding-left: 1.25em; }

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Page Loader ---- */
html.is-loading,
html.is-loading body {
    overflow: hidden;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: var(--color-cream);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.page-loader__spinner {
    position: relative;
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-loader__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--color-teal), var(--color-coral), var(--color-teal));
    animation: loaderSpin 1.1s linear infinite;
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 6px));
            mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 6px));
}
.page-loader__icon {
    position: relative;
    z-index: 1;
    width: 46px;
    height: 46px;
    object-fit: contain;
    animation: loaderPulse 1.1s ease-in-out infinite;
}

.page-loader__bar {
    width: 160px;
    height: 4px;
    border-radius: 999px;
    background: rgba(42, 157, 143, 0.15);
    overflow: hidden;
}
.page-loader__bar-fill {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-teal), var(--color-coral));
    animation: loaderFill 1.5s ease-out forwards;
}

.page-loader__text {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-muted);
    letter-spacing: 0.02em;
}

@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}
@keyframes loaderPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
@keyframes loaderFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .page-loader__ring,
    .page-loader__icon,
    .page-loader__bar-fill {
        animation: none;
    }
    .page-loader__bar-fill { width: 100%; }
}

/* ---- Scroll reveal ---- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.product-grid > .reveal:nth-child(1) { transition-delay: 0.03s; }
.product-grid > .reveal:nth-child(2) { transition-delay: 0.09s; }
.product-grid > .reveal:nth-child(3) { transition-delay: 0.15s; }
.product-grid > .reveal:nth-child(4) { transition-delay: 0.21s; }
.product-grid > .reveal:nth-child(5) { transition-delay: 0.27s; }
.product-grid > .reveal:nth-child(6) { transition-delay: 0.33s; }
.product-grid > .reveal:nth-child(7) { transition-delay: 0.39s; }
.product-grid > .reveal:nth-child(8) { transition-delay: 0.45s; }

.steps-grid > .reveal:nth-child(1) { transition-delay: 0s; }
.steps-grid > .reveal:nth-child(2) { transition-delay: 0.12s; }
.steps-grid > .reveal:nth-child(3) { transition-delay: 0.24s; }

.platform-grid > .reveal:nth-child(1) { transition-delay: 0s; }
.platform-grid > .reveal:nth-child(2) { transition-delay: 0.12s; }
.platform-grid > .reveal:nth-child(3) { transition-delay: 0.24s; }
.platform-grid > .reveal:nth-child(4) { transition-delay: 0.36s; }
.platform-grid > .reveal:nth-child(5) { transition-delay: 0.48s; }

.value-grid > .reveal:nth-child(1) { transition-delay: 0s; }
.value-grid > .reveal:nth-child(2) { transition-delay: 0.08s; }
.value-grid > .reveal:nth-child(3) { transition-delay: 0.16s; }
.value-grid > .reveal:nth-child(4) { transition-delay: 0.24s; }

/* Hero content stays hidden under the page loader, then rises in as it
   fades (loader hides at 1.5s + 0.4s fade — see main.js). */
.hero__title-line, .hero__title-script, .hero__subtitle, .hero__trust-row, .hero__cta-row, .hero__visual {
    opacity: 0;
    transform: translateY(16px);
    animation: heroRise 0.7s ease forwards;
}
.hero__title-line { animation-delay: 1.85s; }
.hero__title-script { animation-delay: 1.92s; }
.hero__subtitle { animation-delay: 1.99s; }
.hero__trust-row { animation-delay: 2.06s; }
.hero__cta-row { animation-delay: 2.13s; }
.hero__visual { animation-delay: 1.92s; }

@keyframes heroRise {
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero__title-line, .hero__title-script, .hero__subtitle, .hero__trust-row, .hero__cta-row, .hero__visual {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
    background: var(--color-teal);
    color: var(--color-white);
}
.btn--primary:hover { background: var(--color-teal-dark); color: var(--color-white); }

.btn--secondary {
    background: var(--color-coral);
    color: var(--color-white);
}
.btn--secondary:hover { background: var(--color-coral-dark); color: var(--color-white); }

.btn--ghost {
    background: transparent;
    border-color: var(--color-border);
    color: var(--color-charcoal);
}
.btn--ghost:hover { border-color: var(--color-teal); color: var(--color-teal); }

.btn--danger {
    background: #fff0ee;
    color: #c0392b;
    border-color: #f3c9c2;
}
.btn--danger:hover { background: #c0392b; color: #fff; }

.btn--small { padding: 7px 14px; font-size: 0.85rem; }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---- Badges ---- */
.badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--color-white);
}
.badge--discount {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-coral);
}
.badge--platform {
    display: inline-flex;
    align-items: center;
    background: var(--color-white);
    padding: 6px 12px;
    box-shadow: var(--shadow-card);
}
.badge--platform img { display: block; height: 14px !important; width: auto; }

.platform-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.platform-badge {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--color-white);
    color: var(--color-charcoal);
    box-shadow: var(--shadow-card);
}

/* ---- Header ---- */
.site-header {
    position: fixed;
    width: calc( 100% - 32px );
    top: 16px;
    z-index: 60;
    margin: 0 16px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    box-shadow: 0 8px 24px rgba(51, 51, 51, 0.07);
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.65);
    box-shadow: var(--shadow-card-hover);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .site-header { background: rgba(255, 255, 255, 0.97); }
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
    transition: padding 0.3s ease;
}
.site-header.is-scrolled .site-header__inner {
    padding-top: 9px;
    padding-bottom: 9px;
}
.brand__logo { height: 40px; width: auto; transition: height 0.3s ease; }
.site-header.is-scrolled .brand__logo { height: 32px; }
.brand__logo--footer { height: 36px; margin-bottom: 12px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
    color: var(--color-charcoal);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a.is-active {
    color: var(--color-teal);
    border-bottom-color: var(--color-teal);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-charcoal);
    border-radius: 2px;
}

/* ---- Hero ---- */
.hero {
    background: linear-gradient(180deg, #fff 0%, var(--color-cream) 100%);
    padding: 150px 0 64px;
    overflow: hidden;
}
.hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
}
.hero__content { text-align: left; }

.hero__title { margin: 0 0 18px; }
.hero__title-line {
    display: block;
    color: var(--color-charcoal);
    font-size: clamp(2.1rem, 4.2vw, 3rem);
    line-height: 1.12;
}
.hero__title-script {
    display: block;
    font-family: var(--font-script);
    font-weight: 700;
    color: var(--color-teal);
    font-size: clamp(2.6rem, 5.5vw, 3.75rem);
    line-height: 1;
    margin-top: 4px;
}

.hero__subtitle { font-size: 1.05rem; color: var(--color-muted); margin-bottom: 24px; max-width: 480px; }

.hero__trust-row {
    display: flex;
    gap: 22px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--color-charcoal);
    line-height: 1.3;
}
.hero__trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--color-white);
    box-shadow: var(--shadow-card);
    color: var(--color-teal);
    font-weight: 700;
    flex-shrink: 0;
}

.hero__cta-row { display: flex; align-items: center; gap: 4px; }
.hero__doodle { flex-shrink: 0; transform: translateY(6px); }

.hero__visual {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero__blob {
    position: absolute;
    inset: 10% 8%;
    background: linear-gradient(160deg, rgba(42, 157, 143, 0.18), rgba(244, 162, 97, 0.22));
    border-radius: 63% 37% 54% 46% / 55% 45% 55% 45%;
    animation: blobMorph 10s ease-in-out infinite;
}

.platform-float {
    position: absolute;
    background: var(--color-white);
    color: var(--color-charcoal);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 9px 18px;
    border-radius: 999px;
    box-shadow: var(--shadow-card-hover);
    animation: floatBadge 3.2s ease-in-out infinite;
}
/* Left column (top to bottom): myntra, meesho, snapdeal.
   Right column (top to bottom): amazon, flipkart.
   Discount badge anchors bottom-right, clear of the left column. */
.platform-float--myntra { top: 4%; left: 20%; animation-delay: 0s; }
.platform-float--amazon { top: 4%; right: 15%; animation-delay: 0.3s; }
.platform-float--meesho { top: 50%; left: 0%; animation-delay: 0.6s; }
.platform-float--flipkart { top: 38%; right: 0%; animation-delay: 0.9s; }
.platform-float--snapdeal { bottom: 8%; left: 20%; animation-delay: 1.2s; }

.hero__discount-badge {
    position: absolute;
    bottom: 6%;
    right: 6%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: var(--color-coral);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    box-shadow: var(--shadow-card-hover);
    transform: rotate(-8deg);
    padding: 12px;
}
.hero__discount-badge strong { display: block; font-size: 1.7rem; line-height: 1; margin: 2px 0; }
.hero__discount-badge small { font-size: 0.62rem; font-weight: 600; opacity: 0.9; }

@keyframes blobMorph {
    0%, 100% { border-radius: 63% 37% 54% 46% / 55% 45% 55% 45%; }
    50% { border-radius: 45% 55% 46% 54% / 45% 54% 46% 55%; }
}
@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
    .hero__blob, .platform-float { animation: none; }
}

/* ---- Sections ---- */
.section { padding: 120px 0 56px; }
.section--tight { padding: 28px 0; }
.section--top-tight { padding-top: 0; }
.section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}
.section__head--related { margin-top: 56px; }
.link-arrow { font-family: var(--font-heading); font-weight: 600; white-space: nowrap; }

.category-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.category-chip {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    color: var(--color-charcoal);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 999px;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.category-chip:hover {
    border-color: var(--color-teal);
    color: var(--color-teal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

/* ---- Star rating ---- */
.star-rating {
    position: relative;
    display: inline-block;
    font-size: 1.1rem;
    line-height: 1;
    letter-spacing: 2px;
}
.star-rating__track, .star-rating__fill { display: block; white-space: nowrap; }
.star-rating__track { color: var(--color-border); }
.star-rating__fill {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    color: var(--color-coral);
}
.star-rating__count {
    margin-left: 6px;
    font-size: 0.82rem;
    color: var(--color-muted);
    vertical-align: middle;
}
.product-card__rating { margin: 2px 0; }
.product-card__rating .star-rating { font-size: 0.85rem; }
.product-card__rating .star-rating__count { font-size: 0.72rem; }

/* ---- Product grid & card ---- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.product-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.product-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }

.product-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background: var(--color-cream);
    overflow: hidden;
}
.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-card__media img { transform: scale(1.08); }
.product-card__media .badge--platform {
    position: absolute;
    bottom: 12px;
    left: 12px;
}
.product-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--color-muted);
    font-family: var(--font-heading);
    font-size: 0.85rem;
}

.product-card__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.product-card__category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-muted);
    font-weight: 600;
}
.product-card__title {
    font-size: 1rem;
    margin: 0 0 4px;
    min-height: 2.6em;
}
.product-card__title a { color: var(--color-charcoal); }
.product-card__title a:hover { color: var(--color-teal); }

.product-card__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.price-current { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: var(--color-teal-dark); }
.price-current--lg { font-size: 1.75rem; }
.price-original { font-size: 0.9rem; color: var(--color-muted); text-decoration: line-through; }

.product-card .btn { margin-top: auto; }

/* ---- Filters / listing ---- */
.page-header p { color: var(--color-muted); margin: 0; }

.products-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 36px;
    align-items: start;
}
.filters {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-card);
    position: sticky;
    top: 108px;
}
.filters__form { display: flex; flex-direction: column; gap: 16px; }
.filters__group { display: flex; flex-direction: column; gap: 6px; }
.filters__group label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
}

.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: var(--color-muted);
    background: var(--color-white);
    border-radius: var(--radius-md);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 36px;
    font-family: var(--font-heading);
    font-weight: 600;
}
.pagination__link {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.pagination__link:hover { border-color: var(--color-teal); color: var(--color-teal); transform: translateY(-1px); }
.pagination__status { color: var(--color-muted); font-size: 0.9rem; }

/* ---- Forms (shared) ---- */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"],
input[type="url"], input[type="search"], input[type="file"], select, textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    color: var(--color-charcoal);
    width: 100%;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-teal);
    box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.15);
}
.form-hint { font-size: 0.8rem; color: var(--color-muted); margin: 2px 0 0; }

/* ---- Breadcrumb ---- */
.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--color-muted); }
.breadcrumb a:hover { color: var(--color-teal); }

/* ---- Product detail ---- */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 24px;
}
/* ---- Product gallery (slide carousel + thumbnails) ---- */
.product-gallery { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 120px; height: fit-content; }

.product-gallery__viewport {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    aspect-ratio: 1 / 1;
    touch-action: pan-y;
}
.product-gallery__track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-gallery__slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}
.product-gallery__slide img,
.product-gallery__slide video { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__slide iframe { width: 100%; height: 100%; border: 0; }
.product-gallery__slide .product-card__placeholder { height: 100%; }

.product-gallery__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-card);
    color: var(--color-charcoal);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.product-gallery__arrow:hover { background: var(--color-white); transform: translateY(-50%) scale(1.08); }
.product-gallery__arrow--prev { left: 12px; }
.product-gallery__arrow--next { right: 12px; }

.product-gallery__thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.product-gallery__thumb {
    position: relative;
    width: 64px;
    height: 64px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-white);
    box-shadow: var(--shadow-card);
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s ease;
}
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumb.is-active { border-color: var(--color-teal); }
.product-gallery__thumb-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(51, 51, 51, 0.6);
    color: var(--color-white);
    font-size: 1.1rem;
}

.product-detail__info { display: flex; flex-direction: column; align-items: flex-start; }
.product-detail__info h1 { margin-top: 12px; margin-bottom: 6px;}
.product-detail__info .badge--platform { padding: 8px 16px; }
.product-detail__info .badge--platform img { height: 18px; }
.product-detail__rating { margin-bottom: 10px; }
.product-detail__category { color: var(--color-muted); font-size: 0.9rem; }
.product-detail__price { display: flex; align-items: baseline; gap: 12px; margin: 12px 0 20px; }
.product-detail__info .btn--lg { margin-bottom: 12px; }
.affiliate-note { font-size: 0.85rem; color: var(--color-muted); }
.product-detail__description { margin-top: 24px; border-top: 1px solid var(--color-border); padding-top: 20px; width: 100%; }
.product-detail__description ul { margin: 0 0 1em; padding-left: 0; list-style: none; }
.product-detail__description li { position: relative; padding-left: 1.3em; margin-bottom: 0.5em; }
.product-detail__description li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-teal);
}

.product-detail__banners { width: 100%; display: flex; flex-direction: column; gap: 12px; }
.product-detail__banners img { width: 100%; border-radius: var(--radius-md); box-shadow: var(--shadow-card); }

/* ---- Steps / how it works ---- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.step-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    box-shadow: var(--shadow-card);
}
.step-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-teal);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 14px;
}

/* ---- Shop by platform ---- */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}
.platform-card {
    display: block;
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    box-shadow: var(--shadow-card);
    border-top: 4px solid var(--color-border);
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.platform-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.platform-card h3 { margin-bottom: 4px; color: var(--color-charcoal); }
.platform-card__logo { display: block; height: 30px; width: auto; margin-bottom: 14px; }
.platform-card p { margin: 0; color: var(--color-muted); font-size: 0.9rem; }
.platform-card--amazon { border-top-color: #131921; }
.platform-card--flipkart { border-top-color: #2874f0; }
.platform-card--meesho { border-top-color: #970146; }
.platform-card--myntra { border-top-color: #ff3f6c; }
.platform-card--snapdeal { border-top-color: #e4002b; }

/* ---- Why shop with mellow ---- */
.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.value-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    box-shadow: var(--shadow-card);
}
.value-card__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-coral);
    color: var(--color-white);
    font-weight: 700;
    margin-bottom: 12px;
}
.value-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.value-card p { margin: 0; font-size: 0.9rem; color: var(--color-muted); }

/* ---- Footer ---- */
.site-footer { background: var(--color-charcoal); color: #d8d5cd; margin-top: 56px; }

.footer-divider {
    background: var(--color-white);
    line-height: 0;
    margin-bottom: -1px;
}
.footer-divider svg { display: block; width: 100%; height: 64px; color: var(--color-charcoal); }

.site-footer__inner {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
    gap: 32px;
    padding: 40px 0 32px;
}
.site-footer h4 {
    color: var(--color-white);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
    position: relative;
    padding-bottom: 10px;
}
.site-footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: var(--color-coral);
    border-radius: 999px;
}
.site-footer p { color: #b9b6ae; font-size: 0.9rem; }
.site-footer__links { display: flex; flex-direction: column; }
.site-footer__links a { color: #d8d5cd; padding: 4px 0; font-size: 0.9rem; transition: color 0.2s ease, padding-left 0.2s ease; }
.site-footer__links a:hover { color: var(--color-coral); padding-left: 4px; }
.site-footer__disclosure p { line-height: 1.6; }
.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 16px 0;
}
.site-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.site-footer__bottom p { margin: 0; font-size: 0.82rem; color: #918e86; }
.site-footer__admin-link { font-size: 0.82rem; color: #918e86; transition: color 0.2s ease; }
.site-footer__admin-link:hover { color: var(--color-coral); }

/* ---- Page banner (base, shared by About / Contact / FAQ / Products) ---- */
.page-banner {
    padding-top: 150px;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), 0 100%);
}
.page-banner--teal { background: linear-gradient(160deg, #ffffff 0%, var(--color-teal-tint) 100%); }
.page-banner--coral { background: linear-gradient(160deg, #ffffff 0%, var(--color-coral-tint) 100%); }
.page-banner--dark { background: var(--color-charcoal); }
.page-banner--dark h1, .page-banner--dark .page-banner__desc { color: var(--color-white); }
.page-banner--dark .page-banner__desc { color: #c7c4bc; }

/* For banners using a photo background (set inline via style="background-image:...").
   Charcoal fallback shows if the image fails to load; the gradient keeps text
   readable regardless of how light or busy the photo is. */
.page-banner--photo { position: relative; background-color: var(--color-charcoal); }
.page-banner--photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.72) 100%);
    pointer-events: none;
    z-index: 0;
}
.page-banner--photo .page-banner__grid,
.page-banner--photo .page-banner__center,
.page-banner--photo .page-banner__ribbon {
    position: relative;
    z-index: 1;
}
.page-banner--photo h1, .page-banner--photo .page-banner__desc { color: var(--color-white); }
.page-banner--photo .page-banner__desc { color: #e8e5dd; }
.page-banner--photo .page-banner__script { color: var(--color-coral); }

.page-banner__script {
    display: block;
    font-family: var(--font-script);
    font-weight: 700;
    color: var(--color-teal);
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    line-height: 1;
    margin-bottom: 6px;
}
.page-banner--dark .page-banner__script { color: var(--color-coral); }
.page-banner h1 { margin-bottom: 12px; }
.page-banner__desc { color: var(--color-muted); font-size: 1.02rem; max-width: 480px; }

/* Bottom padding on each layout wrapper must clear the parent's clip-path
   depth (60px, see .page-banner) so the diagonal cut never crosses text. */

/* Split layout: left column of text, right column of a single focal element */
.page-banner__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: center;
    padding-bottom: 72px;
}
.page-banner__content { text-align: left; }
.page-banner__side {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

/* Centered layout (Contact): no side column at all */
.page-banner__center { max-width: 620px; margin: 0 auto; text-align: center; padding-bottom: 72px; }
.page-banner__center .page-banner__desc { margin-left: auto; margin-right: auto; }

/* Full-width ribbon layout (Products) */
.page-banner__ribbon { text-align: center; padding-bottom: 72px; }
.page-banner__ribbon .page-banner__desc { margin-left: auto; margin-right: auto; }
.page-banner__stat-row {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.page-banner__stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.3rem;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 4px;
}
.page-banner__stat span {
    font-size: 0.78rem;
    color: #b9b6ae;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

/* About: solid circular logo panel (no illustration) */
.page-banner__logo-panel {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--color-white);
    box-shadow: var(--shadow-card-hover);
    border: 6px solid rgba(42, 157, 143, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-banner__logo-panel img { width: 52%; height: auto; }

/* About: pill row of value props */
.page-banner__pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.page-banner__pill {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 8px 18px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: var(--shadow-card);
}

/* Contact: method cards row */
.page-banner__card-row { display: flex; gap: 16px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.page-banner__method-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 18px 24px;
    text-align: left;
    min-width: 220px;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.page-banner__method-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.page-banner__method-card strong { display: block; font-family: var(--font-heading); margin-bottom: 2px; }
.page-banner__method-card span { font-size: 0.85rem; color: var(--color-muted); }

/* FAQ: quick-jump nav card in place of an illustration */
.page-banner__nav-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card-hover);
    padding: 24px;
    width: 100%;
    max-width: 280px;
}
.page-banner__nav-card h2 {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-muted);
    margin: 0 0 12px;
}
.page-banner__nav-card a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-charcoal);
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.9rem;
}
.page-banner__nav-card a:last-child { border-bottom: none; }
.page-banner__nav-card a:hover { color: var(--color-teal); }

/* Search box (FAQ) */
.page-banner__search {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 420px;
    margin-top: 22px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 6px 8px 6px 20px;
    box-shadow: var(--shadow-card);
}
.page-banner__search svg { flex-shrink: 0; color: var(--color-muted); }
.page-banner__search input {
    border: none;
    padding: 8px 0;
    font-size: 0.92rem;
}
.page-banner__search input:focus { box-shadow: none; }
.page-banner__search-clear {
    background: var(--color-cream);
    border: none;
    border-radius: 999px;
    padding: 8px 16px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--color-muted);
    cursor: pointer;
    display: none;
}
.faq-no-results { display: none; text-align: center; color: var(--color-muted); padding: 24px; }

/* ---- Legal & long-form content pages ---- */
.legal-page, .content-page { max-width: 820px; margin: 0 auto; }
.legal-page h2, .content-page h2 { margin-top: 1.6em; }
.legal-updated { color: var(--color-muted); font-size: 0.85rem; margin-bottom: 24px; }
.legal-note {
    margin-top: 32px;
    padding: 16px;
    background: var(--color-white);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--color-muted);
}

/* ---- FAQ accordion ---- */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0 20px;
    transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: var(--color-teal); }
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 32px 16px 0;
    font-family: var(--font-heading);
    font-weight: 600;
    position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 2px;
    top: 12px;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--color-teal);
    transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 16px; margin: 0; color: var(--color-muted); }

/* ---- Contact form ---- */
#contact-form, [data-faq-heading] { scroll-margin-top: 100px; }
.contact-form { max-width: 640px; margin-top: 28px; }
.contact-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}
.contact-form__grid .form-group--full { grid-column: 1 / -1; }
.form-group--honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
@media (max-width: 640px) {
    .contact-form__grid { grid-template-columns: 1fr; }
}

/* ---- Alerts ---- */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-bottom: 20px;
}
.alert--success { background: #e6f4ea; color: #1e7e34; }
.alert--error { background: #fdecea; color: #c0392b; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .products-layout { grid-template-columns: 220px 1fr; }
    .site-footer__inner { grid-template-columns: 1fr 1fr; }
    .value-grid { grid-template-columns: repeat(2, 1fr); }
    .platform-grid { grid-template-columns: repeat(3, 1fr); }

    .hero__grid { grid-template-columns: 1fr; }
    .hero__content { text-align: center; }
    .hero__subtitle { margin-left: auto; margin-right: auto; }
    .hero__trust-row, .hero__cta-row { justify-content: center; }
    .hero__visual { min-height: 320px; margin-top: 16px; }

    .page-banner__grid { grid-template-columns: 1fr; padding-bottom: 72px; }
    .page-banner__content { text-align: center; }
    .page-banner__desc { margin-left: auto; margin-right: auto; }
    .page-banner__pill-row, .page-banner__search, .page-banner__stat-row { margin-left: auto; margin-right: auto; justify-content: center; }
    .page-banner__side { min-height: 0; margin-top: 20px; }
}

@media (max-width: 720px) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-card-hover);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .site-nav.is-open { max-height: 300px; }
    .site-nav a { width: 100%; padding: 14px 24px; border-bottom: 1px solid var(--color-border); }
    .site-nav a:last-child { border-bottom: none; }

    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .products-layout { grid-template-columns: 1fr; }
    .filters { position: static; }

    .product-detail { grid-template-columns: 1fr; }
    .product-gallery { position: static; }
    .steps-grid { grid-template-columns: 1fr; }
    .site-footer__inner { grid-template-columns: 1fr; }
    .platform-grid { grid-template-columns: repeat(2, 1fr); }

    .hero__visual { min-height: 300px; }
    .hero__blob { inset: 14% 16%; }
    .platform-float { font-size: 0.75rem; padding: 7px 14px; }
    .hero__discount-badge { width: 88px; height: 88px; }
    .hero__discount-badge strong { font-size: 1.4rem; }
    .site-header__inner{padding: 14px;}
    .breadcrumb{margin-bottom: 8px;}
    :root{
        --radius-lg: 12px;
    }
    .product-detail{gap:24px;}
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .hero { padding: 44px 0 36px; }
    .section { padding: 100px 0 40px; }
    .value-grid { grid-template-columns: 1fr; }
    .platform-grid { grid-template-columns: 1fr; }

    .hero__trust-row { gap: 14px; }
    .hero__visual { min-height: 260px; }
    .platform-float { font-size: 0.7rem; padding: 6px 12px; }
    .hero__discount-badge { width: 76px; height: 76px; bottom: 3%; right: 3%; padding: 8px; }
    .hero__discount-badge strong { font-size: 1.2rem; margin: 0; }
    .hero__discount-badge small { font-size: 0.56rem; }

    .page-banner__logo-panel { width: 150px; height: 150px; }
    .page-banner__stat-row { gap: 28px; }
    .page-banner__stat strong { font-size: 1.9rem; }
}
