/* ============================================
   KOVA — Product Page (About You-inspired)
   ============================================ */

/* ---------- Product Layout ---------- */
.product-page {
  padding: 0 0 0;
}

@media (min-width: 1024px) {
  .product-page { padding: var(--space-md) 0 0; }
}

.product-page__breadcrumb {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  display: none;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

@media (min-width: 1024px) {
  .product-page__breadcrumb { display: flex; }
}

.product-page__breadcrumb a { transition: color 0.15s; }
.product-page__breadcrumb a:hover { color: var(--color-text-primary); text-decoration: underline; }

.product-page__layout {
  display: flex;
  flex-direction: column;
  gap: 0;
}

@media (min-width: 1024px) {
  .product-page__layout {
    flex-direction: row;
    gap: 0;
  }
}

/* ---------- Gallery — About You style: 2-column grid ---------- */
.gallery {
  flex: 1;
  min-width: 0;
}

@media (min-width: 1024px) {
  .gallery {
    flex: 0 0 62%;
    padding-right: 32px;
  }
}

/* Desktop: 2x2 grid of large images */
.gallery__desktop {
  display: none;
}

@media (min-width: 1024px) {
  .gallery__desktop {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }
  .gallery__mobile { display: none; }

  /* Hide old thumbnail strip */
  .gallery__thumbs { display: none; }
}

/* Grid images */
.gallery__grid-item {
  aspect-ratio: 3 / 4;
  background-color: #F5F5F5;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery__grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery__grid-item:hover img {
  transform: scale(1.03);
}

/* Desktop dots (scroll indicator) */
.gallery__desktop-dots {
  display: none;
}

@media (min-width: 1024px) {
  .gallery__desktop-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 16px 0 8px;
  }
}

.gallery__desktop-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d4d4d4;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.gallery__desktop-dot.active {
  background: #111;
  transform: scale(1.2);
}

/* Old thumbnail + main (still used as fallback) */
.gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 64px;
  flex-shrink: 0;
  max-height: 600px;
  overflow-y: auto;
  scrollbar-width: none;
}

.gallery__thumbs::-webkit-scrollbar { display: none; }

.gallery__thumb {
  width: 64px;
  height: 80px;
  border: 1.5px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.15s;
  padding: 0;
  background: #F3F3F3;
  flex-shrink: 0;
}

.gallery__thumb:hover { border-color: #CCCCCC; }
.gallery__thumb.active { border-color: var(--color-black); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.gallery__main {
  flex: 1;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background-color: #F3F3F3;
  cursor: pointer;
}

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

/* Mobile: horizontal carousel (About You style) */
.gallery__mobile {
  position: relative;
  margin: -16px -20px 0; /* full-width bleed + remove top gap */
}

@media (min-width: 1024px) {
  .gallery__mobile { margin: 0; }
}

.gallery__carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 0;
}

.gallery__carousel::-webkit-scrollbar { display: none; }

.gallery__carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 3 / 4;
  background-color: #F5F5F5;
}

.gallery__carousel-slide img {
  object-position: top center;
}

.gallery__carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dots ON the image (About You style) */
.gallery__dots-overlay {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 5;
  pointer-events: none;
}

.gallery__dots-overlay .gallery__dot {
  pointer-events: auto;
}

.gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(0,0,0,0.2);
  transition: background-color 0.2s, width 0.2s;
  padding: 0;
  border: none;
  cursor: pointer;
}

.gallery__dot.active {
  background-color: #111;
  width: 20px;
  border-radius: 8px;
}

.gallery__counter {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 12px;
  z-index: 5;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .gallery__counter { display: none; }
}


/* Wishlist floating button on mobile (About You) */
.gallery__wish-float {
  position: absolute;
  bottom: 56px;
  right: 14px;
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.gallery__wish-float svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
}

@media (min-width: 1024px) {
  .gallery__wish-float { display: none; }
}

/* ---------- Product Info (About You style) ---------- */
.product-info {
  flex: 1;
  min-width: 0;
  padding: 16px 0;
}

@media (min-width: 1024px) {
  .product-info {
    flex: 0 0 38%;
    padding: 0 0 0 40px;
    position: sticky;
    top: calc(var(--header-height) + 16px);
    align-self: flex-start;
    max-height: calc(100vh - var(--header-height) - 32px);
    overflow-y: auto;
    scrollbar-width: none;
  }
  .product-info::-webkit-scrollbar { display: none; }
}

/* Brand — About You mobile: bold, clean */
.product-info__brand {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #111 !important;
  margin-bottom: 3px !important;
  text-decoration: none;
  display: block;
  line-height: 1.25;
}

.product-info__brand:hover {
  text-decoration: underline;
}

/* Name — About You: grey subtitle */
.product-info__name {
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #999 !important;
  margin-bottom: 14px !important;
  line-height: 1.3;
}

/* Price — About You: bold, compact */
.product-info__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.product-info__price-current {
  font-size: 20px;
  font-weight: 700;
  color: #111;
}

.product-info__price-current--sale {
  color: #111;
}

.product-info__price-original {
  font-size: 16px;
  font-weight: 400;
  color: #aaa;
  text-decoration: line-through;
}

.product-info__price-badge {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background-color: #e53935;
  padding: 3px 8px;
  border-radius: 4px;
}

.product-info__price-save {
  display: block;
  font-size: 12px;
  color: var(--color-success);
  font-weight: 600;
  margin-top: 2px;
  width: 100%;
}

/* Rating — under price, subtle, no border */
.product-info__rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 20px;
  font-size: 12px;
  color: #aaa;
}

.product-info__rating span { color: #aaa; }

.product-info__stars {
  display: flex;
  gap: 0;
  color: #111;
}

.product-info__stars svg {
  width: 12px;
  height: 12px;
}

/* Color selector */
.product-info__colors {
  margin-bottom: 24px;
}

.product-info__color-label {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-secondary);
  margin-bottom: 10px;
}

.product-info__color-label strong {
  font-weight: 700;
  color: var(--color-text-primary);
}

.product-info__color-label {
  font-size: 14px;
  font-weight: 400;
  color: #666;
  margin-bottom: 12px;
}

.product-info__color-label strong {
  font-weight: 700;
  color: #111;
}

/* Color selector — About You: product image thumbnails */
.product-info__color-options {
  display: flex;
  gap: 8px;
}

.product-info__color-btn {
  width: 72px;
  height: 88px;
  border-radius: 4px;
  border: 2px solid #e5e5e5;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.15s;
  overflow: hidden;
  background: #f5f5f5;
}

.product-info__color-btn:hover {
  border-color: #999;
}

.product-info__color-btn.active {
  border-color: var(--color-black);
}

.product-info__color-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fallback color circle when no image */
.product-info__color-inner {
  width: 100%;
  height: 100%;
  border: none;
}

/* Size selector */
.product-info__sizes {
  margin-bottom: 24px;
  padding-top: 16px;
}

.product-info__size-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

/* Size section header */
.product-info__size-label {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
}

.product-info__size-selected {
  font-weight: 400;
  color: #888;
}

.product-info__size-guide {
  font-size: 12px;
  color: #1a1a1a;
  text-decoration: underline;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-info__size-guide svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.5;
}

.product-info__size-guide:hover {
  color: #555;
}

/* Custom size dropdown */
.size-dropdown {
  position: relative;
}

.size-dropdown__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1.5px solid #D9D9D9;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  background: var(--color-white);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s;
}

.size-dropdown__trigger:hover {
  border-color: #1a1a1a;
}

.size-dropdown__trigger.open {
  border-color: #1a1a1a;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.size-dropdown__text {
  color: inherit;
}

.size-dropdown__text--placeholder {
  color: #999;
}

.size-dropdown__arrow {
  flex-shrink: 0;
  color: #666;
  transition: transform 0.2s;
}

.size-dropdown__trigger.open .size-dropdown__arrow {
  transform: rotate(180deg);
}

.size-dropdown__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 260px;
  overflow-y: auto;
  background: #fff;
  border: 1.5px solid #1a1a1a;
  border-top: none;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  z-index: 50;
}

.size-dropdown__menu.open {
  display: block;
}

.size-dropdown__item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  background: none;
  border: none;
  border-bottom: 1px solid #f1f1f1;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: background 0.1s;
}

.size-dropdown__item:last-child {
  border-bottom: none;
}

.size-dropdown__item:hover {
  background: #f5f5f5;
}

.size-dropdown__item.active {
  background: #1a1a1a;
  color: #fff;
}

.size-dropdown__item.unavailable {
  color: #ccc;
  cursor: not-allowed;
  text-decoration: line-through;
}

.size-dropdown__item.unavailable:hover {
  background: none;
}

/* Error state */
.size-dropdown.error {
  animation: shake 0.3s ease;
}

.size-dropdown.error .size-dropdown__trigger {
  border-color: #E53935;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* Size error message */
.product-info__size-error {
  font-size: 12px;
  color: #E53935;
  font-weight: 500;
  margin-top: 6px;
  display: none;
}

.product-info__size-error.visible {
  display: block;
}

/* Stock warning */
.product-info__stock {
  font-size: 13px;
  color: #16a34a;
  font-weight: 500;
  margin-bottom: 16px;
  display: none;
}

.product-info__stock--out {
  display: block;
  color: #dc2626;
}

/* Add to bag — Zalando: orange/accent CTA */
.product-info__add-btn {
  width: 100%;
  height: 48px;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  border-radius: 4px;
  background-color: #1a1a1a;
  color: var(--color-white);
  border: none;
  cursor: pointer;
  transition: background-color 0.15s;
}

.product-info__add-btn:hover {
  background-color: #333;
}

.product-info__add-btn:disabled {
  background-color: #E5E5E5;
  color: #999999;
  cursor: not-allowed;
}

.product-info__add-btn.added {
  background-color: var(--color-success);
}

/* Wishlist — Zalando: outline, icon only or with text */
.product-info__wishlist-btn {
  width: 100%;
  height: 44px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #D4D4D4;
  border-radius: 4px;
  transition: border-color 0.15s;
  background: var(--color-white);
  cursor: pointer;
}

.product-info__wishlist-btn:hover {
  border-color: var(--color-black);
}

.product-info__wishlist-btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.5;
}

/* Shipping info — Zalando: simple list with icons */
.product-info__shipping {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid #EEEEEE;
  margin-bottom: 0;
}

.product-info__shipping-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--color-text-secondary);
}

.product-info__shipping-item svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.5;
  flex-shrink: 0;
  color: var(--color-text-primary);
}

/* Delivery estimates */
.product-info__delivery {
  padding: 14px 16px;
  background-color: #F8F8F8;
  border-radius: 4px;
  margin: 12px 0 0;
}

.product-info__delivery-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.product-info__delivery-item {
  font-size: 12px;
  color: var(--color-text-secondary);
  padding: 2px 0;
}

.product-info__delivery-item.highlighted {
  color: var(--color-text-primary);
  font-weight: 600;
}

/* Accordion — Zalando: clean, subtle borders */
.product-accordion {
  border-top: 1px solid #EEEEEE;
  margin-top: 20px;
}

.product-accordion__item {
  border-bottom: 1px solid #EEEEEE;
}

.product-accordion__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  user-select: none;
}

.product-accordion__header svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
  transition: transform 0.2s;
  color: var(--color-text-muted);
}

.product-accordion__item.open .product-accordion__header svg {
  transform: rotate(180deg);
}

.product-accordion__body {
  display: none;
  padding-bottom: 14px;
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.product-accordion__item.open .product-accordion__body {
  display: block;
}

/* Social share */
.product-share {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  font-size: 12px;
  color: var(--color-text-muted);
}

.product-share__btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid #D4D4D4;
  color: var(--color-text-secondary);
  transition: all 0.15s;
}

.product-share__btn:hover {
  color: var(--color-text-primary);
  border-color: var(--color-text-primary);
}

.product-share__btn svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.5;
}

/* ---------- Social Proof (Viewers) ---------- */
.pdp-viewers {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #555;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: #F9F9F9;
  border-radius: 6px;
}

.pdp-viewers__dot {
  width: 8px;
  height: 8px;
  background: #00A67E;
  border-radius: 50%;
  animation: pulse-dot 1.5s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.pdp-viewers strong { color: #1a1a1a; }

/* ---------- Buy Now Pay Later ---------- */
.pdp-bnpl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
}

.pdp-bnpl strong { color: #1a1a1a; }

/* ---------- Add to Basket + Wishlist Row (About You) ---------- */
.pdp-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  margin-bottom: 36px;
}

.pdp-actions__add {
  flex: 1;
  height: 52px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.pdp-actions__add:hover { background: #333; }
.pdp-actions__add:disabled { background: #d4d4d4; color: #888; cursor: not-allowed; }

.pdp-actions__wish {
  width: 52px;
  height: 52px;
  border: 1.5px solid #d4d4d4;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.15s;
}

.pdp-actions__wish:hover { border-color: #111; }

/* ---------- Sold & Shipped by (About You exact) ---------- */
.pdp-sold-by {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  font-size: 13px;
  color: #444;
  margin-bottom: 0;
  background: #f5f5f5;
  border-radius: 6px;
  margin-top: 10px;
}

.pdp-sold-by__icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.6;
}

.pdp-sold-by strong {
  color: #111;
  font-weight: 700;
}

.pdp-sold-by__info {
  margin-left: auto;
  flex-shrink: 0;
  cursor: pointer;
}

/* ---------- USP List (About You exact) ---------- */
.pdp-usp {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  margin-top: 12px;
  margin-bottom: 20px;
  overflow: hidden;
}

.pdp-usp__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid #ebebeb;
}

.pdp-usp__row--last {
  border-bottom: none;
}

.pdp-usp__content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pdp-usp__icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.pdp-usp__text {
  font-size: 12px;
  font-weight: 400;
  color: #111;
}

.pdp-usp__badge {
  font-size: 12px;
  font-weight: 400;
  padding: 2px 8px;
  border-radius: 20px;
  flex-shrink: 0;
}

.pdp-usp__badge--green {
  color: #fff;
  background: #087554;
  font-weight: 500;
  border-radius: 4px;
  font-size: 11px;
  padding: 3px 10px;
}

.pdp-usp__badge--grey {
  color: #fff;
  background: #7b7b7b;
  font-weight: 400;
  border-radius: 20px;
  font-style: italic;
  font-size: 11px;
  padding: 3px 10px;
}

.pdp-usp__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px 10px;
  font-size: 11px;
  color: #888;
  border-bottom: 1px solid #ebebeb;
}

.pdp-usp__info svg {
  flex-shrink: 0;
  cursor: pointer;
}

/* ---------- Sticky Add to Bag (mobile) ---------- */
.pdp-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  border-top: 1px solid #E5E5E5;
  padding: 6px 10px calc(6px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
}

.pdp-sticky.visible {
  transform: translateY(0);
}

@media (min-width: 1024px) {
  .pdp-sticky { display: none !important; }
}

.pdp-sticky__img {
  width: 42px;
  height: 52px;
  object-fit: contain;
  background: #fff;
  flex-shrink: 0;
}

.pdp-sticky__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex-shrink: 0;
  margin-right: 4px;
}

.pdp-sticky__price {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.15;
  white-space: nowrap;
}

.pdp-sticky__brand {
  font-size: 9px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90px;
}

.pdp-sticky__price-original {
  font-size: 10px;
  color: #b0b0b0;
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 3px;
}

.pdp-sticky__btn {
  flex: 1;
  height: 42px;
  font-size: 12px;
  font-weight: 700;
  background: #d6272e;
  color: #fff;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background 0.2s;
}

.pdp-sticky__btn:hover { background: #b81f25; }

/* ---------- Reviews Section ---------- */
.reviews-section {
  padding: 40px 0;
  border-top: 1px solid #EEEEEE;
}

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reviews-summary__stars { color: #F5A623; font-size: 18px; letter-spacing: 1px; }
.reviews-summary__score { font-size: 16px; font-weight: 700; }
.reviews-summary__count { font-size: 13px; color: #888; }

/* Rating bars */
.reviews-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 360px;
  margin-bottom: 28px;
}

.reviews-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.reviews-bar__label {
  width: 14px;
  text-align: right;
  font-weight: 600;
  color: #555;
}

.reviews-bar__track {
  flex: 1;
  height: 8px;
  background: #F0F0F0;
  border-radius: 4px;
  overflow: hidden;
}

.reviews-bar__fill {
  height: 100%;
  background: #F5A623;
  border-radius: 4px;
  transition: width 0.5s ease;
}

.reviews-bar__count {
  width: 28px;
  font-size: 11px;
  color: #999;
}

/* Review cards */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-card {
  padding: 20px;
  background: #FAFAFA;
  border-radius: 10px;
}

.review-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #E5E5E5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #888;
}

.review-card__name {
  font-size: 13px;
  font-weight: 600;
}

.review-card__verified {
  font-size: 10px;
  color: #00A67E;
  display: flex;
  align-items: center;
  gap: 3px;
}

.review-card__date {
  font-size: 11px;
  color: #999;
}

.review-card__stars {
  color: #F5A623;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.review-card__text {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}

.review-card__size {
  font-size: 11px;
  color: #888;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #EEEEEE;
}

/* ---------- Related / Recently Viewed ---------- */
.product-related {
  padding: 40px 0;
  border-top: 1px solid #EEEEEE;
}

/* ---------- Size Guide (Slide-in Panel) ---------- */
.sg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.sg-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sg-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

/* Panel slides from right */
.sg-panel-slide {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 480px;
  max-width: 100vw;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0,0,0,0.1);
}

.sg-overlay.active .sg-panel-slide {
  transform: translateX(0);
}

/* Header */
.sg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #EEEEEE;
  flex-shrink: 0;
}

.sg-title {
  font-size: 16px;
  font-weight: 700;
}

.sg-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.15s;
}

.sg-close:hover { background: #F5F5F5; }

/* Tabs */
.sg-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #EEEEEE;
  flex-shrink: 0;
  padding: 0 24px;
}

.sg-tab {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #999;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
  margin-bottom: -1px;
  white-space: nowrap;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  font-family: inherit;
}

.sg-tab.active {
  color: #1a1a1a;
  border-bottom-color: #1a1a1a;
}

/* Scrollable body */
.sg-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

/* Unit toggle row */
.sg-unit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.sg-unit-label {
  font-size: 12px;
  color: #888;
}

.sg-unit-toggle {
  display: flex;
  gap: 0;
  border: 1px solid #D9D9D9;
  border-radius: 6px;
  overflow: hidden;
}

.sg-unit-btn {
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  background: #fff;
  color: #888;
  border: none;
  font-family: inherit;
}

.sg-unit-btn.active {
  background: #1a1a1a;
  color: #fff;
}

/* How to measure */
.sg-measure {
  background: #F9F9F9;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
}

.sg-measure-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.sg-measure-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sg-measure-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.sg-measure-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sg-measure-item strong {
  display: block;
  font-size: 12px;
  color: #1a1a1a;
  margin-bottom: 1px;
}

.sg-measure-item span {
  font-size: 11px;
  color: #888;
  line-height: 1.4;
}

/* Panels */
.sg-panel { display: none; }
.sg-panel.active { display: block; }

/* Table */
.sg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 16px;
}

.sg-table th {
  text-align: left;
  padding: 10px 10px;
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  border-bottom: 2px solid #EEEEEE;
  background: #FAFAFA;
}

.sg-table td {
  padding: 10px;
  border-bottom: 1px solid #F0F0F0;
  color: #555;
}

.sg-table td strong {
  color: #1a1a1a;
}

.sg-table tr:hover td {
  background: #F8F8F8;
}

/* Fit tip */
.sg-fit-tip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 14px 16px;
  background: #FFF8E6;
  border-radius: 8px;
  margin-top: 16px;
}

.sg-fit-tip svg { flex-shrink: 0; margin-top: 1px; }

.sg-fit-tip span {
  font-size: 12px;
  color: #5D4E37;
  line-height: 1.5;
}

.sg-fit-tip strong { color: #1a1a1a; }

/* ---------- Toast Notification ---------- */
.toast {
  position: fixed;
  top: calc(var(--header-height) + var(--announcement-height) + 12px);
  right: 16px;
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  z-index: 2000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.16);
  transform: translateX(120%);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast.visible {
  transform: translateX(0);
}

.toast svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

/* ---------- Reviews Button (About You) ---------- */
.reviews-btn-section {
  padding: 0 0 20px;
}

.reviews-btn {
  width: 100%;
  height: 48px;
  border: 1.5px solid #111;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  cursor: pointer;
  transition: background 0.15s;
}

.reviews-btn:hover {
  background: #f5f5f5;
}

.c-reinsurance {
  padding: 18px 16px;
  background: #f5f5f5;
  margin-top: 20px;
}
.c-reinsurance ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1200px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}
.c-reinsurance__col {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 auto;
  min-width: 0;
}
.c-reinsurance__col svg {
  width: 18px;
  height: 18px;
  fill: #1a1a1a;
  flex-shrink: 0;
}
.c-reinsurance__col p {
  margin: 0;
  font-size: 10px;
  line-height: 1.25;
  color: #666;
  font-weight: 500;
  white-space: nowrap;
}
.c-reinsurance__col p br { display: none; }
.c-reinsurance__col--desktop { display: none; }
@media (min-width: 768px) {
  .c-reinsurance { padding: 24px 16px; }
  .c-reinsurance ul { gap: 32px; justify-content: center; }
  .c-reinsurance__col svg { width: 22px; height: 22px; }
  .c-reinsurance__col p { font-size: 12px; }
  .c-reinsurance__col--desktop { display: flex; }
}

.c-certification {
  margin-top: 20px;
}
.c-certification p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
}
.c-certification svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  fill: #1a1a1a;
}

/* ---------- Reviews Slide Panel (About You) ---------- */
.reviews-panel {
  position: fixed;
  inset: 0;
  z-index: 1100;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s;
}

.reviews-panel.active {
  visibility: visible;
  opacity: 1;
}

.reviews-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.reviews-panel__content {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.reviews-panel.active .reviews-panel__content {
  transform: translateX(0);
}

.reviews-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.reviews-panel__header h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.reviews-panel__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
}

.reviews-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.reviews-panel__summary {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #111;
}

.reviews-panel__bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.reviews-panel__note {
  font-size: 12px;
  color: #888;
  line-height: 1.5;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.reviews-panel__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ---------- Product Recommendations (Zalando-style carousels) ---------- */
.pdp-reco {
  padding: 24px 0;
  border-top: 1px solid #eee;
}

.pdp-reco__header {
  padding: 0 16px;
  margin-bottom: 14px;
}

.pdp-reco__title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.pdp-reco__carousel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 16px;
}

.pdp-reco__carousel::-webkit-scrollbar { display: none; }

.pdp-reco__card {
  flex: 0 0 44%;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

@media (min-width: 640px) {
  .pdp-reco__card { flex: 0 0 32%; }
}

@media (min-width: 1024px) {
  .pdp-reco__card { flex: 0 0 22%; }
  .pdp-reco__carousel { gap: 16px; }
  .pdp-reco__header { padding: 0; }
  .pdp-reco__carousel { padding: 0; }
  .pdp-reco { padding: 32px 0; }
}

.pdp-reco__card-img {
  position: relative;
  aspect-ratio: 152 / 220;
  background: #f5f5f5;
  overflow: hidden;
  margin-bottom: 8px;
}

.pdp-reco__img-main,
.pdp-reco__img-hover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s;
}

.pdp-reco__img-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.pdp-reco__card:hover .pdp-reco__img-hover { opacity: 1; }
.pdp-reco__card:hover .pdp-reco__img-main { opacity: 0; }

.pdp-reco__card-info {
  padding: 0 2px;
}

.pdp-reco__card-brand {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdp-reco__card-name {
  display: block;
  font-size: 12px;
  color: #666;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdp-reco__card-price {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
}

.pdp-reco__price {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
}

.pdp-reco__price-old {
  font-size: 11px;
  color: #999;
  text-decoration: line-through;
}

.pdp-reco__discount {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: #E53935;
  padding: 1px 4px;
  border-radius: 2px;
}
