/* =========================
   BASE
========================= */
secondary [hidden] {
  display: none !important;
}

.product-page {
  background: #eef0f3;
}

/* =========================
   FONDOS GENERALES
========================= */

.product-section,
.reviews-section {
  position: relative;
  background:
    radial-gradient(circle, rgba(0, 0, 0, 0.04) 1.35px, transparent 1.9px),
    linear-gradient(135deg, #f7f7f8 0%, #f1f2f4 46%, #eceef1 100%);
  background-size:
    22px 22px,
    cover;
}

.product-section::before,
.reviews-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 0 18%, rgba(0, 0, 0, 0.018) 18% 20%, transparent 20% 100%),
    linear-gradient(315deg, transparent 0 10%, rgba(0, 0, 0, 0.014) 10% 12%, transparent 12% 100%);
}

/* =========================
   BLOQUE PRINCIPAL
========================= */

.product-section {
  padding: 14px 0 26px;
}

.product-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.95fr);
  gap: 30px;
  align-items: start;
}

/* =========================
   WHATSAPP SUPERIOR
========================= */

.product-top-wa {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding: 14px 28px 0;
  position: relative;
  z-index: 5;
}

.top-wa-btn {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1f2230, #0f1119);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.16);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.top-wa-btn i {
  color: #25d366;
  font-size: 20px;
}

.top-wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 22px rgba(0, 0, 0, 0.18);
  filter: brightness(1.03);
}

/* =========================
   GALERÍA
========================= */

.product-gallery {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.52));
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 24px;
  padding: 18px 18px 20px;
  box-shadow: 0 16px 34px rgba(15, 20, 30, 0.06);
}

.product-main-image {
  position: relative;
  min-height: 360px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    circle at 50% 42%,
    rgba(255, 255, 255, 0.7),
    rgba(255, 255, 255, 0) 55%
  );
  margin-bottom: 10px;
  overflow: hidden;
}

.product-main-image img {
  width: 100%;
  max-width: 360px;
  max-height: 360px;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.12));
  transition:
    transform 0.18s ease,
    opacity 0.25s ease,
    filter 0.25s ease;
}

.product-arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: #3d3f46;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.product-arrow:hover {
  transform: translateY(-50%) scale(1.05);
  background: #f8f8f8;
  color: #15171d;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.14);
}

.product-arrow-left {
  left: -8px;
}

.product-arrow-right {
  right: -8px;
}

.product-thumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.thumb {
  width: 82px;
  height: 82px;
  border-radius: 12px;
  border: 2px solid transparent;
  background: #fff;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.07);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.thumb.active {
  border-color: var(--red, #c32026);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

/* =========================
   ZOOM
========================= */

.zoom-container {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.zoom-container img {
  transform-origin: center center;
  will-change: transform;
}

/* =========================
   INFORMACIÓN DEL PRODUCTO
========================= */

.product-info-box {
  min-width: 0;
  padding: 22px 24px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 249, 251, 0.94));
  border: 1px solid rgba(20, 24, 34, 0.06);
  border-radius: 24px;
  box-shadow: 0 16px 34px rgba(15, 20, 30, 0.06);
}

.product-title {
  font-size: 25px;
  line-height: 1.2;
  font-weight: 800;
  color: #191b22;
  margin-bottom: 10px;
}

/* =========================
   PRECIO / OFERTA
========================= */

.product-price-box {
  margin-bottom: 14px;
}

.product-offer-badge {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #e11b22, #b81218);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  box-shadow: 0 8px 14px rgba(225, 27, 34, 0.18);
  margin-bottom: 10px;
}

.product-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.product-old-price {
  font-size: 18px;
  font-weight: 700;
  color: #8b8f98;
  text-decoration: line-through;
}

.product-price {
  font-size: 26px;
  font-weight: 900;
  color: #c32026;
  margin: 0;
}

.product-offer-text {
  font-size: 14px;
  font-weight: 800;
  color: #c32026;
  margin-top: 6px;
}

/* =========================
   META / STOCK
========================= */

.product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.stock-status,
.stock-units {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #2b2d33;
  font-weight: 700;
}

.stock-status i,
.stock-units i {
  color: #39a94a;
  font-size: 14px;
}

.stock-status.out-stock {
  color: #b42318;
}

.stock-status.out-stock i {
  color: #b42318;
}

.stock-units.out-stock {
  color: #7b8088;
}

.stock-units.out-stock i {
  color: #7b8088;
}

.product-divider {
  width: 100%;
  height: 1px;
  background: #dcdcdc;
  margin: 10px 0 20px;
}

/* =========================
   OPCIONES
========================= */

.product-option {
  margin-bottom: 16px;
}

.product-option h3 {
  font-size: 18px;
  font-weight: 800;
  color: #1c1e24;
  margin-bottom: 10px;
}

/* =========================
   TALLAS
========================= */

.size-options {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.size-btn {
  min-width: 54px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  background: #f7f7f7;
  color: #23252b;
  font-size: 17px;
  font-weight: 800;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.size-btn:hover {
  background: #efefef;
  transform: translateY(-1px);
}

.size-btn.active {
  background: #171926;
  color: #fff;
  border-color: #171926;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

/* =========================
   COLORES
========================= */

.color-options {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.color-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.color-btn:hover {
  transform: translateY(-1px);
}

.color-btn span {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.color-btn i {
  color: #fff;
  font-size: 13px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.color-btn.active {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.16);
}

.color-btn.active i {
  opacity: 1;
}

.color-black {
  background: #0d0d0f;
}

.color-white {
  background: #ffffff;
}

.color-white i {
  color: #111;
}

.color-blue {
  background: #283a74;
}

.color-red {
  background: #a51d33;
}

.color-gray {
  background: #9ca3af;
}

.color-green {
  background: #1f7a45;
}

.color-generic {
  background: #d1d5db;
}

.color-gray.active,
.color-green.active {
  border-color: rgba(0, 0, 0, 0.22);
}

/* =========================
   MENSAJE DE COMENTARIO
========================= */

.review-form-message {
  margin-top: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.45;
  border: 1px solid transparent;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
}

.review-form-message.is-success {
  background: linear-gradient(180deg, #eefaf1 0%, #e8f7ed 100%);
  border-color: #a7dbb5;
  color: #166534;
}

.review-form-message.is-error {
  background: linear-gradient(180deg, #fff1f1 0%, #ffeaea 100%);
  border-color: #efb4b4;
  color: #8f1d1d;
}

/* =========================
   CANTIDAD
========================= */

.quantity-box {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid #dddddd;
  border-radius: 10px;
  background: #f8f8f8;
}

.quantity-box button {
  width: 46px;
  height: 42px;
  font-size: 24px;
  color: #3a3c42;
  background: transparent;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease;
}

.quantity-box button:hover {
  background: #ededed;
  color: #111827;
}

.quantity-box input {
  width: 54px;
  height: 42px;
  border: none;
  background: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  color: #202229;
  outline: none;
  border-left: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
}

.quantity-box button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.quantity-box.is-disabled {
  opacity: 0.65;
}

.quantity-box.is-disabled button,
.quantity-box.is-disabled input {
  background: #f1f1f1;
}

/* =========================
   ACCIONES DEL PRODUCTO
========================= */

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: stretch;
  margin: 14px 0 18px;
}

.buy-whatsapp-btn {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(180deg, #e11b22, #b81218);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  box-shadow: 0 12px 22px rgba(225, 27, 34, 0.18);
  margin: 0;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.buy-whatsapp-btn i {
  font-size: 16px;
  flex-shrink: 0;
}

.buy-whatsapp-btn span {
  display: inline-block;
  line-height: 1.1;
}

.buy-whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 26px rgba(225, 27, 34, 0.22);
  filter: brightness(1.03);
}

.buy-now-btn {
  background: linear-gradient(180deg, #e11b22, #b81218);
  color: #fff;
}

.buy-now-btn:hover {
  background: linear-gradient(180deg, #171926, #0f1119);
  color: #ffffff;
  box-shadow: 0 16px 26px rgba(15, 20, 30, 0.18);
  filter: none;
}
.buy-now-btn:hover i {
  color: #ffffff;
}
.buy-whatsapp-btn-secondary {
  background: linear-gradient(180deg, #ffffff, #f6f7f9);
  color: #171926;
  border: 1px solid #d9dee7;
  box-shadow: 0 10px 18px rgba(15, 20, 30, 0.08);
}

.buy-whatsapp-btn-secondary i {
  color: #171926;
}

.buy-whatsapp-btn-secondary:hover {
  background: linear-gradient(180deg, #171926, #0f1119);
  color: #ffffff;
  border-color: #171926;
  box-shadow: 0 16px 26px rgba(15, 20, 30, 0.16);
  filter: none;
}

.buy-whatsapp-btn-secondary:hover i {
  color: #ffffff;
}

.buy-whatsapp-btn.disabled,
.buy-whatsapp-btn[aria-disabled="true"],
.buy-whatsapp-btn:disabled {
  background: #cfd4dc;
  color: #6b7280;
  border-color: #cfd4dc;
  pointer-events: none;
  cursor: not-allowed;
  box-shadow: none;
  filter: grayscale(0.1);
  transform: none;
}

.buy-whatsapp-btn.disabled i,
.buy-whatsapp-btn[aria-disabled="true"] i,
.buy-whatsapp-btn:disabled i {
  color: #6b7280;
}

.product-action-message {
  margin-top: -2px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  border: 1px solid transparent;
}

.product-action-message.is-success {
  background: #eefaf1;
  border-color: #b7e2c1;
  color: #166534;
}

.product-action-message.is-error {
  background: #fff1f1;
  border-color: #efb4b4;
  color: #8f1d1d;
}

/* =========================
   DESCRIPCIÓN
========================= */

.product-description-right {
  padding-top: 4px;
}

.product-description-right h3 {
  font-size: 20px;
  font-weight: 900;
  color: #1f2128;
  margin-bottom: 10px;
}

.product-description-right p {
  font-size: 16px;
  line-height: 1.6;
  color: #2c2e35;
  margin-bottom: 10px;
}

.product-features {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #2b2d33;
}

.product-features i {
  color: #35a64c;
  font-size: 17px;
}

/* =========================
   TARJETA BENEFICIOS
========================= */

.product-description-card {
  width: 100%;
  max-width: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 251, 252, 0.92));
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.product-description-card h2 {
  font-size: 22px;
  font-weight: 900;
  color: #1b1d23;
  margin-bottom: 12px;
}

.product-benefits-mini {
  display: grid;
  gap: 12px;
}

.product-benefits-mini p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #1f2127;
}

.product-benefits-mini i {
  width: 22px;
  text-align: center;
  font-size: 17px;
  color: #111319;
}

/* =========================
   ESTADO AGOTADO
========================= */

.product-info-box.is-out .product-title,
.product-info-box.is-out .product-price {
  color: #7b8088;
}

.product-info-box.is-out .product-description-right p,
.product-info-box.is-out .product-features li {
  color: #6f747c;
}

.product-info-box.is-out .product-features i {
  color: #9aa0a8;
}

.product-gallery.is-out #mainProductImage {
  opacity: 0.68;
  filter: grayscale(18%) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.08));
}

.product-gallery.is-out .thumb img {
  opacity: 0.82;
}

.product-info-box.is-out .product-old-price,
.product-info-box.is-out .product-offer-text {
  color: #8c929b;
}

.product-info-box.is-out .product-offer-badge {
  background: linear-gradient(180deg, #8f96a3, #6f7783);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.1);
}

/* =========================
   RESEÑAS
========================= */

.reviews-section {
  padding: 30px 0 34px;
}

.reviews-header {
  text-align: center;
  margin-bottom: 20px;
}

.reviews-header h2 {
  font-size: 32px;
  font-weight: 900;
  color: #171a22;
  margin-bottom: 10px;
}

.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.reviews-score {
  font-size: 30px;
  font-weight: 900;
  color: #151821;
}

.reviews-stars {
  display: flex;
  gap: 4px;
  color: #f4b400;
  font-size: 18px;
}

.reviews-summary p {
  margin: 0;
  font-size: 15px;
  color: #555;
  font-weight: 600;
}

.reviews-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.reviews-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(33.333% - 12px);
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  width: 100%;
  padding: 6px 2px;
}

.reviews-slider::-webkit-scrollbar {
  display: none;
}

.review-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 249, 251, 0.94));
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  min-height: 190px;
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.review-top h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #1a1d24;
}

.review-card-stars {
  display: flex;
  gap: 3px;
  color: #f4b400;
  font-size: 14px;
}

.review-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #2c2f36;
  margin-bottom: 12px;
}

.review-card span {
  font-size: 13px;
  color: #777;
  font-weight: 600;
}

.reviews-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: #2d313a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.reviews-arrow:hover {
  transform: scale(1.05);
  background: #f5f5f5;
}

.review-form-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 249, 251, 0.92));
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.05);
  max-width: 900px;
  margin: 0 auto;
}

.review-form-box h3 {
  font-size: 24px;
  font-weight: 900;
  color: #171a22;
  margin-bottom: 16px;
  text-align: center;
}

.review-form {
  display: grid;
  gap: 14px;
}

.review-form-row {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 14px;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  background: #fff;
  padding: 14px 16px;
  font-size: 15px;
  color: #222;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
  border-color: rgba(225, 27, 34, 0.35);
  box-shadow: 0 0 0 3px rgba(225, 27, 34, 0.08);
}

.review-form textarea {
  resize: vertical;
  min-height: 120px;
}

.review-submit-btn {
  justify-self: center;
  min-width: 220px;
  min-height: 50px;
  border-radius: 999px;
  background: linear-gradient(180deg, #e11b22, #b81218);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  padding: 0 22px;
  box-shadow: 0 12px 20px rgba(225, 27, 34, 0.2);
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.review-submit-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

/* =========================
   RELACIONADOS
========================= */

.related-products-section {
  position: relative;
  padding: 72px 0 40px;
  background: linear-gradient(180deg, rgba(8, 13, 28, 0.98) 0%, rgba(7, 12, 24, 1) 100%);
}

.related-products-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.06), transparent 28%),
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.05), transparent 24%);
}

.related-header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 34px;
}

.related-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.04);
}

.related-header h2 {
  margin: 0 0 10px;
  font-size: 38px;
  line-height: 1.1;
  color: #ffffff;
}

.related-header p {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.6;
}

.related-products-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.related-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
  border-color: rgba(239, 68, 68, 0.18);
}

.related-card.is-offer {
  border-color: rgba(239, 68, 68, 0.22);
}

.related-card.is-out {
  opacity: 0.9;
}

.related-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  box-shadow: 0 10px 22px rgba(239, 68, 68, 0.28);
}

.related-image {
  position: relative;
  display: block;
  aspect-ratio: 1 / 0.82;
  background: #f3f4f6;
  overflow: hidden;
}

.related-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.28s ease;
}

.related-card:hover .related-image img {
  transform: scale(1.03);
}

.related-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 18px 16px;
  color: #111827;
  background: #ffffff;
}

.related-info h3 {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
  color: #0f172a;
}

.related-price-wrap {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.related-old-price {
  font-size: 18px;
  font-weight: 700;
  color: #9ca3af;
  text-decoration: line-through;
}

.related-price {
  margin: 0;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
  color: #111827;
}

.related-card.is-offer .related-price {
  color: #d11a1a;
}

.related-offer-text {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
  color: #d11a1a;
}

.related-stock {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 800;
}

.related-stock.in-stock {
  color: #059669;
}

.related-stock.out-stock {
  color: #dc2626;
}

.related-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  padding: 0 18px;
  border-radius: 14px;
  border: 2px solid #9ca3af;
  background: transparent;
  color: #0f172a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.02em;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.18s ease;
}

.related-btn:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  transform: translateY(-1px);
}

.related-btn.is-disabled,
.related-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
  background: transparent;
  color: #475569;
}

/* =========================
   FOCUS VISIBLE
========================= */

.top-wa-btn:focus-visible,
.product-arrow:focus-visible,
.thumb:focus-visible,
.size-btn:focus-visible,
.color-btn:focus-visible,
.quantity-box button:focus-visible,
.buy-whatsapp-btn:focus-visible,
.reviews-arrow:focus-visible,
.review-form input:focus-visible,
.review-form select:focus-visible,
.review-form textarea:focus-visible,
.review-submit-btn:focus-visible,
.related-btn:focus-visible,
.related-image:focus-visible {
  outline: 3px solid rgba(195, 32, 38, 0.4);
  outline-offset: 3px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {
  .product-layout {
    grid-template-columns: 1fr 0.95fr;
    gap: 24px;
  }

  .related-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .reviews-slider {
    grid-auto-columns: calc(50% - 10px);
  }
}

@media (max-width: 992px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-gallery,
  .product-info-box {
    width: 100%;
  }

  .product-main-image {
    min-height: 300px;
  }

  .product-main-image img {
    max-width: 320px;
    max-height: 320px;
  }

  .product-description-card {
    max-width: 100%;
  }

  .product-arrow-left {
    left: 0;
  }

  .product-arrow-right {
    right: 0;
  }

  .related-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .product-section,
  .reviews-section {
    background-size:
      18px 18px,
      cover;
  }

  .product-top-wa {
    padding: 10px 16px 0;
  }

  .top-wa-btn {
    min-height: 46px;
    padding: 0 16px;
    font-size: 14px;
  }

  .top-wa-btn i {
    font-size: 18px;
  }

  .product-section {
    padding: 12px 0 18px;
  }

  .product-layout {
    gap: 20px;
  }

  .product-gallery {
    padding: 16px;
    border-radius: 20px;
  }

  .product-info-box {
    padding: 20px 18px;
    border-radius: 20px;
  }

  .product-main-image {
    min-height: 260px;
  }

  .product-main-image img {
    max-width: 270px;
    max-height: 270px;
  }

  .product-arrow {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .product-thumbs {
    gap: 10px;
    margin-bottom: 14px;
  }

  .thumb {
    width: 68px;
    height: 68px;
  }

  .product-title {
    font-size: 22px;
  }

  .product-price {
    font-size: 24px;
  }

  .stock-status,
  .stock-units {
    font-size: 14px;
  }

  .product-option h3,
  .product-description-right h3,
  .product-description-card h2 {
    font-size: 18px;
  }

  .product-description-right p,
  .product-features li,
  .product-benefits-mini p {
    font-size: 15px;
  }

  .size-btn {
    min-width: 50px;
    height: 40px;
    font-size: 15px;
  }

  .color-btn {
    width: 40px;
    height: 40px;
  }

  .quantity-box button {
    width: 42px;
    height: 40px;
    font-size: 20px;
  }

  .quantity-box input {
    width: 48px;
    height: 40px;
    font-size: 16px;
  }

  .product-actions {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .buy-whatsapp-btn {
    min-height: 52px;
    font-size: 14px;
    border-radius: 14px;
    padding: 0 16px;
  }

  .buy-whatsapp-btn i {
    font-size: 15px;
  }

  .reviews-header h2 {
    font-size: 24px;
  }

  .reviews-score {
    font-size: 24px;
  }

  .reviews-slider {
    grid-auto-columns: 100%;
  }

  .reviews-arrow {
    display: none;
  }

  .review-form-row {
    grid-template-columns: 1fr;
  }

  .review-form-box {
    padding: 18px;
  }

  .review-form-box h3 {
    font-size: 22px;
  }

  .product-offer-badge {
    min-height: 28px;
    padding: 0 10px;
    font-size: 11px;
  }

  .product-old-price {
    font-size: 16px;
  }

  .product-offer-text {
    font-size: 13px;
  }

  .zoom-container {
    cursor: default;
  }
}

@media (max-width: 576px) {
  .product-main-image {
    min-height: 220px;
  }

  .product-main-image img {
    max-width: 230px;
    max-height: 230px;
  }

  .product-arrow {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .product-thumbs {
    gap: 8px;
  }

  .thumb {
    width: 58px;
    height: 58px;
  }

  .product-title {
    font-size: 20px;
  }

  .product-price {
    font-size: 22px;
  }

  .product-meta {
    gap: 8px;
  }

  .stock-status,
  .stock-units {
    font-size: 13px;
  }

  .product-description-card,
  .review-form-box {
    padding: 16px 14px;
    border-radius: 16px;
  }

  .review-card {
    padding: 16px;
    min-height: auto;
  }

  .review-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-top h3 {
    font-size: 16px;
  }

  .review-card p,
  .review-card span {
    font-size: 14px;
  }

  .related-products-grid {
    grid-template-columns: 1fr;
  }

  .related-header h2 {
    font-size: 20px;
  }

  .related-image {
    min-height: 180px;
  }

  .related-image img {
    height: 180px;
  }

  .product-price-wrap {
    gap: 8px;
  }

  .product-old-price {
    font-size: 15px;
  }

  .product-price {
    font-size: 22px;
  }

  .product-offer-text {
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .product-top-wa {
    justify-content: center;
  }

  .top-wa-btn {
    width: 100%;
    max-width: 260px;
  }

  .product-main-image {
    min-height: 200px;
  }

  .product-main-image img {
    max-width: 200px;
    max-height: 200px;
  }

  .product-option {
    margin-bottom: 14px;
  }

  .size-options,
  .color-options {
    gap: 8px;
  }

  .buy-whatsapp-btn {
    font-size: 13px;
    min-height: 48px;
    padding: 0 14px;
  }

  .buy-whatsapp-btn i {
    font-size: 14px;
  }

  .review-submit-btn {
    min-width: 100%;
  }
}
