/**
 * Aragold product-page reference prototype — shared styles
 * All pages (index + alt-{a..e}) include this file.
 */

:root {
    --black:    #010F1C;
    --body:     #3D3D3D;
    --muted:    #727578;
    --border:   #CED4DA;
    --gold:     #BD844C;
    --gold-soft:#FEF9F3;
    --green:    #006554;
    --blue:     #4477DF;
    --surface:  #F8F9FA;
    --divider:  #EDEDED;
    --font:     "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: var(--font);
    font-size: 14px; line-height: 1.4; color: var(--body);
    background: #fafbfc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Doc shell ======================================================== */
.doc-wrap { max-width: none; width: 100%; margin: 0; padding: 40px 24px 80px; box-sizing: border-box; }
.doc-title { font-size: 26px; font-weight: 600; color: var(--black); margin: 0 0 8px; }
.doc-subtitle { color: var(--muted); font-size: 14px; margin: 0 0 6px; }
.doc-subtitle a { color: var(--blue); text-decoration: none; }
.doc-subtitle a:hover { text-decoration: underline; }
.doc-subtitle code { font-family: ui-monospace, Menlo, monospace; font-size: 12px;
    background: var(--surface); padding: 1px 6px; border-radius: 3px; color: var(--body); }

.crumb {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; color: var(--muted); text-decoration: none;
    margin-bottom: 16px;
}
.crumb:hover { color: var(--gold); }
.crumb svg { width: 14px; height: 14px; }

/* ===== Landing page nav (compact inline format) ========================= */
.nav-alts {
    margin-top: 28px;
    margin-bottom: 28px;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid var(--divider);
    border-radius: 10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
@media (max-width: 1100px) { .nav-alts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .nav-alts { grid-template-columns: 1fr; } }
.nav-alts a {
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 6px;
    background: var(--surface);
    color: var(--black);
    font-size: 13px;
    font-weight: 500;
    border: 1px solid transparent;
    transition: border-color .15s ease, background .15s ease;
    display: block;
    line-height: 1.3;
}
.nav-alts a:hover { border-color: var(--gold); background: var(--gold-soft); }
.nav-alts a.active { background: var(--gold-soft); border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.nav-alts a.active .letter { color: var(--black); }
.nav-alts a .letter { color: var(--gold); font-weight: 600; margin-right: 6px; }
.nav-alts a .sub { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; font-weight: 400; line-height: 1.5; }

.intro-box {
    margin-top: 16px; padding: 14px 18px;
    background: #FEF9F3; border-left: 3px solid var(--gold); border-radius: 6px;
}
.intro-box p { margin: 0 0 6px; color: var(--body); font-size: 13px; line-height: 1.6; }
.intro-box p:first-child { color: var(--black); font-weight: 500; }
.intro-box p:last-child { margin-bottom: 0; }
.intro-box strong { color: var(--black); }
.intro-box code { font-family: ui-monospace, Menlo, monospace; font-size: 12px;
    background: #fff; padding: 1px 6px; border-radius: 3px; color: var(--body);
    border: 1px solid var(--divider); }

/* ===== Example page (alt-X.html) =========================================
 * One unified card holding: header (A + title + tag) + IDEE/TRADE-OFF
 * + all viewports stacked inside, separated by dashed dividers.
 * ===================================================================== */
.example {
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    box-shadow: 0 1px 3px rgba(15,23,42,.04), 0 1px 2px rgba(15,23,42,.06);
}

.example-head .row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.example-head h1 { font-size: 22px; font-weight: 600; color: var(--black); margin: 0; }
.example-head .letter {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 8px;
    background: var(--gold); color: #fff;
    font-size: 18px; font-weight: 600;
    flex-shrink: 0;
}
.example-head .tag {
    font-size: 10px; font-weight: 500; padding: 3px 10px; border-radius: 999px;
    background: var(--surface); color: var(--muted); text-transform: uppercase; letter-spacing: .6px;
}
.example-head .tag.live { background: var(--gold); color: #fff; }
.example-head .tag.simple { background: #EEF4FD; color: var(--blue); }

.alt-idea {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px dashed var(--divider);
}
@media (max-width: 700px) { .alt-idea { grid-template-columns: 1fr; } }
.alt-idea div strong { color: var(--black); display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 4px; }
.alt-idea div p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

/* ===== Viewport sections (inside the unified .example card) ============ */
.viewport-section {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px dashed var(--divider);
}
.viewport-section .viewport-label {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 24px;
    font-size: 11px; font-weight: 600; color: var(--muted);
    text-transform: uppercase; letter-spacing: .8px;
}
.viewport-section .viewport-label strong {
    color: var(--black);
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0;
}
.viewport-section .viewport-label .size {
    font-family: ui-monospace, Menlo, monospace;
    font-size: 11px;
    padding: 2px 8px;
    background: var(--surface);
    border-radius: 4px;
    color: var(--body);
    letter-spacing: 0;
    text-transform: none;
    font-weight: 500;
}
.viewport-section .viewport-body {
    display: flex;
    justify-content: center;
    padding: 0;
}
.viewport-section .viewport-body.desktop {
    justify-content: flex-start;
    width: 100%;
}

/* V3 — tablet + mobile pe un rand, desktop jos full-width */
.device-row {
    display: flex; gap: 32px; flex-wrap: wrap;
    justify-content: flex-start; align-items: flex-start;
    margin-top: 32px; padding-top: 28px;
    border-top: 1px dashed var(--divider);
}
.device-row .viewport-section {
    margin-top: 0; padding-top: 0; border-top: 0;
    flex: 0 0 auto;
}
/* Viewport-section în device-row: width explicit = frame-width pentru
 * fiecare (altfel flex colapsează section la width-ul labelului, iar
 * frame-urile overflow și se suprapun). */
.device-row .viewport-section .viewport-body {
    justify-content: flex-start;
}
.device-row .viewport-section:first-child { width: 764px; flex: 0 0 764px; }
.device-row .viewport-section:nth-child(2) { width: 413px; flex: 0 0 413px; }
.desktop-row {
    margin-top: 40px;
}
.desktop-row .viewport-section .viewport-body.desktop {
    width: 100%;
}


/* ===== Device frames (phones + tablets) ================================= */
.phone-frame, .tablet-frame {
    background: transparent;
    padding: 0;
    border: 10px solid #f2f2f2;
    box-shadow: 0 6px 16px rgba(15,23,42,.04);
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    box-sizing: content-box;
}

/* Container context — product-page children adapt to inline-size of the
 * screen they're rendered into (not to the outer viewport). This is what
 * makes the layout TRULY responsive across device frames.
 *
 * 2026-04-30: extended to LIVE frontend wrappers (.pp-product-card,
 * .product-page) — initially scoped doar la .phone-screen/.tablet-screen
 * (prototype simulated viewports), live page nu avea container deci
 * @container queries niciodata nu s-au activat → produs mobile broken
 * (titlu+pret+atribute+add-to-cart overflow horizontal). */
.phone-screen, .tablet-screen, .viewport-body,
.pp-product-card, .product-page {
    container-type: inline-size;
    container-name: pp;
}

/* Scrollbarurile nu apar pe telefoane/tablete reale — ascunde bara
 * dar păstrează scroll-ul functional (wheel + drag). */
.phone-screen, .tablet-screen {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.phone-screen::-webkit-scrollbar,
.tablet-screen::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* Frame border-radius = screen radius + 10px (border thickness) pentru ca
 * border-ul 10px sa urmeze continuu curba colturilor fara gap. */
.phone-frame.iphone-se { border-radius: 38px; }
.phone-frame.iphone-se .phone-screen {
    background: #fff;
    width: 375px; height: 667px;
    border-radius: 28px;
    overflow-y: auto; overflow-x: hidden;
    padding: 20px 12px 16px;
}

.phone-frame.iphone-15 { border-radius: 44px; }
.phone-frame.iphone-15::before {
    content: ""; position: absolute;
    top: 14px; left: 50%; transform: translateX(-50%);
    width: 118px; height: 32px;
    background: #1c1c1c; border-radius: 999px; z-index: 3;
}
.phone-frame.iphone-15 .phone-screen {
    background: #fff;
    width: 393px; height: 852px;
    border-radius: 34px;
    overflow-y: auto; overflow-x: hidden;
    padding: 58px 14px 20px;
}

.phone-frame.iphone-pro-max { border-radius: 48px; }
.phone-frame.iphone-pro-max::before {
    content: ""; position: absolute;
    top: 16px; left: 50%; transform: translateX(-50%);
    width: 126px; height: 34px;
    background: #1c1c1c; border-radius: 999px; z-index: 3;
}
.phone-frame.iphone-pro-max .phone-screen {
    background: #fff;
    width: 430px; height: 932px;
    border-radius: 38px;
    overflow-y: auto; overflow-x: hidden;
    padding: 62px 16px 22px;
}

.tablet-frame.ipad-mini { border-radius: 28px; }
.tablet-frame.ipad-mini .tablet-screen {
    background: #fff;
    width: 744px; height: 1024px;
    border-radius: 18px;
    overflow-y: auto; overflow-x: hidden;
    padding: 24px 22px;
}

.tablet-frame.ipad-pro { border-radius: 28px; }
.tablet-frame.ipad-pro .tablet-screen {
    background: #fff;
    width: 834px; height: 1100px;
    border-radius: 18px;
    overflow-y: auto; overflow-x: hidden;
    padding: 28px 24px;
}

.device-card { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.device-card .device-label {
    font-size: 10px; font-weight: 500; color: var(--muted);
    text-transform: uppercase; letter-spacing: .8px; text-align: center;
}
.device-card .device-label strong {
    display: block;
    font-size: 13px; color: var(--black);
    text-transform: none; letter-spacing: 0;
    margin-top: 2px; font-weight: 600;
}

.device-showcase {
    margin-top: 32px;
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(15,23,42,.04), 0 1px 2px rgba(15,23,42,.06);
    overflow: hidden;
}
.device-showcase h2 { font-size: 16px; font-weight: 600; color: var(--black); margin: 0 0 4px; }
.device-showcase p { font-size: 13px; color: var(--muted); margin: 0 0 20px; }
.device-showcase .devices-row {
    display: flex; gap: 28px;
    overflow-x: auto; padding-bottom: 12px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.device-showcase .device-card { scroll-snap-align: start; }
.device-showcase .devices-row::-webkit-scrollbar { height: 8px; }
.device-showcase .devices-row::-webkit-scrollbar-thumb { background: var(--divider); border-radius: 4px; }

/* ===== Product page shell (desktop default) ============================= */
.product-page {
    display: grid;
    grid-template-columns: minmax(420px, 1.35fr) 1fr;
    gap: 24px;
    align-items: start;
}
/* NOTE: viewport-based @media breakpoint removed — container queries
 * further below drive the layout based on the REAL container width,
 * which is what "truly responsive" means. */

.gallery { display: flex; gap: 16px; }
.gallery .thumbs { display: flex; flex-direction: column; gap: 12px; width: 72px; flex-shrink: 0; }
.gallery .thumbs > div { width: 72px; height: 72px; background: #D9D9D9; border-radius: 8px; }
.gallery .main {
    flex: 1; aspect-ratio: 1 / 1;
    background: #D9D9D9; border-radius: 12px; padding: 20px;
    display: flex; align-items: flex-start; justify-content: space-between; position: relative;
}
.gallery .main .badge {
    background: var(--green); color: #fff; font-size: 12px; font-weight: 600;
    padding: 2px 12px; border-radius: 6px; line-height: 2;
}
.gallery .main .badge.sale { background: var(--gold); }
.gallery .main .badge.discount { background: var(--blue); }

/* 2026-04-30: alt-a horizontal gallery — main FULL-WIDTH, thumbs strip
   below in horizontal scroll cu prev/next arrows.
   Container queries (.pp-product-card has container-name=pp) make these
   responsive across desktop/tablet/mobile. */
.gallery-horizontal {
    flex-direction: column;
    gap: 12px;
}
.gallery-horizontal .main {
    flex: 0 0 auto;
    width: 100%;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
}
.gallery-horizontal .main.is-dragging {
    cursor: grabbing;
}
.gallery-horizontal .main .main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}
.gallery-main-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(1, 15, 28, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: var(--black, #010F1C);
    box-shadow: 0 10px 24px rgba(1, 15, 28, .12);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background .15s, border-color .15s, color .15s, opacity .15s;
}
.gallery-main-prev { left: 14px; }
.gallery-main-next { right: 14px; }
.gallery-main-arrow:hover {
    border-color: var(--gold, #BD844C);
    background: #fff;
    color: var(--gold, #BD844C);
}
.gallery-main-arrow svg {
    width: 18px;
    height: 18px;
}
.gallery-main-arrow[hidden] {
    display: none !important;
}
@media (max-width: 767px) {
    .gallery-main-arrow {
        width: 36px;
        height: 36px;
    }
    .gallery-main-prev { left: 10px; }
    .gallery-main-next { right: 10px; }
}
.thumbs-scroll-wrap {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    align-items: center;
    width: 100%;
}
.gallery-horizontal .thumbs {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    gap: 10px;
    min-width: 0;
}
.gallery-horizontal .thumbs::-webkit-scrollbar { display: none; }
.gallery-horizontal .thumbs > .thumb {
    flex: 0 0 calc((100% - 4 * 10px) / 4.5);
    aspect-ratio: 1 / 1;
    background: #F4F4F4;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid transparent;
    transition: border-color 0.15s, background 0.15s;
}
.gallery-horizontal .thumbs > .thumb.active {
    border-color: var(--gold, #BD844C);
}
.gallery-horizontal .thumbs > .thumb:hover {
    border-color: var(--gold, #BD844C);
}
.gallery-horizontal .thumbs > .thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.thumbs-arrow {
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff;
    border: 1px solid var(--border, #e5e6e8);
    border-radius: 6px;
    color: var(--black, #010F1C);
    cursor: pointer;
    transition: border-color .15s, color .15s, background .15s;
    padding: 0;
    flex-shrink: 0;
}
.thumbs-arrow:hover {
    border-color: var(--gold, #BD844C);
    color: var(--gold, #BD844C);
    background: var(--gold-soft, #FAF7F2);
}
.thumbs-arrow svg { width: 14px; height: 14px; }
.thumbs-arrow[hidden] {
    /* !important pentru a invinge bootstrap.min.css `[hidden] { display: none !important }`.
       Fara asta, arrow disabled (la start/end) primeste display:none si grid-ul
       3-col se prabuseste (track 1 colapseaza la 0px), distorsionand list width. */
    display: inline-flex !important;
    opacity: .35;
    pointer-events: none;
    cursor: default;
}

/* When wrap is in 'no-overflow' state (chips fit fully visible), arrows
   are removed from layout entirely si lista ocupa toata latimea wrap-ului.
   Aplica deopotriva la thumbs-scroll-wrap (gallery) si attr-scroll-wrap
   (gramaj chips). */
.thumbs-scroll-wrap.no-overflow,
.attr-scroll-wrap.no-overflow {
    grid-template-columns: 1fr;
}
.thumbs-scroll-wrap.no-overflow .thumbs-arrow,
.attr-scroll-wrap.no-overflow .attr-scroll-arrow {
    display: none !important;
}

/* 2026-05-01: REVERTED — chip-urile trebuie sa stea IN interiorul card-ului
   (aliniate cu icon-spec rows Diametru/Latime/etc), NU sa-l depaseasca.
   Vechi (eliminat): margin-left/right: -24px. */

.summary { display: flex; flex-direction: column; gap: 20px; max-width: 540px; }
.title-block { display: flex; flex-direction: column; gap: 12px; }
.title-block h1 { font-size: 28px; font-weight: 500; line-height: 1.25; color: var(--black); margin: 0; }
.title-block .short-desc,
.summary-info-card > .short-desc {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--body);
    margin: 0;
}
.summary-info-card > .short-desc {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.summary-info-card > .short-desc.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}
.summary-info-card > .short-desc > :last-child {
    margin-bottom: 0;
}
.short-desc-toggle {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    border: 0;
    background: transparent;
    color: var(--gold);
    padding: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
}
.short-desc-toggle:hover,
.short-desc-toggle:focus {
    color: var(--black);
    text-decoration: underline;
}

.price { font-size: 22px; font-weight: 600; line-height: 1.2; color: var(--black); margin: 0; }
.price small { font-size: 15px; font-weight: 400; color: var(--muted); margin-left: 6px; text-decoration: line-through; }

/* ===== Lucide icons — sizing per context =================================
   Lucide-ul default randeaza SVG 24x24 (width/height intrinsic). Le facem
   sa erediteze marimea de la parintele care le contine. Default 1em = font-size
   curent. Per context fortam dimensiuni explicite. */
[data-lucide], svg[class*="lucide"] {
    width: 1em; height: 1em;
    stroke-width: 1.6;
    flex-shrink: 0;
    vertical-align: middle;
}
.icon-spec-ico [data-lucide], .icon-spec-ico svg { width: 18px; height: 18px; }
.pp-h-btn [data-lucide], .pp-h-btn svg { width: 20px; height: 20px; }
.btn-cart [data-lucide], .btn-cart svg { width: 18px; height: 18px; }
.btn-wishlist [data-lucide], .btn-wishlist svg { width: 18px; height: 18px; }
.eye-row [data-lucide], .eye-row svg { width: 14px; height: 13px; }
.share-row [data-lucide], .share-row svg { width: 13px; height: 13px; }
.livrare .icon [data-lucide], .livrare .icon svg { width: 18px; height: 18px; }
.attr-scroll-arrow [data-lucide], .attr-scroll-arrow svg { width: 14px; height: 14px; }
.attr-dropdown-trigger [data-lucide], .attr-dropdown-trigger svg { width: 14px; height: 14px; }
.attr-more-btn [data-lucide], .attr-more-btn svg { width: 12px; height: 12px; }
.pp-sec-actions [data-lucide], .pp-sec-actions svg { width: 14px; height: 14px; }
.pp-hamburger [data-lucide], .pp-hamburger svg { width: 22px; height: 22px; }
.zoom-btn [data-lucide], .zoom-btn svg { width: 16px; height: 16px; }
.gallery-stack-counter [data-lucide], .gallery-stack-counter svg { width: 12px; height: 12px; }

/* ===== Attribute chips =================================================== */
.attr-group { display: flex; flex-direction: column; gap: 6px; }
.attr-group-title { font-size: 13px; font-weight: 500; color: var(--black); margin: 0; line-height: 1.4; letter-spacing: .1px; }
.attr-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.attr-item { margin: 0; padding: 0; display: inline-flex; position: relative; }
.attr-item label {
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; border: 1px solid var(--border); border-radius: 6px;
    padding: 8px 14px; cursor: pointer; transition: border-color .15s ease;
    position: relative; overflow: hidden; min-width: 48px;
}
.attr-item input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; margin: 0; }
.attr-item .attr-val { font-size: 13px; font-weight: 400; line-height: 1.4; color: var(--muted); white-space: nowrap; }

.attr-item:not(.disabled):not(.checked) label:hover { border-color: var(--gold); }
.attr-item:not(.disabled).checked label { border-color: var(--gold); }
.attr-item:not(.disabled).checked label::after {
    content: ""; position: absolute; bottom: -1px; right: -1px;
    width: 18px; height: 18px;
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%23BD844C' d='M20 0v20H0L20 0z'/%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M11.5 14l1.8 1.8 4-4'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
    pointer-events: none;
}
.attr-item.disabled label { cursor: not-allowed; }
.attr-item.disabled .attr-val { color: var(--border); }
.attr-item.disabled label::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(to top right,
        transparent calc(50% - .75px),
        var(--border) calc(50% - .75px),
        var(--border) calc(50% + .75px),
        transparent calc(50% + .75px));
}

/* === Alt A — Gramaj dropdown (single select expandabil) ============== */
.attr-dropdown { position: relative; width: 100%; }
.attr-dropdown-trigger {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 10px 14px;
    background: #fff; border: 1px solid var(--border); border-radius: 6px;
    font-family: inherit; font-size: 13px; font-weight: 500; color: var(--black);
    cursor: pointer; transition: border-color .15s ease;
}
.attr-dropdown-trigger:hover,
.attr-dropdown[data-open="true"] .attr-dropdown-trigger { border-color: var(--gold); }
.attr-dropdown-trigger svg { width: 14px; height: 14px; transition: transform .18s ease; }
.attr-dropdown[data-open="true"] .attr-dropdown-trigger svg { transform: rotate(180deg); }
.attr-dropdown-menu {
    position: absolute; top: calc(100% + 4px); left: 0; right: 0;
    background: #fff; border: 1px solid var(--border); border-radius: 8px;
    box-shadow: 0 8px 24px rgba(1, 15, 28, .08);
    list-style: none; margin: 0; padding: 4px;
    max-height: 280px; overflow-y: auto;
    z-index: 30;
    opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: opacity .15s, transform .15s, visibility .15s;
}
.attr-dropdown[data-open="true"] .attr-dropdown-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.attr-dropdown-menu .attr-option {
    display: flex; align-items: center; justify-content: space-between;
    padding: 9px 12px; border-radius: 5px;
    font-size: 13px; color: var(--black);
    cursor: pointer; transition: background .12s;
}
.attr-dropdown-menu .attr-option:hover { background: var(--gold-soft); }
.attr-dropdown-menu .attr-option.active { background: var(--gold-soft); color: var(--gold); font-weight: 500; }
.attr-dropdown-menu .attr-option.disabled {
    opacity: .55; cursor: not-allowed;
}
.attr-dropdown-menu .attr-option.disabled:hover { background: transparent; }
.attr-dropdown-menu .opt-meta { font-size: 11.5px; color: var(--muted); font-weight: 400; }
.attr-dropdown-menu .attr-option.active .opt-meta { color: var(--gold); }
.attr-dropdown-menu .attr-option.disabled .opt-meta { color: var(--border); }

/* === Alt D — Gramaj scroll orizontal cu sageti prev/next =============
   Wrap-ul foloseste grid 3-col (arrow / list / arrow) cu gap 8px IDENTIC
   cu spacing-ul intre chips. Astfel distanta sageata-chip = chip-chip. */
.attr-scroll-wrap {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    align-items: center;
}
.attr-list-scroll {
    position: relative; /* devine offsetParent pentru chip-uri */
    flex-wrap: nowrap !important;
    overflow-x: auto; overflow-y: hidden;
    /* fara scroll-snap-type — interfereaza cu programmatic scrollTo
       in Chrome (overshoot/undershoot). Aliniere se face exclusiv prin
       arrow-click cu offsetLeft chip-aligned. */
    scroll-behavior: smooth;
    scrollbar-width: none; -ms-overflow-style: none;
    padding: 2px 0;
    min-width: 0; /* permite shrink in grid */
}
.attr-list-scroll::-webkit-scrollbar { display: none; }
.attr-scroll-wrap .attr-list-scroll .attr-item {
    flex: 0 0 calc((100% - 6 * 8px) / 7);
    min-width: 0;
}
.attr-scroll-wrap .attr-list-scroll .attr-item label {
    width: 100%;
    min-width: 0;
    padding: 8px 4px;
    font-size: 12px;
}
/* Sagetile = patrate 36x36 cu colturi rotunde (acelasi stil ca chips):
   white bg, border subtil, hover gold. Hidden cand atingem start/end. */
.attr-scroll-arrow {
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; border: 1px solid var(--border); border-radius: 6px;
    color: var(--black); cursor: pointer;
    transition: border-color .15s, color .15s, background .15s;
    padding: 0;
    flex-shrink: 0;
}
.attr-scroll-arrow:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-soft);
}
.attr-scroll-arrow svg { width: 14px; height: 14px; }
/* Cand sageata e la limita (start/end), o pastram VIZIBILA dar disabled
   — layout-ul gridului ramane stabil iar utilizatorul vede clar boundary-ul.
   Folosim atributul [hidden] ca semnal de stare disabled (NU il scoatem din
   layout). */
.attr-scroll-arrow[hidden] {
    /* !important pentru a invinge bootstrap.min.css `[hidden] { display: none !important }`.
       Fara asta arrow disabled la start/end devine display:none si grid template
       collapses (vezi 2026-04-30 issue: list width 440 cand prev=hidden vs 452 cand
       prev visible disabled). */
    display: inline-flex !important;
    opacity: .35;
    pointer-events: none;
    cursor: default;
    background: var(--surface, #f7f7f8);
    border-color: var(--border);
    color: var(--muted);
}

/* === Alt E — Gramaj hybrid (5 chips + popover) ======================= */
/* Alt D — title + rating + desc + price wrapate intr-un card cu colturi rotunjite */
[data-variant="alt-d"] .summary-info-card,
[data-variant="alt-d"] .summary-action-card {
    background: var(--surface, #fbf8f3);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
/* Alt D — eye-row + combined-thumbs-right aliniate la 12px (radius hero
   image), pentru consistenta totala intre carduri si galerie. */
[data-variant="alt-d"] .eye-row,
[data-variant="alt-d"] .combined-thumbs-right {
    border-radius: 12px;
}
[data-variant="alt-d"] .summary-info-card > *,
[data-variant="alt-d"] .summary-action-card > * {
    margin: 0;
}
@media (max-width: 768px) {
    [data-variant="alt-d"] .summary-info-card,
    [data-variant="alt-d"] .summary-action-card { padding: 18px; gap: 12px; }
}

.attr-list-hybrid { /* moștenește layout-ul standard de la .attr-list */ }
/* Desktop + tablet alt-d: chips distribuite uniform pe toata latimea
   attr-group prin justify-content space-between (gap = 0). */
.viewport-body.desktop [data-variant="alt-d"] .attr-list-hybrid,
.tablet-screen [data-variant="alt-d"] .attr-list-hybrid {
    gap: 0;
    justify-content: space-between;
    flex-wrap: nowrap;
}
.viewport-body.desktop [data-variant="alt-d"] .attr-list-hybrid .attr-item label,
.viewport-body.desktop [data-variant="alt-d"] .attr-list-hybrid .attr-more-btn {
    padding: 8px 10px;
    min-width: 42px;
}
.attr-group-hybrid { position: relative; }
.attr-popover { position: absolute; left: 0; right: 0; top: 100%; }
.attr-popover-trigger { margin: 0; padding: 0; }
.attr-more-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 4px;
    padding: 8px 14px; min-width: 48px;
    background: #fff; border: 1px dashed var(--border); border-radius: 6px;
    color: var(--gold); font-family: inherit; font-size: 13px; font-weight: 400; line-height: 1.4;
    cursor: pointer; transition: all .15s;
}
.attr-more-btn:hover { background: var(--gold-soft); border-color: var(--gold); border-style: solid; }
.attr-more-btn svg { width: 12px; height: 12px; transition: transform .18s ease; }
.attr-popover[data-open="true"] .attr-more-btn svg { transform: rotate(180deg); }
.attr-popover-panel {
    display: none;
    position: relative;
    margin-top: 8px;
    background: #fff; border: 1px solid var(--border); border-radius: 10px;
    box-shadow: 0 12px 32px rgba(1, 15, 28, .1);
    padding: 12px;
    z-index: 30;
    width: 100%;
}
.attr-popover[data-open="true"] .attr-popover-panel {
    display: block;
}
.attr-list-grid-full {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    gap: 6px;
    flex-wrap: unset;
    list-style: none; margin: 0; padding: 0;
}
.attr-list-grid-full .attr-item label { width: 100%; min-width: 0; padding: 7px 8px; }

/* ===== Stock + Qty + Cart + Wishlist ==================================== */
.stock { font-size: 12px; font-weight: 500; color: var(--green); margin: 0; }
.stock.oos { color: #B91C1C; }
.stock .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; }

.quantity-block { display: flex; flex-direction: column; gap: 8px; }
.quantity-label { font-size: 13px; font-weight: 500; color: var(--black); margin: 0; }
.qty-cart-row { display: flex; gap: 8px; align-items: stretch; }
.qty-counter {
    display: flex; align-items: center; justify-content: space-between;
    width: 120px; height: 52px; padding: 8px 10px;
    background: var(--surface); border: 1px solid var(--surface); border-radius: 6px;
    flex-shrink: 0; gap: 8px;
}
.qty-counter.disabled { opacity: .5; pointer-events: none; }
.qty-counter button { width: 28px; height: 28px; padding: 0; background: transparent; border: 0; cursor: pointer; font-size: 20px; font-weight: 600; color: var(--black); }
.qty-counter .qty-val { font-size: 18px; font-weight: 600; color: var(--black); min-width: 24px; text-align: center; }

.btn-cart {
    flex: 1; height: 52px;
    background: var(--black); color: #fff;
    font-family: var(--font); font-size: 14px; font-weight: 400;
    border: 0; border-radius: 8px; cursor: pointer; padding: 0 16px;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    transition: background .15s ease;
}
/* Hover gold accent — paritate cu .hp-product-card__cta:hover (--hp-accent #BD844C). */
.btn-cart:hover:not(:disabled) { background: #BD844C; }
.btn-cart:disabled { background: #9ca3af; cursor: not-allowed; }
.btn-cart svg { width: 16px; height: 16px; }
.btn-wishlist {
    width: 52px; height: 52px;
    background: var(--gold); color: #fff;
    border: 0; border-radius: 6px; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.btn-wishlist svg { width: 18px; height: 18px; }

/* ===== Livrare / Share / Eye ============================================ */
/* Trust strip carusel marquee — track-ul are itemii duplicati (4+4) si se
   anima translateX -50% in loop continuu. Mask gradient stanga/dreapta
   pentru fade soft. Hover paseaza animatia pentru lizibilitate.

   Nota: pe summary panel ingust (Alt D), marquee taie primul item; in
   spatiu narrow folosim flex wrap static (override la final). */
.livrare {
    overflow: hidden;
    padding: 4px 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.livrare .livrare-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: ara-livrare-scroll 28s linear infinite;
}
.livrare:hover .livrare-track { animation-play-state: paused; }
.livrare .item { display: flex; gap: 12px; align-items: center; flex-shrink: 0; min-width: 0; }
.livrare .item .icon { width: 36px; height: 36px; border-radius: 6px; background: var(--gold-soft); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.livrare .item .icon svg { width: 18px; height: 18px; }
.livrare .item .text { display: flex; flex-direction: column; gap: 0; }
.livrare .item .text .t { font-size: 13px; color: var(--black); font-weight: 500; white-space: nowrap; }
.livrare .item .text .s { font-size: 11px; color: var(--muted); white-space: nowrap; }
@keyframes ara-livrare-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Share-slot containers — pe desktop afisam slotul "inline" (impreuna cu
   stock indicator pe ACEEASI LINIE), pe tablet/mobile afisam slotul "stack"
   (sub eyeRow). */
.share-slot-inline { display: flex; }
.share-slot-stack { display: none; }
.stock-share-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: nowrap; /* obligatoriu pe aceeasi linie */
}
.stock-share-row .stock { margin: 0; flex-shrink: 0; }
.stock-share-row .share-slot-inline { flex-shrink: 0; }
.stock-share-row .share-slot-inline .share-row { padding: 0; border-top: 0; gap: 12px; }
.stock-share-row .share-slot-inline .share-row .label { font-size: 12px; }

.share-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--divider); }
.share-row .label { font-size: 13px; color: var(--black); font-weight: 500; }
.share-row .icons { display: flex; gap: 6px; }
.share-row .icons .ico {
    width: 34px; height: 34px; border-radius: 999px;
    border: 1px solid var(--border);
    display: inline-flex; align-items: center; justify-content: center; color: var(--gold);
}
.share-row .icons .ico svg { width: 13px; height: 13px; }
.share-row .icons button.ico { background: transparent; padding: 0; cursor: pointer; }

.eye-row {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; background: var(--surface); border-radius: 6px;
    font-size: 13px; color: var(--black);
}
.eye-row svg { width: 16px; height: 13px; flex-shrink: 0; color: var(--muted); }

/* ===== Variant-specific ================================================= */

/* A: Inline specs */
.inline-specs {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    padding: 10px 14px; background: var(--surface); border-radius: 6px;
    font-size: 13px; color: var(--body); line-height: 1.4;
}
.inline-specs .is-label { color: var(--muted); font-weight: 500; }
.inline-specs .is-val { color: var(--black); font-weight: 500; }
.inline-specs .is-sep { color: var(--border); }
.inline-specs .is-sku { color: var(--muted); font-family: ui-monospace, Menlo, monospace; font-size: 12px; margin-left: auto; }

/* B: Specs card */
.specs-card {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 12px 24px; padding: 16px 20px;
    background: var(--surface); border-radius: 8px;
}
.specs-card .specs-item { display: flex; flex-direction: column; gap: 2px; }
.specs-card .specs-item .k { font-size: 12px; color: var(--muted); font-weight: 400; text-transform: uppercase; letter-spacing: .4px; }
.specs-card .specs-item .v { font-size: 14px; color: var(--black); font-weight: 500; }

/* C: Icon specs */
.icon-specs {
    display: flex; flex-direction: column; gap: 2px;
    border: 1px solid var(--divider); border-radius: 8px; overflow: hidden;
}
.icon-spec-row {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 16px; background: #fff;
    border-top: 1px solid var(--divider);
}
.icon-spec-row:first-child { border-top: 0; }
.icon-spec-row .icon-spec-ico {
    width: 34px; height: 34px; border-radius: 999px;
    background: var(--gold-soft); color: var(--gold);
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.icon-spec-row .icon-spec-ico svg { width: 16px; height: 16px; }
.icon-spec-row .icon-spec-label { flex: 1; font-size: 13px; color: var(--muted); }
.icon-spec-row .icon-spec-value { font-size: 14px; color: var(--black); font-weight: 500; }

/* D: SKU picker */
.product-page.sku-picker .sku-list {
    display: flex; flex-direction: column; gap: 6px;
    max-height: 340px; overflow-y: auto; padding: 4px 2px 4px 0;
}
.sku-card {
    display: grid; grid-template-columns: auto 1fr auto; gap: 14px;
    align-items: center; padding: 12px 16px;
    background: #fff; border: 1px solid var(--border); border-radius: 8px;
    cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.sku-card:hover { border-color: var(--gold); background: var(--gold-soft); }
.sku-card.checked { border-color: var(--gold); background: var(--gold-soft); }
.sku-card.oos { opacity: .45; cursor: not-allowed; background: var(--surface); }
.sku-card .radio {
    width: 18px; height: 18px; border-radius: 999px;
    border: 1.5px solid var(--border); flex-shrink: 0;
    position: relative; background: #fff;
}
.sku-card.checked .radio { border-color: var(--gold); }
.sku-card.checked .radio::after {
    content: ""; position: absolute; inset: 3px;
    background: var(--gold); border-radius: 999px;
}
.sku-card .summary-line { display: flex; flex-direction: column; gap: 2px; }
.sku-card .attrs { font-size: 13px; color: var(--black); line-height: 1.35; display: flex; flex-wrap: wrap; gap: 4px; }
.sku-card .attrs span { color: var(--black); font-weight: 500; }
.sku-card .attrs .sep { color: var(--border); font-weight: 400; }
.sku-card .stock-badge {
    font-size: 11px; padding: 2px 6px; border-radius: 4px;
    background: rgba(0,101,84,.1); color: var(--green); font-weight: 500;
    display: inline-block; margin-top: 2px; width: fit-content;
}
.sku-card .stock-badge.oos { background: rgba(185,28,28,.08); color: #B91C1C; }
.sku-card .price-tag { font-size: 14px; font-weight: 600; color: var(--black); white-space: nowrap; }
.sku-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.sku-header .label { font-size: 13px; font-weight: 500; color: var(--black); }
.sku-header .count { font-size: 11px; color: var(--muted); }

/* E: Simple + Specs */
.specs-block { padding: 20px; background: var(--surface); border-radius: 8px; }
.specs-block h3 {
    font-size: 13px; font-weight: 600; text-transform: uppercase;
    letter-spacing: .6px; color: var(--muted); margin: 0 0 14px;
}
.specs-list {
    display: grid; grid-template-columns: max-content 1fr;
    column-gap: 24px; row-gap: 10px; margin: 0;
}
.specs-list dt { font-size: 13px; color: var(--muted); font-weight: 400; }
.specs-list dd { font-size: 13px; color: var(--black); font-weight: 500; margin: 0; }

/* ========================================================================
 * RESPONSIVE LAYOUTS — driven by container queries on .phone-screen /
 * .tablet-screen / .viewport-body (see container-type declaration above).
 * The product-page inside adapts to the REAL inline-size of its frame,
 * not to the outer viewport, so the same markup renders as "desktop" in
 * a 1232px viewport-body AND as "mobile" in a 365px phone-screen.
 * ===================================================================== */

/* ----- Tablet breakpoint (600px ≤ container < 1000px) ------------------
 * STACKED layout like mobile but with larger type. Gallery aligns with
 * the summary text below — no centered max-width offset, so left/right
 * spacing matches the text margins exactly. Image and thumbs scale to
 * the full container width. */
@container pp (min-width: 600px) and (max-width: 1000px) {
    .product-page {
        display: flex;
        flex-direction: column;
        gap: 28px;
    }
    .product-page .gallery {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    /* Alt B: thumbs vin inainte de main in HTML (pentru layout vertical
       stanga pe desktop). Pe tablet trebuie column-reverse ca main sa
       ramana deasupra thumbs. */
    .product-page .gallery.gallery-vertical { flex-direction: column-reverse; }
    .product-page .gallery .thumbs {
        display: flex;
        flex-direction: row;
        gap: 10px;
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-snap-type: x mandatory;
        padding-bottom: 4px;
    }
    .product-page .gallery .thumbs::-webkit-scrollbar { display: none; }
    .product-page .gallery .thumbs > .thumb {
        flex: 0 0 calc((100% - 4 * 10px) / 4.5);
        scroll-snap-align: start;
    }
    .product-page .gallery .thumbs > div {
        width: auto;
        height: auto;
        aspect-ratio: 1 / 1;
    }
    .product-page .gallery .main {
        width: 100cqi;
        height: 100cqi;
        flex: 0 0 auto;
        aspect-ratio: 1/1;
        padding: 20px;
    }
    .product-page .summary { max-width: 100%; gap: 20px; }
    .product-page .title-block { gap: 10px; }
    .product-page .title-block h1 { font-size: 22px; line-height: 1.25; }
    .product-page .title-block .short-desc { font-size: 13px; }
    .product-page .price { font-size: 20px; }
    .product-page .attr-item label { padding: 8px 14px; min-width: 52px; }
    .product-page .attr-item .attr-val { font-size: 13px; }
    .product-page .qty-counter { width: 108px; height: 50px; }
    .product-page .btn-cart { height: 50px; font-size: 13px; padding: 0 14px; }
    .product-page .btn-wishlist { width: 50px; height: 50px; }
    .product-page .livrare { gap: 16px; }
    .product-page .livrare .item .icon { width: 34px; height: 34px; }
    .product-page .livrare .item .icon svg { width: 16px; height: 16px; }
    .product-page .livrare .item .text .t { font-size: 12px; }
    .product-page .livrare .item .text .s { font-size: 11px; }
    .product-page .specs-card { grid-template-columns: 1fr 1fr; gap: 10px 18px; padding: 14px 16px; }
    .product-page .share-row .icons .ico { width: 32px; height: 32px; }
    .product-page .sku-card { padding: 10px 14px; gap: 10px; }
    /* Pe tablet: share revine sub eyeRow (stack); sec-actions ramane inline
       in dreapta rating-row (la fel ca pe desktop). */
    .product-page .share-slot-inline { display: none; }
    .product-page .share-slot-stack { display: block; }
    .product-page .sec-slot-stack { display: none; }
    /* sec-slot-inline ramane visible (default flex) */
}

/* ----- Mobile breakpoint (container < 600px) -------------------------- */
@container pp (max-width: 599px) {
    .product-page {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
    .product-page .gallery {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    /* Alt B: idem ca pe tablet — reverse ca main sa ramana sus */
    .product-page .gallery.gallery-vertical { flex-direction: column-reverse; }
    .product-page .gallery .thumbs {
        display: flex;
        flex-direction: row;
        gap: 8px;
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-snap-type: x mandatory;
        padding-bottom: 4px;
    }
    .product-page .gallery .thumbs::-webkit-scrollbar { display: none; }
    .product-page .gallery .thumbs > .thumb {
        flex: 0 0 calc((100% - 4 * 8px) / 4.5);
        scroll-snap-align: start;
    }
    .product-page .gallery .thumbs > div {
        width: auto;
        height: auto;
        aspect-ratio: 1 / 1;
        border-radius: 6px;
    }
    .product-page .gallery .main {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        width: 100cqi;
        height: 100cqi;
        flex: 0 0 auto;
        aspect-ratio: 1 / 1;
        padding: 12px;
        margin: 0 auto;
        border-radius: 12px;
    }
    .product-page .summary { max-width: 100%; gap: 20px; }
    .product-page .title-block { gap: 10px; }
    .product-page .title-block h1 { font-size: 20px; }
    .product-page .title-block .short-desc { font-size: 13px; }
    .product-page .price { font-size: 18px; }
    .product-page .attr-item label { padding: 7px 12px; min-width: 44px; }
    .product-page .attr-item .attr-val { font-size: 13px; }
    .product-page .qty-counter { width: 98px; height: 46px; padding: 6px 10px; }
    .product-page .qty-counter button { width: 22px; height: 22px; font-size: 18px; }
    .product-page .qty-counter .qty-val { font-size: 16px; }
    .product-page .btn-cart { height: 46px; font-size: 13px; padding: 0 12px; gap: 6px; }
    .product-page .btn-wishlist { width: 46px; height: 46px; }
    .product-page .livrare { gap: 14px; padding-bottom: 8px; }
    .product-page .livrare .item .icon { width: 32px; height: 32px; }
    .product-page .livrare .item .icon svg { width: 16px; height: 16px; }
    .product-page .livrare .item .text .t { font-size: 12px; }
    .product-page .livrare .item .text .s { font-size: 10px; }
    .product-page .share-row .icons .ico { width: 30px; height: 30px; }
    .product-page .share-row .icons .ico svg { width: 12px; height: 12px; }
    .product-page .eye-row { font-size: 12px; padding: 8px 12px; }
    .product-page .sku-card { padding: 10px 12px; gap: 10px; }
    .product-page .sku-card .attrs { font-size: 12px; }
    .product-page .sku-card .price-tag { font-size: 13px; }
    /* Pe mobile: share revine sub eyeRow (stack); sec-actions raman inline
       in rating-row dar wrap pe rand nou sub stars/recenzii. */
    .product-page .share-slot-inline { display: none; }
    .product-page .share-slot-stack { display: block; }
    .product-page .pp-rating-row { flex-wrap: wrap; }
    .product-page .pp-rating-row .sec-slot-inline {
        display: flex;
        flex-basis: 100%;
        margin-left: 0;
        padding-top: 4px;
    }
    .product-page .sec-slot-stack { display: none; }
    /* Pe mobile: 6 chips vizibile (in loc de 7) -> chip mai lat pentru
       lizibilitate text (3.05, 3.18, etc.) */
    .product-page .attr-scroll-wrap .attr-list-scroll .attr-item {
        flex: 0 0 calc((100% - 5 * 8px) / 6);
    }
    .product-page .specs-card { grid-template-columns: 1fr; gap: 10px; padding: 14px; }
    .product-page .specs-block { padding: 14px; }
    .product-page .specs-list { column-gap: 14px; row-gap: 8px; }
    .product-page .specs-list dt, .product-page .specs-list dd { font-size: 12px; }
}

/* =========================================================================
 * V3 — GALLERY VARIANTS cu imagini reale
 * Focus: 4 patterns distincte de afișare galerie (baseline / A / B / C)
 * Toate folosesc .gallery > .main > img.main-img + .thumbs > .thumb > img
 * ========================================================================= */

.gallery-variant .gallery {
    position: relative;
}

/* Thumbs cu imagini reale (override v1 placeholder divs) */
.gallery-variant .gallery .thumb {
    cursor: pointer; position: relative; overflow: hidden;
    border-radius: 8px; background: #FAFAFA;
    border: 2px solid transparent; transition: border-color .15s;
    aspect-ratio: 1/1;
}
.gallery-variant .gallery .thumb:hover { border-color: var(--gold); }
.gallery-variant .gallery .thumb.active { border-color: var(--gold); }
.gallery-variant .gallery .thumb > img {
    width: 100%; height: 100%; object-fit: contain; display: block;
}

/* Main image — cu poza reală în loc de placeholder */
.gallery-variant .gallery .main {
    background: #fff;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    padding: 0;
}
.gallery-variant .gallery .main .main-img,
.gallery-variant .gallery .main video.main-img {
    width: 100%; height: 100%; object-fit: contain; display: block;
    background: linear-gradient(135deg, #FAFAFA 0%, #fff 50%, #F5F5F5 100%);
}
/* Video poster + play overlay pe thumb-uri */
.thumb[data-type="video"], .combined-thumb[data-type="video"] { position: relative; }
.thumb-play {
    position: absolute;
    inset: 0;
    display: inline-flex;
    align-items: center; justify-content: center;
    pointer-events: none;
    color: #fff;
}
.thumb-play svg {
    width: 24px; height: 24px;
    background: rgba(1, 15, 28, .55);
    border-radius: 50%;
    padding: 4px;
    box-sizing: content-box;
}
/* Pe combined-thumb (Alt E) play icon mai mic */
.combined-thumb .thumb-play svg {
    width: 16px; height: 16px;
    padding: 3px;
}
/* Hero Alt E cu video — fundal alb consistent */
.combined-hero video {
    width: 100%; height: 100%;
    object-fit: contain;
    display: block;
}
.gallery-variant .gallery .main .badge {
    position: absolute; left: 12px; z-index: 2;
    background: #010F1C; color: #fff; font-size: 10.5px; font-weight: 600;
    padding: 4px 10px; border-radius: 99px; line-height: 1.4;
    letter-spacing: .06em; text-transform: uppercase;
}
.gallery-variant .gallery .main .badge.new { top: 12px; }
.gallery-variant .gallery .main .badge.sale { top: 42px; background: #B8232E; }
.gallery-variant .gallery .main .zoom-btn {
    position: absolute; right: 12px; bottom: 12px; z-index: 2;
    width: 36px; height: 36px; border-radius: 50%; border: 0;
    background: rgba(255,255,255,.9); color: var(--black); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .15s;
}
.gallery-variant .gallery .main .zoom-btn:hover { background: #fff; transform: scale(1.05); }
.gallery-variant .gallery .main .zoom-btn svg { width: 16px; height: 16px; }

/* === Baseline + Alt A — Horizontal thumbs (sub main) === */
.gallery-horizontal {
    display: flex; flex-direction: column; gap: 12px;
    width: 100%;
}
.gallery-horizontal .main {
    width: 100%; aspect-ratio: 1/1;
    border-radius: 12px;
    position: relative;
}
.gallery-horizontal[data-lightbox="1"] .main { cursor: zoom-in; }
.gallery-horizontal .thumbs {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    width: 100%;
}
/* Override legacy v1 .gallery .thumbs > div { 72x72 } — toate 7 thumbs
   umplu celulele grid-ului, pastrand aspect-ratio 1:1 prin clasa
   .gallery-variant .thumb. */
.gallery-horizontal .thumbs > .thumb { width: auto; height: auto; }

/* === Alt B — Vertical thumbs (stânga) === */
.gallery-vertical {
    display: flex; flex-direction: row; gap: 12px;
    width: 100%;
}
.gallery-vertical .thumbs {
    display: flex; flex-direction: column; gap: 8px;
    flex: 0 0 80px; width: 80px;
    max-height: 600px;
    overflow-y: auto; overflow-x: hidden;
    scrollbar-width: none;
}
.gallery-vertical .thumbs::-webkit-scrollbar { display: none; }
.gallery-vertical .thumbs .thumb { width: 100%; }
.gallery-vertical .main {
    flex: 1; aspect-ratio: 1/1;
    border-radius: 12px;
    position: relative;
}

/* === Alt D — Editorial stack (Acne Studios style) ===
   Carusel vertical scroll-snap UNIFICAT pe toate viewport-urile. Container
   square 1/1 cu colturi rotunjite + soft shadow; fiecare imagine = 1 snap
   point. User scrolleaza vertical IN container, nu pe pagina. Pe desktop
   summary sticky pe dreapta; pe mobile/tablet summary stack sub gallery. */
.gallery-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-radius: 18px;
    box-shadow: 0 10px 36px rgba(1, 15, 28, .08), 0 2px 6px rgba(1, 15, 28, .04);
    position: relative;
}
.gallery-stack::-webkit-scrollbar { display: none; }
.gallery-stack .stack-item {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #fff;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    border-radius: 0;
}
.gallery-stack .stack-item img {
    width: 100%; height: 100%;
    object-fit: contain;
    display: block;
}
.gallery-stack .stack-item .badge {
    position: absolute; left: 12px; z-index: 2;
    background: #010F1C; color: #fff; font-size: 10.5px; font-weight: 600;
    padding: 4px 10px; border-radius: 99px; line-height: 1.4;
    letter-spacing: .06em; text-transform: uppercase;
}
.gallery-stack .stack-item .badge.new { top: 12px; }
.gallery-stack .stack-item .badge.sale { top: 42px; background: #B8232E; }

/* Counter overlay "1/7" injectat de shared.js intr-un wrapper relativ in
   jurul gallery-stack — pozitionat absolute fata de wrapper, deci ramane
   peste gallery indiferent de viewport (desktop col 1 / mobile-tablet
   stacked). */
.pp-layout-stack .gallery-stack-wrap {
    position: relative;
    width: 100%;
    grid-column: 1;
}
.pp-layout-stack .gallery-stack-counter {
    display: inline-block;
    position: absolute;
    top: 18px; right: 18px;
    z-index: 4;
    background: #E5E7EB;
    color: #3d3d3d;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .04em;
    padding: 5px 11px;
    border-radius: 99px;
    line-height: 1.3;
    pointer-events: none;
}

/* Pe desktop summary-ul devine sticky pe dreapta — user vede tot timpul
   info panel-ul (titlu, pret, gramaj, ATC, trust) cat timp navigheaza in
   carusel-ul gallerii. */
.pp-layout-stack > .summary {
    /* Summary stays at top of grid cell, fara overflow scroll intern.
       Daca conținutul depaseste viewport-ul, scrollul page-ului dezvaluie
       restul (atributele sub fold raman accesibile natural).
       Pe Alt D nu folosim sticky pentru ca multe sectiuni (7 attribute +
       qty + trust + visitor) depasesc viewport-ul si sticky ar masca
       continutul. */
    align-self: start;
}

/* Pe tablet + mobile: summary devine static (stack sub gallery in column
   layout); restul carusel CSS aplica deja universal. */
@container pp (max-width: 1000px) {
    .pp-layout-stack > .summary {
        position: static;
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }
    .pp-layout-stack .gallery-stack-counter {
        top: 14px; right: 14px;
    }
}


/* === Alt E — Combined gallery: main 1:1 + thumbs right ===
   Imagine principala mare 1:1 + thumb-uri verticali pe dreapta (single
   column). Click pe thumb -> swap main image. */
.gallery-combined-grid {
    display: grid;
    grid-template-columns: 1fr 90px;
    gap: 12px;
    width: 100%;
}
.gallery-combined-grid .combined-hero {
    grid-column: 1; grid-row: 1;
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    cursor: zoom-in;
}
.gallery-combined-grid .combined-hero img {
    width: 100%; height: 100%;
    object-fit: contain;
    display: block;
}
.gallery-combined-grid .combined-hero .badge {
    position: absolute; left: 12px; z-index: 2;
    background: #010F1C; color: #fff; font-size: 10.5px; font-weight: 600;
    padding: 4px 10px; border-radius: 99px; line-height: 1.4;
    letter-spacing: .06em; text-transform: uppercase;
}
.gallery-combined-grid .combined-hero .badge.new { top: 12px; }
.gallery-combined-grid .combined-hero .badge.sale { top: 42px; background: #B8232E; }

.gallery-combined-grid .combined-thumbs-right {
    grid-column: 2; grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.gallery-combined-grid .combined-thumbs-right::-webkit-scrollbar { display: none; }

.gallery-combined-grid .combined-thumb {
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .15s ease, transform .15s ease;
}
.gallery-combined-grid .combined-thumb:hover { transform: translateY(-1px); }
.gallery-combined-grid .combined-thumb.active { border-color: var(--gold); }
.gallery-combined-grid .combined-thumb img {
    width: 100%; height: 100%;
    object-fit: contain;
    display: block;
}
.gallery-combined-grid .combined-thumbs-right .combined-thumb { width: 100%; }

/* Pe Alt E (toate viewport-urile) thumbs sunt OVERLAY peste hero
   intr-un pill container alb semi-transparent, aliniate la 20px
   bottom, centrate orizontal. Hero ocupa full width. */
.pp-root[data-variant="alt-d"] .gallery-combined-grid {
    display: block;
    position: relative;
    grid-template-columns: none;
    grid-template-rows: none;
}
.pp-root[data-variant="alt-d"] .gallery-combined-grid .combined-hero {
    width: 100%;
}
.pp-root[data-variant="alt-d"] .gallery-combined-grid .combined-thumbs-right {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    /* Width = N*thumb + (N-1)*track-gap + 2*arrow + 2*pill-gap + 2*padding */
    /* Desktop (6 thumbs): 6*60 + 5*8 + 2*20 + 2*6 + 2*8 = 468 */
    width: 468px;
    max-width: calc(100% - 24px);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    z-index: 3;
    /* Chenar containing track + sageti */
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 4px 16px rgba(1, 15, 28, .06);
    overflow: hidden;
}
/* Track scrollabil — flex 1, contine thumbs cu gap. Sagetile sunt
   siblings (NU scrolleaza). */
.pp-root[data-variant="alt-d"] .gallery-combined-grid .combined-thumbs-right .ct-track {
    display: flex;
    flex-direction: row;
    flex: 0 1 auto;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline-start: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.pp-root[data-variant="alt-d"] .gallery-combined-grid .combined-thumbs-right .ct-track::-webkit-scrollbar { display: none; }
.pp-root[data-variant="alt-d"] .gallery-combined-grid .combined-thumbs-right .combined-thumb {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    background: #f2f2f2;
    border: 1px solid transparent;
    border-radius: 8px;
    scroll-snap-align: start;
}
.pp-root[data-variant="alt-d"] .gallery-combined-grid .combined-thumbs-right .combined-thumb.active {
    box-shadow: 0 2px 10px rgba(1, 15, 28, .18), 0 1px 3px rgba(1, 15, 28, .1);
}
.pp-root[data-variant="alt-d"] .gallery-combined-grid .combined-thumbs-right .combined-thumb:hover { transform: none; }
/* Tablet (5 thumbs): 5*54 + 4*8 + 2*20 + 2*6 + 2*8 = 370 */
@container pp (min-width: 600px) and (max-width: 1000px) {
    .pp-root[data-variant="alt-d"] .gallery-combined-grid .combined-thumbs-right {
        width: 370px;
    }
    .pp-root[data-variant="alt-d"] .gallery-combined-grid .combined-thumbs-right .combined-thumb {
        width: 54px; height: 54px; flex: 0 0 54px;
    }
}
/* Sageti carusel pentru Alt E thumbs — UNIFICAT pe toate viewport-urile.
   Chevron simplu, fara fundal/border/cerc, aliniate vertical center.
   Pe toate breakpoint-urile pill-ul afiseaza fix 4 thumbs incadrati. */
.pp-root[data-variant="alt-d"] .gallery-combined-grid .ct-arrow {
    display: inline-flex;
    align-items: center; justify-content: center;
    flex: 0 0 20px;
    width: 20px; height: 100%;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: var(--black);
}
.pp-root[data-variant="alt-d"] .gallery-combined-grid .ct-arrow svg {
    width: 16px; height: 16px;
}
.pp-root[data-variant="alt-d"] .gallery-combined-grid .ct-arrow:hover { color: var(--gold); }
.pp-root[data-variant="alt-d"] .gallery-combined-grid .ct-arrow:active { color: var(--gold); }
/* State inactiv — pastreaza spatiul, opacity redus + pointer-events none. */
.pp-root[data-variant="alt-d"] .gallery-combined-grid .ct-arrow[hidden] {
    display: inline-flex;
    opacity: .25;
    pointer-events: none;
}
/* Mobile: pill 4 thumbs (48px), gap 6, padding 8 — pill width 278.
   Width: 4*48 + 3*6 + 2*20 + 2*6 + 2*8 = 192+18+40+12+16 = 278 */
@container pp (max-width: 599px) {
    .pp-root[data-variant="alt-d"] .gallery-combined-grid .combined-thumbs-right {
        bottom: 14px;
        max-width: none;
        width: 278px;
        padding: 8px;
        gap: 6px;
        border-radius: 12px;
    }
    .pp-root[data-variant="alt-d"] .gallery-combined-grid .combined-thumbs-right .ct-track {
        gap: 6px;
    }
    .pp-root[data-variant="alt-d"] .gallery-combined-grid .combined-thumbs-right .combined-thumb {
        width: 48px; height: 48px; flex: 0 0 48px;
    }
}

/* Nota: regulile mobile/tablet de aici se aplicau pe toate variantele
   .gallery-combined-grid; Alt E are layout overlay propriu (mai sus) si
   override prin specificitate mai mare. Daca aparem alte variante
   .gallery-combined-grid in viitor, layout-ul stack/below ramane
   disponibil ca default. */

/* === Container queries: responsive per viewport frame === */

/* Tablet (600-1000): păstrăm layout-ul dar scale down spațierea */
@container pp (min-width: 600px) and (max-width: 1000px) {
    .gallery-variant .product-page,
    .gallery-variant.product-page {
        display: flex; flex-direction: column; gap: 24px;
    }
    .gallery-vertical {
        flex-direction: column-reverse;
    }
    .gallery-vertical .thumbs {
        flex-direction: row; width: 100%; max-height: none;
        overflow-x: auto; overflow-y: hidden; flex: 0 0 auto;
    }
    .gallery-vertical .thumbs .thumb {
        flex: 0 0 calc((100% - 3 * 8px) / 5);
        width: auto;
    }
    .gallery-vertical .main { aspect-ratio: 1/1; }
}

/* Mobile (<600): totul stacked, thumbs compact */
@container pp (max-width: 599px) {
    .gallery-variant.product-page,
    .gallery-variant .product-page {
        display: flex; flex-direction: column; gap: 18px;
    }
    .gallery-horizontal .thumbs .thumb {
        flex: 0 0 calc((100% - 3 * 8px) / 4.5);
    }
    .gallery-vertical {
        flex-direction: column-reverse;
    }
    .gallery-vertical .thumbs {
        flex-direction: row; width: 100%; max-height: none;
        overflow-x: auto; overflow-y: hidden; flex: 0 0 auto;
    }
    .gallery-vertical .thumbs .thumb {
        flex: 0 0 calc((100% - 3 * 8px) / 4.5);
        width: auto;
    }
}

/* =========================================================================
 * V3 — LIGHTBOX modal (Alt A)
 * ========================================================================= */
.ara-lightbox {
    position: fixed; inset: 0; z-index: 99999;
    background: rgba(1,15,28,.94);
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    font-family: Poppins, sans-serif;
}
.ara-lightbox .lb-close,
.ara-lightbox .lb-prev,
.ara-lightbox .lb-next {
    position: absolute; border: 0; background: rgba(255,255,255,.1);
    color: #fff; cursor: pointer; border-radius: 999px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; line-height: 1;
}
.ara-lightbox .lb-close { top: 24px; right: 24px; width: 44px; height: 44px; font-size: 28px; }
.ara-lightbox .lb-prev,
.ara-lightbox .lb-next { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 32px; }
.ara-lightbox .lb-prev { left: 24px; }
.ara-lightbox .lb-next { right: 24px; }
.ara-lightbox .lb-close:hover,
.ara-lightbox .lb-prev:hover,
.ara-lightbox .lb-next:hover { background: rgba(255,255,255,.2); }
.ara-lightbox .lb-stage {
    max-width: 90vw; max-height: 80vh; aspect-ratio: 1/1;
    width: 640px; background: #fff; border-radius: 12px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.ara-lightbox .lb-stage img { width: 100%; height: 100%; object-fit: contain; }
.ara-lightbox .lb-counter {
    position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
    color: #CBD2DB; font-size: 12.5px; letter-spacing: .1em;
}
@media (max-width: 575px) {
    .ara-lightbox .lb-prev { left: 8px; width: 40px; height: 40px; font-size: 24px; }
    .ara-lightbox .lb-next { right: 8px; width: 40px; height: 40px; font-size: 24px; }
}

/* =========================================================================
 * V3 — FULL PAGE EXTENSIONS (breadcrumb, rating row, buy now, tabs,
 * categorii, related products). All container-aware so they reflow
 * correctly inside the tablet/mobile device frames.
 * ========================================================================= */

.pp-root { width: 100%; display: block; }

.pp-main-content { padding: 0; }
/* Desktop: topbar/header/subscribe/footer full-bleed peste padding-ul example (32px) */
.viewport-body.desktop .pp-topbar,
.viewport-body.desktop .pp-header,
.viewport-body.desktop .pp-subscribe,
.viewport-body.desktop .pp-footer {
    margin-left: -32px; margin-right: -32px;
}
.viewport-body.desktop .pp-footer { margin-bottom: -28px; }

/* ---- Topbar (slim announcement) ----------------------------------- */
.pp-topbar {
    background: var(--black); color: #fff;
    font-size: 12px;
}
.pp-topbar-inner {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 24px; gap: 16px;
}
.pp-topbar .left { opacity: .88; }
.pp-topbar .right { display: flex; align-items: center; gap: 10px; }
.pp-topbar a { color: #fff; text-decoration: none; opacity: .9; }
.pp-topbar a:hover { opacity: 1; color: var(--gold); }
.pp-topbar .sep { opacity: .3; }

/* ---- Header ------------------------------------------------------ */
.pp-header {
    background: #fff;
    border-bottom: 1px solid var(--divider);
    position: relative;
}
.pp-header-inner {
    display: flex; align-items: center; gap: 24px;
    padding: 18px 24px;
    max-width: 1440px; margin: 0 auto;
}
.pp-header .pp-hamburger {
    display: none; border: 0; background: transparent; cursor: pointer;
    width: 36px; height: 36px; border-radius: 6px;
    color: var(--black);
    align-items: center; justify-content: center;
}
.pp-header .pp-hamburger svg { width: 22px; height: 22px; }
.pp-logo {
    display: inline-flex; align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}
.pp-logo img { display: block; height: 40px; width: auto; }
.pp-main-nav {
    display: flex; gap: 24px; flex: 1;
    justify-content: center;
}
.pp-main-nav a {
    font-size: 13px; font-weight: 500; color: var(--body);
    text-decoration: none; padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}
.pp-main-nav a:hover,
.pp-main-nav a.is-active { color: var(--black); border-color: var(--gold); }
.pp-header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.pp-h-btn {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 8px;
    border: 0; background: transparent; cursor: pointer;
    color: var(--black); text-decoration: none;
}
.pp-h-btn:hover { background: var(--surface); }
.pp-h-btn svg { width: 20px; height: 20px; }
.pp-h-wish .ico svg { fill: none; stroke: currentColor; stroke-width: 1.6; width: 20px; height: 20px; }
.pp-h-btn .count {
    position: absolute; top: 4px; right: 4px;
    min-width: 16px; height: 16px;
    background: var(--gold); color: #fff;
    font-size: 10px; font-weight: 600; border-radius: 999px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px; line-height: 1;
}

/* ---- Newsletter subscribe (dark - matches footer) ---------------- */
.pp-subscribe {
    background: #0F1A28;
    color: #fff;
    margin-top: 56px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.pp-subscribe::before {
    content: ""; position: absolute;
    top: -60px; right: -40px; width: 260px; height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(189,132,76,.14) 0%, rgba(189,132,76,0) 70%);
    pointer-events: none;
}
.pp-subscribe::after {
    content: ""; position: absolute;
    bottom: -80px; left: 8%; width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(189,132,76,.08) 0%, rgba(189,132,76,0) 70%);
    pointer-events: none;
}
.pp-subscribe-inner {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px;
    align-items: center;
    padding: 48px 24px;
    max-width: 1440px; margin: 0 auto;
    position: relative; z-index: 1;
}
.pp-subscribe-eyebrow {
    display: inline-block;
    padding: 4px 12px; border-radius: 999px;
    background: rgba(189,132,76,.18);
    color: #fff;
    font-size: 11px; font-weight: 600; letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.pp-subscribe-content h3 {
    margin: 0 0 8px;
    font-size: 26px; font-weight: 600; letter-spacing: -.01em;
    color: #fff;
}
.pp-subscribe-content p {
    margin: 0;
    font-size: 14px; line-height: 1.55;
    color: #B6BDC7;
}
.pp-subscribe-form {
    display: flex; gap: 0;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    overflow: hidden;
    padding: 4px;
}
.pp-subscribe-form input {
    flex: 1; border: 0; outline: 0;
    padding: 14px 16px;
    font-family: var(--font); font-size: 14px; color: #fff;
    background: transparent;
}
.pp-subscribe-form input:focus,
.pp-subscribe-form input:active {
    background: transparent;
    color: #fff;
    border: 0;
    outline: 0;
    box-shadow: none;
}
.pp-subscribe-form input:-webkit-autofill,
.pp-subscribe-form input:-webkit-autofill:hover,
.pp-subscribe-form input:-webkit-autofill:focus,
.pp-subscribe-form input:-webkit-autofill:active {
    -webkit-text-fill-color: #fff;
    caret-color: #fff;
    box-shadow: 0 0 0 1000px #0F1A28 inset !important;
    border: 0 !important;
    transition: background-color 9999s ease-out;
}
.pp-subscribe-form input::placeholder { color: #7A828F; }
.pp-subscribe-form button {
    border: 0;
    background: var(--gold); color: #fff;
    font-family: var(--font); font-size: 13px; font-weight: 600;
    padding: 0 24px;
    border-radius: 8px;
    cursor: pointer;
    letter-spacing: .03em;
    transition: background .15s;
}
.pp-subscribe-form button:hover { background: #A46D37; }

/* ---- Footer ------------------------------------------------------ */
.pp-footer {
    background: #0B1420; color: #B6BDC7;
    margin-top: 0;
    font-size: 13px;
}
.pp-footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    padding: 56px 24px 32px;
    max-width: 1440px; margin: 0 auto;
}
.pp-footer-logo { margin-bottom: 14px; }
.pp-footer-logo img { display: block; height: 42px; width: auto; }
.pp-footer-brand p {
    font-size: 13px; line-height: 1.7;
    color: #9AA3AE; margin: 0 0 18px;
}
.pp-footer-social { display: flex; gap: 8px; }
.pp-footer-social .pp-soc {
    width: 34px; height: 34px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.06); color: #fff;
    text-decoration: none;
    transition: background .15s;
}
.pp-footer-social .pp-soc svg { width: 15px; height: 15px; }
.pp-footer-social .pp-soc:hover { background: var(--gold); }
.pp-footer-col h4 {
    color: #fff; font-size: 13px; font-weight: 600;
    margin: 0 0 14px; letter-spacing: .04em;
    text-transform: uppercase;
}
.pp-footer-col ul {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.pp-footer-col a {
    color: #B6BDC7; text-decoration: none; font-size: 13px;
    transition: color .15s;
}
.pp-footer-col a:hover { color: var(--gold); }
.pp-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 18px 24px;
    max-width: 1440px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px;
    font-size: 12px; color: #7A828F;
}
/* "Preferinte cookie-uri" next to the copyright reopens the cookie settings (Shoper cookie
   model, Torque pattern): the plugin's floating reopen button is not used. */
.pp-footer-cookie-sep { margin: 0 6px; }
.pp-footer .pp-footer-cookie-settings {
    display: inline;
    height: auto;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
    cursor: pointer;
}
.pp-footer .pp-footer-cookie-settings:hover { color: #BD844C; }
.site-notice__reopen,
.site-notice__reopen.site-notice__reopen--visible {
    display: none !important;
}
/* Shoper banner: the cookie icon sits at right:20px (44px wide) but the intro only reserves
   ~50px, so a title that fits on one line (frontend strips diacritics, making it shorter than
   on other Shoper sites) runs under the icon. Reserve the icon's space on both sides so the
   centred text stays centred. */
.site-notice .site-notice__intro {
    padding-left: 72px;
    padding-right: 72px;
}
@media (max-width: 575.98px) {
    .site-notice .site-notice__intro {
        padding-left: 66px;
        padding-right: 66px;
    }
}
/* Below 992px the fixed bottom menu (#tp-bottom-menu-sticky, 84px) covered the
   footer's last row: copyright and the "Setari cookie-uri" link could not be tapped. */
@media (max-width: 991.98px) {
    .pp-footer .pp-footer-bottom {
        /* !important: a (max-width: 768px) rule sets `padding: 16px !important` */
        padding-bottom: calc(14px + 84px + env(safe-area-inset-bottom, 0px)) !important;
    }
}
.pp-footer-pays { display: flex; gap: 14px; }
.pp-footer-pays span {
    padding: 4px 10px; border-radius: 4px;
    background: rgba(255,255,255,.06); color: #E5E9EF;
    font-size: 11px; font-weight: 500; letter-spacing: .02em;
}
.pp-footer-pays .pp-pay-chip--logo {
    padding: 4px 10px;
    background: #fff;
    border-color: rgba(255, 255, 255, 0.36);
    line-height: 0;
}
.pp-footer-pays .pp-pay-chip--logo img {
    display: block;
    width: 96px;
    height: auto;
}
@media (max-width: 768px) {
    .pp-footer-pays .pp-pay-chip--logo {
        display: none !important;
    }
}
.pp-footer-icon {
    display: inline-block;
    line-height: 0;
}
.pp-footer-icon img {
    display: block;
    width: 140px;
    height: auto;
    max-width: 100%;
}
.pp-footer-icon--anpc_sal {
    border-radius: 6px;
    overflow: hidden;
}
.pp-footer-icon--anpc_sal img {
    border-radius: 6px;
}
.pp-footer-icon--tile {
    display: inline-block;
    box-sizing: border-box;
    width: 140px;
    padding: 7px 10px;
    background: #fff;
    border: 1px solid rgba(1, 15, 28, 0.08);
    border-radius: 6px;
    line-height: 0;
}
.pp-footer-icon--tile img {
    display: block;
    width: 118px;
    height: auto;
    margin: 0 auto;
}
.pp-footer-legal .pp-footer-icon--netopia.pp-footer-icon--tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 40px;
    padding: 5px 10px;
}
.pp-footer-legal .pp-footer-icon--netopia.pp-footer-icon--tile img {
    width: 92px;
    max-height: 28px;
    object-fit: contain;
}
/* Aragold 2026-06-08: ANPC SAL legal pictogram — OPANPC 270/2026 cere
 * afișarea pictogramei oficiale SAL (250x50 spec, asset 500x124 servit la
 * @2x = 250x62) cu link extern la https://anpc.ro/ce-este-sal/. SOL nu
 * mai este obligatoriu (eliminat prin OPANPC 270/2026 din 19.05.2026).
 * Desktop = inside footer-bottom (între copyright + payments). Mobile =
 * row 3 col 2, lângă Suport (per owner spec). */
.pp-footer-legal {
    display: flex; gap: 14px; align-items: center;
}
.pp-footer-legal a {
    display: inline-block;
    line-height: 0;
    transition: opacity .15s;
}
.pp-footer-legal a:hover { opacity: .85; }
.pp-footer-legal img {
    display: block;
    width: 160px; height: auto;
    max-width: 100%;
}
/* Mobile-only legal cell sits inside .pp-footer-inner grid; hide on
 * desktop (the .pp-footer-legal-desktop instance in footer-bottom
 * provides the desktop rendering instead). */
.pp-footer-legal-mobile { display: none; }

/* Links to the two online legal forms: in the Suport column on desktop, above the
 * SAL / Netopia logos (mobile legal cell) up to 1024px. */
.pp-footer-legal-forms {
    list-style: none; margin: 0 0 4px; padding: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.pp-footer-legal-forms a {
    color: #B6BDC7; text-decoration: none; font-size: 13px; line-height: 1.45;
    transition: color .15s;
}
.pp-footer-legal-forms a:hover { color: var(--gold); }
body.pp-footer-light .pp-footer-legal-forms a { color: #3D3D3D; }
body.pp-footer-light .pp-footer-legal-forms a:hover { color: var(--gold); }
@media (max-width: 1024px) {
    .pp-footer-col .pp-footer-menu-item--legal-form { display: none; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .pp-footer-legal-desktop {
        display: none !important;
    }
    .pp-footer-legal-mobile {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
        align-self: start;
        grid-column: 4;
        grid-row: 2;
    }
    .pp-footer-legal-mobile img {
        width: 140px;
    }
    .pp-footer-legal-mobile .pp-footer-icon--tile img {
        width: 118px;
    }
    .pp-footer-legal-mobile .pp-footer-icon--netopia.pp-footer-icon--tile {
        width: 120px;
        height: 35px;
        padding: 4px 10px;
    }
    .pp-footer-legal-mobile .pp-footer-icon--netopia.pp-footer-icon--tile img {
        width: 86px;
        max-height: 25px;
    }
    .pp-footer-pays .pp-pay-chip--logo {
        display: none !important;
    }
}

/* ---- Variant B: footer light (white background) -------------------
   Activat prin body.pp-footer-light (set din shared.js dupa ?footer=light
   sau buton toggle pe pagina). Subscribe nu e modificat — ramane dark
   ca in variant A pentru contrast vizual cu footer alb. */
body.pp-footer-light .pp-footer {
    background: #ffffff; color: #3D3D3D;
    border-top: 1px solid #EDEDED;
}
body.pp-footer-light .pp-footer-brand p { color: #727578; }
body.pp-footer-light .pp-footer-social .pp-soc {
    background: #F8F9FA; color: #010F1C;
}
body.pp-footer-light .pp-footer-social .pp-soc:hover { background: var(--gold); color: #fff; }
body.pp-footer-light .pp-footer-col h4 { color: #010F1C; }
body.pp-footer-light .pp-footer-col a { color: #3D3D3D; }
body.pp-footer-light .pp-footer-col a:hover { color: var(--gold); }
body.pp-footer-light .pp-footer-bottom {
    border-top: 1px solid #EDEDED;
    color: #727578;
}
body.pp-footer-light .pp-footer-pays span {
    background: #F8F9FA; color: #3D3D3D;
    border: 1px solid #EDEDED;
}

/* 2026-04-30: light footer + boxed dark subscribe (per design Figma user).
   Cand body.pp-footer-light e activ, .pp-subscribe devine BOXED:
   - margin de jur (separare vizuala de footer)
   - border-radius pentru aspect card
   - bg ramane dark navy (consistent cu identitate brand)
   - container limitat (nu full-width)
   Asta complementeaza light footer-ul cu un highlight visual care
   atrage atentia la newsletter signup. */
body.pp-footer-light .pp-subscribe {
    background: transparent;
    border-bottom: none;
    margin: 32px auto;
    padding: 0 24px;
    max-width: 1320px;
}
body.pp-footer-light .pp-subscribe::before,
body.pp-footer-light .pp-subscribe::after {
    display: none;
}
body.pp-footer-light .pp-subscribe-inner {
    background: #0F1A28;
    border-radius: 20px;
    padding: 48px 56px;
    position: relative;
    overflow: hidden;
}
body.pp-footer-light .pp-subscribe-inner::before {
    content: ""; position: absolute;
    top: -60px; right: -40px; width: 260px; height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(189,132,76,.14) 0%, rgba(189,132,76,0) 70%);
    pointer-events: none;
}
body.pp-footer-light .pp-subscribe-inner::after {
    content: ""; position: absolute;
    bottom: -80px; left: 8%; width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(189,132,76,.08) 0%, rgba(189,132,76,0) 70%);
    pointer-events: none;
}

/* Mobile responsive — footer + subscribe boxed pe ecrane mici */
@media (max-width: 768px) {
    body.pp-footer-light .pp-subscribe {
        margin: 20px auto;
        padding: 0 16px;
    }
    body.pp-footer-light .pp-subscribe-inner {
        padding: 28px 20px;
        border-radius: 16px;
    }
    .pp-subscribe-inner {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
    .pp-footer-inner {
        /* 2026-06-08 owner spec: pe mobile, 2x2 grid pentru meniuri + legal,
           cu brand full-width pe rand 1:
             rand 1 = brand (logo+desc+social) full-width
             rand 2 = MAGAZIN | INFORMATII
             rand 3 = SUPORT  | LEGAL (ANPC SAL + EU SOL)
           Anterior: SUPORT era full-width singur pe rand 3. */
        grid-template-columns: 1fr 1fr !important;
        padding: 32px 16px !important;
        gap: 24px 16px !important;
        text-align: left;
    }
    .pp-footer-brand {
        grid-column: 1 / -1 !important;
    }
    .pp-footer-legal-desktop {
        display: none !important;
    }
    .pp-footer-legal-mobile {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
        align-self: start;
    }
    .pp-footer-legal-mobile img {
        width: 140px;
    }
    .pp-footer-legal-mobile .pp-footer-icon--tile img {
        width: 118px;
    }
    .pp-footer-legal-mobile .pp-footer-icon--netopia.pp-footer-icon--tile {
        width: 120px;
        height: 35px;
        padding: 4px 10px;
    }
    .pp-footer-legal-mobile .pp-footer-icon--netopia.pp-footer-icon--tile img {
        width: 86px;
        max-height: 25px;
    }
    .pp-footer-pays .pp-pay-chip--logo {
        display: none !important;
    }
    .pp-footer-social {
        justify-content: flex-start;
    }
    .pp-footer-bottom {
        flex-direction: column !important;
        gap: 12px !important;
        padding: 16px !important;
        text-align: center;
    }
}
@media (max-width: 480px) {
    body.pp-footer-light .pp-subscribe-inner {
        padding: 24px 16px;
    }
    .pp-subscribe-content h3 {
        font-size: 22px !important;
    }
    .pp-footer-pays {
        flex-wrap: wrap;
        gap: 8px;
    }
}

/* ---- Container queries — tablet (<1000px) ------------------------- */
@container pp (min-width: 600px) and (max-width: 1000px) {
    .pp-main-content { padding: 0 0; }
    /* Extindem topbar/header/subscribe/footer edge-to-edge in ipad-mini (22px padding) */
    .pp-topbar, .pp-header, .pp-subscribe, .pp-footer { margin-left: -22px; margin-right: -22px; }
    /* Footer extinde sub padding-bottom-ul screen-ului (24px) fara spatiu alb */
    .pp-footer { margin-bottom: -24px; }
    .pp-subscribe-inner { grid-template-columns: 1fr; gap: 18px; padding: 40px 20px; }
    .pp-subscribe-content h3 { font-size: 22px; }
    .pp-topbar-inner { padding: 6px 16px; font-size: 11px; gap: 10px; }
    .pp-topbar .left { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .pp-header-inner { padding: 14px 16px; gap: 12px; }
    .pp-logo { font-size: 18px; letter-spacing: .12em; }
    .pp-main-nav { gap: 14px; }
    .pp-main-nav a { font-size: 12px; }
    .pp-h-btn { width: 34px; height: 34px; }
    .pp-h-btn svg { width: 18px; height: 18px; }
    .pp-footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; padding: 40px 16px 24px; }
    .pp-footer-brand { grid-column: 1 / -1; }
    .pp-footer-bottom { flex-direction: column; text-align: center; padding: 16px; }
}

/* ---- Container queries — mobile (<600px) -------------------------- */
@container pp (max-width: 599px) {
    .pp-main-content { padding: 0 0; }
    /* Extindem topbar/header/subscribe/footer edge-to-edge in iphone-15 (14px padding) */
    .pp-topbar, .pp-header, .pp-subscribe, .pp-footer { margin-left: -14px; margin-right: -14px; }
    /* Footer extinde sub padding-bottom-ul screen-ului (20px) fara spatiu alb */
    .pp-footer { margin-bottom: -20px; }
    .pp-subscribe-inner { grid-template-columns: 1fr; gap: 14px; padding: 28px 14px; }
    .pp-subscribe-content h3 { font-size: 18px; }
    .pp-subscribe-content p { font-size: 12.5px; }
    .pp-subscribe-form { flex-direction: column; gap: 6px; background: transparent; padding: 0; }
    .pp-subscribe-form input { background: #fff; border-radius: 8px; padding: 12px 14px; }
    .pp-subscribe-form button { padding: 12px 16px; border-radius: 8px; }
    .pp-topbar { font-size: 10.5px; }
    .pp-topbar-inner { padding: 6px 12px; gap: 8px; }
    .pp-topbar .left { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
    .pp-topbar .right { gap: 6px; }
    .pp-topbar .sep { display: none; }
    .pp-topbar .right a:not(:last-child) { display: none; }
    .pp-header-inner { padding: 10px 12px; gap: 8px; }
    .pp-header .pp-hamburger { display: inline-flex; }
    .pp-main-nav { display: none; }
    .pp-logo { font-size: 16px; letter-spacing: .1em; flex: 1; text-align: center; }
    .pp-h-btn { width: 32px; height: 32px; }
    .pp-h-btn svg { width: 17px; height: 17px; }
    .pp-h-account { display: none; }
    .pp-header-actions { gap: 2px; }
    .pp-footer-inner { grid-template-columns: 1fr; gap: 24px; padding: 32px 12px 20px; }
    .pp-footer-bottom { flex-direction: column; text-align: center; gap: 10px; padding: 14px 12px; font-size: 11px; }
    .pp-footer-pays { flex-wrap: wrap; justify-content: center; gap: 6px; }
    .pp-footer-pays span { font-size: 10px; padding: 3px 8px; }
}

/* ---- Breadcrumb (top) ------------------------------------------------ */
.pp-breadcrumb {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
    font-size: 12.5px; color: var(--muted);
    padding: 14px 0 18px;
}
.pp-breadcrumb a { color: var(--muted); text-decoration: none; }
.pp-breadcrumb a:hover { color: var(--gold); }
.pp-breadcrumb .sep { color: #C8CCD0; font-size: 13px; }
.pp-breadcrumb .current { color: var(--black); font-weight: 500; }

/* ---- Summary extras -------------------------------------------------- */
.summary .pp-brand-link {
    display: inline-block;
    font-size: 11px; letter-spacing: .18em; font-weight: 600;
    color: var(--gold); text-decoration: none; text-transform: uppercase;
    margin-bottom: -4px;
}
.summary .pp-brand-link:hover { text-decoration: underline; }

.pp-rating-row {
    display: flex; align-items: baseline; gap: 10px;
    font-size: 13px; color: var(--body);
    margin: 0;
}
.pp-rating-row strong { font-size: 20px; line-height: 1; }
/* Reduce gap intre "4.5" si "/ 32 recenzii" — vizual mai legate. */
.pp-rating-row strong + a { margin-left: -6px; }
/* Title -> rating gap = 8px (mai stranse decat restul summary 20px).
   Negative margin-top pe rating, aplicat doar cand vine direct dupa
   title-block. Restul gap-urilor in summary raman la 20px. */
.summary > .title-block + .pp-rating-row { margin-top: -12px; }
.summary > .short-desc { margin: 0; }
.pp-rating-row .stars {
    color: #E8B340; font-size: 24px; letter-spacing: 1px;
    font-family: ui-monospace, Menlo, monospace;
}
.pp-rating-row strong { color: var(--black); font-weight: 600; }
.pp-rating-row a { color: var(--muted); text-decoration: none; border-bottom: 1px dotted var(--border); }
.pp-rating-row a:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* Sec-actions slots — pe desktop afisam inline (in dreapta rating-row,
   pushed right via margin-left: auto). Pe tablet/mobile afisam stack
   (sub eyeRow). */
.sec-slot-inline { display: flex; margin-left: auto; }
.sec-slot-stack { display: none; }
.pp-rating-row .sec-slot-inline .pp-sec-actions { padding: 0; border-top: 0; gap: 18px; }
.pp-rating-row .sec-slot-inline .pp-sec-actions a { border-bottom: 0; }

.btn-buy-now {
    display: block; width: 100%;
    height: 52px;
    background: var(--black); color: #fff;
    border: 0; border-radius: 6px;
    font-family: var(--font); font-size: 14px; font-weight: 600;
    letter-spacing: .04em; text-transform: uppercase;
    cursor: pointer;
    transition: background .15s ease;
}
.btn-buy-now:hover { background: var(--gold); }

.pp-sec-actions {
    display: flex; gap: 20px;
    padding-top: 14px;
    border-top: 1px dashed var(--divider);
    font-size: 12.5px;
}
.pp-sec-actions a {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--muted); text-decoration: none;
}
.pp-sec-actions a:hover { color: var(--gold); }
.pp-sec-actions a svg { width: 14px; height: 14px; stroke: currentColor; }

/* ---- Tabs (sub product-page) ---------------------------------------- */
.pp-tabs { margin-top: 40px; }
.pp-tabs-nav {
    display: flex; gap: 4px; flex-wrap: wrap;
    justify-content: center;
    border-bottom: 1px solid var(--border);
    margin-bottom: 22px;
}
.pp-tabs-nav button {
    border: 0; background: transparent;
    font-family: var(--font); font-size: 13.5px; font-weight: 500;
    color: var(--muted);
    padding: 12px 18px; cursor: pointer;
    position: relative; top: 1px;
    border-bottom: 2px solid transparent;
    transition: color .15s ease, border-color .15s ease;
}
.pp-tabs-nav button:hover { color: var(--black); }
.pp-tabs-nav button.is-active {
    color: var(--black);
    border-bottom-color: var(--gold);
}
.pp-tab-panel { display: none; font-size: 13.5px; line-height: 1.65; color: var(--body); }
.pp-tab-panel.is-active { display: block; }
.pp-tab-panel p { margin: 0 0 12px; }
.pp-tab-panel strong { color: var(--black); font-weight: 600; }
.pp-tab-panel .tab-h {
    font-size: 14px; font-weight: 600; color: var(--black);
    margin: 18px 0 10px; letter-spacing: .01em;
}
.pp-tab-panel .tab-list { margin: 0 0 14px; padding-left: 18px; }
.pp-tab-panel .tab-list li { margin: 4px 0; }
.pp-tab-panel .tab-note {
    font-size: 12.5px; color: var(--muted); font-style: italic;
    margin-top: 16px;
}
.pp-tab-panel .tab-note a { color: var(--gold); text-decoration: none; border-bottom: 1px dotted var(--gold); }
.pp-tab-panel .tab-note em { font-style: normal; color: var(--black); font-weight: 500; }


/* Specificații — table cu rânduri alternante */
.tab-spec-table {
    width: 100%; border-collapse: collapse;
    font-size: 13px;
}
.tab-spec-table th, .tab-spec-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--divider, #ECECEC);
    text-align: left; vertical-align: top;
    font-weight: 400;
}
.tab-spec-table th {
    color: var(--muted); width: 38%;
    font-weight: 500;
}
.tab-spec-table td { color: var(--black); }
.tab-spec-table tr:last-child th,
.tab-spec-table tr:last-child td { border-bottom: 0; }

/* Recenzii — list cu items */
.tab-review-summary {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 14px; margin-bottom: 14px;
    border-bottom: 1px solid var(--divider, #ECECEC);
}
.tab-review-score { display: flex; align-items: baseline; gap: 8px; font-size: 13px; color: var(--muted); }
.tab-review-score strong { font-size: 22px; color: var(--black); font-weight: 600; }
.tab-review-score .stars {
    color: #E8B340; font-size: 16px; letter-spacing: 1px;
    font-family: ui-monospace, Menlo, monospace;
}
.tab-review-add {
    color: var(--gold); font-weight: 500; font-size: 13px;
    text-decoration: none; padding: 8px 14px;
    border: 1px solid var(--gold); border-radius: 6px;
    transition: background .15s;
}
.tab-review-add:hover { background: var(--gold-soft); }
.tab-review-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--divider, #ECECEC);
}
.tab-review-item header {
    font-size: 12.5px; color: var(--muted);
    margin-bottom: 6px;
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.tab-review-item header strong { font-size: 13px; color: var(--black); }
.tab-review-item header .stars {
    color: #E8B340; font-size: 13px; letter-spacing: .5px;
    font-family: ui-monospace, Menlo, monospace;
}
.tab-review-item p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--body); }
.tab-review-more {
    display: inline-block; margin-top: 12px;
    color: var(--gold); text-decoration: none; font-weight: 500; font-size: 13px;
}
.tab-review-more:hover { text-decoration: underline; }

/* Tab-uri responsive */
@container pp (max-width: 1000px) {
    .tab-spec-table th { width: 42%; }
    .tab-review-summary { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ---- Alt A — pagina produs (breadcrumb + gallery + summary) intr-un
   card cu fundal --surface (acelasi ca .eye-row). Tabs/categorii/related
   raman in afara cardului. */
.pp-root[data-variant="alt-a"] .pp-product-card {
    background: var(--surface);
    border-radius: 12px;
    padding: 8px 28px 28px;
    margin-top: 16px;
    margin-bottom: 24px;
}
.pp-root[data-variant="alt-a"] .pp-product-card .pp-breadcrumb {
    background: transparent;
}
/* Imaginea principala produs cu border identic ca .icon-specs (1px solid
   --divider). Background transparent — se vede prin la cardul --surface
   astfel ca air-space-ul din jurul image-ului (object-fit: contain) nu
   contrasteaza cu cardul. */
.pp-root[data-variant="alt-a"] .gallery-horizontal .main {
    border: 1px solid var(--divider);
    background: transparent;
    overflow: hidden;
}
/* Pe tablet/mobile, default rule .product-page .gallery .main are
   width: 100cqi care depaseste padding-ul cardului. Override pentru
   Alt A: width: 100% ca .main sa stea in interiorul cardului. */
@container pp (max-width: 1000px) {
    .pp-root[data-variant="alt-a"] .product-page .gallery .main {
        width: 100%;
        height: auto;
    }
}
/* Eye-row (11 persoane vizualizeaza) — pe Alt A fundalul devine alb ca
   sa se distinga de card-ul --surface din jur. Border subtle. */
.pp-root[data-variant="alt-a"] .eye-row {
    background: #fff;
    border: 1px solid var(--divider);
}
@container pp (max-width: 599px) {
    .pp-root[data-variant="alt-a"] .pp-product-card {
        padding: 4px 14px 18px;
        border-radius: 10px;
    }
}

/* ---- Alt E — tabs split in 2 carduri (DESKTOP only) ----
   Card 1 (stanga): Descriere + Recenzii
   Card 2 (dreapta): Specificatii + Livrare & retur
   Pe tablet/mobile cad la layout default (single tabs cu nav top). */
@container pp (min-width: 1001px) {
    .pp-root[data-variant="alt-d"] .pp-tabs-split {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        margin-top: 32px;
    }
    .pp-root[data-variant="alt-d"] .pp-tabs-split .pp-tabs-group {
        background: var(--surface);
        border-radius: 12px;
        padding: 24px 28px 28px;
    }
    .pp-root[data-variant="alt-d"] .pp-tabs-split .pp-tabs-nav {
        background: transparent;
        margin-bottom: 18px;
    }
}
/* Pe tablet/mobile colapsam la stack cu cardurile una sub alta. */
@container pp (max-width: 1000px) {
    .pp-root[data-variant="alt-d"] .pp-tabs-split {
        display: flex;
        flex-direction: column;
        gap: 18px;
        margin-top: 28px;
    }
    .pp-root[data-variant="alt-d"] .pp-tabs-split .pp-tabs-group {
        background: var(--surface);
        border-radius: 10px;
        padding: 18px 18px 22px;
    }
}

/* ---- Alt B — tabs intr-un card cu fundal --surface (unificat) ----
   Sectiunea Descriere / Specificatii / Recenzii / Livrare e wrappata
   intr-un card cu fundal #F8F9FA (acelasi ca eye-row "11 persoane
   vizualizeaza"). Aplicat pe TOATE viewport-urile pentru Alt B. */
.pp-root[data-variant="alt-b"] .pp-tabs {
    background: var(--surface);
    border-radius: 10px;
    padding: 24px 28px 28px;
    margin-top: 32px;
}
.pp-root[data-variant="alt-b"] .pp-tabs-nav {
    background: transparent;
    margin-bottom: 18px;
}
/* Ingusteaza spatiul ocupat de text cu 20% — DOAR pe desktop. Pe tablet
   si mobile lasam panel-ul si nav-ul sa umple cardul (max-width 100%). */
@container pp (min-width: 1001px) {
    .pp-root[data-variant="alt-b"] .pp-tabs-nav,
    .pp-root[data-variant="alt-b"] .pp-tab-panel {
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ---- Alt D — tabs sidebar layout (editorial magazine, DESKTOP only) ----
   Pe desktop (> 1000px) tabs-urile devin sidebar 200px + content 680px.
   Pe tablet/mobile NU se aplica nimic specific Alt D — layout default
   (top tabs centrate, flex-wrap pe mobile). */
@container pp (min-width: 1001px) {
    .pp-root[data-variant="alt-c"] .pp-tabs {
        display: grid;
        grid-template-columns: 200px 880px;
        gap: 60px;
        align-items: start;
        justify-content: center;
        margin-top: 56px;
        border-top: 1px solid var(--border);
        padding-top: 40px;
    }
    .pp-root[data-variant="alt-c"] .pp-tabs-nav {
        display: flex;
        flex-direction: column;
        gap: 0;
        border-bottom: 0;
        margin-bottom: 0;
        align-items: flex-start;
    }
    .pp-root[data-variant="alt-c"] .pp-tabs-nav button {
        width: 100%;
        text-align: left;
        padding: 10px 0 10px 16px;
        border-bottom: 0;
        border-left: 2px solid transparent;
        border-radius: 0;
        top: 0;
        font-size: 13px;
        letter-spacing: .02em;
    }
    .pp-root[data-variant="alt-c"] .pp-tabs-nav button.is-active {
        border-left-color: var(--gold);
        color: var(--black);
        background: transparent;
    }
    .pp-root[data-variant="alt-c"] .pp-tab-panel {
        max-width: 100%;
        font-size: 14.5px;
        line-height: 1.7;
    }
    .pp-root[data-variant="alt-c"] .pp-tab-panel p { margin: 0 0 16px; }
}

/* ============================================================
 * SECTION HEADERS (Produse similare + Categorii) — paritate Figma 366:1166.
 * Heading 20px SemiBold + "Vezi toate" link top-right.
 * ============================================================ */
.pp-related, .pp-categorii { margin-top: 48px; }
.pp-related { margin-bottom: 20px; }
.pp-section-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 24px;
}
.pp-section-header h3 {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 20px; font-weight: 600; line-height: 1.2;
    color: #010F1C;
}
.pp-section-link {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 2px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px; font-weight: 400;
    color: #010F1C;
    text-decoration: none;
}
.pp-section-link:hover { color: #BD844C; }
.pp-section-link svg { flex-shrink: 0; }

/* ============================================================
 * RELATED PRODUCTS — carusel orizontal 287px cards (Figma 366:1171).
 * Scroll-snap pentru smooth peek; 5+peek vizibile pe desktop 1232px.
 * ============================================================ */
.pp-related-scroller {
    display: flex; gap: 8px;
    overflow-x: auto; overflow-y: clip;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* padding-top 8px = spatiu pentru hover lift (translateY(-2px)) sa nu fie
     * clip-uit de overflow-y: clip. Acelasi pattern cu homepage swiper. */
    padding-top: 8px;
    padding-bottom: 4px;
    /* Hide scrollbar visually (still scrollable) */
    scrollbar-width: thin;
    scrollbar-color: #010F1C #d3d8dd;
    cursor: grab;
    user-select: none;
}
.pp-related-scroller.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none; /* dezactiveaza snap in timpul drag-ului */
}
/* Pe drag: previne click pe rel-card. Click-ul e suprimat in JS daca a fost
   real drag (delta > threshold), dar pointer-events: none pe is-dragging
   ofera un layer suplimentar de protectie pentru imagine + text. */
.pp-related-scroller.is-dragging .rel-card {
    pointer-events: none;
}
.pp-related-scroller::-webkit-scrollbar { height: 4px; }
.pp-related-scroller::-webkit-scrollbar-track { background: #d3d8dd; border-radius: 22px; }
.pp-related-scroller::-webkit-scrollbar-thumb { background: #010F1C; border-radius: 22px; }
.rel-card {
    flex: 0 0 287px;
    display: flex; flex-direction: column; gap: 10px;
    background: var(--card-bg, #fff);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 3px rgba(130, 130, 130, 0.07);
    text-decoration: none;
    color: inherit;
    scroll-snap-align: start;
    transition: box-shadow .2s ease;
}
.rel-card:hover {
    box-shadow: 0 4px 14px rgba(11, 6, 70, 0.06);
}

/* pp-related foloseste partial hp-product-card (refactor 2026-05-08).
 * .hp-product-card e proiectat pentru Swiper (latime venita din slide).
 * In scrollerul native flex avem nevoie de flex-basis explicit,
 * altfel cards shrink la content (~95px). */
.pp-related-scroller > .hp-product-card {
    flex: 0 0 287px;
    scroll-snap-align: start;
}
.rel-card__media {
    position: relative;
    aspect-ratio: 1/1;
    background-color: var(--card-media-bg, #f2f2f2);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex; align-items: flex-start; justify-content: space-between;
    padding: 8px 5px 8px 8px;
}
.rel-card__badge {
    display: inline-flex; align-items: center; justify-content: center;
    height: 20px; padding: 4px 8px;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px; font-weight: 600; line-height: 1;
    color: #fff;
}
.rel-card__badge--new { background: var(--card-badge-new-bg, #006554); }
.rel-card__badge--discount { background: var(--card-badge-discount-bg, #4477DF); }
.rel-card__badge--sale { background: var(--card-badge-sale-bg, #BD844C); }
.rel-card__actions {
    display: flex; flex-direction: column; gap: 8px;
}
.rel-card__action {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px;
    background: var(--card-bg, #fff);
    border-radius: 6px;
    color: var(--card-text, #010F1C);
    cursor: pointer;
}
.rel-card__action:hover { color: var(--card-cta-hover-bg, #BD844C); }
.rel-card__info {
    display: flex; flex-direction: column; gap: 10px;
    padding: 8px;
}
.rel-card__title {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 13px; font-weight: 500; line-height: 1.3;
    color: var(--card-text, #010F1C);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.rel-card__price {
    font-family: 'Poppins', sans-serif;
    font-size: 13px; font-weight: 500;
    color: var(--card-text, #010F1C);
}
.rel-card__price del { color: var(--card-text-muted, #727578); margin-left: 4px; }
.rel-card__cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 8px;
    background: var(--card-cta-bg, #010F1C);
    color: var(--card-cta-text, #fff);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px; font-weight: 400; line-height: 1.4;
    transition: background .15s ease;
}
.rel-card__cta:hover { background: var(--card-cta-hover-bg, #BD844C); }
.rel-card__cta svg { flex-shrink: 0; }

/* ============================================================
 * CATEGORII — carusel orizontal 144x188 cards (Figma 400:2620).
 * Border #e5e7eb rounded 6px, image 128x128 patrata + nume sub.
 * ============================================================ */
.pp-categorii-scroller {
    display: flex; gap: 11px;
    overflow-x: auto; overflow-y: clip;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* padding-top 8px = spatiu pentru hover lift (-2px) sa nu fie clip-uit. */
    padding-top: 8px;
    /* padding-bottom 12px (vs 4px pe pp-related): cat-card umple complet
     * box-ul (border vizibil reach pana la marginea de jos), pe cand
     * hp-product-card din pp-related are CTA cu margin-bottom 8px intern.
     * Compensez aici ca scrollbarul sa aiba acelasi gap visual perceput. */
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: #010F1C #d3d8dd;
}
.pp-categorii-scroller::-webkit-scrollbar { height: 4px; }
.pp-categorii-scroller::-webkit-scrollbar-track { background: #d3d8dd; border-radius: 22px; }
.pp-categorii-scroller::-webkit-scrollbar-thumb { background: #010F1C; border-radius: 22px; }
.cat-card {
    flex: 0 0 144px;
    height: 188px;
    display: flex; flex-direction: column; align-items: center; gap: 16px;
    padding: 8px 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    scroll-snap-align: start;
    transition: border-color .2s ease;
}
.cat-card:hover { border-color: #BD844C; }
.cat-card__thumb {
    width: 128px; height: 128px;
    overflow: hidden;
}
.cat-card__thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.cat-card__name {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 12px; font-weight: 400; line-height: 1.3;
    color: #010F1C;
    text-align: center;
    padding: 0 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* ---- Container queries — tablet (<1000px) ------------------------- */
@container pp (min-width: 600px) and (max-width: 1000px) {
    .pp-breadcrumb { font-size: 11.5px; padding: 10px 0 14px; }
    .pp-tabs { margin-top: 32px; }
    .pp-tabs-nav button { padding: 10px 14px; font-size: 12.5px; }
    .pp-categorii { margin-top: 36px; }
    .pp-related { margin-top: 36px; }
    .pp-section-header h3 { font-size: 18px; }
    .btn-buy-now { height: 48px; font-size: 13px; }
}

/* ---- Container queries — mobile (<600px) -------------------------- */
@container pp (max-width: 599px) {
    .pp-breadcrumb { font-size: 11px; padding: 8px 0 12px; gap: 4px; }
    .pp-breadcrumb .current { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .summary .pp-brand-link { font-size: 10.5px; }
    .pp-rating-row { font-size: 12px; gap: 8px; }
    .pp-rating-row .stars { font-size: 13px; }
    .btn-buy-now { height: 46px; font-size: 12.5px; }
    .pp-sec-actions { font-size: 11.5px; gap: 16px; padding-top: 12px; }

    .pp-tabs { margin-top: 28px; }
    .pp-tabs-nav { flex-wrap: wrap; gap: 0; }
    .pp-tabs-nav button {
        flex: 1 1 50%;
        padding: 10px 6px; font-size: 11.5px;
        white-space: nowrap;
        text-align: center;
    }
    .pp-tab-panel { font-size: 12.5px; }

    .pp-categorii { margin-top: 32px; }
    .pp-related { margin-top: 32px; }
    .pp-section-header h3 { font-size: 16px; }
    .pp-section-header { margin-bottom: 16px; }
    .rel-card { flex: 0 0 220px; }
    .pp-related-scroller > .hp-product-card { flex: 0 0 220px; }
    .cat-card { flex: 0 0 120px; height: 160px; }
    .cat-card__thumb { width: 104px; height: 104px; }
    .pp-more-tile--related { flex: 0 0 220px; }
    .pp-more-tile--cat { flex: 0 0 120px; height: 160px; }
}

/* === "Vezi mai multe" tile pentru PDP carusele (related + categorii) ===
 * Paritate cu homepage .hp-more-tile, dar dimensionat dupa cardurile sibling.
 * Border dashed cream + icon grid pentru consistency cu homepage.
 */
.pp-more-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px 16px;
    border: 1px dashed #e5e7eb;
    border-radius: 10px;
    background: #fff;
    color: #010F1C;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease, border-color .2s ease;
    box-sizing: border-box;
    scroll-snap-align: start;
}
.pp-more-tile:hover {
    background: #faf7f2;
    border-color: #BD844C;
    color: #010F1C;
    text-decoration: none;
    transform: translateY(-2px);
}
.pp-more-tile__icon {
    color: #BD844C;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pp-more-tile__label {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
    color: #010F1C;
}
.pp-more-tile--related {
    flex: 0 0 287px;
}
.pp-more-tile--cat {
    flex: 0 0 144px;
    height: 188px;
}

/* ============================================================
   Alt A — Share + Compara/Favorite mutat sub trust strip carusel
   (doar pe desktop ≥1001px container query). Pe tablet/mobile
   pastram pozitiile default (stack sub eyeRow / inline in rating).
============================================================ */
.share-slot-after-trust { display: none; }
.sec-slot-after-trust   { display: none; }

/* ============================================================
   Alt B — Bullets pagination in loc de scrollbar la Categorii
   si Produse similare. Bullet inactiv 5x5 grey, activ 5x5 gold
   cu transform scale(1.4) pentru emfaza.
============================================================ */
[data-variant="alt-b"] .tp-product-related-slider.use-bullets .tp-related-swiper-scrollbar,
[data-variant="alt-b"] .tp-product-category-slider.use-bullets .tp-category-swiper-scrollbar {
    display: none !important;
}
[data-variant="alt-b"] .tp-related-pagination,
[data-variant="alt-b"] .tp-category-pagination {
    position: relative;
    text-align: center;
    margin-top: 18px;
    line-height: 1;
}
[data-variant="alt-b"] .tp-related-pagination .swiper-pagination-bullet,
[data-variant="alt-b"] .tp-category-pagination .swiper-pagination-bullet {
    display: inline-block;
    width: 5px;
    height: 5px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 999px;
    opacity: 1;
    margin: 0 5px !important;
    transition: width .25s ease, background-color .2s ease;
    cursor: pointer;
    vertical-align: middle;
}
[data-variant="alt-b"] .tp-related-pagination .swiper-pagination-bullet:hover,
[data-variant="alt-b"] .tp-category-pagination .swiper-pagination-bullet:hover {
    background: rgba(0, 0, 0, 0.45);
}
[data-variant="alt-b"] .tp-related-pagination .swiper-pagination-bullet-active,
[data-variant="alt-b"] .tp-category-pagination .swiper-pagination-bullet-active {
    background: var(--gold, #c9a66b);
    width: 24px;
}

/* Alt B — imagine categorii mai mare (aspect 1:1 pătrat in loc de 4:3) */
[data-variant="alt-b"] .category-grid-image-wrapper {
    aspect-ratio: 1 / 1;
}

@container pp (min-width: 1001px) {
    [data-variant="alt-a"] .stock-share-row .share-slot-inline { display: none; }
    [data-variant="alt-a"] .pp-rating-row .sec-slot-inline     { display: none; }
    [data-variant="alt-a"] .share-slot-after-trust {
        display: block;
        margin-top: 4px;
    }
    [data-variant="alt-a"] .share-slot-after-trust .share-row {
        padding: 16px 0 0;
        border-top: 1px solid var(--border, #e5e7eb);
    }
    [data-variant="alt-a"] .sec-slot-after-trust {
        display: block;
    }
    [data-variant="alt-a"] .sec-slot-after-trust .pp-sec-actions {
        padding: 0;
        border-top: 0;
        gap: 18px;
    }
    [data-variant="alt-a"] .sec-slot-after-trust .pp-sec-actions a {
        border-bottom: 0;
    }
}

/* ============================================================
   Alt A — Categorii (Builder.io quickcopy "category-grid")
   8 carduri in carusel Swiper cu scrollbar gold drag — pattern
   identic cu Produse similare.
============================================================ */
[data-variant="alt-a"] .category-grid-section, [data-variant="alt-b"] .category-grid-section {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 24px;
    border-radius: 16px;
    background: var(--surface, #fbf8f3);
}
[data-variant="alt-a"] .category-grid-header, [data-variant="alt-b"] .category-grid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
[data-variant="alt-a"] .category-grid-title, [data-variant="alt-b"] .category-grid-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text, #1a1a1a);
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
[data-variant="alt-a"] .category-grid-view-all, [data-variant="alt-b"] .category-grid-view-all {
    color: var(--muted, #6c757d);
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .2s ease;
}
[data-variant="alt-a"] .category-grid-view-all:hover, [data-variant="alt-b"] .category-grid-view-all:hover {
    color: var(--text, #1a1a1a);
}
[data-variant="alt-a"] .category-grid-view-all svg, [data-variant="alt-b"] .category-grid-view-all svg {
    width: 16px;
    height: 16px;
}

/* Carusel container */
[data-variant="alt-a"] .tp-product-category-slider, [data-variant="alt-b"] .tp-product-category-slider {
    position: relative;
}
[data-variant="alt-a"] .tp-product-category-slider-active, [data-variant="alt-b"] .tp-product-category-slider-active {
    overflow: hidden;
    width: 100%;
}
[data-variant="alt-a"] .tp-product-category-slider-active .swiper-wrapper, [data-variant="alt-b"] .tp-product-category-slider-active .swiper-wrapper {
    display: flex;
    align-items: stretch;
}
[data-variant="alt-a"] .tp-product-category-slider-active .swiper-slide, [data-variant="alt-b"] .tp-product-category-slider-active .swiper-slide {
    height: auto;
    display: flex;
}
[data-variant="alt-a"] .tp-product-category-slider-active .swiper-slide > .category-grid-item, [data-variant="alt-b"] .tp-product-category-slider-active .swiper-slide > .category-grid-item {
    flex: 1 1 auto;
    width: 100%;
}

/* Card */
[data-variant="alt-a"] .category-grid-item, [data-variant="alt-b"] .category-grid-item {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
    height: 100%;
}
[data-variant="alt-a"] .category-grid-item:hover, [data-variant="alt-b"] .category-grid-item:hover {
    border-color: #d0d0d0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}
[data-variant="alt-a"] .category-grid-link, [data-variant="alt-b"] .category-grid-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
[data-variant="alt-a"] .category-grid-link:hover, [data-variant="alt-b"] .category-grid-link:hover {
    text-decoration: none;
    color: inherit;
}
[data-variant="alt-a"] .category-grid-image-wrapper, [data-variant="alt-b"] .category-grid-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #f8f8f8;
}
[data-variant="alt-a"] .category-grid-image, [data-variant="alt-b"] .category-grid-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
    display: block;
}
[data-variant="alt-a"] .category-grid-item:hover .category-grid-image, [data-variant="alt-b"] .category-grid-item:hover .category-grid-image {
    transform: scale(1.05);
}
[data-variant="alt-a"] .category-grid-content, [data-variant="alt-b"] .category-grid-content {
    padding: 16px 12px;
    text-align: center;
}
[data-variant="alt-a"] .category-grid-name, [data-variant="alt-b"] .category-grid-name {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin: 0;
    line-height: 1.3;
}

/* Scrollbar identic cu Produse similare */
[data-variant="alt-a"] .tp-category-swiper-scrollbar, [data-variant="alt-b"] .tp-category-swiper-scrollbar {
    position: relative;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 999px;
    margin-top: 18px;
    cursor: pointer;
}
[data-variant="alt-a"] .tp-category-swiper-scrollbar .swiper-scrollbar-drag, [data-variant="alt-b"] .tp-category-swiper-scrollbar .swiper-scrollbar-drag {
    background: var(--gold, #c9a66b);
    border-radius: 999px;
    height: 100%;
    cursor: grab;
}
[data-variant="alt-a"] .tp-category-swiper-scrollbar .swiper-scrollbar-drag:active, [data-variant="alt-b"] .tp-category-swiper-scrollbar .swiper-scrollbar-drag:active {
    cursor: grabbing;
}

/* Tablet/mobile adjust */
@media (max-width: 768px) {
    [data-variant="alt-a"] .category-grid-section, [data-variant="alt-b"] .category-grid-section { padding: 18px; }
    [data-variant="alt-a"] .category-grid-title, [data-variant="alt-b"] .category-grid-title { font-size: 18px; }
    [data-variant="alt-a"] .category-grid-content, [data-variant="alt-b"] .category-grid-content { padding: 12px 10px; }
    [data-variant="alt-a"] .category-grid-name, [data-variant="alt-b"] .category-grid-name { font-size: 13px; }
}

/* ============================================================
   Alt A — Produse similare (Builder.io quickcopy design)
   Scope-ate strict la [data-variant="alt-a"] pentru a NU afecta
   celelalte variante care continua sa foloseasca .pp-related.
============================================================ */
body.pp-footer-light [data-variant="alt-a"] .pp-subscribe,
body.pp-footer-light [data-variant="alt-b"] .pp-subscribe,
body.pp-footer-light .viewport-body.desktop [data-variant="alt-a"] .pp-subscribe,
body.pp-footer-light .viewport-body.desktop [data-variant="alt-b"] .pp-subscribe {
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    border-radius: 16px;
    overflow: hidden;
}

[data-variant="alt-a"] .similar-products-section, [data-variant="alt-b"] .similar-products-section {
    background-color: #fff;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 24px;
    border-radius: 16px;
    background: var(--surface, #fbf8f3);
}
[data-variant="alt-a"] .similar-products-section .section-header, [data-variant="alt-b"] .similar-products-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
[data-variant="alt-a"] .similar-products-section .section-title, [data-variant="alt-b"] .similar-products-section .section-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text, #1a1a1a);
    margin: 0;
    letter-spacing: -0.01em;
}
[data-variant="alt-a"] .similar-products-section .view-all-link, [data-variant="alt-b"] .similar-products-section .view-all-link {
    color: var(--muted, #6c757d);
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .2s ease;
}
[data-variant="alt-a"] .similar-products-section .view-all-link:hover, [data-variant="alt-b"] .similar-products-section .view-all-link:hover {
    color: var(--text, #1a1a1a);
}
[data-variant="alt-a"] .similar-products-section .view-all-link svg, [data-variant="alt-b"] .similar-products-section .view-all-link svg {
    width: 16px;
    height: 16px;
}

/* Thumbs Swiper (Alt A) — pattern identic shofy: tp-product-thumb-slider-active.
   Resetam stilurile default ale .thumbs (grid/flex) si lasam Swiper sa gestioneze. */
[data-variant="alt-a"] .gallery .thumbs.thumbs-swiper {
    display: block;
    overflow-x: hidden;
    overflow-y: visible;
    width: 100%;
    padding: 0 0 12px 0;
    margin: 0;
    grid-template-columns: none;
    grid-auto-flow: unset;
    flex-wrap: nowrap;
    gap: 0;
}
[data-variant="alt-a"] .gallery .thumbs-swiper .swiper-wrapper {
    display: flex;
    align-items: flex-start;
    /* Override legacy v1 rule .gallery .thumbs > div { 72x72; bg #D9D9D9 } */
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
}
[data-variant="alt-a"] .gallery .thumbs-swiper .swiper-slide {
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}
[data-variant="alt-a"] .gallery .thumbs-swiper .swiper-slide > .thumb {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
}

/* Alt A — inlocuire stroke cu shadow finut pe thumbs (hover + active) */
[data-variant="alt-a"] .gallery .thumb {
    border-color: transparent;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    transition: box-shadow .2s ease, border-color .2s ease;
}
[data-variant="alt-a"] .gallery .thumb:hover {
    border-color: transparent;
    box-shadow: 0 6px 6px -6px rgba(0, 0, 0, 0.15);
}
[data-variant="alt-a"] .gallery .thumb.active {
    border-color: transparent;
    box-shadow: 0 8px 8px -8px rgba(0, 0, 0, 0.22);
}

/* Carusel Swiper (pattern shofy/Botble: tp-product-related-slider) */
[data-variant="alt-a"] .tp-product-related-slider, [data-variant="alt-b"] .tp-product-related-slider {
    position: relative;
}
[data-variant="alt-a"] .tp-product-related-slider-active, [data-variant="alt-b"] .tp-product-related-slider-active {
    overflow: hidden;
    width: 100%;
}
[data-variant="alt-a"] .tp-product-related-slider-active .swiper-wrapper, [data-variant="alt-b"] .tp-product-related-slider-active .swiper-wrapper {
    display: flex;
    align-items: stretch;
}
[data-variant="alt-a"] .tp-product-related-slider-active .swiper-slide, [data-variant="alt-b"] .tp-product-related-slider-active .swiper-slide {
    height: auto;
    display: flex;
}
[data-variant="alt-a"] .tp-product-related-slider-active .swiper-slide > .product-card, [data-variant="alt-b"] .tp-product-related-slider-active .swiper-slide > .product-card {
    flex: 1 1 auto;
    width: 100%;
}

/* Scrollbar (replica .tp-swiper-scrollbar din shofy) */
[data-variant="alt-a"] .tp-related-swiper-scrollbar, [data-variant="alt-b"] .tp-related-swiper-scrollbar {
    position: relative;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 999px;
    margin-top: 18px;
    cursor: pointer;
}
[data-variant="alt-a"] .tp-related-swiper-scrollbar .swiper-scrollbar-drag, [data-variant="alt-b"] .tp-related-swiper-scrollbar .swiper-scrollbar-drag,
[data-variant="alt-a"] .tp-swiper-scrollbar-drag, [data-variant="alt-b"] .tp-swiper-scrollbar-drag {
    background: var(--gold, #c9a66b);
    border-radius: 999px;
    height: 100%;
    cursor: grab;
}
[data-variant="alt-a"] .tp-related-swiper-scrollbar .swiper-scrollbar-drag:active, [data-variant="alt-b"] .tp-related-swiper-scrollbar .swiper-scrollbar-drag:active,
[data-variant="alt-a"] .tp-swiper-scrollbar-drag:active, [data-variant="alt-b"] .tp-swiper-scrollbar-drag:active {
    cursor: grabbing;
}

/* Card */
[data-variant="alt-a"] .product-card, [data-variant="alt-b"] .product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
}
[data-variant="alt-a"] .product-card:hover, [data-variant="alt-b"] .product-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--line, #e9ecef);
    transform: translateY(-2px);
}

/* Image */
[data-variant="alt-a"] .product-image-wrapper, [data-variant="alt-b"] .product-image-wrapper {
    position: relative;
    overflow: hidden;
}
[data-variant="alt-a"] .product-image, [data-variant="alt-b"] .product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #FAF7F2 0%, #F0ECE4 50%, #E8DFCF 100%);
    display: block;
    overflow: hidden;
}
[data-variant="alt-a"] .product-image img, [data-variant="alt-b"] .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
[data-variant="alt-a"] .product-card:hover .product-image img, [data-variant="alt-b"] .product-card:hover .product-image img {
    transform: scale(1.04);
}

/* Badges */
[data-variant="alt-a"] .product-badges, [data-variant="alt-b"] .product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
[data-variant="alt-a"] .product-badges span, [data-variant="alt-b"] .product-badges span {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    color: #fff;
}
[data-variant="alt-a"] .badge-new, [data-variant="alt-b"] .badge-new      { background-color: #198754; }
[data-variant="alt-a"] .badge-sale, [data-variant="alt-b"] .badge-sale     { background-color: #fd7e14; }
[data-variant="alt-a"] .badge-discount, [data-variant="alt-b"] .badge-discount { background-color: var(--gold, #c9a66b); }

/* Hover actions (wishlist + quick view) */
[data-variant="alt-a"] .product-actions, [data-variant="alt-b"] .product-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity .25s ease, transform .25s ease;
}
[data-variant="alt-a"] .product-card:hover .product-actions, [data-variant="alt-b"] .product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}
[data-variant="alt-a"] .action-btn, [data-variant="alt-b"] .action-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background-color: #fff;
    color: var(--muted, #6c757d);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0;
}
[data-variant="alt-a"] .action-btn:hover, [data-variant="alt-b"] .action-btn:hover {
    background-color: #f8f9fa;
    color: var(--text, #1a1a1a);
    transform: scale(1.08);
}
[data-variant="alt-a"] .action-btn.active, [data-variant="alt-b"] .action-btn.active {
    background-color: var(--gold, #c9a66b);
    color: #fff;
}
[data-variant="alt-a"] .action-btn svg, [data-variant="alt-b"] .action-btn svg {
    width: 16px;
    height: 16px;
}

/* Info */
[data-variant="alt-a"] .product-info, [data-variant="alt-b"] .product-info {
    padding: 14px 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
[data-variant="alt-a"] .product-title, [data-variant="alt-b"] .product-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text, #1a1a1a);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.4em * 2);
}
[data-variant="alt-a"] .product-price, [data-variant="alt-b"] .product-price {
    margin: 0;
}
[data-variant="alt-a"] .price-current, [data-variant="alt-b"] .price-current {
    font-size: 15px;
    font-weight: 600;
    color: var(--text, #1a1a1a);
}
[data-variant="alt-a"] .price-original, [data-variant="alt-b"] .price-original {
    font-size: 13px;
    color: var(--muted, #6c757d);
    text-decoration: line-through;
    margin-left: 6px;
}

/* Add to cart */
[data-variant="alt-a"] .add-to-cart-btn, [data-variant="alt-b"] .add-to-cart-btn {
    width: 100%;
    padding: 10px 14px;
    background-color: var(--text, #1a1a1a);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .2s ease, transform .15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}
[data-variant="alt-a"] .add-to-cart-btn svg, [data-variant="alt-b"] .add-to-cart-btn svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    flex-shrink: 0;
}
[data-variant="alt-a"] .add-to-cart-btn:hover, [data-variant="alt-b"] .add-to-cart-btn:hover {
    background-color: #333;
    transform: translateY(-1px);
}
[data-variant="alt-a"] .add-to-cart-btn:active, [data-variant="alt-b"] .add-to-cart-btn:active {
    transform: translateY(0);
}
[data-variant="alt-a"] .add-to-cart-btn:disabled, [data-variant="alt-b"] .add-to-cart-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}
[data-variant="alt-a"] .add-to-cart-btn.success, [data-variant="alt-b"] .add-to-cart-btn.success {
    background-color: #198754;
}

/* Tablet/mobile fine-tuning */
@media (max-width: 768px) {
    [data-variant="alt-a"] .similar-products-section, [data-variant="alt-b"] .similar-products-section { padding: 18px; }
    [data-variant="alt-a"] .similar-products-section .section-title, [data-variant="alt-b"] .similar-products-section .section-title { font-size: 18px; }
    [data-variant="alt-a"] .product-info, [data-variant="alt-b"] .product-info { padding: 12px 10px; gap: 6px; }
    [data-variant="alt-a"] .product-title, [data-variant="alt-b"] .product-title { font-size: 13px; }
    [data-variant="alt-a"] .price-current, [data-variant="alt-b"] .price-current { font-size: 14px; }
    [data-variant="alt-a"] .add-to-cart-btn, [data-variant="alt-b"] .add-to-cart-btn { padding: 9px 10px; font-size: 12.5px; }
    [data-variant="alt-a"] .action-btn, [data-variant="alt-b"] .action-btn { width: 32px; height: 32px; }
    [data-variant="alt-a"] .action-btn svg, [data-variant="alt-b"] .action-btn svg { width: 14px; height: 14px; }
}
@media (max-width: 480px) {
    [data-variant="alt-a"] .similar-products-section .section-header {
        flex-wrap: wrap;
        gap: 6px;
    }
}

/* Aragold live integration: <a class="attr-link"> wrap label pentru navigare */
.attr-item .attr-link { text-decoration: none; color: inherit; display: inline-flex; }
.attr-item.disabled .attr-link { pointer-events: none; }

/* 2026-05-01: in scroll-wrap chip-urile au markup `<li> > <a class="attr-link"> > <label>`.
   Rule-ul `.attr-list-scroll .attr-item label { width: 100% }` se aplica pe label
   relativ la PARENT (a.attr-link), nu la chip-ul .attr-item. Daca a-link-ul nu
   se intinde, label ramane mic (37px in loc de 58px) si chip-ul arata gol cu
   borderul label-ului mic in centru. Force-stretch a.attr-link la 100% ca
   label-ul sa umple chip-ul ca in referinta v3 alt-c. */
.attr-scroll-wrap .attr-list-scroll .attr-item .attr-link {
    width: 100%;
    min-width: 0;
    flex: 1 1 auto;
}

/* ============================================================================
   ARAGOLD LIVE INTEGRATION — container width + spacing
   Pe prototype, .viewport-body.desktop ancestor furnizeaza max-width + margin
   auto. Pe live nu exista — adaugam container direct pe .pp-main-content.
   ============================================================================ */
[data-page-design="alt-d"] .pp-main-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px;
    box-sizing: border-box;
}
@media (max-width: 1024px) {
    [data-page-design="alt-d"] .pp-main-content { padding: 16px; }
}
@media (max-width: 600px) {
    [data-page-design="alt-d"] .pp-main-content { padding: 12px; }
}

/* ============================================================================
   ARAGOLD LIVE INTEGRATION — TOPBAR + FOOTER DARK pentru parity prototype Alt D
   ============================================================================ */

/* Topbar (header top) — pe live PDP topbar trebuie sa pastreze stilul
 * global din homepage (light/transparent), NU stilul prototype Alt D
 * (dark navy). Override-ul anterior facea text-on-dark ilizibil pe live.
 * Removed 2026-05-08 per user feedback. */

/* ============================================================================
   QUICK-SHOP MODAL — paritate vizuala COMPLETA cu summary-action-card din PDP.
   Modal foloseste acum override-ul din quick-shop.blade.php cu wrapper
   data-variant="alt-d" pentru a inheri toate regulile alt-d (chips, specs, qty,
   btn-cart). Pastram doar overrides modal-specifice (sizing, padding, title).
   ============================================================================ */

#quick-shop-modal .modal-content {
    border-radius: 12px !important;
    padding: 8px;
    border: 0;
}

#quick-shop-modal .modal-body {
    padding: 20px 24px 24px;
}

#quick-shop-modal .pp-quick-shop {
    color: #010F1C;
}

#quick-shop-modal .qs-title-link {
    text-decoration: none;
    color: inherit;
    display: block;
    margin-bottom: 8px;
}
#quick-shop-modal .qs-title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    color: #010F1C;
    margin: 0;
    font-family: 'Poppins', system-ui, sans-serif;
}

#quick-shop-modal .qs-price {
    font-size: 16px;
    font-weight: 500;
    color: #010F1C;
    margin: 0 0 16px;
}
#quick-shop-modal .qs-price-old {
    color: #6B7280;
    font-size: 13px;
    margin: 0 0 16px;
}
#quick-shop-modal .qs-short-desc {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.5;
    margin: 0 0 16px;
}

/* Reuses .summary-action-card / .attr-list / .icon-specs / .qty-counter /
 * .btn-cart / .btn-wishlist din alt-d-prototype.css (scoped la
 * [data-variant="alt-d"] sau body:has([data-page-design="alt-d"]) care
 * NU se aplica in modal context). Forteaza scope-ul pe modal: */
#quick-shop-modal .summary-action-card {
    background: #F8F9FA;
    border-radius: 12px;
    padding: 16px;
    margin: 0;
}
#quick-shop-modal .attr-group-title {
    font-size: 13px;
    font-weight: 500;
    color: #010F1C;
    margin-bottom: 8px;
}
#quick-shop-modal .attr-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}
#quick-shop-modal .attr-item {
    list-style: none;
}
#quick-shop-modal .attr-item .attr-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 6px 12px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    background: #FFFFFF;
    color: #010F1C;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    transition: border-color 0.15s ease, background-color 0.15s ease;
    cursor: pointer;
}
#quick-shop-modal .attr-item .attr-link:hover {
    border-color: #BD844C;
}
#quick-shop-modal .attr-item.checked .attr-link {
    border-color: #BD844C;
    border-width: 2px;
    padding: 5px 11px;
}
#quick-shop-modal .attr-item.disabled .attr-link {
    opacity: 0.5;
    pointer-events: none;
    text-decoration: line-through;
}

#quick-shop-modal .icon-specs {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 4px 12px;
    margin: 0 0 16px;
}
#quick-shop-modal .icon-spec-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #F1F3F4;
    font-size: 13px;
}
#quick-shop-modal .icon-spec-row:last-child {
    border-bottom: 0;
}
#quick-shop-modal .icon-spec-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #F8F9FA;
    border-radius: 50%;
    color: #BD844C;
    flex-shrink: 0;
}
#quick-shop-modal .icon-spec-ico svg {
    width: 14px;
    height: 14px;
}
#quick-shop-modal .icon-spec-label {
    flex: 1;
    color: #6B7280;
}
#quick-shop-modal .icon-spec-value {
    font-weight: 500;
    color: #010F1C;
}

#quick-shop-modal .stock-share-row {
    margin-bottom: 12px;
}
#quick-shop-modal .stock {
    margin: 0;
    font-size: 12px;
    color: #006554;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
#quick-shop-modal .stock .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #006554;
}
#quick-shop-modal .stock.oos {
    color: #DC2626;
}
#quick-shop-modal .stock.oos .dot {
    background: #DC2626;
}

#quick-shop-modal .quantity-block {
    margin-top: 12px;
}
#quick-shop-modal .quantity-label {
    font-size: 13px;
    font-weight: 500;
    color: #010F1C;
    margin-bottom: 8px;
}
#quick-shop-modal .qty-cart-row {
    display: flex;
    gap: 8px;
    align-items: center;
}
#quick-shop-modal .qty-counter {
    display: inline-flex;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
    height: 44px;
}
#quick-shop-modal .qty-counter button {
    background: transparent;
    border: 0;
    width: 36px;
    height: 100%;
    cursor: pointer;
    color: #010F1C;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
#quick-shop-modal .qty-counter button:hover:not(:disabled) {
    background: #F8F9FA;
}
#quick-shop-modal .qty-counter .qty-val {
    min-width: 28px;
    text-align: center;
    font-size: 14px;
    color: #010F1C;
}

#quick-shop-modal .btn-cart {
    flex: 1;
    height: 44px;
    background: #010F1C;
    color: #FFFFFF;
    border: 0;
    border-radius: 8px;
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.15s ease;
}
#quick-shop-modal .btn-cart:hover:not(:disabled) {
    background: #BD844C;
}

#quick-shop-modal .btn-wishlist {
    width: 44px;
    height: 44px;
    background: #BD844C;
    border: 0;
    border-radius: 8px;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.15s ease;
}
#quick-shop-modal .btn-wishlist:hover {
    background: #010F1C;
}

#quick-shop-modal .qs-view-details {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    color: #010F1C;
    font-size: 13px;
    text-decoration: underline;
}
#quick-shop-modal .qs-view-details:hover {
    color: #BD844C;
}

/* Quick View mirrors Quick Shop: compact action card plus product description. */
#product-quick-view-modal.tp-product-modal .modal-dialog {
    max-width: 560px;
}
#product-quick-view-modal.tp-product-modal .modal-content {
    border: 0;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
}
#product-quick-view-modal .pp-quick-shop {
    color: #010F1C;
    padding: 22px 24px 24px;
    position: relative;
}
#product-quick-view-modal .qs-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: #F1F3F4;
    color: #010F1C;
    z-index: 2;
    box-shadow: 0 1px 4px rgba(1, 15, 28, .08);
}
#product-quick-view-modal .qs-modal-close:hover {
    background: #E5E7EB;
}
#product-quick-view-modal .qs-modal-close svg {
    width: 18px;
    height: 18px;
}
#product-quick-view-modal .qs-gallery {
    margin: 0 0 16px;
}
#product-quick-view-modal .qs-gallery-main {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #FFFFFF;
    border: 1px solid #EEF0F2;
    border-radius: 10px;
    overflow: hidden;
}
#product-quick-view-modal .qs-gallery-main img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
#product-quick-view-modal .qs-gallery-strip {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
}
#product-quick-view-modal .qs-gallery-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    padding: 0;
    background: #FFFFFF;
    border: 1px solid #EEF0F2;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
}
#product-quick-view-modal .qs-gallery-thumb.is-active {
    border-color: #BD844C;
}
#product-quick-view-modal .qs-gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
#product-quick-view-modal .qs-title-link {
    text-decoration: none;
    color: inherit;
    display: block;
    margin-bottom: 8px;
    padding-inline-end: 32px;
}
#product-quick-view-modal .qs-title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    color: #010F1C;
    margin: 0;
    font-family: 'Poppins', system-ui, sans-serif;
}
#product-quick-view-modal .qs-price {
    font-size: 16px;
    font-weight: 500;
    color: #010F1C;
    margin: 0 0 16px;
}
#product-quick-view-modal .qs-price-old {
    color: #6B7280;
    font-size: 13px;
    margin: 0 0 16px;
}
#product-quick-view-modal .qs-short-desc,
#product-quick-view-modal .qs-full-description {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.55;
}
#product-quick-view-modal .qs-short-desc {
    margin: 0 0 12px;
}
#product-quick-view-modal .qs-full-description {
    max-height: 150px;
    overflow: auto;
    padding: 12px 14px;
    margin: 0 0 16px;
    background: #FFFFFF;
    border: 1px solid #EEF0F2;
    border-radius: 8px;
}
#product-quick-view-modal .qs-full-description p:last-child {
    margin-bottom: 0;
}
#product-quick-view-modal .summary-action-card {
    background: #F8F9FA;
    border-radius: 12px;
    padding: 16px;
    margin: 0;
}
#product-quick-view-modal .attr-group-title {
    font-size: 13px;
    font-weight: 500;
    color: #010F1C;
    margin-bottom: 8px;
}
#product-quick-view-modal .attr-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}
#product-quick-view-modal .attr-item {
    list-style: none;
}
#product-quick-view-modal .attr-item .attr-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 6px 12px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    background: #FFFFFF;
    color: #010F1C;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    transition: border-color 0.15s ease, background-color 0.15s ease;
    cursor: pointer;
}
#product-quick-view-modal .attr-item .attr-link:hover,
#product-quick-view-modal .attr-item.checked .attr-link {
    border-color: #BD844C;
}
#product-quick-view-modal .attr-item.checked .attr-link {
    border-width: 2px;
    padding: 5px 11px;
}
#product-quick-view-modal .attr-item.disabled .attr-link {
    opacity: 0.5;
    pointer-events: none;
    text-decoration: line-through;
}
#product-quick-view-modal .icon-specs {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 4px 12px;
    margin: 0 0 16px;
}
#product-quick-view-modal .icon-spec-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #F1F3F4;
    font-size: 13px;
}
#product-quick-view-modal .icon-spec-row:last-child {
    border-bottom: 0;
}
#product-quick-view-modal .icon-spec-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #F8F9FA;
    border-radius: 50%;
    color: #BD844C;
    flex-shrink: 0;
}
#product-quick-view-modal .icon-spec-ico svg {
    width: 14px;
    height: 14px;
}
#product-quick-view-modal .icon-spec-label {
    flex: 1;
    color: #6B7280;
}
#product-quick-view-modal .icon-spec-value {
    font-weight: 500;
    color: #010F1C;
}
#product-quick-view-modal .stock-share-row {
    margin-bottom: 12px;
}
#product-quick-view-modal .stock {
    margin: 0;
    font-size: 12px;
    color: #006554;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
#product-quick-view-modal .stock .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #006554;
}
#product-quick-view-modal .stock.oos {
    color: #DC2626;
}
#product-quick-view-modal .stock.oos .dot {
    background: #DC2626;
}
#product-quick-view-modal .quantity-block {
    margin-top: 12px;
}
#product-quick-view-modal .quantity-label {
    font-size: 13px;
    font-weight: 500;
    color: #010F1C;
    margin-bottom: 8px;
}
#product-quick-view-modal .qty-cart-row {
    display: flex;
    gap: 8px;
    align-items: center;
}
#product-quick-view-modal .qty-counter {
    display: inline-flex;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
    height: 44px;
}
#product-quick-view-modal .qty-counter button {
    background: transparent;
    border: 0;
    width: 36px;
    height: 100%;
    cursor: pointer;
    color: #010F1C;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
#product-quick-view-modal .qty-counter button:hover:not(:disabled) {
    background: #F8F9FA;
}
#product-quick-view-modal .qty-counter .qty-val {
    min-width: 28px;
    text-align: center;
    font-size: 14px;
    color: #010F1C;
}
#product-quick-view-modal .btn-cart {
    flex: 1;
    height: 44px;
    background: #010F1C;
    color: #FFFFFF;
    border: 0;
    border-radius: 8px;
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.15s ease;
}
#product-quick-view-modal .btn-cart:hover:not(:disabled) {
    background: #BD844C;
}
#product-quick-view-modal .btn-wishlist {
    width: 44px;
    height: 44px;
    background: #BD844C;
    border: 0;
    border-radius: 8px;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.15s ease;
}
#product-quick-view-modal .btn-wishlist:hover {
    background: #010F1C;
}
#product-quick-view-modal .qs-view-details {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    color: #010F1C;
    font-size: 13px;
    text-decoration: underline;
}
#product-quick-view-modal .qs-view-details:hover {
    color: #BD844C;
}

/* Footer — dark navy + payments */
body:has([data-page-design="alt-d"]) footer .tp-footer-area {
    background: #0f1729 !important;
    color: #fff !important;
}
body:has([data-page-design="alt-d"]) footer .tp-footer-area * {
    color: #fff !important;
}
body:has([data-page-design="alt-d"]) footer .tp-footer-area a {
    color: rgba(255, 255, 255, 0.85) !important;
}
body:has([data-page-design="alt-d"]) footer .tp-footer-area a:hover {
    color: #BD844C !important;
}
body:has([data-page-design="alt-d"]) footer .tp-footer-area .tp-footer-widget-title {
    color: #fff !important;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}
body:has([data-page-design="alt-d"]) footer .tp-footer-area .tp-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}
body:has([data-page-design="alt-d"]) footer .tp-footer-social a,
body:has([data-page-design="alt-d"]) footer .tp-footer-social svg {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Form-ul Botble (CSRF + add-to-cart submit) wrap-uieste continutul actiunii.
   Pentru ca .summary-action-card { gap: 14px } se aplica doar la direct
   children, iar form-ul devine singurul direct child, sectiunile interne
   nu mai au gap. Forteaza form-ul sa fie flex column cu acelasi gap. */
[data-page-design="alt-d"] .summary-action-card .pp-altd-form {
    display: flex !important;
    flex-direction: column;
    gap: 14px;
}

/* Botble Newsletter form intern: form > .tp-subscribe-input > input + button.
   Force flex layout pe wrapper-ele intermediare ca prototype-ul .pp-subscribe-form
   (display:flex direct pe input + button) sa functioneze. */
.pp-subscribe .pp-subscribe-form > form {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
}

.pp-subscribe .pp-subscribe-form .tp-subscribe-input {
    display: flex;
    flex: 1;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
}
.pp-subscribe .pp-subscribe-form > form .input-group {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    min-width: 0;
}
.pp-subscribe .pp-subscribe-form > form .input-group > input[type="email"] {
    min-width: 0;
}
.pp-subscribe .pp-subscribe-form > form .input-group > button,
.pp-subscribe .pp-subscribe-form > form .newsletter-submit-button {
    flex: 0 0 auto;
    white-space: nowrap;
}
.pp-subscribe .pp-subscribe-form .newsletter-message {
    flex-basis: 100%;
    margin-top: 10px !important;
}
/* Messages under the form (subscribed, already subscribed, invalid e-mail) read
   as a short note inside the card instead of raw text against its edge. */
.pp-subscribe .pp-subscribe-form .newsletter-message {
    margin: 10px 6px 6px !important;
    padding: 10px 14px;
    border-radius: 8px;
    border-left: 3px solid var(--gold, #BD844C);
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    line-height: 1.5;
}

.pp-subscribe .pp-subscribe-form .tp-subscribe-input .invalid-feedback {
    display: none !important;
}

/* Botble Newsletter button vine cu position:absolute din shofy theme.css.
   Force static + full height pentru paritate prototype Alt D pill. */
.pp-subscribe .pp-subscribe-form .tp-subscribe-input button,
.pp-subscribe .pp-subscribe-form button {
    position: static !important;
    top: auto !important;
    right: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 126px !important;
    min-height: 49px !important;
    height: 49px !important;
    align-self: stretch !important;
    line-height: 1.2 !important;
    padding: 0 24px !important;
    border-radius: 8px !important;
    background: var(--gold, #BD844C) !important;
    color: #fff !important;
    border: 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transform: none !important;
}

@media (max-width: 767.98px) {
    .pp-subscribe .pp-subscribe-form > form .input-group,
    .pp-subscribe .pp-subscribe-form .tp-subscribe-input {
        flex-direction: column;
        gap: 8px;
    }

    .pp-subscribe .pp-subscribe-form .tp-subscribe-input button,
    .pp-subscribe .pp-subscribe-form button {
        width: 100% !important;
    }
}
.pp-subscribe .pp-subscribe-form input[type="email"],
.pp-subscribe .pp-subscribe-form .tp-subscribe-input input[type="email"] {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    height: 49px !important;
    line-height: 1.4 !important;
    padding: 14px 16px !important;
    font-size: 14px !important;
    background: transparent !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}
.pp-subscribe .pp-subscribe-form input[type="email"]:focus,
.pp-subscribe .pp-subscribe-form .tp-subscribe-input input[type="email"]:focus,
.pp-subscribe .pp-subscribe-form input[type="email"]:-webkit-autofill,
.pp-subscribe .pp-subscribe-form input[type="email"]:-webkit-autofill:hover,
.pp-subscribe .pp-subscribe-form input[type="email"]:-webkit-autofill:focus,
.pp-subscribe .pp-subscribe-form input[type="email"]:-webkit-autofill:active,
.pp-subscribe .pp-subscribe-form .tp-subscribe-input input[type="email"]:-webkit-autofill,
.pp-subscribe .pp-subscribe-form .tp-subscribe-input input[type="email"]:-webkit-autofill:hover,
.pp-subscribe .pp-subscribe-form .tp-subscribe-input input[type="email"]:-webkit-autofill:focus,
.pp-subscribe .pp-subscribe-form .tp-subscribe-input input[type="email"]:-webkit-autofill:active {
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff !important;
    background: transparent !important;
    box-shadow: 0 0 0 1000px #0F1A28 inset !important;
    border: 0 !important;
    outline: 0 !important;
}

/* h3 din pp-subscribe: shofy theme.css forteaza line-height 1.2; prototype 1.4. */
.pp-subscribe .pp-subscribe-content h3 {
    line-height: 1.4 !important;
}

/* Footer payment chips — text rounded pills (paritate prototype). */
.pp-footer-pays {
    display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap;
    justify-content: flex-end;
}
.pp-footer-pays .pp-pay-chip {
    display: inline-flex; align-items: center;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 12px; font-weight: 500;
    color: #fff;
    letter-spacing: .02em;
}
.pp-footer-pays .pp-pay-chip--logo {
    padding: 4px 10px;
    background: #fff;
    border-color: rgba(255, 255, 255, 0.36);
    line-height: 0;
}
.pp-footer-pays .pp-pay-chip--logo img {
    display: block;
    width: 96px;
    height: auto;
}
