/*
 * Zelzo storefront design layer.
 * Loaded after the older stylesheets; owns the top bar, header, navigation, footer,
 * homepage sections and the shared product card (x-frontend.product-card).
 */

:root {
    --zl-navy: #0a1633;
    --zl-navy-2: #0f2257;
    --zl-blue: #0060f6;
    --zl-blue-2: #3d8bff;
    --zl-ink: #0f172a;
    --zl-text: #334155;
    --zl-muted: #64748b;
    --zl-line: #e5eaf2;
    --zl-soft: #f4f7fc;
    --zl-soft-blue: #eef4ff;
    --zl-star: #f5a524;
    --zl-sale: #ef4444;
    --zl-success: #15803d;
    --zl-radius: 14px;
    --zl-radius-lg: 20px;
    --zl-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .12);
    --zl-shadow-lg: 0 24px 48px -20px rgba(10, 22, 51, .35);
    --zl-display: 'Inter', 'Noto Sans Devanagari', -apple-system, Helvetica, Arial, sans-serif;
}

body { color: var(--zl-text); }
.zl-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ───────────────────────── Buttons & bits ───────────────────────── */

.zl-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .8rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
    font-weight: 600; font-size: .95rem; line-height: 1; text-decoration: none; cursor: pointer;
    transition: transform .15s, box-shadow .15s, background-color .15s, color .15s;
}
.zl-btn:hover { transform: translateY(-1px); }
.zl-btn--primary { background: var(--zl-blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 96, 246, .7); }
.zl-btn--primary:hover { background: #0050d0; color: #fff; }
.zl-btn--light { background: #fff; color: var(--zl-ink); }
.zl-btn--light:hover { color: var(--zl-blue); }
.zl-btn--dark { background: var(--zl-navy); color: #fff; }
.zl-btn--dark:hover { background: var(--zl-navy-2); color: #fff; }
.zl-btn--ghost { background: transparent; color: var(--zl-ink); border-color: var(--zl-line); }
.zl-btn--ghost:hover { border-color: var(--zl-blue); color: var(--zl-blue); }
.zl-btn--sm { padding: .55rem 1rem; font-size: .85rem; }

.zl-section { padding: 56px 0; }
.zl-section--tight { padding: 32px 0; }
.zl-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 24px; }
.zl-section__title { font-family: var(--zl-display); font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 700; color: var(--zl-ink); margin: 0; letter-spacing: -.02em; }
.zl-section__sub { color: var(--zl-muted); margin: .25rem 0 0; }
.zl-link { color: var(--zl-blue); font-weight: 600; font-size: .9rem; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.zl-link:hover { gap: .55rem; }

/* ───────────────────────── Top bar ───────────────────────── */

.top-bar.zl-topbar { background: linear-gradient(90deg, #0050d0, #0060f6 45%, #2f7bff); color: #fff; font-size: .82rem; padding: 0; }
.zl-topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.zl-topbar__promo { display: flex; align-items: center; gap: .5rem; margin: 0 auto; font-weight: 500; }
.zl-topbar__promo strong { background: rgba(255, 255, 255, .18); padding: .1rem .5rem; border-radius: 6px; letter-spacing: .04em; }
.zl-topbar__side { display: flex; align-items: center; gap: .4rem; white-space: nowrap; opacity: .95; }
.zl-topbar__side a { color: #fff; text-decoration: none; }

/* ───────────────────────── Header ───────────────────────── */

.header { background: var(--zl-navy) !important; border: 0 !important; }
.header .header__wrapper { min-height: 76px; gap: 28px; }
.header .logo__text { display: none; }
.zl-logo { display: inline-flex; align-items: baseline; gap: .35rem; color: #fff; text-decoration: none; line-height: 1; }
.zl-logo__mark { font-family: var(--zl-display); font-weight: 800; font-size: 1.85rem; letter-spacing: -.04em; }
.zl-logo__sub { font-family: var(--zl-display); font-weight: 300; font-size: 1.35rem; letter-spacing: -.01em; }
.header .search-bar { background: #fff; border-radius: 999px; border: 2px solid transparent; height: 48px; }
.header .search-bar:focus-within { border-color: var(--zl-blue-2); box-shadow: 0 0 0 4px rgba(61, 139, 255, .25); }
.header .search-bar__input { font-size: .95rem; }
.header .search-bar__btn { background: var(--zl-blue) !important; color: #fff !important; border-radius: 999px !important; width: 40px; height: 40px; margin-right: 4px; }
.header .header-action, .header .header-action__label, .header .header-action__value, .header .header-action__icon { color: #fff !important; }
.header .header-action__label { opacity: .7; font-size: .72rem; }
.header .header-action__value { font-weight: 600; font-size: .85rem; }
.header .header-action__icon { font-size: 1.35rem; }
.header .header-action__badge { background: var(--zl-sale) !important; color: #fff !important; border: 2px solid var(--zl-navy); }
.header .mobile-menu-toggle span { background: #fff !important; }
/* Wraps the account link / menu so the sign-in popup can swap it; lays out as if it weren't there */
.header .header-account { display: contents; }

/* ───────────────────────── Navigation ───────────────────────── */

.main-nav.zl-nav { background: #fff; border-bottom: 1px solid var(--zl-line); box-shadow: 0 1px 0 rgba(15, 23, 42, .02); }
.zl-nav .main-nav__wrapper { min-height: 56px; }
.zl-nav .category-dropdown__toggle {
    background: var(--zl-blue); color: #fff; border-radius: 10px; padding: .55rem 1rem; gap: .55rem; font-weight: 600; font-size: .9rem;
}
.zl-nav .category-dropdown__toggle i { color: #fff; }
.zl-nav .nav-menu__link { font-weight: 500; color: var(--zl-ink); font-size: .92rem; }
.zl-nav .nav-menu__link:hover, .zl-nav .nav-menu__link.active { color: var(--zl-blue); }
.zl-nav__badge { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--zl-sale); color: #fff; font-size: .7rem; font-weight: 700; margin-left: .35rem; }
.zl-nav__aside { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.zl-nav__aside a { display: inline-flex; align-items: center; gap: .4rem; color: var(--zl-text); text-decoration: none; font-size: .88rem; font-weight: 500; white-space: nowrap; }
.zl-nav__aside a:hover { color: var(--zl-blue); }
@media (max-width: 1199.98px) { .zl-nav__aside a + a { display: none; } }

/* ───────────────────────── Hero ───────────────────────── */

.zl-hero { position: relative; background: radial-gradient(1200px 600px at 85% 30%, #1f4fd1 0%, transparent 60%), linear-gradient(120deg, #06102b 0%, #0a1d55 55%, #0d2f8a 100%); color: #fff; overflow: hidden; }
.zl-hero::after { content: ''; position: absolute; inset: auto -10% -40% auto; width: 60%; height: 90%; background: radial-gradient(closest-side, rgba(61, 139, 255, .35), transparent); pointer-events: none; }
.zl-hero .swiper { position: relative; z-index: 1; }
.zl-hero__slide { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 32px; min-height: 460px; padding-block: 48px 64px; }
.zl-hero__kicker { font-family: var(--zl-display); font-weight: 600; font-size: .95rem; opacity: .9; margin-bottom: 14px; display: block; }
.zl-hero__title { font-family: var(--zl-display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 18px; color: #fff; }
.zl-hero__title span { background: linear-gradient(90deg, #4f9bff, #9cc5ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.zl-hero__text { font-size: 1.1rem; opacity: .85; max-width: 30rem; margin: 0 0 28px; line-height: 1.55; }
.zl-hero__points { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; font-size: .82rem; opacity: .85; }
.zl-hero__points span { display: inline-flex; align-items: center; gap: .5rem; }
.zl-hero__points i { font-size: 1.15rem; }
.zl-hero__visual { position: relative; display: grid; place-items: center; min-height: 340px; }
.zl-hero__visual img { position: relative; z-index: 1; max-width: 100%; max-height: 380px; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.zl-hero__visual--banner img { max-height: 420px; border-radius: var(--zl-radius-lg); filter: none; box-shadow: var(--zl-shadow-lg); object-fit: cover; width: 100%; }
.zl-hero__ring { position: absolute; width: min(420px, 90%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .22), rgba(255, 255, 255, .02) 60%); border: 1px solid rgba(255, 255, 255, .12); }
.zl-hero__tag { position: absolute; right: 4%; top: 12%; z-index: 2; font-family: var(--zl-display); font-style: italic; font-size: 1.4rem; line-height: 1.15; transform: rotate(-8deg); opacity: .9; text-align: right; }
.zl-hero__price { position: absolute; left: 6%; bottom: 10%; z-index: 2; background: rgba(255, 255, 255, .95); color: var(--zl-ink); border-radius: 14px; padding: .7rem 1rem; box-shadow: var(--zl-shadow-lg); font-size: .8rem; }
.zl-hero__price strong { display: block; font-family: var(--zl-display); font-size: 1.2rem; color: var(--zl-blue); }
.zl-hero .swiper-pagination { bottom: 22px !important; }
.zl-hero .swiper-pagination-bullet { background: #fff; opacity: .4; width: 8px; height: 8px; }
.zl-hero .swiper-pagination-bullet-active { opacity: 1; width: 22px; border-radius: 4px; }
.zl-hero__nav { position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); color: #fff; cursor: pointer; transform: translateY(-50%); }
.zl-hero__nav:hover { background: rgba(255, 255, 255, .25); }
.zl-hero__nav--prev { left: 16px; }
.zl-hero__nav--next { right: 16px; }

/* ───────────────────────── Trust strip ───────────────────────── */

.zl-trust { margin-top: -30px; position: relative; z-index: 2; }
.zl-trust__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-radius: var(--zl-radius-lg); box-shadow: var(--zl-shadow); border: 1px solid var(--zl-line); }
.zl-trust__item { display: flex; align-items: center; gap: 14px; padding: 20px 22px; }
.zl-trust__item + .zl-trust__item { border-left: 1px solid var(--zl-line); }
.zl-trust__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--zl-soft-blue); color: var(--zl-blue); font-size: 1.35rem; flex-shrink: 0; }
.zl-trust__item strong { display: block; color: var(--zl-ink); font-size: .95rem; }
.zl-trust__item small { color: var(--zl-muted); font-size: .8rem; }

/* ───────────────────────── Categories (made for a few) ───────────────────────── */

.zl-cats { display: grid; grid-template-columns: repeat(var(--zl-cat-cols, 3), minmax(0, 1fr)); gap: 22px; }
.zl-cat {
    position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px;
    padding: 28px; border-radius: var(--zl-radius-lg); overflow: hidden; text-decoration: none; color: var(--zl-ink);
    background: var(--zl-cat-bg, #eef4ff); isolation: isolate; transition: transform .25s, box-shadow .25s;
}
.zl-cat:nth-child(3n+1) { --zl-cat-bg: linear-gradient(150deg, #e6f0ff, #cfe0ff); }
.zl-cat:nth-child(3n+2) { --zl-cat-bg: linear-gradient(150deg, #fff1e6, #ffe0c7); }
.zl-cat:nth-child(3n+3) { --zl-cat-bg: linear-gradient(150deg, #e7f8f0, #c8eedd); }
.zl-cat:hover { transform: translateY(-4px); box-shadow: var(--zl-shadow-lg); color: var(--zl-ink); }
.zl-cat__count { display: inline-flex; align-self: flex-start; padding: .3rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .75); font-size: .78rem; font-weight: 600; color: var(--zl-text); }
.zl-cat__name { font-family: var(--zl-display); font-size: 1.7rem; font-weight: 700; letter-spacing: -.02em; margin: 14px 0 4px; }
.zl-cat__from { color: var(--zl-text); font-size: .92rem; margin: 0; }
.zl-cat__from strong { color: var(--zl-ink); }
.zl-cat__cta { display: inline-flex; align-items: center; gap: .45rem; margin-top: 18px; font-weight: 600; font-size: .92rem; color: var(--zl-ink); }
.zl-cat__cta i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--zl-ink); color: #fff; transition: transform .2s; }
.zl-cat:hover .zl-cat__cta i { transform: translateX(4px); background: var(--zl-blue); }
.zl-cat__img { position: absolute; right: -6%; bottom: -4%; width: 62%; aspect-ratio: 1; object-fit: contain; z-index: -1; mix-blend-mode: multiply; transition: transform .35s; }
.zl-cat:hover .zl-cat__img { transform: scale(1.06) rotate(-3deg); }

/* ───────────────────────── Tabs ───────────────────────── */

.zl-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.zl-tab { border: 1px solid var(--zl-line); background: #fff; color: var(--zl-text); border-radius: 999px; padding: .45rem 1rem; font-size: .88rem; font-weight: 500; cursor: pointer; }
.zl-tab:hover { border-color: var(--zl-blue); color: var(--zl-blue); }
.zl-tab.is-active { background: var(--zl-blue); border-color: var(--zl-blue); color: #fff; }

/* ───────────────────────── Product card ───────────────────────── */

.zl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.zl-card {
    position: relative; display: flex; flex-direction: column; height: 100%;
    background: #fff; border: 1px solid var(--zl-line); border-radius: var(--zl-radius); overflow: hidden;
    transition: box-shadow .2s, transform .2s, border-color .2s;
}
.zl-card:hover { box-shadow: var(--zl-shadow-lg); transform: translateY(-3px); border-color: transparent; }
.zl-card__media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--zl-soft); }
.zl-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .35s; }
.zl-card:hover .zl-card__media img { transform: scale(1.05); }
.zl-card__badge { position: absolute; top: 12px; left: 12px; z-index: 1; padding: .25rem .55rem; border-radius: 6px; font-size: .7rem; font-weight: 700; color: #fff; background: var(--zl-blue); }
.zl-card__badge--sale { background: var(--zl-sale); }
.zl-card__badge--best { background: #f59e0b; }
.zl-card__badge--new { background: var(--zl-success); }
.zl-card__badge--out { background: #64748b; }
.zl-card__fav { position: absolute; top: 10px; right: 10px; z-index: 1; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center; color: var(--zl-ink); box-shadow: 0 2px 8px rgba(15, 23, 42, .12); cursor: pointer; }
.zl-card__fav:hover, .zl-card__fav.active { color: var(--zl-sale); }
.zl-card__quick { position: absolute; left: 50%; bottom: 10px; z-index: 1; transform: translate(-50%, 8px); opacity: 0; transition: opacity .2s, transform .2s; border: 0; background: rgba(15, 23, 42, .85); color: #fff; font-size: .78rem; font-weight: 600; padding: .4rem .8rem; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.zl-card:hover .zl-card__quick { opacity: 1; transform: translate(-50%, 0); }
.zl-card__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.zl-card__title { font-size: .95rem; font-weight: 600; color: var(--zl-ink); margin: 0; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.zl-card__title a { color: inherit; text-decoration: none; }
.zl-card__title a::after { content: ''; position: absolute; inset: 0; z-index: 0; }
.zl-card__cat { font-size: .8rem; color: var(--zl-muted); }
.zl-card__rating { display: flex; align-items: center; gap: .35rem; font-size: .78rem; color: var(--zl-muted); margin-top: 2px; }
.zl-card__rating .stars { color: var(--zl-star); display: inline-flex; gap: 1px; }
.zl-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.zl-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .5rem; }
.zl-card__price strong { font-family: var(--zl-display); font-size: 1.15rem; color: var(--zl-blue); }
.zl-card__price del { color: var(--zl-muted); font-size: .82rem; }
.zl-card__off { font-size: .72rem; font-weight: 700; color: var(--zl-success); background: #e8f7ee; padding: .1rem .4rem; border-radius: 5px; }
.zl-card__cart { position: relative; z-index: 1; width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; border: 0; background: var(--zl-blue); color: #fff; display: grid; place-items: center; font-size: 1.05rem; cursor: pointer; transition: background-color .15s; }
.zl-card__cart:hover { background: #0050d0; color: #fff; }
.zl-card__cart.added { background: var(--zl-success); }
.zl-card__cart:disabled { background: #cbd5e1; cursor: not-allowed; }

/* ───────────────────────── Deal of the day ───────────────────────── */

.zl-deal { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, .85fr); align-items: center; gap: 24px; padding: 40px; border-radius: 24px; overflow: hidden; color: #fff; background: radial-gradient(700px 400px at 55% 50%, #2a5cf0 0%, transparent 60%), linear-gradient(115deg, #071334, #0c2463 60%, #123596); }
.zl-deal__kicker { display: inline-flex; align-items: center; gap: .4rem; color: #ffd166; font-weight: 600; font-size: .9rem; }
.zl-deal__title { font-family: var(--zl-display); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.08; margin: 10px 0 12px; letter-spacing: -.02em; color: #fff; }
.zl-deal__text { opacity: .85; margin: 0 0 22px; max-width: 26rem; }
.zl-timer { display: flex; gap: 10px; margin-bottom: 24px; }
.zl-timer div { min-width: 64px; padding: 10px 8px; border-radius: 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); text-align: center; }
.zl-timer strong { display: block; font-family: var(--zl-display); font-size: 1.5rem; line-height: 1.1; }
.zl-timer small { font-size: .7rem; opacity: .8; }
.zl-deal__visual { position: relative; display: grid; place-items: center; min-height: 260px; }
.zl-deal__visual::before { content: ''; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .2), transparent 65%); }
.zl-deal__visual img { position: relative; max-height: 280px; max-width: 100%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .45)); }
.zl-deal__card { background: #fff; color: var(--zl-ink); border-radius: 18px; padding: 22px; box-shadow: var(--zl-shadow-lg); }
.zl-deal__off { display: inline-block; background: var(--zl-sale); color: #fff; font-weight: 700; font-size: .78rem; padding: .25rem .55rem; border-radius: 6px; }
.zl-deal__name { font-family: var(--zl-display); font-size: 1.25rem; font-weight: 700; margin: 12px 0 2px; }
.zl-deal__name a { color: inherit; text-decoration: none; }
.zl-deal__price { display: flex; align-items: baseline; gap: .6rem; margin: 10px 0 16px; }
.zl-deal__price strong { font-family: var(--zl-display); font-size: 1.7rem; color: var(--zl-ink); }
.zl-deal__price del { color: var(--zl-muted); }

/* ───────────────────────── Promo tiles ───────────────────────── */

.zl-promos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.zl-promo { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 190px; padding: 26px; border-radius: var(--zl-radius-lg); overflow: hidden; text-decoration: none; isolation: isolate; color: var(--zl-ink); background: var(--zl-soft); transition: transform .2s; }
.zl-promo:hover { transform: translateY(-3px); color: inherit; }
.zl-promo--dark { background: linear-gradient(130deg, #0a1633, #12307e); color: #fff; }
.zl-promo--blue { background: linear-gradient(130deg, #eef4ff, #d9e6ff); }
.zl-promo--warm { background: linear-gradient(130deg, #fff3e6, #ffe3c5); }
.zl-promo__title { font-family: var(--zl-display); font-size: 1.3rem; font-weight: 700; line-height: 1.2; margin: 0 0 6px; max-width: 60%; color: inherit; }
.zl-promo__text { font-size: .85rem; opacity: .8; margin: 0 0 16px; max-width: 58%; }
.zl-promo__img { position: absolute; right: -4%; bottom: -6%; width: 50%; height: 105%; object-fit: contain; z-index: -1; }
.zl-promo .zl-btn { align-self: flex-start; }

/* ───────────────────────── Carousel ───────────────────────── */

.zl-carousel { position: relative; }
.zl-carousel .swiper-slide { height: auto; }
.zl-carousel__btn { position: absolute; top: 40%; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--zl-line); background: #fff; display: grid; place-items: center; box-shadow: var(--zl-shadow); cursor: pointer; color: var(--zl-ink); }
.zl-carousel__btn:hover { color: var(--zl-blue); }
.zl-carousel__btn--prev { left: -18px; }
.zl-carousel__btn--next { right: -18px; }
.zl-carousel__btn.swiper-button-disabled { opacity: 0; pointer-events: none; }

/* ───────────────────────── Empty state ───────────────────────── */

.zl-empty { text-align: center; padding: 48px 20px; border: 1px dashed var(--zl-line); border-radius: var(--zl-radius-lg); color: var(--zl-muted); background: #fff; }
.zl-empty i { font-size: 2rem; color: var(--zl-blue); display: block; margin-bottom: 8px; }

/* ───────────────────────── Newsletter ───────────────────────── */

.zl-news { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 32px; border-radius: var(--zl-radius-lg); background: linear-gradient(120deg, #eef4ff, #f6f9ff); border: 1px solid #dde8ff; }
.zl-news__intro { display: flex; align-items: center; gap: 18px; }
.zl-news__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--zl-blue); font-size: 1.6rem; box-shadow: var(--zl-shadow); }
.zl-news h3 { font-family: var(--zl-display); font-size: 1.3rem; font-weight: 700; margin: 0 0 2px; color: var(--zl-ink); }
.zl-news p { margin: 0; color: var(--zl-muted); font-size: .9rem; }
.zl-news__form { display: flex; gap: 8px; flex: 1 1 360px; max-width: 460px; padding: 6px; background: #fff; border-radius: 999px; border: 1px solid var(--zl-line); }
.zl-news__form input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 14px; font-size: .92rem; background: transparent; }
.zl-news__msg { flex-basis: 100%; font-size: .85rem; margin: 0; }

/* ───────────────────────── Footer ───────────────────────── */

.footer.zl-footer { background: var(--zl-navy) !important; color: rgba(255, 255, 255, .72); padding: 0; margin-top: 56px; }
.zl-footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.3fr; gap: 32px; padding: 56px 0 36px; }
.zl-footer h4 { color: #fff; font-family: var(--zl-display); font-size: 1rem; font-weight: 600; margin: 0 0 16px; }
.zl-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.zl-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; font-size: .9rem; }
.zl-footer a:hover { color: #fff; }
.zl-footer__about p { font-size: .9rem; line-height: 1.6; margin: 14px 0 18px; max-width: 22rem; }
.zl-footer__social { display: flex; gap: 10px; }
.zl-footer__social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; }
.zl-footer__social a:hover { background: var(--zl-blue); }
.zl-footer__contact li { display: flex; gap: 10px; font-size: .9rem; line-height: 1.5; }
.zl-footer__contact i { color: #fff; margin-top: 2px; }
.zl-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; }
.zl-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.zl-pay span:first-child { margin-right: 4px; }
.zl-pay__chip { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .6rem; border-radius: 6px; background: #fff; color: var(--zl-ink); font-size: .72rem; font-weight: 700; letter-spacing: .02em; }

/* ───────────────────────── Responsive ───────────────────────── */

@media (max-width: 1199.98px) {
    .zl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .zl-deal { grid-template-columns: 1fr 1fr; }
    .zl-deal__visual { display: none; }
    .zl-footer__top { grid-template-columns: 1fr 1fr 1fr; }
    .zl-footer__about { grid-column: 1 / -1; }
}

@media (max-width: 991.98px) {
    .zl-hero__slide { grid-template-columns: 1fr; min-height: 0; padding-block: 28px 56px; text-align: left; gap: 20px; }
    .zl-hero__visual { min-height: 240px; order: -1; }
    .zl-hero__visual img { max-height: 240px; }
    .zl-hero__tag, .zl-hero__price { display: none; }
    .zl-trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .zl-trust__item:nth-child(3) { border-left: 0; }
    .zl-trust__item:nth-child(n+3) { border-top: 1px solid var(--zl-line); }
    .zl-cats { grid-template-columns: repeat(min(var(--zl-cat-cols, 3), 2), minmax(0, 1fr)); }
    .zl-promos { grid-template-columns: 1fr 1fr; }
    .zl-nav__aside { display: none; }
}

@media (max-width: 767.98px) {
    .zl-section { padding: 40px 0; }
    .zl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .zl-card__body { padding: 12px; }
    .zl-card__cart { width: 36px; height: 36px; }
    .zl-cats { grid-template-columns: 1fr; }
    .zl-cat { min-height: 200px; }
    .zl-cat__img { width: 46%; }
    .zl-deal { grid-template-columns: 1fr; padding: 26px; }
    .zl-promos { grid-template-columns: 1fr; }
    .zl-footer__top { grid-template-columns: 1fr 1fr; }
    .zl-topbar__side { display: none; }
    .zl-carousel__btn { display: none; }
    .zl-logo__mark { font-size: 1.5rem; }
    .zl-logo__sub { font-size: 1.1rem; }
}

@media (max-width: 479.98px) {
    .zl-trust__grid { grid-template-columns: 1fr; }
    .zl-trust__item + .zl-trust__item { border-left: 0; border-top: 1px solid var(--zl-line); }
    .zl-footer__top { grid-template-columns: 1fr; }
    .zl-timer div { min-width: 56px; }
}

/* ───────────────────────── Fixes: text on dark, photo frames, promo layout ───────────────────────── */

.zl-topbar__promo, .zl-topbar__promo span { color: #fff; }
.zl-hero__text, .zl-hero__points, .zl-hero__kicker { color: rgba(255, 255, 255, .86); opacity: 1; }
.zl-deal__text { color: rgba(255, 255, 255, .82); opacity: 1; }

/* Product photos usually have a light studio background: show them as floating cards */
.zl-hero__visual:not(.zl-hero__visual--banner) img,
.zl-deal__visual img {
    background: #fff;
    border-radius: 28px;
    padding: 18px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55);
    filter: none;
    width: min(380px, 80%);
    aspect-ratio: 1;
    object-fit: contain;
    transform: rotate(-3deg);
}
.zl-deal__visual img { width: min(280px, 85%); transform: rotate(3deg); }

/* Promo tiles: text left, framed photo right (never on top of the heading) */
.zl-promo { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 14px; padding: 22px; }
.zl-promo__title, .zl-promo__text { max-width: none; }
.zl-promo__body { display: flex; flex-direction: column; align-items: flex-start; }
.zl-promo__img { position: static; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 16px; background: #fff; z-index: auto; box-shadow: 0 12px 24px -14px rgba(15, 23, 42, .35); }
.zl-promo--dark .zl-promo__text { color: rgba(255, 255, 255, .8); opacity: 1; }
.zl-promo--dark .zl-promo__title { color: #fff; }
.zl-hero__tag { right: -1%; top: 2%; z-index: 3; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.zl-hero__visual:not(.zl-hero__visual--banner) img { width: min(340px, 74%); }

@media (max-width: 767.98px) {
    /* The desktop nav row is empty on phones (its links live in the menu drawer) */
    .zl-nav .main-nav__wrapper { min-height: 0; }
    .main-nav.zl-nav { border-bottom: 0; box-shadow: none; }
    .zl-hero__visual { min-height: 0; }
    .zl-hero__visual:not(.zl-hero__visual--banner) img { width: min(220px, 62%); padding: 12px; border-radius: 22px; }
    .zl-hero__ring { width: min(260px, 80%); }
    .zl-hero__title { font-size: 2.3rem; }
    .zl-hero__text { font-size: 1rem; margin-bottom: 20px; }
    .zl-hero__points { gap: 14px; margin-top: 22px; }
    .zl-trust { margin-top: -24px; }
    .zl-trust__item { padding: 14px 16px; }
}

@media (max-width: 767.98px) {
    /* Newsletter: stack and let the form shrink to the screen */
    .zl-news { padding: 20px; }
    .zl-news__form { flex: 1 1 100%; max-width: none; min-width: 0; }
    .zl-news__form .zl-btn { padding-inline: 1rem; }
}

/* Header language menu (x-frontend.language-switcher). On phones it sits beside wishlist and cart,
   so the four icons get slightly smaller to keep the logo and icons on one row. */
.zl-lang__caret { font-size: .7em; margin-left: 2px; vertical-align: middle; }
.zl-lang__menu { min-width: 160px; }
.zl-lang__menu .dropdown-item.active, .zl-lang__menu .dropdown-item:active { background: var(--zl-soft-blue); color: var(--zl-blue); font-weight: 600; }
@media (max-width: 479.98px) {
    .header .header__wrapper { column-gap: 14px; }
    .header__actions { gap: 4px; }
    .header .header-action__icon { width: 34px; height: 34px; font-size: 16px; }
    .zl-logo__mark { font-size: 1.35rem; }
    .zl-logo__sub { font-size: 1rem; }
}
