/* ==========================================================================
   Magazin — stiluri. Culorile principale se schimbă din variabilele de mai jos.
   ========================================================================== */
:root {
  --brand: #0f9488;
  --brand-dark: #0b6f66;
  --brand-soft: #e1f5f1;
  --ink: #0e2a3b;
  --ink-2: #3a5262;
  --muted: #6b7f8d;
  --line: #e2eaeb;
  --bg: #ffffff;
  --bg-soft: #f3f8f7;
  --sale: #d9462f;
  --ok: #10805a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(14, 42, 59, .05), 0 8px 24px rgba(14, 42, 59, .06);
  --shadow-lg: 0 20px 60px rgba(14, 42, 59, .18);
  --font: ui-sans-serif, -apple-system, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand-dark); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.ok { color: var(--ok); }
.req { color: var(--sale); }
.ico { width: 20px; height: 20px; flex: none; vertical-align: middle; }
.ico-xl { width: 44px; height: 44px; color: var(--brand); }

/* ---------- Butoane ---------- */
.btn { --h: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--h); padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: .95rem; transition: background .2s, color .2s, border-color .2s, transform .1s, box-shadow .2s; white-space: nowrap; position: relative; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; box-shadow: 0 8px 20px rgba(11, 111, 102, .25); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-lg { --h: 54px; padding: 0 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn.loading { color: transparent !important; pointer-events: none; }
.btn.loading::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn-ghost.loading::after, .icon-btn.loading::after { border-color: var(--line); border-top-color: var(--ink); }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; background: transparent; border: 0; position: relative; transition: background .2s; }
.icon-btn:hover { background: var(--bg-soft); }
.icon-btn.sm { width: 34px; height: 34px; }
.icon-btn.sm .ico { width: 17px; height: 17px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); font-size: .875rem; display: inline-flex; align-items: center; gap: 4px; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--ink); }
.link-btn.danger:hover { color: var(--sale); }
.link-btn .ico { width: 16px; height: 16px; }
@keyframes spin { to { transform: rotate(360deg); } }

.pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; vertical-align: middle; }
.pill .ico { width: 14px; height: 14px; }
.pill-sale { background: #fde8e4; color: var(--sale); }
.pill-ok { background: #e2f4ec; color: var(--ok); }

/* ---------- Antet ---------- */
.demo-banner { background: #fff4d6; color: #7a5200; text-align: center; font-size: .85rem; padding: 8px 16px; }
.demo-banner a { text-decoration: underline; font-weight: 600; }
.topbar { background: var(--ink); color: #cfe0e3; font-size: .8rem; padding: 8px 0; text-align: center; }
.topbar .ico { width: 15px; height: 15px; margin-right: 2px; color: #7ee0d3; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 30px; height: 30px; border-radius: 10px; background: linear-gradient(135deg, var(--brand) 0%, #38c9b6 100%); position: relative; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12); }
.logo-mark::after { content: ""; position: absolute; left: 8px; right: 8px; top: 12px; height: 9px; border: 3px solid #fff; border-top: 0; border-radius: 0 0 12px 12px; }
.nav { display: flex; gap: 4px; margin-left: 16px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: .95rem; color: var(--ink-2); }
.nav a:hover { background: var(--bg-soft); color: var(--ink); }
.nav a.active { color: var(--ink); background: var(--bg-soft); }
.header-actions { margin-left: auto; display: flex; gap: 4px; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-toggle { display: none; }
.mobile-nav { border-top: 1px solid var(--line); padding: 8px 20px 16px; display: flex; flex-direction: column; }
.mobile-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); font-weight: 500; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1200px 500px at 85% 20%, var(--brand-soft) 0%, rgba(225, 245, 241, 0) 60%), var(--bg-soft); padding: 56px 0 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-dark); margin-bottom: 12px; }
.hero-title { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.035em; margin-bottom: 18px; }
.hero-text { font-size: 1.15rem; color: var(--ink-2); max-width: 520px; margin-bottom: 28px; }
.hero-product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); max-width: 520px; }
.hero-price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.hero-pname { font-weight: 700; font-size: 1.1rem; }
.hero-rating { margin-top: 4px; font-size: .88rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.hero-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.hero-media { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.hero-circle { position: absolute; inset: 6%; border-radius: 50%; background: #fff; box-shadow: 0 30px 80px rgba(15, 148, 136, .18); }
.hero-img { position: relative; width: 88%; border-radius: 50%; overflow: hidden; animation: float 6s ease-in-out infinite; }
.hero-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.hero-badge { position: absolute; top: 10%; right: 6%; background: var(--sale); color: #fff; font-weight: 700; font-size: .85rem; padding: 10px 16px; border-radius: 999px; transform: rotate(8deg); box-shadow: 0 10px 24px rgba(217, 70, 47, .35); }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Avantaje ---------- */
.benefits { border-bottom: 1px solid var(--line); background: #fff; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.benefit { display: flex; align-items: center; gap: 14px; padding: 22px 16px; }
.benefit + .benefit { border-left: 1px solid var(--line); }
.benefit strong { display: block; font-size: .95rem; }
.benefit span:not(.benefit-icon) { font-size: .84rem; color: var(--muted); }
.benefit-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; flex: none; }

/* ---------- Secțiuni ---------- */
.section { padding: 72px 0; }
.section.pt-0 { padding-top: 0; }
.section-tint { background: var(--bg-soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.section-head.center { justify-content: center; text-align: center; }
.section-title { margin: 0; }
.link-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--brand-dark); }
.link-more .ico { width: 18px; height: 18px; }
.link-more.back { margin-top: 20px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.feature h3 { font-size: 1.08rem; margin: 16px 0 8px; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }
.feature-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--ink); color: #7ee0d3; display: grid; place-items: center; }
.feature-icon .ico { width: 24px; height: 24px; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.review blockquote { margin: 0; color: var(--ink-2); }
.review figcaption { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-size: .9rem; margin-top: auto; }

.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ico { transition: transform .25s; color: var(--brand-dark); }
.faq-item[open] summary .ico { transform: rotate(45deg); }
.faq-item p { padding: 0 20px 18px; margin: 0; color: var(--ink-2); }

/* ---------- Stele ---------- */
.stars { --s: 15px; position: relative; display: inline-block; width: calc(var(--s) * 5); height: var(--s); vertical-align: middle;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d7e0e2' d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5-4.8-4.6 6.6-.9z'/%3E%3C/svg%3E") repeat-x; background-size: var(--s) var(--s); }
.stars-fill { position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f5a524' d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5-4.8-4.6 6.6-.9z'/%3E%3C/svg%3E") repeat-x; background-size: var(--s) var(--s); }
.stars-count { font-size: .8rem; color: var(--muted); margin-left: 4px; }

/* ---------- Preț ---------- */
.price { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-now { font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; }
.price-sale { color: var(--sale); }
.price-old { color: var(--muted); font-size: .92rem; }
.price-from { font-size: .82rem; color: var(--muted); }
.price-lg .price-now { font-size: 1.75rem; }
.price-lg .price-old { font-size: 1.05rem; }

/* ---------- Carduri produs ---------- */
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s, border-color .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.card-media { position: relative; display: block; background: var(--bg-soft); aspect-ratio: 1 / 1; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--sale); color: #fff; font-size: .74rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.card-badge.badge-out { background: var(--ink-2); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.card-title { font-size: 1.02rem; margin: 0; letter-spacing: -.01em; }
.card-rating { display: flex; align-items: center; }
.card-price { margin-top: 2px; }
.card-actions { margin-top: auto; padding-top: 12px; }
.card-actions .btn { --h: 42px; font-size: .9rem; }
.card-actions .ico { width: 18px; height: 18px; }
.img-ph { width: 100%; height: 100%; min-height: 80px; display: grid; place-items: center; color: var(--muted); background: var(--bg-soft); }

/* ---------- Schelet de încărcare ---------- */
.skeleton { background: linear-gradient(90deg, #edf2f2 0%, #f7fafa 50%, #edf2f2 100%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: 10px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.sk-line { height: 18px; margin: 10px 0; }
.sk-line.short { width: 60%; }
.sk-media { aspect-ratio: 1 / 1; border-radius: 0; }
.sk-hero { position: relative; width: 80%; aspect-ratio: 1 / 1; border-radius: 50%; }
.sk-gallery { aspect-ratio: 1 / 1; border-radius: var(--radius); }
.sk-block { height: 320px; border-radius: var(--radius); }
.skeleton-card:hover { transform: none; box-shadow: none; }

/* ---------- Pagini interioare ---------- */
.page-head { padding: 36px 0 28px; }
.page-head h1 { margin: 6px 0 4px; }
.breadcrumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); padding-top: 20px; }
.breadcrumbs .ico { width: 14px; height: 14px; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs span:last-child { color: var(--ink-2); }

.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1.5px solid var(--line); background: #fff; padding: 8px 16px; border-radius: 999px; font-size: .9rem; font-weight: 500; transition: all .2s; }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.toolbar-right { display: flex; gap: 10px; flex-wrap: wrap; }
.search { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 14px; background: #fff; height: 44px; }
.search:focus-within { border-color: var(--brand); }
.search .ico { color: var(--muted); width: 18px; height: 18px; }
.search input { border: 0; outline: 0; font: inherit; width: 200px; background: transparent; }
.select { height: 44px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 38px 0 16px; font: inherit; font-size: .92rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e2a3b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; appearance: none; color: var(--ink); cursor: pointer; }
.select:focus { border-color: var(--brand); outline: 0; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination button { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-weight: 600; }
.pagination button.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.empty-state { text-align: center; padding: 56px 20px; background: var(--bg-soft); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.empty-state h3 { margin: 8px 0 0; }
.empty-state p { color: var(--muted); margin-bottom: 12px; }
.empty-state.wide { grid-column: 1 / -1; }
.empty-state.small { padding: 40px 16px; background: none; }

/* ---------- Pagina produsului ---------- */
.product-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; padding-top: 20px; padding-bottom: 56px; align-items: start; }
.gallery { position: sticky; top: 92px; }
.gallery-main { position: relative; background: var(--bg-soft); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; animation: fade .3s; }
@keyframes fade { from { opacity: .3; } }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb { width: 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: var(--bg-soft); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active { border-color: var(--ink); }
.product-info { display: flex; flex-direction: column; gap: 14px; }
.product-title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0; }
.product-rating { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.product-short { color: var(--ink-2); font-size: 1.05rem; }
.product-short p:last-child { margin: 0; }
.option-label { font-size: .92rem; margin-bottom: 8px; color: var(--ink-2); }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { min-width: 64px; padding: 10px 18px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 500; transition: all .2s; }
.swatch:hover { border-color: var(--ink-2); }
.swatch.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--bg-soft); }
.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.stock { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-weight: 600; font-size: .92rem; margin: 0; }
.stock .ico { width: 18px; height: 18px; }
.stock.out { color: var(--sale); }
.buy-row { display: flex; gap: 12px; align-items: stretch; }
.grow { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; height: 54px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; display: grid; place-items: center; border-radius: 999px; }
.qty button:hover { background: var(--bg-soft); }
.qty button .ico { width: 16px; height: 16px; }
.qty input { width: 44px; border: 0; text-align: center; font: inherit; font-weight: 600; outline: 0; -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty.sm { height: 40px; }
.qty.sm button { width: 36px; }
.qty.sm input { width: 34px; }
.assurances { list-style: none; padding: 18px 20px; margin: 4px 0 0; background: var(--bg-soft); border-radius: var(--radius-sm); display: flex; flex-direction: column; gap: 10px; font-size: .93rem; }
.assurances li { display: flex; align-items: center; gap: 10px; }
.assurances .ico { color: var(--brand-dark); }
.product-details { display: grid; gap: 20px; padding-bottom: 24px; }
.detail-block { border-top: 1px solid var(--line); padding-top: 32px; display: grid; grid-template-columns: 240px 1fr; gap: 32px; }
.detail-block h2 { font-size: 1.4rem; }
.prose { color: var(--ink-2); max-width: 720px; }
.prose h2, .prose h3 { color: var(--ink); margin-top: 1.4em; font-size: 1.15rem; }
.prose ul { padding-left: 20px; }
.prose img { border-radius: var(--radius-sm); margin: 1em 0; height: auto; }
.specs { border-collapse: collapse; width: 100%; max-width: 720px; }
.specs th, .specs td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 40%; font-weight: 500; color: var(--muted); }
.detail-block .reviews-grid { grid-template-columns: repeat(2, 1fr); }

/* ---------- Coș ---------- */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.cart-items { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 20px; align-items: start; transition: opacity .2s; }
.cart-item + .cart-item { border-top: 1px solid var(--line); }
.cart-item.busy, .busy { opacity: .5; pointer-events: none; }
.ci-media { width: 96px; height: 96px; border-radius: 12px; overflow: hidden; background: var(--bg-soft); }
.ci-media img { width: 100%; height: 100%; object-fit: cover; }
.ci-name { font-weight: 700; }
.ci-variation { font-size: .85rem; color: var(--muted); }
.ci-unit { font-size: .85rem; }
.ci-controls { display: flex; align-items: center; gap: 18px; margin-top: 10px; flex-wrap: wrap; }
.ci-total { font-weight: 800; white-space: nowrap; }
.summary { background: var(--bg-soft); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.summary.sticky { position: sticky; top: 92px; }
.summary h3 { font-size: 1.2rem; margin-bottom: 4px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.summary-row > span:first-child { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.summary-row.discount { color: var(--ok); }
.summary-row .ico { width: 16px; height: 16px; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; font-size: 1.05rem; }
.summary-total strong { font-size: 1.5rem; letter-spacing: -.02em; }
.coupon-form { display: flex; gap: 8px; margin: 6px 0; }
.coupon-form input { flex: 1; min-width: 0; height: 46px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 16px; font: inherit; background: #fff; outline: 0; }
.coupon-form input:focus { border-color: var(--brand); }
.secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; }
.secure .ico { width: 16px; height: 16px; }
.ship-progress { background: var(--brand-soft); border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 16px; font-size: .93rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ship-progress .ico { color: var(--brand-dark); }
.ship-progress .bar { flex-basis: 100%; height: 6px; background: #fff; border-radius: 999px; overflow: hidden; }
.ship-progress .bar span { display: block; height: 100%; background: var(--brand); border-radius: 999px; transition: width .4s; }

/* ---------- Finalizare ---------- */
.co-main { display: flex; flex-direction: column; gap: 20px; }
.form-section { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.form-section h2 { font-size: 1.15rem; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.step { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .85rem; flex: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea, .field .select { width: 100%; height: 48px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 0 14px; font: inherit; background: #fff; color: var(--ink); outline: 0; transition: border-color .2s, box-shadow .2s; }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field .select { border-radius: var(--radius-sm); }
.field input:focus, .field textarea:focus, .field .select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field.has-error input, .field.has-error .select { border-color: var(--sale); }
.field-error { color: var(--sale); font-size: .8rem; min-height: 0; }
.field-error:empty { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; cursor: pointer; margin-bottom: 14px; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.check a { text-decoration: underline; }
.terms { font-size: .85rem; color: var(--ink-2); margin: 6px 0 0; }
.radio-card { display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; cursor: pointer; transition: border-color .2s, background .2s; }
.radio-card + .radio-card { margin-top: 10px; }
.radio-card input { width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.radio-card.selected { border-color: var(--ink); background: var(--bg-soft); }
.rc-body { display: flex; flex-direction: column; flex: 1; }
.rc-body .muted { font-size: .85rem; }
.rc-price { font-weight: 700; white-space: nowrap; }
.rc-price .ico { color: var(--brand-dark); }
.notice { border-radius: var(--radius-sm); padding: 14px 18px; font-size: .93rem; display: flex; gap: 8px; align-items: flex-start; }
.notice-error { background: #fdecea; color: #922b1c; }
.mini-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.mini-media { position: relative; }
.mini-img, .mini-item .img-ph { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: #fff; }
.mini-qty { position: absolute; top: -6px; right: -6px; background: var(--ink); color: #fff; font-size: .7rem; font-weight: 700; min-width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; }
.mini-name { font-weight: 600; line-height: 1.3; }

/* ---------- Confirmare ---------- */
.thanks { text-align: center; padding: 24px 0 32px; }
.thanks-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); display: inline-grid; place-items: center; margin-bottom: 18px; animation: pop .5s ease; }
.thanks-icon .ico { width: 38px; height: 38px; stroke-width: 2.4; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.1); } }
.lead { font-size: 1.2rem; }
.order-box { background: var(--bg-soft); border-radius: var(--radius); padding: 24px; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.order-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 10px; border-top: 1px solid var(--line); padding-top: 16px; }
.order-meta h4 { display: flex; gap: 6px; align-items: center; font-size: .95rem; }
.order-meta p { margin: 0; color: var(--ink-2); font-size: .93rem; }

/* ---------- Coș glisant ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; visibility: hidden; transition: visibility 0s .35s; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(14, 42, 59, .4); opacity: 0; transition: opacity .3s; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; }
.drawer.open { pointer-events: auto; visibility: visible; transition: visibility 0s; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; font-size: 1.2rem; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 20px; }
.drawer-foot { padding: 18px 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.drawer-foot:empty { display: none; }
.drawer-foot p { margin: 0; }

/* ---------- Notificări ---------- */
#toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; width: max-content; max-width: calc(100% - 32px); }
.toast { display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; box-shadow: var(--shadow-lg); font-size: .92rem; animation: toastIn .3s ease; transition: opacity .3s, transform .3s; }
.toast .ico { width: 18px; height: 18px; color: #7ee0d3; }
.toast-error { background: #922b1c; }
.toast-error .ico { color: #ffc9bf; }
.toast.out { opacity: 0; transform: translateY(10px); }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Subsol ---------- */
.site-footer { background: var(--ink); color: #c6d6db; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer a { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: .92rem; color: #c6d6db; }
.site-footer a:hover { color: #fff; }
.site-footer .ico { width: 17px; height: 17px; }
.site-footer .muted { color: #8ea6ae; font-size: .9rem; }
.logo-light { color: #fff !important; font-size: 1.35rem !important; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 20px; padding-bottom: 28px; font-size: .8rem; color: #8ea6ae; display: flex; flex-direction: column; gap: 10px; }
.footer-legal p { margin: 0; }
.anpc { display: flex; gap: 10px; flex-wrap: wrap; }
.anpc a { border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; padding: 8px 12px !important; font-size: .78rem !important; }


/* ---------- Contact, Despre noi, pagini legale ---------- */
.page-head-tint { background: var(--bg-soft); margin-bottom: 40px; padding-bottom: 44px; }
.page-head .lead { max-width: 640px; font-size: 1.1rem; margin-top: 8px; }
.contact-layout { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
a.contact-card:hover { border-color: transparent; box-shadow: var(--shadow); color: inherit; }
.contact-card > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-card strong { font-size: 1.05rem; overflow-wrap: anywhere; }
.contact-help { padding: 20px; border-radius: var(--radius); background: var(--bg-soft); display: flex; flex-direction: column; gap: 6px; }
.contact-help h3 { font-size: 1rem; margin-bottom: 6px; }
.contact-help a { display: flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ink-2); }
.contact-help .ico { width: 16px; height: 16px; color: var(--brand-dark); }
.contact-form h2 { font-size: 1.35rem; margin-bottom: 20px; }
.contact-form .btn { margin-top: 6px; }
.contact-form-wrap .thanks { padding: 48px 24px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.about-head { padding-top: 24px; }
.center-crumbs { justify-content: center; padding-bottom: 20px; }
.about-head h1 { font-size: clamp(2rem, 4.2vw, 3rem); letter-spacing: -.03em; margin-bottom: 16px; }
.about-head .lead { margin: 0 auto; }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.check-list .ico { color: #fff; background: var(--brand); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 2px; stroke-width: 2.6; }
.about-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.company-dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 16px 0 0; font-size: .95rem; }
.company-dl dt { color: var(--muted); }
.company-dl dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: 24px; padding: 40px 44px; background-image: radial-gradient(600px 240px at 90% 0%, rgba(56, 201, 182, .35), transparent 70%); }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #c6d6db; margin: 0; }
.cta-band .btn-primary { background: #fff; color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--brand-soft); color: var(--ink); }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.cta-band .btn-ghost:hover { border-color: #fff; color: #fff; }

.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; padding-bottom: 72px; }
.legal-toc { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 2px; font-size: .9rem; border-left: 2px solid var(--line); }
.legal-toc strong { padding: 0 0 8px 16px; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.legal-toc a { padding: 6px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); }
.legal-toc a:hover { border-left-color: var(--brand); color: var(--ink); }
.legal { max-width: 760px; color: var(--ink-2); }
.legal h2 { color: var(--ink); font-size: 1.3rem; margin: 2em 0 .6em; scroll-margin-top: 96px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { color: var(--ink); font-size: 1.05rem; margin: 1.4em 0 .5em; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }
.legal table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1em 0; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--bg-soft); color: var(--ink); font-weight: 600; }
.legal .callout { background: var(--brand-soft); border-radius: var(--radius-sm); padding: 16px 20px; color: var(--ink); margin: 1.2em 0; }
.legal .callout-warn { background: #fff4d6; }
.legal .form-model { border: 1.5px dashed var(--line); border-radius: var(--radius-sm); padding: 20px 24px; background: #fff; }
.legal .updated { font-size: .88rem; color: var(--muted); }
.legal-note { font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 40px; }

.anpc .sal-text { display: inline-flex !important; align-items: center; gap: 10px; width: 250px; height: 50px; padding: 0 12px !important; background: #fff; color: #12355b !important; border-radius: 6px; border: 0 !important; line-height: 1.15; font-size: .74rem !important; }
.anpc .sal-text strong { background: #12355b; color: #fff; padding: 5px 7px; border-radius: 4px; font-size: .8rem; letter-spacing: .04em; }
.anpc .sal-img { padding: 0 !important; border: 0 !important; }
.anpc .sal-img img { width: 250px; height: 50px; border-radius: 4px; }
.anpc { align-items: center; }

@media (max-width: 860px) {
  .contact-layout, .about-grid, .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .legal-toc { position: static; }
  .cta-band { padding: 32px 24px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit:nth-child(3) { border-left: 0; }
  .benefit:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr 340px; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-inner { gap: 8px; height: 64px; }
  .hero { padding: 32px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-media { order: -1; max-width: 420px; width: 100%; margin: 0 auto; }
  .product-layout { grid-template-columns: 1fr; gap: 28px; }
  .gallery { position: static; }
  .detail-block { grid-template-columns: 1fr; gap: 8px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary.sticky { position: static; }
  .reviews-grid, .detail-block .reviews-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .topbar { font-size: .72rem; }
  .grid-products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 12px; }
  .card-title { font-size: .92rem; }
  .card-actions .btn { --h: 38px; padding: 0 10px; font-size: .82rem; }
  .card-actions .btn .ico { display: none; }
  .price-now { font-size: 1rem; }
  .features { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .benefit { flex-direction: column; text-align: center; gap: 8px; padding: 18px 8px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-section { padding: 18px; }
  .cart-item { grid-template-columns: 72px 1fr; gap: 14px; padding: 16px; }
  .ci-media { width: 72px; height: 72px; }
  .ci-total { grid-column: 2; }
  .search input { width: 100%; }
  .toolbar-right, .search { width: 100%; }
  .toolbar-right .select { flex: 1; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .buy-row { flex-direction: column; }
  .qty:not(.sm) { align-self: flex-start; }
  .order-meta { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
