/**
 * Zisto Theme — assets/css/home.css
 * Stiluri homepage + orbită + grid-uri produse + comercianți + pagini listă.
 */

:root {
    --z-bg: #ffffff;
    --z-bg-soft: #f8fafc;
    --z-surface: #ffffff;
    --z-surface-2: #f8fafc;
    --z-line: #e5e7eb;
    --z-line-strong: #d1d5db;
    --z-text: #0f172a;
    --z-text-soft: #334155;
    --z-text-muted: #64748b;
    --z-text-invert: #ffffff;
    --z-primary: #2563eb;
    --z-primary-dark: #1d4ed8;
    --z-accent: #f97316;
    --z-success: #16a34a;
    --z-danger: #dc2626;

    --z-radius-sm: 12px;
    --z-radius-md: 18px;
    --z-radius-lg: 24px;
    --z-radius-xl: 32px;

    --z-shadow-sm: 0 10px 25px rgba(15, 23, 42, 0.06);
    --z-shadow-md: 0 18px 40px rgba(15, 23, 42, 0.10);
    --z-shadow-lg: 0 28px 60px rgba(15, 23, 42, 0.14);

    --z-wrap: 1280px;
    --z-wrap-narrow: 980px;
}

/* ---------------------------------------------------
   Helpers
--------------------------------------------------- */

.z-wrap {
    width: min(var(--z-wrap), calc(100% - 32px));
    margin-inline: auto;
}

.z-wrap--narrow {
    width: min(var(--z-wrap-narrow), calc(100% - 32px));
    margin-inline: auto;
}

.zisto-container,
.zisto-main {
    width: 100%;
}

.z-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ---------------------------------------------------
   Buttons
--------------------------------------------------- */

.z-btn,
.zisto-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
    cursor: pointer;
}

.z-btn:hover,
.zisto-btn:hover {
    transform: translateY(-1px);
}

.z-btn--fire {
    background: linear-gradient(135deg, #fb923c, #f97316);
    color: #fff;
    box-shadow: 0 14px 34px rgba(249, 115, 22, 0.28);
}

.z-btn--fire:hover {
    background: linear-gradient(135deg, #fdba74, #ea580c);
    color: #fff;
}

.z-btn--outline {
    background: #fff;
    color: var(--z-text);
    border-color: var(--z-line-strong);
    box-shadow: var(--z-shadow-sm);
}

.z-btn--outline:hover {
    border-color: #94a3b8;
    color: var(--z-text);
}

.zisto-btn--secondary {
    background: var(--z-primary);
    color: #fff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.zisto-btn--secondary:hover {
    background: var(--z-primary-dark);
    color: #fff;
}

/* ---------------------------------------------------
   Homepage Hero
--------------------------------------------------- */

.z-hero {
    position: relative;
    overflow: hidden;
    padding: 68px 0 42px;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.18), transparent 30%),
        radial-gradient(circle at left center, rgba(249, 115, 22, 0.12), transparent 28%),
        linear-gradient(180deg, #eff6ff 0%, #ffffff 65%);
}

.z-hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.z-hero__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 16px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: var(--z-shadow-sm);
    color: var(--z-primary-dark);
    font-size: 0.92rem;
    font-weight: 700;
}

.z-hero__title {
    margin: 0;
    color: var(--z-text);
    font-size: clamp(2.1rem, 4vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 900;
}

.z-hero__sub {
    margin: 20px auto 0;
    max-width: 760px;
    color: var(--z-text-soft);
    font-size: clamp(1rem, 1.7vw, 1.22rem);
    line-height: 1.7;
}

.z-hero__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}

.z-hero__blob {
    position: absolute;
    inset: auto auto -120px 50%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.16) 0%, rgba(37, 99, 235, 0) 70%);
    transform: translateX(-50%);
    filter: blur(8px);
    pointer-events: none;
}

/* ---------------------------------------------------
   Search / Orbit Section
--------------------------------------------------- */

.z-section {
    padding: 46px 0;
}

.z-section--search {
    padding-top: 22px;
    background: #ffffff;
}

.z-search-section {
    text-align: center;
}

.z-search-title {
    margin: 0;
    font-size: clamp(1.7rem, 2.8vw, 2.5rem);
    line-height: 1.1;
    font-weight: 900;
    color: var(--z-text);
}

.z-search-sub {
    margin: 10px 0 0;
    color: var(--z-text-muted);
    font-size: 1rem;
}

/* ── Solar System orbit homepage ── */
.z-orbit-wrap{position:relative;width:100%;height:500px;overflow:hidden;margin-bottom:16px;}
@media(max-width:560px){.z-orbit-wrap{height:360px;}}
@media(max-width:380px){.z-orbit-wrap{height:300px;}}

.z-orbit{position:absolute;width:500px;height:500px;left:50%;top:0;transform:translateX(-50%);}
@media(max-width:560px){.z-orbit{transform:translateX(-50%) scale(.72);transform-origin:top center;}}
@media(max-width:380px){.z-orbit{transform:translateX(-50%) scale(.60);transform-origin:top center;}}

/* Inele decorative */
.z-orbit-r1,.z-orbit-r2,.z-orbit-r3{position:absolute;top:50%;left:50%;border-radius:50%;border:1.5px dashed;transform:translate(-50%,-50%);pointer-events:none;}
.z-orbit-r1{width:200px;height:200px;border-color:#c5b8ff;opacity:.55;}
.z-orbit-r2{width:340px;height:340px;border-color:#a8e6d8;opacity:.45;}
.z-orbit-r3{width:460px;height:460px;border-color:#ffb8d0;opacity:.4;}

/* Centru = search */
.z-orbit-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:190px;z-index:10;}

.z-search-input-wrap{position:relative;}
.z-search-input{
    width:100%;padding:11px 40px 11px 14px;border:2px solid var(--z-border);
    border-radius:30px;font-size:.9rem;font-family:inherit;color:var(--z-text);
    background:#f8f9fb;outline:none;transition:border-color .2s,box-shadow .2s;
}
.z-search-input:focus{border-color:var(--z-primary);background:#fff;box-shadow:0 0 0 3px rgba(108,92,231,.1);}
.z-search-btn{
    position:absolute;right:5px;top:50%;transform:translateY(-50%);
    background:var(--z-primary);border:none;border-radius:22px;
    width:32px;height:32px;cursor:pointer;color:#fff;font-size:.9rem;
    display:flex;align-items:center;justify-content:center;
}

/* Brațul se rotește */
.z-arm{
    position:absolute;top:50%;left:50%;height:0;
    transform-origin:0% 50%;pointer-events:none;
    animation:zArmSpin linear infinite;
}
@keyframes zArmSpin{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}

/* Planeta stă la capătul brațului și contra-rotește */
.z-planet{
    position:absolute;right:0;top:0;transform:translateY(-50%);margin-right:-42px;
    width:84px;height:84px;background:#fff;border:2px solid var(--z-border);
    border-radius:50%;display:flex;flex-direction:column;align-items:center;
    justify-content:center;gap:3px;text-decoration:none;
    box-shadow:0 2px 12px rgba(0,0,0,.10);
    animation:zPlanetCounter linear infinite;
    pointer-events:all;cursor:pointer;
    transition:border-color .2s,box-shadow .2s;z-index:5;
}
@keyframes zPlanetCounter{
    from{transform:translateY(-50%) rotate(0deg);}
    to{transform:translateY(-50%) rotate(-360deg);}
}
.z-planet:hover{border-color:var(--z-primary);box-shadow:0 4px 16px rgba(108,92,231,.22);}
.z-planet .ico{font-size:1.6rem;line-height:1;display:block;}
.z-planet .lbl{font-size:.58rem;font-weight:700;color:#3d4448;text-transform:uppercase;text-align:center;white-space:nowrap;max-width:76px;line-height:1.2;}

.z-search-popular {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.z-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--z-line);
    text-decoration: none;
    color: var(--z-text-soft);
    font-size: 0.92rem;
    font-weight: 700;
    transition:
        border-color 0.2s ease,
        transform 0.2s ease,
        color 0.2s ease;
}

.z-pill:hover {
    transform: translateY(-1px);
    border-color: #94a3b8;
    color: var(--z-text);
}

/* ---------------------------------------------------
   Stats Bar
--------------------------------------------------- */

.z-stats-bar {
    padding: 14px 0 10px;
}

.z-stats-bar__inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.z-stat {
    background: #fff;
    border: 1px solid var(--z-line);
    border-radius: 20px;
    padding: 18px 16px;
    text-align: center;
    box-shadow: var(--z-shadow-sm);
}

.z-stat__num {
    display: block;
    color: var(--z-text);
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    font-weight: 900;
    line-height: 1.1;
}

.z-stat__num--fire {
    color: var(--z-accent);
}

.z-stat__lbl {
    display: block;
    margin-top: 6px;
    color: var(--z-text-muted);
    font-size: 0.92rem;
    font-weight: 700;
}

/* ---------------------------------------------------
   Section titles
--------------------------------------------------- */

.z-section__title {
    margin: 0 0 18px;
    color: var(--z-text);
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.1;
    font-weight: 900;
}

/* ---------------------------------------------------
   Merchant list
--------------------------------------------------- */

.z-merchant-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.z-merchant-item {
    margin: 0;
    padding: 0;
}

.z-merchant-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 112px;
    padding: 18px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--z-line);
    box-shadow: var(--z-shadow-sm);
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.z-merchant-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: var(--z-shadow-md);
}

.z-merchant-card__icon {
    font-size: 1.2rem;
    line-height: 1;
}

/* Logo merchant — container fix, imagine centrată */
.z-merchant-card__logo {
    display: block;
    width: 100%;
    height: 52px;
    object-fit: contain;
    object-position: center center;
}

.z-merchant-card__name {
    color: var(--z-text);
    font-weight: 800;
    line-height: 1.3;
}

.z-merchant-card__cnt {
    color: var(--z-text-muted);
    font-size: 0.92rem;
    font-weight: 700;
}

/* ---------------------------------------------------
   Product / merchant grid cards
--------------------------------------------------- */

.z-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.z-product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--z-line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--z-shadow-sm);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.z-product-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: var(--z-shadow-md);
}

.z-product-card__media {
    display: block;
    aspect-ratio: 1 / 1;
    background: #f8fafc;
    overflow: hidden;
}

.z-product-card__media img,
.z-product-card__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.z-product-card__media--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.z-product-card__img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 3rem;
    color: #94a3b8;
}

.z-product-card__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    flex: 1 1 auto;
}

.z-product-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.z-product-card__title {
    color: var(--z-text);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.45;
    font-weight: 800;
}

.z-product-card__title:hover {
    color: var(--z-primary-dark);
}

.z-product-card__submeta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    color: var(--z-text-muted);
    font-size: 0.88rem;
    line-height: 1.4;
}

.z-product-card__excerpt {
    margin: 0;
    color: var(--z-text-soft);
    font-size: 0.93rem;
    line-height: 1.6;
}

.z-product-card__price {
    color: var(--z-text);
    font-size: 1.06rem;
    font-weight: 900;
}

.z-merchant-card .z-product-card__media img {
    object-fit: contain;
    padding: 18px;
    background: #fff;
}

/* ---------------------------------------------------
   Badges
--------------------------------------------------- */

.z-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
}

.z-badge--secondary {
    background: #eff6ff;
    color: var(--z-primary-dark);
    border: 1px solid rgba(37, 99, 235, 0.12);
}

.z-badge--outline {
    background: #fff;
    color: var(--z-text-soft);
    border: 1px solid var(--z-line-strong);
}

.z-badge--discount {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid rgba(249, 115, 22, 0.18);
}

.z-badge--in-stock {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid rgba(22, 163, 74, 0.16);
}

.z-badge--out-stock {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid rgba(220, 38, 38, 0.16);
}

/* ---------------------------------------------------
   Taxonomy / listing hero
--------------------------------------------------- */

.z-page-hero {
    padding: 34px 0 20px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid var(--z-line);
}

.zisto-taxonomy__count {
    margin: 10px 0 0;
    color: var(--z-text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* ---------------------------------------------------
   Breadcrumb + FAQ + empty state
--------------------------------------------------- */

.z-breadcrumb {
    margin: 0 0 14px;
}

.z-breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    color: var(--z-text-muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.z-breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.z-breadcrumb li:not(:last-child)::after {
    content: "/";
    color: #94a3b8;
}

.z-breadcrumb a {
    color: var(--z-text-muted);
    text-decoration: none;
}

.z-breadcrumb a:hover {
    color: var(--z-text);
}

.z-faq {
    margin-top: 34px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--z-line);
    border-radius: 24px;
    box-shadow: var(--z-shadow-sm);
}

.z-faq > h2 {
    margin: 0 0 18px;
    font-size: 1.5rem;
    line-height: 1.2;
    font-weight: 900;
    color: var(--z-text);
}

.z-faq-item + .z-faq-item {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--z-line);
}

.z-faq-item h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    line-height: 1.35;
    font-weight: 800;
    color: var(--z-text);
}

.z-faq-answer {
    color: var(--z-text-soft);
    line-height: 1.7;
}

.zisto-404 {
    padding: 28px;
    background: #fff;
    border: 1px dashed var(--z-line-strong);
    border-radius: 24px;
    color: var(--z-text-muted);
}

/* ---------------------------------------------------
   Responsive
--------------------------------------------------- */

@media (max-width: 1180px) {
    .z-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .z-merchant-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .z-stats-bar__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .z-hero {
        padding: 56px 0 34px;
    }

    .z-orbit {
        width: 440px;
        height: 440px;
    }

    .z-orbit-r1 {
        width: 170px;
        height: 170px;
    }

    .z-orbit-r2 {
        width: 270px;
        height: 270px;
    }

    .z-orbit-r3 {
        width: 360px;
        height: 360px;
    }

    .z-orbit-center {
        width: 210px;
    }

    .z-planet {
        min-width: 84px;
        min-height: 84px;
        font-size: 0.84rem;
    }

    .z-planet .lbl {
        max-width: 76px;
        font-size: 0.58rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .z-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .z-merchant-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .z-wrap,
    .z-wrap--narrow {
        width: min(100%, calc(100% - 20px));
    }

    .z-hero__cta {
        flex-direction: column;
        align-items: stretch;
    }

    .z-btn,
    .zisto-btn {
        width: 100%;
    }

    .z-stats-bar__inner {
        grid-template-columns: 1fr;
    }

    .z-product-grid,
    .z-merchant-list {
        grid-template-columns: 1fr;
    }

    .z-search-popular {
        margin-top: 18px;
    }

    .z-section {
        padding: 34px 0;
    }
}
/* ============================================================
   FORCE LIGHT MODE — suprascrie orice dark mode sistem
   ============================================================ */
@media (prefers-color-scheme: dark) {
  :root {
    --z-bg:           #ffffff !important;
    --z-bg-soft:      #f8fafc !important;
    --z-surface:      #ffffff !important;
    --z-text:         #0f172a !important;
    --z-text-muted:   #64748b !important;
    --z-border:       #e5e7eb !important;
    --z-line:         #e5e7eb !important;
  }
  body {
    background: #ffffff !important;
    color: #0f172a !important;
  }
  .z-product-card,
  .z-faq-item,
  .zisto-product__offer {
    background: #ffffff !important;
    border-color: #e5e7eb !important;
    color: #0f172a !important;
  }
  .z-product-card__title,
  .zisto-product__content,
  .zisto-product__h1 {
    color: #0f172a !important;
  }
  .z-section--search {
    background: #ffffff !important;
  }
}

/* ============================================================
   MERCHANT CAROUSEL — homepage
   Mobil: 2 carduri | Tablet: 3 | Desktop: 4-5
   ============================================================ */

.z-mcarousel-block {
    padding: 18px 0 4px;
    border-bottom: 1px solid var(--z-border, #eee);
}

.z-mcarousel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.z-mcarousel-header__left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.z-mcarousel-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
    display: block;
}

.z-mcarousel-merchant-name {
    font-size: .85rem;
    font-weight: 700;
    color: var(--z-text, #1a1a1a);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.z-mcarousel-see-all {
    font-size: .78rem;
    font-weight: 600;
    color: var(--z-primary, #6c5ce7);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity .15s;
}
.z-mcarousel-see-all:hover { opacity: .7; }

/* Scroll container — flexbox pentru compatibilitate maxima mobile */
.z-mcarousel {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 12px 8px 2px;
    scroll-padding-inline: 2px;
    overscroll-behavior-x: contain;
    touch-action: pan-y pinch-zoom;
    cursor: grab;
    user-select: none;
}
.z-mcarousel::-webkit-scrollbar { display: none; }
.z-mcarousel.is-animating { cursor: default; }

/* Latime carduri: 2 pe mobil, 3 pe tablet, 5 pe desktop */
.z-mcarousel-card {
    flex: 0 0 calc(50% - 5px);
    min-width: calc(50% - 5px);
}

@media (min-width: 560px) {
    .z-mcarousel-card {
        flex: 0 0 calc(33.333% - 7px);
        min-width: calc(33.333% - 7px);
    }
}

@media (min-width: 860px) {
    .z-mcarousel-card {
        flex: 0 0 calc(20% - 8px);
        min-width: calc(20% - 8px);
    }
}

/* Mobil: 82vw per card, se vede bucata din urmatorul */
@media (max-width: 640px) {
    .z-mcarousel-card {
        flex: 0 0 min(82vw, 250px);
        min-width: min(82vw, 250px);
    }
    .z-mcarousel-card__title {
        font-size: .82rem;
        -webkit-line-clamp: 3;
    }
}

/* Card */
.z-mcarousel-card {
    scroll-snap-align: start;
    background: #fff;
    border: 1.5px solid var(--z-border, #eee);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .18s, border-color .18s;
    box-sizing: border-box;
}
.z-mcarousel-card:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,.10);
    border-color: var(--z-primary, #6c5ce7);
}

.z-mcarousel-card__media {
    position: relative;
    display: block;
    background: #f7f7fb;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.z-mcarousel-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: transform .22s;
}
.z-mcarousel-card:hover .z-mcarousel-card__img {
    transform: scale(1.04);
}

.z-mcarousel-card__badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #e84393;
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 20px;
    pointer-events: none;
}

.z-mcarousel-card__body {
    padding: 8px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.z-mcarousel-card__title {
    font-size: .75rem;
    font-weight: 600;
    color: var(--z-text, #1a1a1a);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}
.z-mcarousel-card__title:hover { color: var(--z-primary, #6c5ce7); }

.z-mcarousel-card__price-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: auto;
}

.z-mcarousel-card__price {
    font-size: .82rem;
    font-weight: 700;
    color: var(--z-primary, #6c5ce7);
}

.z-mcarousel-card__old {
    font-size: .7rem;
    color: #999;
    text-decoration: line-through;
}

/* Carousel drag state */
.z-mcarousel.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}
.z-mcarousel-clone {
    pointer-events: none;
}

/* ── Carusel wrap + sageti ─────────────────────────────────── */
.z-mcarousel-block {
    padding: 18px 44px 4px;
    border-bottom: 1px solid var(--z-border, #eee);
}

.z-mcarousel-wrap {
    position: relative;
}

.z-mcarousel-btn {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    height: 44px;
    width: 44px;
    z-index: 10;
    border-radius: 50%;
    border: 2px solid var(--z-border, #ddd);
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.15);
    font-size: 1.6rem;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .15s, box-shadow .15s, border-color .15s, transform .15s;
    color: var(--z-primary, #6c5ce7);
    padding: 0;
    line-height: 1;
}
.z-mcarousel-btn:hover:not(:disabled) {
    box-shadow: 0 4px 18px rgba(108,92,231,.25);
    border-color: var(--z-primary, #6c5ce7);
    transform: scale(1.08);
}
.z-mcarousel-btn:disabled {
    opacity: 0.25;
    cursor: default;
}
.z-mcarousel-btn--prev { left: -44px; }
.z-mcarousel-btn--next { right: -44px; }

@media (max-width: 1024px) {
    .z-mcarousel-block {
        padding-left: 0;
        padding-right: 0;
    }
    .z-mcarousel-btn { display: none; }
}

/* Planete decorative — fara link, fara cursor pointer */
.z-planet--deco {
    cursor: default;
    pointer-events: none;
}
.z-planet--deco:hover {
    border-color: var(--z-border);
    box-shadow: 0 2px 10px rgba(0,0,0,.09);
}

/* ── Contrast + Touch targets (accesibilitate) ───────────────── */
:root {
    --z-accent: #c2410c;
    --z-accent-fire: #9a3412;
}

.z-btn--fire {
    background: var(--z-accent);
}
.z-btn--fire:hover {
    background: var(--z-accent-fire);
}

/* Minim 44px touch target pe linkuri importante */
.z-mcarousel-see-all,
.z-search-pill {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
/* ============================================================
   HOMEPAGE REDESIGN — Secțiuni noi (copilot, merchants, discovery, CPU)
   Adăugate peste home.css original care conține orbit + search
   ============================================================ */

.z-hp-stats {
    border-top: 1px solid var(--z-line, #e5e7eb);
    border-bottom: 1px solid var(--z-line, #e5e7eb);
    padding: 16px 0;
    background: var(--z-bg-soft, #f8fafc);
}
.z-hp-stats__inner { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 12px; }
.z-hp-stat { text-align: center; }
.z-hp-stat__n { display: block; font-size: 1.4rem; font-weight: 800; color: #534AB7; }
.z-hp-stat__n--fire { color: #f97316; }
.z-hp-stat__l { font-size: .75rem; color: var(--z-text-muted, #64748b); }

.z-hp-section { padding: 28px 0; border-top: 1px solid var(--z-line, #e5e7eb); }
.z-hp-section--tinted { background: #f8fafc; }
.z-hp-copilot-sec { background: var(--z-bg, #fff); }
.z-hp-sec-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.z-hp-sec-title { font-size: 1rem; font-weight: 700; color: var(--z-text, #0f172a); margin: 0; }
.z-hp-sec-link { font-size: .8rem; color: #534AB7; font-weight: 600; text-decoration: none; }
.z-hp-sec-link:hover { text-decoration: underline; }
.z-hp-sec-sub { font-size: .8rem; color: var(--z-text-muted, #64748b); margin-bottom: 14px; line-height: 1.5; }

/* COPILOT */
.z-copilot2 { background: #EEEDFE; border: 1px solid #AFA9EC; border-radius: 20px; padding: 20px; }
.z-copilot2__hdr { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
.z-copilot2__icon { width: 36px; height: 36px; background: #534AB7; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.z-copilot2__title { font-size: 1rem; font-weight: 700; color: #26215C; margin: 0 0 2px; }
.z-copilot2__sub { font-size: .78rem; color: #534AB7; margin: 0; line-height: 1.4; }
.z-copilot2__filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.z-cop2-group { flex: 1; min-width: 180px; }
.z-cop2-lbl { font-size: .7rem; font-weight: 700; color: #534AB7; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 7px; }
.z-cop2-opts { display: flex; gap: 6px; flex-wrap: wrap; }
.z-cop2-btn, .z-cop2-sort { font-size: .78rem; padding: 6px 13px; border-radius: 10px; border: 1px solid #AFA9EC; background: #fff; color: #534AB7; cursor: pointer; font-weight: 500; transition: all .15s; font-family: inherit; }
.z-cop2-btn:hover, .z-cop2-sort:hover { background: #EEEDFE; }
.z-cop2-btn--sel, .z-cop2-sort--sel { background: #534AB7; color: #fff; border-color: #534AB7; }
.z-cop2-results { margin-top: 4px; }
.z-cop2-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 10px; }
@media (min-width: 600px) { .z-cop2-grid { grid-template-columns: repeat(4, 1fr); } }
.z-cop2-card { background: #fff; border: 1px solid rgba(83,74,183,.15); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; transition: border-color .15s; display: flex; flex-direction: column; }
.z-cop2-card:hover { border-color: #534AB7; }
.z-cop2-card__img-wrap { width: 100%; height: 90px; background: #f8f8ff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.z-cop2-card__img { width: 100%; height: 100%; object-fit: contain; }
.z-cop2-card__placeholder { font-size: 28px; }
.z-cop2-card__body { padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.z-cop2-card__merchant { font-size: .65rem; color: #534AB7; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.z-cop2-card__title { font-size: .75rem; font-weight: 600; color: var(--z-text, #0f172a); line-height: 1.3; flex: 1; }
.z-cop2-card__price { font-size: .85rem; font-weight: 800; color: #534AB7; margin-top: 2px; }
.z-cop2-note { font-size: .75rem; color: #3C3489; background: rgba(83,74,183,.06); border-radius: 8px; padding: 8px 12px; }
.z-cop2-note a { color: #534AB7; font-weight: 600; text-decoration: none; }
.z-cop2-empty { font-size: .85rem; color: var(--z-text-muted,#64748b); padding: 16px 0; }

/* TRENDING */
.z-hp-trend-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (min-width: 600px) { .z-hp-trend-grid { grid-template-columns: repeat(4,1fr); } }
.z-hp-trend-card { background: #fff; border: 1px solid var(--z-line,#e5e7eb); border-radius: 14px; padding: 12px 14px; text-decoration: none; color: inherit; display: flex; gap: 10px; align-items: flex-start; transition: border-color .15s; }
.z-hp-trend-card:hover { border-color: #534AB7; }
.z-hp-trend-icon { font-size: 22px; flex-shrink: 0; }
.z-hp-trend-name { font-size: .78rem; font-weight: 600; color: var(--z-text,#0f172a); margin-bottom: 4px; line-height: 1.3; }
.z-hp-trend-pct { font-size: 1rem; font-weight: 800; }
.z-hp-trend-card--down .z-hp-trend-pct { color: #3B6D11; }
.z-hp-trend-card--up   .z-hp-trend-pct { color: #A32D2D; }
.z-hp-trend-lbl { font-size: .68rem; color: var(--z-text-muted,#64748b); margin-top: 2px; }

/* MERCHANTS */
.z-hp-merchants { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 600px) { .z-hp-merchants { grid-template-columns: repeat(5,1fr); } }
.z-hp-merchant__card { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--z-line,#e5e7eb); border-radius: 14px; padding: 12px 8px; text-decoration: none; color: inherit; height: 100%; transition: border-color .15s; text-align: center; gap: 4px; }
.z-hp-merchant__card:hover { border-color: #534AB7; }
.z-hp-merchant__logo-wrap { height: 44px; width: 100%; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; overflow: hidden; }
.z-hp-merchant__logo-img { max-height: 36px; max-width: 90%; object-fit: contain; }
.z-hp-merchant__init { width: 36px; height: 36px; border-radius: 8px; background: #EEEDFE; color: #534AB7; font-size: .75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.z-hp-merchant__name { font-size: .7rem; color: var(--z-text-muted,#64748b); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.z-hp-merchant__cnt { font-size: .65rem; color: #534AB7; font-weight: 600; }
.z-hp-merchant__card--more { background: #f8fafc; }
.z-hp-merchant__more-n { font-size: 1.1rem; font-weight: 800; color: #534AB7; }
.z-hp-merchant__more-l { font-size: .68rem; color: var(--z-text-muted,#64748b); }

/* DISCOVERY */
.z-hp-disco-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.z-hp-disco-scroll::-webkit-scrollbar { display: none; }
.z-hp-disco-card { flex-shrink: 0; width: 140px; background: #fff; border: 1px solid var(--z-line,#e5e7eb); border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; scroll-snap-align: start; transition: border-color .15s; display: flex; flex-direction: column; }
.z-hp-disco-card:hover { border-color: #534AB7; }
.z-hp-disco-card__img-wrap { width: 100%; height: 90px; background: #f0f0ff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.z-hp-disco-card__img { width: 100%; height: 100%; object-fit: contain; }
.z-hp-disco-card__placeholder { font-size: 30px; }
.z-hp-disco-card__body { padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.z-hp-disco-card__tag { font-size: .62rem; font-weight: 700; color: #534AB7; text-transform: uppercase; letter-spacing: .04em; }
.z-hp-disco-card__merchant { font-size: .65rem; color: var(--z-text-muted,#64748b); font-weight: 500; }
.z-hp-disco-card__name { font-size: .75rem; font-weight: 600; color: var(--z-text,#0f172a); line-height: 1.3; flex: 1; }
.z-hp-disco-card__price { font-size: .85rem; font-weight: 700; color: #534AB7; }

/* CPU CALCULATOR */
.z-hp-cpu { background: #fff; border: 1px solid var(--z-line,#e5e7eb); border-radius: 20px; padding: 20px; }
.z-hp-cpu__title { font-size: 1rem; font-weight: 700; color: var(--z-text,#0f172a); margin: 0 0 4px; }
.z-hp-cpu__sub { font-size: .78rem; color: var(--z-text-muted,#64748b); margin: 0 0 16px; line-height: 1.5; }
.z-hp-cpu__controls { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.z-hp-cpu__lbl { font-size: .75rem; color: var(--z-text-muted,#64748b); font-weight: 500; }
.z-hp-cpu__input { width: 100%; border: 1px solid var(--z-line,#e5e7eb); border-radius: 10px; padding: 8px 12px; font-size: .9rem; font-family: inherit; color: var(--z-text,#0f172a); margin-top: 4px; outline: none; }
.z-hp-cpu__input:focus { border-color: #534AB7; }
.z-hp-cpu__slider-hdr { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.z-hp-cpu__val { font-weight: 700; color: #534AB7; font-size: .8rem; }
.z-hp-cpu__result { background: #EEEDFE; border-radius: 14px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.z-hp-cpu__result-n { font-size: 1.5rem; font-weight: 800; color: #534AB7; display: block; }
.z-hp-cpu__result-l { font-size: .72rem; color: #3C3489; }
.z-hp-cpu__result-note { font-size: .78rem; color: #3C3489; text-align: right; max-width: 150px; line-height: 1.4; font-weight: 500; }

/* FOOTER CTA */
.z-hp-cta-final { background: #0f0c29; padding: 40px 20px; text-align: center; margin-top: 28px; }
.z-hp-cta-final__badge { display: inline-block; background: rgba(83,74,183,.35); border: 1px solid #534AB7; color: #a5b4fc; font-size: .72rem; padding: 4px 12px; border-radius: 10px; margin-bottom: 12px; font-weight: 600; }
.z-hp-cta-final__title { color: #fff; font-size: 1.3rem; font-weight: 800; margin: 0 0 8px; }
.z-hp-cta-final__sub { color: rgba(255,255,255,.5); font-size: .82rem; line-height: 1.6; max-width: 480px; margin: 0 auto 20px; }
.z-hp-cta-final__btn { display: inline-block; background: #534AB7; color: #fff; border-radius: 14px; padding: 14px 28px; font-size: .9rem; font-weight: 700; text-decoration: none; }
.z-hp-cta-final__btn:hover { opacity: .9; color: #fff; }

@media (max-width: 480px) {
    .z-hp-cpu__result { flex-direction: column; text-align: center; }
    .z-hp-cpu__result-note { text-align: center; max-width: 100%; }
}

/* Filtru categorie copilot */
.z-cop2-group--full { flex-basis: 100%; }
.z-cop2-cat {
    font-size: .75rem; padding: 5px 12px;
    border-radius: 10px; border: 1px solid #AFA9EC;
    background: #fff; color: #534AB7;
    cursor: pointer; font-weight: 500;
    transition: all .15s; font-family: inherit;
}
.z-cop2-cat:hover { background: #EEEDFE; }
.z-cop2-cat--sel { background: #1D9E75; color: #fff; border-color: #1D9E75; }
