/* ============================================================
   GRAVORA — shop styles (collection · product · cart · checkout)
   Loaded after styles.css; reuses the same tokens.
   ============================================================ */

/* ---------- Page header band ---------- */
.page-band { background: var(--mist); border-bottom: 1px solid var(--line); padding: 30px 0 34px; }
.breadcrumb { font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb span { opacity: .5; }
.page-band h1 { font-family: var(--serif); font-size: clamp(30px, 4vw, 46px); font-weight: 600; line-height: 1.05; margin-top: 12px; }
.page-band p { color: var(--muted); max-width: 620px; margin-top: 10px; font-size: 15.5px; line-height: 1.6; }

/* ---------- Collection toolbar ---------- */
.coll-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.coll-toolbar .count { font-size: 13.5px; color: var(--muted); }
.sort-field { display: flex; align-items: center; gap: 10px; }
.sort-field label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.select {
  appearance: none; -webkit-appearance: none; font-family: var(--sans); font-size: 14px; font-weight: 500;
  padding: 11px 38px 11px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235D6164' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; cursor: pointer; color: var(--text);
}
.select:focus { outline: none; border-color: var(--crystal); box-shadow: 0 0 0 3px rgba(119,169,241,.25); }

/* ============================================================
   Product page
   ============================================================ */
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: start; }

/* Gallery */
.gallery { position: sticky; top: 96px; }
.gallery .main {
  position: relative; aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden;
  background: var(--ink); border: 1px solid var(--line);
}
.gallery .main > img, .gallery .main > .ph-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.gallery .main:hover > img { transform: scale(1.08); }
.gallery .main .engrave-preview {
  position: absolute; inset: 0; display: none; place-items: center; pointer-events: none;
}
.gallery .main .engrave-preview img { width: 38%; aspect-ratio: 1/1; object-fit: cover; border-radius: 6px; filter: grayscale(1) contrast(1.15) brightness(1.04); opacity: .9; mix-blend-mode: screen; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.gallery .main.has-engrave .engrave-preview { display: grid; }
.gallery .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.gallery .thumb {
  aspect-ratio: 1/1; border-radius: 9px; overflow: hidden; cursor: pointer; background: var(--ink);
  border: 1px solid var(--line); transition: border-color .2s; padding: 0;
}
.gallery .thumb.active { border-color: var(--crystal); box-shadow: 0 0 0 2px rgba(119,169,241,.3); }
.gallery .thumb img, .gallery .thumb .ph-img { width: 100%; height: 100%; object-fit: cover; }

/* Info column */
.p-brand { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--crystal-deep); font-weight: 700; }
.p-title { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 42px); font-weight: 600; line-height: 1.06; margin: 10px 0 14px; }
.p-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.p-price .now { font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1.1; white-space: nowrap; }
.p-price .total-note { font-size: 12.5px; color: var(--muted); }

.field { margin-bottom: 20px; }
.field > label.flabel { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 9px; }
.field .select { width: 100%; }
.input {
  width: 100%; font-family: var(--sans); font-size: 15px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; color: var(--text);
}
.input:focus { outline: none; border-color: var(--crystal); box-shadow: 0 0 0 3px rgba(119,169,241,.25); }
textarea.input { resize: vertical; min-height: 64px; }

/* Upload widget */
.upload {
  border: 1.6px dashed #c2cad6; border-radius: var(--radius); background: #f7f9fc; padding: 22px; text-align: center;
  cursor: pointer; transition: all .2s; display: block;
}
.upload:hover { border-color: var(--crystal); background: #f0f5fd; }
.upload.has-file { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; text-align: left; padding: 14px; }
.upload .up-ico { width: 54px; height: 54px; margin: 0 auto 10px; }
.upload .up-ico img { width: 100%; }
.upload .up-title { font-weight: 600; font-size: 15px; }
.upload .up-sub { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.upload .up-thumb { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; flex: none; border: 1px solid var(--line); }
.upload .up-thumb img { width: 100%; height: 100%; object-fit: cover; }
.upload .up-file { font-size: 13.5px; font-weight: 600; word-break: break-all; }
.upload .up-change { font-size: 12px; color: var(--crystal-deep); font-weight: 600; }
.upload.has-file .up-default { display: none; }
.upload .up-loaded { display: none; }
.upload.has-file .up-loaded { display: contents; }

/* Preview toggle */
.toggle-row { display: flex; align-items: flex-start; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); margin-bottom: 22px; }
.toggle-row .tr-text { flex: 1; }
.toggle-row .tr-title { font-weight: 600; font-size: 14.5px; }
.toggle-row .tr-note { font-size: 12.5px; color: var(--muted); font-style: italic; margin-top: 3px; line-height: 1.5; }
.switch { position: relative; width: 46px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track { position: absolute; inset: 0; background: #cdd3db; border-radius: 999px; transition: .2s; cursor: pointer; }
.switch .track::before { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch input:checked + .track { background: var(--crystal); }
.switch input:checked + .track::before { transform: translateX(20px); }

.add-row { display: flex; gap: 12px; margin: 8px 0 6px; }
.add-row .btn-primary { flex: 1; }
.p-reassure { font-size: 12.5px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
.p-stock-note { font-size: 13px; font-weight: 600; margin: 0 0 12px; }
.p-stock-note .in { color: #1f8a5b; }
.p-stock-note .low { color: #c77d11; }
.p-stock-note .out { color: #c0392b; }

/* ---------- Editorial category page ---------- */
.cat-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.cat-chip { font-size: 13px; font-weight: 600; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; transition: .15s; }
.cat-chip:hover { border-color: var(--crystal); color: var(--navy); }
.cat-chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.filter-toggle { display: none; margin-bottom: 16px; }
.filter-bar { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; padding: 18px; background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); }
.fb-field { display: flex; flex-direction: column; gap: 6px; }
.fb-field label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.fb-field .select { min-width: 150px; text-transform: capitalize; }
.btn-reset { background: none; border: none; color: var(--navy); font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: underline; }
.editorial-list { display: flex; flex-direction: column; gap: 18px; }
.ed-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; opacity: 0; transform: translateY(14px); animation: edIn .5s var(--ease) forwards; cursor: pointer; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.ed-row:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
@keyframes edIn { to { opacity: 1; transform: none; } }
.ed-row:nth-child(even) .er-media { order: 2; }
.er-media { position: relative; aspect-ratio: 1/1; background: var(--mist); overflow: hidden; }
.er-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .4s var(--ease), transform .5s var(--ease); }
.er-media .er-b { opacity: 0; }
.er-media:hover .er-a { opacity: 0; transform: scale(1.04); }
.er-media:hover .er-b { opacity: 1; transform: scale(1.04); }
.er-media .ph-img { position: absolute; inset: 0; }
.er-media .badge.sold { position: absolute; top: 14px; left: 14px; z-index: 2; }
.er-qv { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%) translateY(10px); opacity: 0; background: #fff; color: var(--ink); border: none; border-radius: 999px; padding: 10px 20px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: .25s; box-shadow: var(--shadow-card); }
.er-media:hover .er-qv { opacity: 1; transform: translateX(-50%); }
.er-body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.ed-row h3 { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); font-weight: 600; line-height: 1.1; margin: 10px 0 12px; }
.ed-row p { color: var(--muted); font-size: 15px; line-height: 1.65; margin-bottom: 18px; max-width: 420px; }
.ed-row .er-price { font-family: var(--serif); font-size: 26px; font-weight: 600; margin-bottom: 22px; }
.fin-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; vertical-align: middle; border: 1px solid rgba(0,0,0,.12); }
.ed-row .er-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Quick view */
.qv-overlay { position: fixed; inset: 0; z-index: 290; background: rgba(15,18,22,.6); display: none; place-items: center; padding: 20px; }
.qv-overlay.open { display: grid; }
.qv-card { background: #fff; border-radius: 16px; width: min(760px, 100%); max-height: 92vh; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.qv-media { background: var(--ink); min-height: 340px; position: relative; }
.qv-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qv-media .ph-img { position: absolute; inset: 0; }
.qv-info { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.qv-info h3 { font-family: var(--serif); font-size: 28px; font-weight: 600; margin: 8px 0 0; }
.qv-info .qv-price { font-family: var(--serif); font-size: 24px; font-weight: 600; margin: 12px 0; }
.qv-info p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-bottom: 22px; }
.qv-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.9); border: none; cursor: pointer; display: grid; place-items: center; z-index: 2; }
.qv-close svg { width: 18px; height: 18px; }

@media (max-width: 760px) {
  .ed-row { grid-template-columns: 1fr; }
  .ed-row:nth-child(even) .er-media { order: 0; }
  .er-media { min-height: 0; aspect-ratio: 1/1; }
  .qv-card { grid-template-columns: 1fr; max-height: 88vh; overflow-y: auto; }
  .qv-media { min-height: 220px; }
  .filter-toggle { display: inline-flex; }
  .filter-bar { display: none; }
  .filter-bar.open { display: flex; flex-direction: column; align-items: stretch; }
  .fb-field .select { width: 100%; }
}

/* ---------- Order tracking ---------- */
.trk-form { max-width: 560px; margin: 0 auto 30px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; }
.trk-error { max-width: 560px; margin: 0 auto 20px; background: #fdeaea; color: #c0392b; border: 1px solid #f0c9c9; border-radius: 10px; padding: 14px 16px; font-size: 14px; }
.trk-card { max-width: 680px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-card); }
.trk-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.trk-no { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.trk-date { font-size: 13px; color: var(--muted); margin-top: 2px; }
.st-pill { background: #e8f0fe; color: #2b6fdb; font-size: 12.5px; font-weight: 600; padding: 6px 13px; border-radius: 999px; }
.trk-timeline { display: flex; align-items: flex-start; margin: 10px 0 24px; }
.trk-step { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 0 0 auto; width: 80px; text-align: center; }
.trk-dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #e2e7ee; color: var(--muted); font-size: 14px; font-weight: 600; }
.trk-dot svg { width: 18px; height: 18px; }
.trk-step.done .trk-dot { background: var(--navy); color: #fff; }
.trk-step.current .trk-dot { background: var(--crystal); color: #fff; box-shadow: 0 0 0 5px rgba(119,169,241,.25); }
.trk-label { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.trk-step.done .trk-label, .trk-step.current .trk-label { color: var(--text); font-weight: 600; }
.trk-line { flex: 1; height: 2px; background: #e2e7ee; margin-top: 17px; }
.trk-note { background: #f5f9ff; border: 1px solid #d4e3fb; border-left: 3px solid var(--crystal); border-radius: 8px; padding: 13px 16px; font-size: 13.5px; margin-bottom: 18px; }
.trk-items { border-top: 1px solid var(--line); padding-top: 8px; }
.trk-livrare { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 16px; font-size: 14px; }
.trk-livrare b { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.trk-awb { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; }
.trk-awb-k { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.trk-awb-v { font-weight: 600; font-size: 14.5px; }
.trk-awb .btn { margin-left: auto; }
@media (max-width: 600px) { .trk-form { grid-template-columns: 1fr; } .trk-step { width: 60px; } .trk-label { font-size: 10.5px; } }

/* ---------- Discount field ---------- */
.discount-row { display: flex; gap: 10px; margin: 14px 0; }
.discount-row input { flex: 1; font-family: var(--sans); font-size: 14px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; text-transform: uppercase; }
.discount-row input:focus { outline: none; border-color: var(--crystal); box-shadow: 0 0 0 3px rgba(119,169,241,.22); }
.discount-msg { font-size: 12.5px; margin-top: -6px; margin-bottom: 8px; }
.discount-msg.ok { color: #1f8a5b; }
.discount-msg.err { color: #c0392b; }
.sum-row.discount b { color: #1f8a5b; }

/* ---------- Newsletter popup ---------- */
.nl-overlay { position: fixed; inset: 0; z-index: 280; background: rgba(15,18,22,.6); display: none; place-items: center; padding: 20px; }
.nl-overlay.open { display: grid; }
.nl-modal { background: var(--ink); color: #fff; border-radius: 16px; width: min(800px, 100%); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; position: relative; box-shadow: 0 40px 90px -30px rgba(0,0,0,.7); }
.nl-media { background: var(--ink); position: relative; min-height: 300px; }
.nl-media .ph-img { position: absolute; inset: 0; }
.nl-body { padding: 38px 34px; }
.nl-body .nl-eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--crystal-icy); font-weight: 600; }
.nl-body h3 { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.1; margin: 10px 0 8px; }
.nl-body p { color: var(--silver); font-size: 14.5px; line-height: 1.6; margin-bottom: 18px; }
.nl-body input[type=email] { width: 100%; font-family: var(--sans); font-size: 15px; padding: 13px 15px; border-radius: 8px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.06); color: #fff; margin-bottom: 12px; }
.nl-body input[type=email]::placeholder { color: rgba(201,205,210,.6); }
.nl-consent { display: flex; gap: 9px; align-items: flex-start; font-size: 12px; color: var(--silver); margin-bottom: 16px; line-height: 1.5; }
.nl-consent a { color: var(--crystal-icy); text-decoration: underline; }
.nl-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.12); border: none; color: #fff; cursor: pointer; display: grid; place-items: center; z-index: 2; }
.nl-close:hover { background: rgba(255,255,255,.22); }
.nl-success { text-align: center; padding: 20px 0; }
.nl-code { display: inline-block; font-family: ui-monospace, Menlo, monospace; font-size: 20px; font-weight: 700; letter-spacing: .1em; color: #fff; background: var(--crystal); padding: 12px 22px; border-radius: 10px; margin: 14px 0; }
.nl-foot { display: flex; gap: 10px; max-width: 420px; }
.nl-foot input { flex: 1; font-family: var(--sans); font-size: 14px; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.06); color: #fff; }
.nl-foot input::placeholder { color: rgba(201,205,210,.55); }
@media (max-width: 640px) { .nl-modal { grid-template-columns: 1fr; } .nl-media { display: none; } }

/* ---------- Contact guided flow ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 32px; align-items: start; }
.cf-stepnav { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.cf-chip { font-size: 12.5px; font-weight: 600; color: var(--navy); background: #fff; border: 1px solid var(--line); padding: 7px 13px; border-radius: 999px; cursor: pointer; }
.cf-chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.cf-chip.off { color: var(--silver); cursor: default; }
.cf-q { font-family: var(--serif); font-size: 24px; font-weight: 600; margin-bottom: 18px; }
.cf-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cf-cat { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; font-size: 14.5px; font-weight: 600; text-align: left; transition: .16s; }
.cf-cat:hover { border-color: var(--crystal); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.cf-cat-ic { width: 42px; height: 42px; border-radius: 10px; background: var(--mist); color: var(--navy); display: grid; place-items: center; flex: none; }
.cf-cat-ic svg { width: 21px; height: 21px; }
.cf-back { background: none; border: none; color: var(--navy); font-weight: 600; font-size: 13.5px; cursor: pointer; margin-bottom: 16px; padding: 0; }
.cf-subjects { display: flex; flex-direction: column; gap: 10px; }
.cf-subject { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font-size: 14.5px; font-weight: 500; text-align: left; transition: .15s; }
.cf-subject:hover { border-color: var(--crystal); color: var(--navy); }
.cf-subject svg { width: 17px; height: 17px; flex: none; color: var(--muted); }
.cf-answer { background: #f5f9ff; border: 1px solid #d4e3fb; border-left: 3px solid var(--crystal); border-radius: 10px; padding: 16px 18px; margin-bottom: 20px; }
.cf-answer-h { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; color: var(--navy); margin-bottom: 7px; }
.cf-answer-h svg { width: 17px; height: 17px; }
.cf-answer p { font-size: 14px; line-height: 1.6; color: #2f343a; }
.cf-answer-link { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--navy); }
.cf-answer-more { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.cf-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf-form-grid .full { grid-column: 1 / -1; }
.cf-success { text-align: center; padding: 40px 20px; }
.cf-success-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--crystal); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; }
.cf-success-ic svg { width: 30px; height: 30px; }
.cf-success h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.cf-success p { color: var(--muted); margin-bottom: 20px; }
.contact-aside { display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .cf-cats { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cf-form-grid { grid-template-columns: 1fr; } }
.p-reassure span { display: inline-flex; align-items: center; gap: 6px; }
.p-reassure svg { width: 15px; height: 15px; color: var(--crystal-deep); }

/* Accordions */
.accordions { margin-top: 30px; border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 2px; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--text); }
.acc-head svg { width: 20px; height: 20px; flex: none; transition: transform .25s; color: var(--muted); }
.acc.open .acc-head svg { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.acc-inner { padding: 0 2px 20px; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table td { padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table td:first-child { color: var(--muted); width: 44%; }
.spec-table td:last-child { font-weight: 500; color: var(--text); }

/* ============================================================
   Cart page
   ============================================================ */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.cart-list { border-top: 1px solid var(--line); }
.cart-item { display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-item .ci-thumb { width: 92px; height: 92px; border-radius: 10px; overflow: hidden; background: var(--ink); border: 1px solid var(--line); display: grid; place-items: center; }
.cart-item .ci-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item .ci-thumb .mc-ph, .mc-ph { font-family: ui-monospace, Menlo, monospace; font-size: 9.5px; color: rgba(201,205,210,.7); text-align: center; padding: 4px; }
.cart-item .ci-name { font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.2; }
.cart-item .ci-opts { font-size: 12.5px; color: var(--muted); margin-top: 5px; line-height: 1.5; }
.cart-item .ci-photo { font-size: 12px; color: var(--crystal-deep); margin-top: 6px; display: inline-flex; align-items: center; gap: 5px; }
.cart-item .ci-bottom { display: flex; align-items: center; gap: 18px; margin-top: 12px; }
.cart-item .ci-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cart-item .ci-price { font-family: var(--serif); font-size: 20px; font-weight: 600; white-space: nowrap; }
.ci-del { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 12.5px; display: inline-flex; align-items: center; gap: 5px; }
.ci-del:hover { color: #c0392b; }
.ci-del svg { width: 15px; height: 15px; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.qty button { width: 32px; height: 34px; border: none; background: none; font-size: 17px; cursor: pointer; color: var(--text); }
.qty button:hover { background: var(--mist); color: var(--navy); }
.qty span { min-width: 34px; text-align: center; font-size: 14px; font-weight: 600; }

/* Summary box */
.summary { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 96px; }
.summary h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 16px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14.5px; padding: 8px 0; color: var(--muted); }
.sum-row b { color: var(--text); font-weight: 600; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 16px; }
.sum-total .lbl { font-weight: 600; font-size: 15px; }
.sum-total .val { font-family: var(--serif); font-size: 28px; font-weight: 600; white-space: nowrap; }
.summary .btn { margin-top: 18px; }
.cart-empty { text-align: center; padding: 70px 20px; }
.cart-empty .ce-ico { width: 60px; height: 60px; margin: 0 auto 18px; color: var(--silver); }
.cart-empty h2 { font-family: var(--serif); font-size: 28px; font-weight: 600; margin-bottom: 8px; }
.cart-empty p { color: var(--muted); margin-bottom: 22px; }

/* ============================================================
   Checkout
   ============================================================ */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 44px; align-items: start; }
.steps-nav { display: flex; gap: 8px; margin-bottom: 30px; flex-wrap: wrap; }
.step-chip { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: var(--muted); padding: 8px 4px; }
.step-chip .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #e2e7ee; color: var(--muted); font-size: 12.5px; }
.step-chip.active { color: var(--navy); }
.step-chip.active .n { background: var(--crystal); color: #fff; }
.step-chip.done .n { background: var(--navy); color: #fff; }
.step-chip .sep { color: var(--line); }

.co-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 22px; }
.co-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.ffield label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }

.ship-option { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; margin-bottom: 12px; transition: .15s; }
.ship-option:hover { border-color: var(--crystal); }
.ship-option.sel { border-color: var(--crystal); box-shadow: 0 0 0 2px rgba(119,169,241,.22); background: #f5f9ff; }
.ship-option .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c2cad6; flex: none; display: grid; place-items: center; }
.ship-option.sel .radio { border-color: var(--crystal); }
.ship-option.sel .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--crystal); }
.ship-option .so-main { flex: 1; }
.ship-option .so-title { font-weight: 600; font-size: 14.5px; }
.ship-option .so-sub { font-size: 12.5px; color: var(--muted); }
.ship-option .so-price { font-weight: 600; font-family: var(--serif); font-size: 17px; }

.pay-card { background: var(--mist); border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.pay-brands { display: flex; gap: 7px; margin-left: auto; }
.pay-brands span { height: 22px; padding: 0 7px; border-radius: 4px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 9px; font-weight: 700; }
.pay-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 13px; font-weight: 600; }

.co-sum-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.co-sum-item .csi-thumb { width: 52px; height: 52px; border-radius: 8px; overflow: hidden; background: var(--ink); flex: none; display: grid; place-items: center; position: relative; }
.co-sum-item .csi-thumb img { width: 100%; height: 100%; object-fit: cover; }
.co-sum-item .csi-qty { position: absolute; top: -7px; right: -7px; background: var(--navy); color: #fff; width: 20px; height: 20px; border-radius: 50%; font-size: 11px; display: grid; place-items: center; font-weight: 700; }
.co-sum-item .csi-name { font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.co-sum-item .csi-opt { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.co-sum-item .csi-price { margin-left: auto; font-weight: 600; font-size: 14px; white-space: nowrap; }

/* Confirmation */
.confirm { text-align: center; max-width: 620px; margin: 0 auto; padding: 30px 0 20px; }
.confirm .check { width: 76px; height: 76px; border-radius: 50%; background: var(--crystal); display: grid; place-items: center; margin: 0 auto 22px; }
.confirm .check svg { width: 38px; height: 38px; color: #fff; }
.confirm h1 { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); font-weight: 600; }
.confirm p { color: var(--muted); font-size: 15.5px; line-height: 1.6; margin: 12px auto 0; max-width: 460px; }
.confirm .order-no { display: inline-block; margin: 22px 0; padding: 12px 22px; background: var(--mist); border: 1px solid var(--line); border-radius: 10px; font-size: 15px; }
.confirm .order-no b { font-family: var(--serif); font-size: 19px; }

/* ============================================================
   Legal pages (Termeni, Confidențialitate, Cookies, Retur, Garanție)
   ============================================================ */
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: 96px; background: var(--mist); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.legal-toc h4 { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.legal-toc a { display: block; font-size: 13px; padding: 6px 0; color: var(--text); opacity: .82; transition: .15s; }
.legal-toc a:hover { opacity: 1; color: var(--navy); padding-left: 4px; }
.legal-prose { max-width: 720px; }
.legal-updated { font-size: 12.5px; color: var(--muted); margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.legal-prose h2 { font-family: var(--serif); font-size: 26px; font-weight: 600; margin: 36px 0 12px; scroll-margin-top: 96px; line-height: 1.2; }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose h3 { font-size: 16px; font-weight: 700; margin: 20px 0 8px; }
.legal-prose p { font-size: 15px; line-height: 1.75; color: #2f343a; margin-bottom: 14px; }
.legal-prose ul, .legal-prose ol { margin: 0 0 16px 20px; }
.legal-prose li { font-size: 15px; line-height: 1.7; color: #2f343a; margin-bottom: 7px; padding-left: 4px; }
.legal-prose a { color: var(--navy); text-decoration: underline; }
.legal-prose strong { color: var(--text); }
.legal-note { background: #f5f9ff; border: 1px solid #d4e3fb; border-left: 3px solid var(--crystal); border-radius: 8px; padding: 16px 18px; margin: 18px 0; font-size: 14px; line-height: 1.7; }
.legal-note.warn { background: #fff8e8; border-color: #f0dca0; border-left-color: #d9a813; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 14px 0 20px; }
.legal-table th, .legal-table td { text-align: left; padding: 11px 14px; border: 1px solid var(--line); vertical-align: top; }
.legal-table th { background: var(--mist); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.firm-box { background: var(--mist); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin: 16px 0 22px; font-size: 14.5px; line-height: 2; }
.firm-box .fb-row { display: flex; gap: 10px; }
.firm-box .fb-k { color: var(--muted); min-width: 170px; }
.retract-form { background: #fff; border: 1px dashed #c2cad6; border-radius: 12px; padding: 22px; margin: 16px 0; font-size: 14px; line-height: 1.9; }
.retract-form .rf-line { border-bottom: 1px solid var(--line); display: inline-block; min-width: 180px; }
@media (max-width: 860px) {
  .legal-layout { grid-template-columns: 1fr; gap: 22px; }
  .legal-toc { position: static; }
}

/* ============================================================
   Contact page
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; }
.contact-form h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin-bottom: 18px; }
.contact-success { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 14px 16px; background: #eaf6ef; color: #1f7a4d; border-radius: 10px; font-size: 14px; font-weight: 500; }
.contact-success svg { width: 20px; height: 20px; flex: none; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.wa-cta { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius); background: linear-gradient(135deg, #1faf5b, #128a45); color: #fff; box-shadow: 0 18px 36px -20px rgba(18,138,69,.7); transition: transform .2s var(--ease); }
.wa-cta:hover { transform: translateY(-2px); }
.wa-ico { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; flex: none; }
.wa-ico svg { width: 26px; height: 26px; }
.wa-cta .wa-title { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.wa-cta .wa-sub { font-size: 12.5px; opacity: .9; margin-top: 2px; }
.wa-arrow { width: 22px; height: 22px; margin-left: auto; }
.info-card { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 20px; }
.info-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.info-row:last-child { border-bottom: none; }
.info-ic { width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--navy); flex: none; }
.info-ic svg { width: 20px; height: 20px; }
.info-k { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.info-v { font-size: 15px; font-weight: 500; color: var(--text); }
.info-v:hover { color: var(--navy); }
.faq-wrap { max-width: 760px; margin: 60px auto 0; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }

/* ============================================================
   Mini-cart drawer
   ============================================================ */
.mc-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(15,18,22,.5); opacity: 0; visibility: hidden; transition: opacity .28s, visibility .28s; }
.mc-overlay.open { opacity: 1; visibility: visible; }
.mc-drawer { position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 92vw); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s var(--ease); box-shadow: -20px 0 50px -20px rgba(0,0,0,.4); }
.mc-overlay.open .mc-drawer { transform: translateX(0); }
.mc-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.mc-head h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; white-space: nowrap; }
.mc-head .mc-close { color: var(--text); }
.mc-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.mc-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.mc-thumb { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: var(--ink); display: grid; place-items: center; }
.mc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mc-name { font-size: 14px; font-weight: 600; line-height: 1.25; }
.mc-opts { font-size: 11.5px; color: var(--muted); margin: 4px 0 8px; line-height: 1.45; }
.mc-row { display: flex; align-items: center; justify-content: space-between; }
.mc-price { font-weight: 600; font-size: 14px; }
.mc-del { background: none; border: none; color: var(--muted); cursor: pointer; align-self: start; padding: 2px; }
.mc-del:hover { color: #c0392b; }
.mc-del svg { width: 17px; height: 17px; }
.mc-foot { border-top: 1px solid var(--line); padding: 18px 22px 22px; }
.mc-sub { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.mc-sub b { font-family: var(--serif); font-size: 22px; font-weight: 600; white-space: nowrap; }
.mc-note { font-size: 12px; color: var(--muted); margin: 4px 0 14px; }
.mc-foot .btn { margin-top: 10px; }
.mc-empty { text-align: center; padding: 50px 10px; }
.mc-empty-ico { width: 50px; height: 50px; margin: 0 auto 16px; color: var(--silver); }
.mc-empty p { color: var(--muted); margin-bottom: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary, .gallery { position: static; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item .ci-right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; margin-top: 6px; }
}
