/* ==========================================================
   CX Checkout v0.27.0 — σελίδα προϊόντος
   Ρίζα: .cxc.cxc--product.cxd  (+ .cxd--thumbs|grid, .cxd--thumbs-bottom|left|right|none)
   Μεταβλητές από το admin (inline στη ρίζα):
     --cxd-gallery  πλάτος στήλης εικόνων (%)
     --cxd-thumb    μέγεθος thumbnail (px)
     --cxd-ratio    αναλογία εικόνας (1 / 1, 4 / 5, 3 / 4 · λείπει = όπως η εικόνα)
     --cxd-radius   στρογγύλεμα εικόνων (px)
   ========================================================== */

.cxd { --cxd-star: #e0a52a; }

/* ── Διάταξη ───────────────────────────────────────────── */
.cxd-layout { display: grid; grid-template-columns: var(--cxd-gallery, 52%) minmax(0, 1fr); gap: 48px; align-items: start; }
.cxd-media { min-width: 0; }
.cxd-buybox { display: flex; flex-direction: column; gap: 16px; min-width: 0; margin: 0; }
.cxd-buybox > * { margin: 0; }
.cxd-zone { min-width: 0; }
.cxd-zone--below { display: flex; flex-direction: column; gap: 24px; margin-top: 28px; }
.cxd-zone--full { display: flex; flex-direction: column; gap: 48px; margin-top: 56px; }
.cxd-zone > * { margin: 0; }

/* ── Gallery ───────────────────────────────────────────── */
.cxd-gallery { display: grid; gap: 12px; align-items: start; }
.cxd--thumbs-left .cxd-gallery { grid-template-columns: var(--cxd-thumb, 84px) minmax(0, 1fr); }
.cxd--thumbs-right .cxd-gallery { grid-template-columns: minmax(0, 1fr) var(--cxd-thumb, 84px); }
.cxd-main { position: relative; min-width: 0; overflow: hidden; background: var(--cxc-thumb); border-radius: var(--cxd-radius, 10px); }
.cxd-track { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.cxd-track::-webkit-scrollbar { display: none; }
.cxd-slide { position: relative; flex: 0 0 100%; width: 100%; min-width: 0; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; aspect-ratio: var(--cxd-ratio, auto); overflow: hidden; }
.cxd-img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.12s ease-out; will-change: transform; user-select: none; }
/* v0.50.0: πρόσθετη εικόνα από πακέτο (π.χ. φωτό παίκτη) — προαιρετικά ολόκληρη μέσα στο κουτί */
.cxd-slide--contain .cxd-img { object-fit: contain; background: var(--cxc-thumb); }
/* v0.38.0: στρώμα πακέτων πάνω στο slide (overlay) — δεν πιάνει κλικ, τα πακέτα το γεμίζουν */
.cxd-overlay { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
/* v0.39.0: στο hover-zoom το overlay μεγεθύνεται ΜΑΖΙ με την εικόνα (ίδιο κουτί, ίδιο transform-origin) — όχι πια κρυφό */
.cxd-main.is-zooming .cxd-slide.is-current .cxd-overlay { transform: scale(2.2); transform-origin: var(--zx, 50%) var(--zy, 50%); transition: transform 0.12s ease-out; will-change: transform; }
/* v0.39.0: overlay μικρογραφιών (span μέσα στο button) και lightbox */
.cxc .cxd-thumb { position: relative; }
.cxd-overlay--thumb { display: block; position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.cxd-lb-stage { position: relative; }
.cxd-overlay--lb { position: absolute; inset: 0; pointer-events: none; z-index: 2; border-radius: 8px; overflow: hidden; }
/* v0.38.0: μπλοκ πακέτων στο buy box */
.cxd-pack { margin: 0 0 18px; }
.cxd-main.is-zooming .cxd-slide.is-current .cxd-img { transform: scale(2.2); transform-origin: var(--zx, 50%) var(--zy, 50%); cursor: zoom-in; }
.cxd-main.can-zoom .cxd-slide { cursor: zoom-in; }
.cxd-main-badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 10px; background: var(--cxc-primary); color: var(--cxc-primary-text); border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; }
.cxc .cxd-arrow { position: absolute; top: 50%; z-index: 3; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--cxc-field); color: var(--cxc-text); box-shadow: 0 2px 12px rgba(21, 21, 20, 0.14); cursor: pointer; opacity: 0; transform: translateY(-50%); transition: opacity 0.15s ease, background-color 0.15s ease; }
.cxc .cxd-arrow--prev { left: 12px; }
.cxc .cxd-arrow--next { right: 12px; }
.cxd-main:hover .cxd-arrow, .cxd-arrow:focus-visible { opacity: 1; }
.cxc .cxd-arrow:hover { background: var(--cxc-panel); }
.cxc .cxd-zoom-btn { position: absolute; right: 12px; bottom: 12px; z-index: 3; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--cxc-field); color: var(--cxc-text); box-shadow: 0 2px 12px rgba(21, 21, 20, 0.14); cursor: pointer; }
.cxc .cxd-zoom-btn:hover { background: var(--cxc-panel); }

/* Thumbnails */
.cxd-thumbs { display: flex; gap: 8px; min-width: 0; overflow: auto; scrollbar-width: none; }
.cxd-thumbs::-webkit-scrollbar { display: none; }
.cxd--thumbs-left .cxd-thumbs, .cxd--thumbs-right .cxd-thumbs { flex-direction: column; overflow-y: auto; max-height: var(--cxd-main-h, 640px); }
.cxd--thumbs-left .cxd-thumbs { order: -1; }
.cxc .cxd-thumb { flex: 0 0 var(--cxd-thumb, 84px); width: var(--cxd-thumb, 84px); aspect-ratio: var(--cxd-ratio, 1 / 1); padding: 0; overflow: hidden; border: 1.5px solid transparent; border-radius: calc(var(--cxd-radius, 10px) * 0.6); background: var(--cxc-thumb); cursor: pointer; opacity: 0.7; transition: opacity 0.15s ease, border-color 0.15s ease; }
.cxc .cxd-thumb:hover { opacity: 1; }
.cxc .cxd-thumb.is-selected { border-color: var(--cxc-text); opacity: 1; }
.cxd-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Dots */
.cxd-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.cxc .cxd-dot { width: 8px; height: 8px; padding: 0; border: 1.5px solid var(--cxc-input); border-radius: 50%; background: transparent; cursor: pointer; }
.cxc .cxd-dot.is-selected { background: var(--cxc-text); border-color: var(--cxc-text); }

/* Πλέγμα (Γ): όλες οι εικόνες μεγάλες, η πρώτη σε όλο το πλάτος */
@media (min-width: 768px) {
  .cxd--grid .cxd-main { overflow: visible; background: transparent; border-radius: 0; }
  .cxd--grid .cxd-track { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; overflow: visible; scroll-snap-type: none; }
  .cxd--grid .cxd-slide { flex: none; background: var(--cxc-thumb); border-radius: var(--cxd-radius, 10px); }
  .cxd--grid .cxd-slide:first-child { grid-column: 1 / -1; }
  .cxd--grid .cxd-arrow, .cxd--grid .cxd-dots { display: none; }
  .cxd--grid .cxd-zoom-btn { right: auto; left: 12px; bottom: auto; top: 12px; }
  .cxd--grid .cxd-slide:first-child .cxd-main-badge { left: auto; right: 12px; }
  .cxd--thumbs-bottom .cxd-dots, .cxd--thumbs-left .cxd-dots, .cxd--thumbs-right .cxd-dots { display: none; }
}

/* ── Buy box ───────────────────────────────────────────── */
.cxd-brand { display: inline-block; align-self: flex-start; margin-bottom: -6px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cxc-soft); text-decoration: none; }
.cxd-brand:hover { color: var(--cxc-text); }
.cxd-title { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; color: var(--cxc-text); }
.cxd-rating { display: inline-flex; align-items: center; align-self: flex-start; gap: 8px; margin-top: -6px; font-size: 14px; color: var(--cxc-soft); text-decoration: none; }
.cxd-rating:hover .cxd-rating-count { text-decoration: underline; }
.cxd-stars { display: inline-flex; gap: 2px; color: var(--cxd-star); }
.cxd-star { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.cxd-star:not(.is-on) { opacity: 0.22; }
.cxd-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.cxd-price { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.cxd-price-old { font-size: 16px; color: var(--cxc-muted); text-decoration: line-through; }
.cxd-price-old[hidden] { display: none; }
.cxd-badge { align-self: center; padding: 3px 8px; background: var(--cxc-primary); color: var(--cxc-primary-text); border-radius: 6px; font-size: 12px; font-weight: 700; }
.cxd-price-note { margin-top: 4px; font-size: 13px; color: var(--cxc-muted); }
.cxd-price-points { margin-top: 2px; }
.cxd-sku { font-size: 13px; color: var(--cxc-muted); }
.cxd-sku span { color: var(--cxc-soft); }

/* Επιλογές */
.cxd-options { display: flex; flex-direction: column; gap: 18px; }
.cxd-opt-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.cxd-opt-label { margin: 0; font-size: 14px; font-weight: 600; color: var(--cxc-text); }
.cxd-opt-value { margin-left: 6px; font-weight: 400; color: var(--cxc-muted); }
.cxd-req { margin-left: 2px; color: var(--cxc-error); }
.cxd-size-guide { flex-shrink: 0; font-size: 13px; color: var(--cxc-soft); text-decoration: underline; }
.cxd-size-guide:hover { color: var(--cxc-text); }
.cxd-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cxc .cxd-pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 46px; height: 40px; padding: 0 14px; border: 1.5px solid var(--cxc-input); border-radius: var(--cxc-radius-sm); background: var(--cxc-field); color: var(--cxc-text); font: inherit; font-size: 14px; font-weight: 500; line-height: 1; cursor: pointer; transition: border-color 0.12s ease, background-color 0.12s ease, color 0.12s ease; }
.cxc .cxd-pill:hover { border-color: var(--cxc-text); }
.cxc .cxd-pill.is-selected { border-color: var(--cxc-primary); background: var(--cxc-primary); color: var(--cxc-primary-text); }
/* v0.34.4: η διαγώνια γραμμή του εξαντλημένου σε ::after (και όχι background-image), ώστε να μένει όταν το κουμπί
   πάρει δικό του φόντο από τα Πεδία· στο χρώμα του κειμένου (currentColor), ώστε να φαίνεται σε κάθε φόντο */
.cxc .cxd-pill { position: relative; overflow: hidden; }
.cxc .cxd-pill.is-out { color: var(--cxc-muted); }
.cxc .cxd-pill.is-out::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top right, transparent calc(50% - 0.8px), currentColor 50%, transparent calc(50% + 0.8px)); opacity: 0.8; }
.cxc .cxd-pill.is-out .cxd-pill-price { text-decoration: line-through; }
.cxc .cxd-pill.is-out.is-selected { border-color: var(--cxc-text); background-color: var(--cxc-field); color: var(--cxc-text); }
.cxd-pill-price { font-size: 12px; font-weight: 400; opacity: 0.8; }
.cxd-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.cxc .cxd-swatch { position: relative; width: var(--cxd-swatch, 56px); height: var(--cxd-swatch, 56px); padding: 2px; border: 1.5px solid var(--cxc-line); border-radius: 10px; background: var(--cxc-field); cursor: pointer; transition: border-color 0.12s ease, box-shadow 0.12s ease; }
.cxc.cxd--swatch-circle .cxd-swatch { border-radius: 50%; }
.cxc.cxd--swatch-circle .cxd-swatch img, .cxc.cxd--swatch-circle .cxd-swatch-blank, .cxc.cxd--swatch-circle .cxd-swatch-text, .cxc.cxd--swatch-circle .cxd-swatch.is-out::after { border-radius: 50%; }
.cxc .cxd-swatch:hover { border-color: var(--cxc-text); }
.cxc .cxd-swatch.is-selected { border-color: var(--cxc-text); box-shadow: 0 0 0 1px var(--cxc-text); }
.cxd-swatch img, .cxd-swatch-blank { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 7px; background: var(--cxc-thumb); }
.cxd-swatch-text { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; overflow: hidden; padding: 0 4px; border-radius: 7px; background: var(--cxc-thumb); font-size: calc(var(--cxd-swatch, 56px) * 0.22); font-weight: 500; line-height: 1.1; text-align: center; color: var(--cxc-text); }
.cxc .cxd-swatch.is-out { opacity: 0.55; }
.cxc .cxd-swatch.is-out::after { content: ""; position: absolute; inset: 2px; border-radius: 7px; pointer-events: none; background: linear-gradient(to top right, transparent calc(50% - 1px), currentColor 50%, transparent calc(50% + 1px)); }
.cxd-swatch-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cxc .cxd-select { padding-right: 40px; background: var(--cxc-field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6862' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px 16px; -webkit-appearance: none; -moz-appearance: none; appearance: none; cursor: pointer; }
.cxd-checks { display: flex; flex-direction: column; gap: 8px; }
.cxd-check { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; font-weight: 400; cursor: pointer; }
.cxd-check input { flex-shrink: 0; width: 18px; height: 18px; margin: 0; accent-color: var(--cxc-accent); }
.cxd-check-box { display: none; }
.cxd-check.is-out { color: var(--cxc-muted); }
.cxd-check-out { color: var(--cxc-error); }
.cxc .cxd-textarea { height: auto; min-height: 96px; padding: 12px 14px; line-height: 1.45; resize: vertical; }
.cxd-upload { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cxc .cxd-upload-btn { height: 40px; font-size: 14px; }
.cxd-upload-name { font-size: 14px; color: var(--cxc-soft); }
.cxd-oos { margin-top: 8px; font-size: 13px; font-weight: 500; color: var(--cxc-error); }
.cxd-oos[hidden], .cxd-opt-error[hidden] { display: none; }
.cxd-opt-error { margin-top: 6px; }
.cxd-opt.has-error .cxd-pill, .cxd-opt.has-error .cxd-swatch, .cxd-opt.has-error .cxc-input { border-color: var(--cxc-error); }

/* Αγορά */
.cxd-buy { display: flex; flex-direction: column; gap: 10px; }
.cxd-buy-row { display: flex; align-items: stretch; gap: 10px; }
.cxd-qty { flex-shrink: 0; height: 52px; }
.cxc .cxd-add { flex-grow: 1; min-width: 0; height: 52px; font-size: 16px; }
.cxc .cxd-add:disabled { opacity: 0.45; cursor: not-allowed; }
.cxc .cxd-wish { flex-shrink: 0; width: 52px; height: 52px; padding: 0; border-color: var(--cxc-input); color: var(--cxc-text); }
.cxc .cxd-wish:hover { border-color: var(--cxc-text); }
.cxd-wish-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cxd-min { margin-top: -2px; }
.cxd-error { margin: 0; }
.cxd-error[hidden] { display: none; }
.cxd-notify { padding: 14px 16px; border: 1px dashed var(--cxc-input); border-radius: var(--cxc-radius-md); }
.cxd-notify[hidden] { display: none; }
.cxc .cxd-notify-link { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--cxc-text); text-decoration: underline; cursor: pointer; }
.cxd-notify-form { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.cxd-notify-form[hidden] { display: none; }
.cxd-notify-row { display: flex; gap: 8px; }
.cxc .cxd-notify-btn { flex-shrink: 0; }
.cxd-notify-msg[hidden] { display: none; }
.cxd-notify-msg.is-ok { color: var(--cxc-success); }
.cxd-notify-msg.is-error { color: var(--cxc-error); }

/* Απόθεμα / παράδοση */
.cxd-stock { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--cxc-success); }
.cxd-stock-dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.cxd-stock--out, .cxd-stock.is-out { color: var(--cxc-error); }
/* v0.55: με καθυστέρηση / προπαραγγελία (αλλάζουν από Πεδία → Διαθεσιμότητα → καταστάσεις) */
.cxd-stock--delay { color: var(--cxc-warning, #b7791f); }
.cxd-stock--preorder { color: var(--cxc-accent, var(--cxc-primary)); }
.cxd-delivery { display: flex; align-items: center; gap: 8px; margin-top: -8px; font-size: 13px; color: var(--cxc-soft); }

/* Εμπιστοσύνη */
.cxd-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px 16px; margin: 0; padding: 14px 16px; list-style: none; background: var(--cxc-panel); border-radius: var(--cxc-radius-md); }
.cxd-trust-item { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 13px; color: var(--cxc-soft); }
.cxd-trust-icon { width: 18px; height: 18px; color: var(--cxc-soft); }
.cxd-icon-img { object-fit: contain; }
img.cxd-trust-icon { width: 20px; height: 20px; }
img.cxd-tile-icon { width: 28px; height: 28px; }
.cxd-zone--full .cxd-trust { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding: 18px 22px; }
.cxd-zone--full .cxd-trust-item { font-size: 14px; }

/* Εκπτώσεις ποσότητας */
.cxd-discounts { font-size: 13px; }
.cxd-discounts-title { margin-bottom: 4px; font-weight: 600; color: var(--cxc-text); }
.cxd-discount-list { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; color: var(--cxc-soft); }

/* Accordion */
.cxd-acc { border-top: 1px solid var(--cxc-line); }
.cxd-acc-item { border-bottom: 1px solid var(--cxc-line); }
.cxc .cxd-acc-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 14px 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--cxc-text); text-align: left; cursor: pointer; }
.cxd-acc-chev { flex-shrink: 0; color: var(--cxc-soft); transition: transform 0.2s ease; }
.cxd-acc-item.is-open .cxd-acc-chev { transform: rotate(180deg); }
.cxd-acc-body { padding: 0 0 16px; font-size: 14px; line-height: 1.6; color: var(--cxc-soft); }
.cxd-acc-body[hidden] { display: none; }
.cxd-acc-body img { max-width: 100%; height: auto; }
.cxd-acc-body .cxd-attrs-group:first-child { margin-top: 0; }
/* Καρτέλες */
.cxd-acc--tabs { border-top: 0; }
.cxd-acc--tabs .cxd-acc-nav { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--cxc-line); scrollbar-width: none; }
.cxd-acc--tabs .cxd-acc-nav::-webkit-scrollbar { display: none; }
.cxc .cxd-acc--tabs .cxd-acc-nav .cxd-acc-title { width: auto; flex: 0 0 auto; padding: 12px 14px; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--cxc-soft); white-space: nowrap; }
.cxc .cxd-acc--tabs .cxd-acc-nav .cxd-acc-title:hover { color: var(--cxc-text); }
.cxc .cxd-acc--tabs .cxd-acc-nav .cxd-acc-title.is-open { color: var(--cxc-text); border-bottom-color: var(--cxc-text); }
.cxd-acc--tabs .cxd-acc-item { border-bottom: 0; }
.cxd-acc--tabs .cxd-acc-body { padding: 18px 0 4px; }
/* Ενότητες η μία κάτω από την άλλη */
.cxd-acc--sections { border-top: 0; }
.cxd-acc--sections .cxd-acc-item { border-bottom: 0; margin-bottom: 22px; }
.cxd-acc--sections .cxd-acc-item:last-child { margin-bottom: 0; }
.cxd-acc--sections .cxd-acc-title { margin: 0 0 8px; padding: 0; font-size: 16px; font-weight: 600; color: var(--cxc-text); cursor: default; }
.cxd-acc--sections .cxd-acc-body { padding: 0; }
.cxd-zone--full .cxd-acc--sections .cxd-acc-title { font-size: 20px; }

/* ── Ενότητες πλήρους πλάτους / κάτω από τις εικόνες ──── */
.cxd-desc-title, .cxd-attrs-title, .cxd-related-title, .cxd-reviews-title { margin: 0 0 16px; font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; color: var(--cxc-text); }
.cxd-desc-body { max-width: 76ch; font-size: 15px; line-height: 1.65; color: var(--cxc-soft); }
.cxd-desc-body img { max-width: 100%; height: auto; }
.cxd-desc-body p:last-child { margin-bottom: 0; }
.cxd-attrs-group { margin: 14px 0 4px; font-size: 13px; font-weight: 600; color: var(--cxc-muted); }
.cxd-attr-list { display: grid; grid-template-columns: 1fr; margin: 0; }
.cxd-attr { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--cxc-line); font-size: 14px; }
.cxd-attr-name { margin: 0; font-weight: 500; color: var(--cxc-text); }
.cxd-attr-value { margin: 0; color: var(--cxc-soft); }
.cxd-zone--full .cxd-attr-list { grid-template-columns: 1fr 1fr; column-gap: 40px; }
.cxd-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cxd-zone--below .cxd-tiles { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.cxd-tile { padding: 22px; background: var(--cxc-panel); border-radius: var(--cxc-radius-md); }
.cxd-tile-icon { width: 26px; height: 26px; margin-bottom: 12px; color: var(--cxc-text); }
.cxd-tile-title { margin-bottom: 6px; font-size: 16px; font-weight: 600; color: var(--cxc-text); }
.cxd-tile-text { font-size: 14px; line-height: 1.55; color: var(--cxc-soft); }
.cxd-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cxd-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; color: var(--cxc-text); text-decoration: none; }
.cxd-card:hover { color: var(--cxc-text); text-decoration: none; }
.cxd-card-thumb { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--cxc-thumb); border-radius: var(--cxc-radius-md); }
.cxd-card-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.cxd-card:hover .cxd-card-thumb img { transform: scale(1.04); }
.cxd-card-name { font-size: 14px; font-weight: 500; line-height: 1.35; }
.cxd-card-price { font-size: 14px; font-weight: 600; }
.cxd-card-old { margin-left: 6px; font-weight: 400; color: var(--cxc-muted); }

/* Κριτικές */
.cxd-reviews-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.cxd-reviews-head .cxd-reviews-title { margin-bottom: 6px; }
.cxd-reviews-summary { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--cxc-soft); }
.cxc .cxd-review-btn { flex-shrink: 0; }
.cxd-review-form { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; padding: 22px; background: var(--cxc-panel); border-radius: var(--cxc-radius-md); }
.cxd-review-form[hidden] { display: none; }
.cxd-review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cxd-field { display: flex; flex-direction: column; gap: 6px; }
.cxd-field-label { font-size: 14px; font-weight: 600; color: var(--cxc-text); }
.cxd-rate { display: flex; align-items: center; gap: 4px; height: var(--cxc-btn-h); }
.cxd-rate-star { position: relative; margin: 0; cursor: pointer; }
.cxd-rate-star input { position: absolute; width: 0; height: 0; opacity: 0; }
.cxd-rate-star .cxd-star { width: 26px; height: 26px; color: var(--cxc-line); opacity: 1; transition: color 0.1s ease; }
.cxd-rate-star.is-on .cxd-star { color: var(--cxd-star); }
.cxd-rate-hint { margin: 0 6px; font-size: 12px; color: var(--cxc-muted); }
.cxd-captcha { min-height: 40px; }
.cxd-review-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.cxd-review-msg { margin: 0; }
.cxd-review-msg[hidden] { display: none; }
.cxd-review-list { display: flex; flex-direction: column; }
.cxd-review { padding: 18px 0; border-top: 1px solid var(--cxc-line); }
.cxd-review-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; font-size: 14px; }
.cxd-review-author { font-weight: 600; color: var(--cxc-text); }
.cxd-review-date { color: var(--cxc-muted); }
.cxd-review-stars .cxd-star { width: 14px; height: 14px; }
.cxd-review-text { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: var(--cxc-soft); }
.cxd-reviews-empty { margin: 0; padding: 18px 0; border-top: 1px solid var(--cxc-line); color: var(--cxc-muted); }
.cxc .cxd-review-more { align-self: flex-start; margin-top: 16px; }
.cxc .cxd-review-more[hidden] { display: none; }

/* ── Sticky μπάρα ──────────────────────────────────────── */
.cxd-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; align-items: center; gap: 14px; padding: 10px max(16px, calc((100% - 1140px) / 2)); background: var(--cxc-field); border-top: 1px solid var(--cxc-line); box-shadow: 0 -8px 30px rgba(21, 21, 20, 0.08); transform: translateY(110%); transition: transform 0.25s ease; }
.cxd-sticky.is-visible { transform: none; }
.cxd-sticky[hidden] { display: none; }
.cxd-sticky-thumb { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; background: var(--cxc-thumb); }
.cxd-sticky-info { flex-grow: 1; min-width: 0; }
.cxd-sticky-name { overflow: hidden; font-size: 14px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; color: var(--cxc-text); }
.cxd-sticky-price { font-size: 14px; color: var(--cxc-soft); }
.cxc .cxd-sticky-btn { flex-shrink: 0; height: 44px; }
.cxc .cxd-sticky-btn:disabled { opacity: 0.45; }
/* v0.46: οι επιλογές (μεγέθη κ.λπ.) και στη sticky μπάρα — ίδια κουμπιά με τις πάνω (.cxd-pill/.cxd-swatch, άρα και τα ίδια
   χρώματα από τα Πεδία), σε μικρότερο ύψος. Στο κινητό πάνε σε δική τους σειρά, με οριζόντια κύλιση. */
.cxd-sticky--opts .cxd-sticky-info { flex-grow: 0; flex-basis: 220px; }
.cxd-sticky-opts { display: flex; flex-wrap: wrap; flex-grow: 1; align-items: center; justify-content: flex-end; gap: 6px 18px; min-width: 0; }
.cxd-sticky-opt { display: flex; align-items: center; gap: 8px; min-width: 0; }
.cxd-sticky-opt-label { font-size: 13px; font-weight: 500; white-space: nowrap; color: var(--cxc-muted); }
.cxd-sticky .cxd-pills, .cxd-sticky .cxd-swatches { flex-wrap: nowrap; gap: 6px; }
.cxc .cxd-sticky .cxd-pill { min-width: 38px; height: 34px; padding: 0 10px; font-size: 13px; }
/* v0.46.1: οι «Αποστάσεις» (margin) που ορίζονται στα Πεδία για τα κουμπιά/εικόνες των επιλογών (για τις σειρές πάνω) δεν
   ισχύουν στη μπάρα — εδώ στοιχίζονται στο κέντρο της γραμμής με σταθερό κενό. Ίδια προτεραιότητα με το CSS των Πεδίων. */
.cxc.cxc--product .cxd-sticky .cxd-pill, .cxc.cxc--product .cxd-sticky .cxd-swatch { margin: 0 !important; vertical-align: middle; }
.cxc.cxc--product .cxd-sticky .cxd-pill { display: inline-flex; align-items: center; justify-content: center; }
.cxc .cxd-sticky .cxd-swatch { width: 34px; height: 34px; border-radius: 7px; }
.cxd-sticky .cxd-swatch img, .cxd-sticky .cxd-swatch-text { border-radius: 5px; }
.cxd-sticky .cxd-swatch-text { font-size: 11px; }
.cxc .cxd-sticky .cxd-sticky-select { width: auto; min-width: 140px; height: 36px; padding: 0 32px 0 12px; font-size: 14px; }
.cxd-sticky-opt.has-error .cxd-pill, .cxd-sticky-opt.has-error .cxd-swatch, .cxd-sticky-opt.has-error .cxd-sticky-select { border-color: var(--cxc-error); }
.cxd-sticky-opt.has-error .cxd-sticky-opt-label { color: var(--cxc-error); }

/* ── Lightbox ──────────────────────────────────────────── */
.cxd-lightbox { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; background: rgba(21, 21, 20, 0.93); }
.cxd-lightbox[hidden] { display: none; }
.cxd-lb-stage { max-width: 92vw; max-height: 88vh; }
.cxd-lb-img { display: block; max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 8px; }
.cxc .cxd-lb-close, .cxc .cxd-lb-arrow { position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer; }
.cxc .cxd-lb-close:hover, .cxc .cxd-lb-arrow:hover { background: rgba(255, 255, 255, 0.22); }
.cxc .cxd-lb-close { top: 16px; right: 16px; }
.cxc .cxd-lb-arrow { top: 50%; transform: translateY(-50%); }
.cxc .cxd-lb-arrow--prev { left: 16px; }
.cxc .cxd-lb-arrow--next { right: 16px; }
.cxd-lb-count { position: absolute; right: 0; bottom: 16px; left: 0; font-size: 13px; color: rgba(255, 255, 255, 0.7); text-align: center; }

/* ── Toast ─────────────────────────────────────────────── */
.cxd-toast { position: fixed; bottom: 24px; left: 50%; z-index: 9500; display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px); padding: 12px 16px; background: var(--cxc-text); color: var(--cxc-bg); border-radius: 12px; box-shadow: 0 12px 40px rgba(21, 21, 20, 0.25); font-size: 14px; line-height: 1.4; transform: translateX(-50%); }
.cxd-toast[hidden] { display: none; }
.cxd-toast.is-error { background: var(--cxc-error); color: #fff; }
.cxd-toast.is-raised { bottom: 84px; }
.cxd-toast a { color: inherit; font-weight: 600; text-decoration: underline; white-space: nowrap; }
.cxd-toast a:hover { color: inherit; opacity: 0.85; }

/* ── Κινητό ────────────────────────────────────────────── */
@media (max-width: 991px) {
  .cxd-layout { gap: 32px; }
  .cxd-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cxd-tiles { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .cxd-layout { grid-template-columns: 1fr; gap: 22px; }
  .cxd-gallery { grid-template-columns: 1fr !important; }
  .cxd-thumbs { display: none; }
  .cxd-dots { display: flex; }
  .cxd-arrow { display: none; }
  .cxd-title { font-size: 22px; }
  .cxd-price { font-size: 22px; }
  .cxd-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .cxd-review-grid { grid-template-columns: 1fr; }
  .cxd-reviews-head { flex-direction: column; }
  .cxd-attr { grid-template-columns: 1fr; gap: 2px; }
  .cxd-zone--full .cxd-attr-list { grid-template-columns: 1fr; }
  .cxd-trust { grid-template-columns: 1fr; }
  .cxd-zone--full { gap: 36px; margin-top: 40px; }
  .cxd-sticky-thumb { display: none; }
  .cxd-sticky--opts { flex-wrap: wrap; gap: 10px 12px; }
  .cxd-sticky--opts .cxd-sticky-info { flex-grow: 1; flex-basis: 0; }
  .cxd-sticky-opts { order: -1; flex-basis: 100%; flex-wrap: nowrap; justify-content: flex-start; gap: 6px 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
  .cxd-sticky-opts::-webkit-scrollbar { display: none; }
  .cxd-sticky-opt { flex-shrink: 0; }
  .cxc .cxd-lb-arrow { width: 38px; height: 38px; }
  .cxd-toast { bottom: 16px; width: calc(100vw - 32px); }
}

/* ── v0.51: οδηγός μεγεθών — πάνελ πάνω στη σελίδα ───────────── */
.cxd-guide { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.cxd-guide[hidden] { display: none; }
.cxd-guide-backdrop { position: absolute; inset: 0; background: rgba(21, 21, 20, 0.55); }
.cxd-guide-panel { position: relative; width: 100%; max-width: 720px; max-height: calc(100vh - 48px); display: flex; flex-direction: column; background: var(--cxc-bg); color: var(--cxc-text); border-radius: var(--cxc-radius); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3); overflow: hidden; outline: none; }
.cxd-guide-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--cxc-line); }
.cxd-guide-title { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.3; }
.cxd-guide-close { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--cxc-soft); cursor: pointer; }
.cxd-guide-close:hover { background: var(--cxc-panel); color: var(--cxc-text); }
.cxd-guide-body { padding: 20px; overflow: auto; -webkit-overflow-scrolling: touch; font-size: 14px; line-height: 1.55; }
.cxd-guide-body img { max-width: 100%; height: auto; }
.cxd-guide-body table { width: 100%; border-collapse: collapse; margin: 0 0 12px; }
.cxd-guide-body th, .cxd-guide-body td { padding: 8px 10px; border: 1px solid var(--cxc-line); text-align: center; }
.cxd-guide-body th { background: var(--cxc-panel); font-weight: 600; }
.cxd-guide-body > :last-child { margin-bottom: 0; }
html.cxd-guide-open { overflow: hidden; }
@media (max-width: 767px) {
  .cxd-guide { align-items: flex-end; padding: 0; }
  .cxd-guide-panel { max-width: none; max-height: 88vh; border-radius: var(--cxc-radius) var(--cxc-radius) 0 0; }
}
