/* ══════════════════════════════════════════════════════════
   MERCH SHOP — KONFIGURÁTOR
══════════════════════════════════════════════════════════ */
#shop {
  background: var(--black-2);
  padding: clamp(4rem, 8vh, 7rem) clamp(1.25rem, 5vw, 2rem);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.shop-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Layout: steps + preview ──────────────────────────── */
.shop-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3rem;
}

/* ── Kroky konfigurácie ───────────────────────────────── */
.shop-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.shop-step {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s;
}

.shop-step:focus-within {
  border-color: rgba(33, 150, 243, 0.35);
}

.shop-step__hdr {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.shop-step__num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(33, 150, 243, 0.15);
  border: 1px solid rgba(33, 150, 243, 0.4);
  color: var(--blue);
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.shop-step__title {
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.shop-step__sel {
  margin-left: auto;
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.05em;
}

/* ── Produkt tabs ──────────────────────────────────────── */
.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  min-width: 80px;
  text-align: center;
}

.product-tab:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.85);
}

.product-tab.active {
  border-color: var(--blue);
  background: rgba(33, 150, 243, 0.1);
  color: var(--white);
}

.product-tab__icon {
  font-size: 1.3rem;
  line-height: 1;
}

/* ── Color swatches ────────────────────────────────────── */
.color-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.color-swatch {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  overflow: hidden;
  flex-shrink: 0;
}

.color-swatch:hover {
  transform: scale(1.12);
  border-color: rgba(255, 255, 255, 0.5);
}

.color-swatch.active {
  border-color: var(--white);
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.5);
  transform: scale(1.1);
}

.color-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.color-swatch__fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* Tooltip s názvom farby */
.color-swatch::after {
  content: attr(data-name);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-family: var(--font-condensed);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding: 3px 8px;
  border-radius: 3px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
}

.color-swatch:hover::after {
  opacity: 1;
}

/* ── Výšivky grid ──────────────────────────────────────── */
.emb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.6rem;
}

.emb-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 0.75rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  user-select: none;
}

.emb-option:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
}

.emb-option.active {
  border-color: var(--blue);
  background: rgba(33, 150, 243, 0.1);
}

.emb-option__icon {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.emb-option__icon img,
.emb-option__img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.emb-option__name {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.3;
}

.emb-option.active .emb-option__name {
  color: var(--white);
}

.emb-option__desc {
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: lowercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
  margin-top: -0.35rem;
}

.emb-option.active .emb-option__desc {
  color: rgba(255, 255, 255, 0.65);
}

.emb-option--fixed {
  cursor: default;
  pointer-events: none;
}

/* Fixná výšivka — info text */
.emb-fixed-info {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1rem;
  background: rgba(33, 150, 243, 0.08);
  border: 1px solid rgba(33, 150, 243, 0.25);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-condensed);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.emb-fixed-info svg {
  color: var(--blue);
  flex-shrink: 0;
}

/* Automaticky zahrnutá výšivka — badge nad výberom (choice produkty) */
.emb-included-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.9rem;
  background: rgba(33, 150, 243, 0.08);
  border: 1px solid rgba(33, 150, 243, 0.25);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.emb-included-badge svg {
  color: var(--blue);
  flex-shrink: 0;
}

/* ── Veľkostná kategória prepínač ─────────────────────── */
.size-cat-toggle {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.size-cat-btn {
  flex: 1;
  padding: 0.48rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}

.size-cat-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
}

.size-cat-btn.active {
  border-color: var(--blue);
  background: rgba(33, 150, 243, 0.1);
  color: var(--white);
}

/* Placeholder — veľkosti budú doplnené */
.size-placeholder {
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.3);
  padding: 0.25rem 0;
}

/* ── Veľkosť grid ──────────────────────────────────────── */
.size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.size-btn {
  width: 52px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-condensed);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}

.size-btn:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.size-btn.active {
  border-color: var(--blue);
  background: rgba(33, 150, 243, 0.12);
  color: var(--white);
}

/* ── Množstvo stepper ──────────────────────────────────── */
.qty-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  height: 44px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  overflow: hidden;
  width: fit-content;
}

.qty-btn {
  width: 44px;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.qty-btn:hover { background: rgba(33, 150, 243, 0.18); }
.qty-btn:active { background: rgba(33, 150, 243, 0.3); }

.qty-num {
  min-width: 48px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 0.25rem;
}

/* CTA block button */
.btn--block {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 1rem;
  font-size: 1.05rem;
}

.btn--block:disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════
   PREVIEW PANEL (sticky)
══════════════════════════════════════════════════════════ */
.shop-preview {
  position: sticky;
  top: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  overflow: hidden;
}

.preview-badge {
  font-family: var(--font-condensed);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(33, 150, 243, 0.7);
  text-align: center;
  padding: 0.5rem;
  background: rgba(33, 150, 243, 0.05);
  border-bottom: 1px solid rgba(33, 150, 243, 0.1);
}

/* Obrázok produktu */
.preview-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background: rgba(0, 0, 0, 0.3);
}

.preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preview-img--contain {
  object-fit: contain;
  object-position: top center;
  background: rgba(255, 255, 255, 0.03);
}

/* Placeholder kým nie sú fotky */
.preview-ph {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.preview-ph__color {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
  transition: background 0.3s ease;
}

.preview-ph__label {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.preview-ph__label span {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.preview-ph__label small {
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
}

/* Detail list */
.preview-list {
  list-style: none;
  padding: 0.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.preview-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  min-height: 1.6rem;
}

.preview-item__key {
  font-family: var(--font-condensed);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.preview-item__val {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  text-align: right;
}

.preview-item__val strong {
  color: var(--white);
}

.prev-swatch {
  width: 22px;
  height: 22px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-block;
  flex-shrink: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: background 0.3s;
}

.preview-price-note {
  font-family: var(--font-condensed);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  text-align: center;
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ══════════════════════════════════════════════════════════
   SHOP FORM SECTION
══════════════════════════════════════════════════════════ */
.shop-form-section {
  margin-top: 1rem;
  animation: stepIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.shop-form-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.shop-form-divider::before,
.shop-form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

/* Sumár objednávky nad formulárom */
.order-summary {
  background: rgba(33, 150, 243, 0.07);
  border: 1px solid rgba(33, 150, 243, 0.2);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.order-summary__item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.order-summary__key {
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.order-summary__val {
  color: var(--white);
}

.order-summary__swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-block;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-preview {
    position: static;
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: start;
  }

  .preview-img-wrap {
    aspect-ratio: 1 / 1;
    border-radius: 0;
  }

  .preview-badge { display: none; }
}

@media (max-width: 560px) {
  .shop-preview {
    grid-template-columns: 1fr;
  }

  .preview-img-wrap {
    aspect-ratio: 4 / 3;
  }

  .emb-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ══════════════════════════════════════════════════════════
   TOAST NOTIFIKÁCIA
══════════════════════════════════════════════════════════ */
.shop-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  background: #1a7a4a;
  color: #fff;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 9999;
  white-space: nowrap;
}
.shop-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ══════════════════════════════════════════════════════════
   KOŠÍK PANEL
══════════════════════════════════════════════════════════ */
.cart-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-top: 2rem;
}

.cart-panel__hdr {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.cart-panel__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  margin: 0;
  flex: 1;
}

.cart-count {
  background: var(--accent, #2196f3);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2em 0.7em;
  border-radius: 2rem;
  font-family: 'Barlow', sans-serif;
}

.cart-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.6rem;
  padding: 0.6rem 0.75rem;
}

.cart-item__thumb {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 0.4rem;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
}

.cart-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.cart-item__name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cart-item__meta {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  font-family: 'Barlow', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item__qty {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent, #2196f3);
  font-family: 'Barlow', sans-serif;
}

.cart-item__remove {
  background: none;
  border: none;
  color: rgba(255,255,255,0.35);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.3rem 0.4rem;
  border-radius: 0.3rem;
  transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
}

.cart-item__remove:hover {
  color: #ff5252;
  background: rgba(255,82,82,0.12);
}

.cart-panel__footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1rem;
}

/* ══════════════════════════════════════════════════════════
   REKAPITULÁCIA OBJEDNÁVKY
══════════════════════════════════════════════════════════ */
.shop-recap-section {
  margin-top: 2rem;
}

.recap-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.recap-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.6rem;
  padding: 0.75rem 1rem;
}

.recap-item__thumb {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 0.4rem;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
}

.recap-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recap-item__info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.recap-item__name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
}

.recap-item__meta {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  font-family: 'Barlow', sans-serif;
}

.recap-item__qty {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent, #2196f3);
  font-family: 'Barlow', sans-serif;
  margin-top: 0.2rem;
}

/* Doprava */
.recap-shipping-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.recap-shipping-note {
  font-size: 0.85rem;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  color: #4caf50;
  margin: 0.25rem 0 0.75rem;
  min-height: 0;
}

.recap-shipping-note:not(.show) {
  display: none;
}

.recap-shipping {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.recap-delivery-opt {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  transition: background 0.15s, border-color 0.15s;
}

.recap-delivery-opt:has(input:checked) {
  background: rgba(33,150,243,0.1);
  border-color: rgba(33,150,243,0.4);
}

.recap-delivery-opt input[type="radio"] {
  accent-color: var(--accent, #2196f3);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.recap-delivery-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 0.75rem;
  font-family: 'Barlow', sans-serif;
}

.recap-delivery-name {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.9);
}

.recap-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Barlow', sans-serif;
}

.recap-price--free {
  color: #4caf50;
}

.recap-price--crossed {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255,255,255,0.35);
  text-decoration: line-through;
  margin-left: 0.4rem;
}

/* ══════════════════════════════════════════════════════════
   CENOVÉ PRVKY
══════════════════════════════════════════════════════════ */

/* Live preview — cena */
.preview-item--price .preview-price-val {
  color: var(--accent, #2196f3);
  font-size: 1.05rem;
}

/* Košík — cena na riadku */
.cart-item__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.2rem;
}

.cart-item__line-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Barlow', sans-serif;
}

/* Košík — celkový súčet */
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  margin-bottom: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.cart-total__label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  font-family: 'Barlow', sans-serif;
}

.cart-total__val {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Barlow', sans-serif;
}

/* Rekapitulácia — cena na riadku */
.recap-item__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.3rem;
}

.recap-item__line-total {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Barlow', sans-serif;
}

/* Rekapitulácia — súhrnné riadky */
.recap-totals {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.recap-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  font-family: 'Barlow', sans-serif;
  color: rgba(255,255,255,0.7);
}

.recap-total-row--total {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 0.5rem;
  margin-top: 0.25rem;
  font-size: 1.05rem;
  color: #fff;
}

.recap-total-row--total strong {
  font-size: 1.15rem;
  color: var(--accent, #2196f3);
}

/* ── Promo kód ───────────────────────────────────────── */
.promo-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.promo-input-row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* Vyššia špecificita — prekoná globálny .btn { width:100% } na mobile */
.promo-input-row .promo-input {
  flex: 6 1 0%;
  width: auto;
  min-width: 0;
  max-width: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1rem;
  height: 48px;
  padding: 0 0.9rem;
  box-sizing: border-box;
}

.promo-input-row .promo-btn {
  flex: 4 0 auto;
  width: auto;
  max-width: none;
  white-space: nowrap;
  height: 48px;
  font-size: 0.95rem;
  padding: 0 1rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-msg {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  min-height: 1.2em;
  font-weight: 500;
}

/* Mobile — explicitne prepíše globálny .btn override */
@media (max-width: 768px) {
  .promo-input-row .promo-btn {
    width: auto !important;
    max-width: none !important;
    flex: 4 0 auto !important;
  }
  .promo-input-row .promo-input {
    width: auto !important;
    max-width: none !important;
    flex: 6 1 0% !important;
  }
}

.promo-msg--ok  { color: #4caf50; }
.promo-msg--err { color: #ef4444; }

.recap-total-row--discount { color: #4caf50; }
.promo-discount-val { color: #4caf50; font-weight: 600; }

/* ── Promo animácie ──────────────────────────────────── */
@keyframes promoGlow {
  0%   { box-shadow: none; border-color: rgba(255,255,255,0.1); }
  35%  { box-shadow: 0 0 22px rgba(255,215,0,0.45), 0 0 55px rgba(33,150,243,0.28), inset 0 0 12px rgba(255,215,0,0.07); border-color: rgba(255,215,0,0.55); }
  65%  { box-shadow: 0 0 22px rgba(255,215,0,0.45), 0 0 55px rgba(33,150,243,0.28), inset 0 0 12px rgba(255,215,0,0.07); border-color: rgba(255,215,0,0.55); }
  100% { box-shadow: none; border-color: rgba(255,255,255,0.1); }
}

.promo-glow-active {
  animation: promoGlow 1.15s ease forwards;
}

/* Flying badge */
.promo-fly-badge {
  position: fixed;
  background: linear-gradient(135deg, #ffd700, #ffaa00);
  color: #000;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.22rem 0.6rem;
  border-radius: 2rem;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 0 18px rgba(255,215,0,0.65);
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  transition: transform 0.72s cubic-bezier(0.22,1,0.36,1), opacity 0.72s ease;
  z-index: 9999;
}

/* Color swatch placeholder pre produkty bez fotiek */
.color-swatch--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 2px dashed rgba(255,255,255,0.2);
  cursor: default;
}

/* ══════════════════════════════════════════════════════════
   TABUĽKA VEĽKOSTÍ — BUTTON + LIGHTBOX
══════════════════════════════════════════════════════════ */

.size-chart-btn {
  margin-left: auto;
  background: none;
  border: 1px solid rgba(33, 150, 243, 0.4);
  border-radius: 4px;
  color: var(--blue, #2196f3);
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.size-chart-btn:hover {
  background: rgba(33, 150, 243, 0.12);
  border-color: rgba(33, 150, 243, 0.7);
}

/* Modal overlay */
.size-chart-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.size-chart-modal[hidden] {
  display: none;
}

.size-chart-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

/* Inner box — scrollable na mobile */
.size-chart-modal__inner {
  position: relative;
  z-index: 1;
  background: #1a1a1a;
  border-radius: 10px;
  max-width: min(640px, 96vw);
  max-height: 88vh;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.7);
  -webkit-overflow-scrolling: touch;
}

.size-chart-modal__close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 2;
  margin: 0.5rem 0.5rem 0 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.size-chart-modal__close:hover {
  background: rgba(255,255,255,0.25);
}

.size-chart-modal__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 0 10px 10px;
}
