/* Katalog ve kampanya yüzeyi: ana sayfa rafları, indirim rozeti ve sipariş geri bildirimi. */
.shelf-see-all {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.shelf-see-all span {
  font-size: 15px;
}
.product-grid--shelf {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.product-grid--shelf .product-card__body {
  padding-inline: 12px;
}
.discount-badge {
  position: absolute;
  top: 11px;
  left: 11px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-width: 42px;
  min-height: 30px;
  padding: 0 8px;
  border-radius: 3px 10px 3px 3px;
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 12px rgba(55, 39, 27, .18);
  font-size: 10px;
  line-height: 1;
}
.discount-badge > span {
  font-size: 12px;
  font-weight: 500;
}
.discount-badge strong {
  font-size: 13px;
}
.product-modal__zoom-trigger .discount-badge,
.product-modal__zoom-trigger .discount-badge.discount-badge--modal {
  top: 14px;
  right: auto;
  bottom: auto;
  left: 14px;
  width: auto;
  height: auto;
  padding: 0 10px;
  color: #fff;
  background: var(--orange);
  font-size: 11px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .2);
}
.product-modal__category > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
}
.copy-status {
  min-height: 18px;
  margin: 0 0 12px;
  color: var(--muted-text);
  font-size: 11px;
  line-height: 1.5;
}
.copy-status.is-success {
  color: var(--green);
}
.copy-status.is-error {
  color: #a53e31;
}
.copy-modal__card .button--whatsapp {
  background: #27744e;
}
.toast {
  z-index: 150;
}
@media (max-width: 1100px) {
  .product-grid--shelf {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    margin-inline: calc(-1 * clamp(22px, 4vw, 44px));
    padding-inline: clamp(22px, 4vw, 44px);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: thin;
  }
  .product-grid--shelf .product-card {
    flex: 0 0 min(29vw, 270px);
    scroll-snap-align: start;
  }
}
@media (max-width: 700px) {
  .section-heading:has(.shelf-see-all) {
    align-items: center;
    gap: 12px;
  }
  .product-grid--shelf {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    margin-inline: -22px;
    padding-inline: 22px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: thin;
  }
  .product-grid--shelf .product-card {
    flex: 0 0 min(72vw, 260px);
    scroll-snap-align: start;
  }
}
@media (max-width: 520px) {
  .shelf-see-all {
    font-size: 10px;
  }
  .product-grid--shelf {
    margin-inline: -16px;
    padding-inline: 16px;
  }
  .product-grid--shelf .product-card {
    flex-basis: min(76vw, 245px);
  }
  .discount-badge {
    top: 8px;
    left: 8px;
    min-width: 37px;
    min-height: 27px;
    padding-inline: 7px;
  }
}

/* Discount label stays in the same top-left badge on every product surface. */
.discount-badge{white-space:nowrap}
.discount-badge > .discount-badge__label{margin-left:3px;font-size:10px;font-weight:600}

.product-card__body{position:relative}
.product-share{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:35px;margin-top:7px;padding:6px 10px;border:1px solid var(--theme-border,#ddd);border-radius:5px;background:transparent;color:var(--theme-muted,var(--muted-text));font:inherit;font-size:11px;font-weight:650;cursor:pointer;transition:background .16s ease,color .16s ease,border-color .16s ease}
.product-share:hover{border-color:var(--theme-accent,var(--orange));color:var(--theme-accent,var(--orange));background:color-mix(in srgb,var(--theme-accent,var(--orange)) 7%,transparent)}
.product-share svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.product-share--modal{display:flex;width:100%;height:50px;min-height:50px;min-width:0;margin:8px 0 14px;padding:0 21px;border-radius:3px;gap:25px;font-size:12px;font-weight:700}
.similar-products{margin-top:18px;padding-top:15px;border-top:1px solid var(--theme-border,#ddd)}
.similar-products h3{margin:0 0 10px;font-size:14px;color:var(--theme-form-text,var(--theme-header-text,#222))}
.similar-products>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.similar-product{display:grid;grid-template-columns:76px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:3px 10px;padding:8px;border:1px solid var(--theme-border,#ddd);border-radius:9px;background:var(--theme-form-bg,var(--theme-page-bg,#fff));color:var(--theme-form-text,var(--theme-header-text,#222));text-align:left;cursor:pointer;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.similar-product:hover{border-color:var(--theme-accent,var(--orange));transform:translateY(-2px);box-shadow:0 7px 18px rgba(25,20,16,.10)}
.similar-product img{grid-row:1/3;width:76px;height:76px;object-fit:cover;border-radius:6px;background:var(--theme-page-bg,#f4f2ef)}
.similar-product span{align-self:end;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650}
.similar-product strong{align-self:start;font-size:11px;color:var(--theme-accent,var(--orange))}

.delivery-choice{display:grid;gap:9px;margin:18px 0;padding:0;border:0}.delivery-choice legend{margin-bottom:9px;color:var(--theme-text,var(--text));font-size:12px;font-weight:800}.delivery-choice label{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid var(--theme-border,var(--border));border-radius:10px;background:var(--theme-surface,var(--surface));color:var(--theme-text,var(--text));cursor:pointer}.delivery-choice label:has(input:checked){border-color:var(--theme-accent,var(--orange));box-shadow:0 0 0 1px var(--theme-accent,var(--orange))}.delivery-choice input{margin:3px 0 0;accent-color:var(--theme-accent,var(--orange))}.delivery-choice label span{display:grid;gap:3px}.delivery-choice label strong{font-size:12px}.delivery-choice label small{color:var(--theme-muted,var(--muted-text));font-size:10px;line-height:1.45}
