.product-page { background: #fffdf9; }
.product-header { border-bottom: 1px solid var(--line); background: rgba(255,253,249,.96); }
.product-header-inner { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.product-brand { width: 150px; height: 88px; overflow: hidden; }
.product-brand img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.product-header-actions { display: flex; align-items: center; gap: 28px; }
.back-catalog { color: var(--navy); font-size: 13px; font-weight: 700; }
.mini-cart { min-height: 44px; padding: 0 17px; display: flex; align-items: center; gap: 9px; border-radius: 99px; color: #fff; background: var(--navy); font-size: 12px; }
.mini-cart > span { font-size: 17px; }
.product-main { padding-bottom: 90px; }
.breadcrumb { padding: 28px 0; display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.breadcrumb strong { max-width: 280px; overflow: hidden; color: var(--navy); text-overflow: ellipsis; white-space: nowrap; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr); gap: 48px; align-items: start; }
.product-gallery { min-width: 0; display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 14px; }
.product-main-media { position: relative; min-height: 610px; overflow: hidden; display: grid; place-items: center; grid-column: 2; grid-row: 1; border: 1px solid var(--line); border-radius: 26px; background: #f6f0e8; }
.product-main-media img, .product-main-media video { width: 100%; height: 100%; max-height: 680px; object-fit: cover; }
.product-main-media img[src$="sem-foto.svg"] { padding: 0; object-fit: cover; }
.product-main-media.is-placeholder { min-height: 500px; }
.product-main-media video { background: #10141c; }
.product-thumbnails { display: flex; flex-direction: column; gap: 10px; grid-column: 1; grid-row: 1; }
.media-thumbnail { position: relative; width: 86px; aspect-ratio: 1; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 14px; background: #f4eee5; cursor: pointer; }
.media-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.media-thumbnail.active { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,141,39,.12); }
.media-thumbnail .video-mark { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(23,42,73,.35); font-size: 24px; }
.gallery-arrow { position: absolute; z-index: 2; top: 50%; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(23,42,73,.12); border-radius: 50%; color: var(--navy); background: rgba(255,255,255,.92); box-shadow: 0 8px 24px rgba(23,42,73,.14); cursor: pointer; transform: translateY(-50%); }
.gallery-arrow:hover { color: #fff; background: var(--navy); }
.gallery-prev { left: 18px; }
.gallery-next { right: 18px; }
.gallery-counter { position: absolute; z-index: 2; right: 18px; bottom: 18px; padding: 7px 11px; border-radius: 99px; color: #fff; background: rgba(23,42,73,.82); font-size: 11px; font-weight: 700; }
.product-copy { padding-top: 10px; }
.product-detail-category { margin: 0 0 12px; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.product-copy h1 { max-width: 620px; color: var(--navy); font-family: "Playfair Display", serif; font-size: clamp(38px, 3.4vw, 50px); line-height: 1.08; letter-spacing: -.03em; }
.product-detail-description { max-width: 620px; margin: 16px 0 20px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.product-specifications { margin-bottom: 20px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 15px; background: #fffaf1; }
.product-specifications h2 { margin: 0 0 12px; font-family: "DM Sans",sans-serif; font-size: 14px; letter-spacing: 0; }
.product-specifications ul { margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; list-style: none; }
.product-specifications li { min-width: 0; display: grid; gap: 2px; }
.product-specifications small { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.product-specifications strong { overflow-wrap: anywhere; color: var(--ink); font-size: 12px; line-height: 1.35; }
.product-detail-price { padding: 18px 0; border-block: 1px solid var(--line); }
.product-detail-price small, .product-detail-price strong, .product-detail-price span { display: block; }
.product-detail-price small { min-height: 18px; color: var(--muted); font-size: 12px; text-decoration: line-through; }
.product-detail-price strong { margin: 3px 0; color: var(--navy); font-size: 34px; }
.product-detail-price span { color: var(--muted); font-size: 11px; }
.product-tier-prices { margin-top: 18px; padding: 16px 18px; border: 1px solid #ead3a8; border-radius: 14px; background: var(--cream); }
.product-tier-prices strong, .product-tier-prices span { display: block; }
.product-tier-prices strong { color: var(--navy); font-size: 12px; }
.product-tier-prices span { margin-top: 6px; color: var(--muted); font-size: 11px; }
.product-purchase-row { margin-top: 24px; display: flex; gap: 12px; }
.product-purchase-row > .button { flex: 1; }
.product-quantity { width: 132px; padding: 4px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 99px; background: #fff; }
.product-quantity button { width: 38px; height: 38px; border: 0; border-radius: 50%; color: var(--navy); background: var(--cream); cursor: pointer; font-size: 19px; }
.product-quantity span { font-weight: 700; }
.product-whatsapp { width: 100%; margin-top: 11px; border-color: #bde3cc; color: #147a44; background: #effaf3; }
.product-assurances { margin-top: 23px; padding-top: 21px; display: grid; gap: 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.product-assurances span::first-letter { color: var(--gold); }
.related-products { padding-top: 70px; }
.related-products .section-heading > a { color: var(--navy); font-size: 12px; font-weight: 700; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card { min-width: 0; padding: 18px; display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 17px; background: #fff; transition: transform .2s, box-shadow .2s; }
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.related-card > img { width: 84px; height: 84px; object-fit: cover; border-radius: 13px; background: linear-gradient(145deg, var(--related-a), var(--related-b)); }
.related-card > img[src$="sem-foto.svg"] { padding: 0; object-fit: cover; }
.related-card small, .related-card strong, .related-card em { display: block; }
.related-card small { color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.related-card strong { margin: 5px 0 8px; color: var(--navy); font-size: 13px; line-height: 1.35; }
.related-card em { color: var(--ink); font-size: 13px; font-style: normal; font-weight: 700; }
.related-card em.related-unavailable { color: #8b3943; }
.product-footer { padding: 28px 0; color: rgba(255,255,255,.68); background: var(--navy); font-size: 11px; }
.product-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.product-footer p { margin: 0; }
#productToast { z-index: 80; }

@media (max-width: 980px) {
  .product-detail { grid-template-columns: 1fr 1fr; gap: 35px; }
  .product-gallery { grid-template-columns: 70px minmax(0, 1fr); }
  .media-thumbnail { width: 70px; }
  .product-main-media { min-height: 500px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 740px) {
  .product-header-inner { min-height: 86px; }
  .product-brand { width: 120px; height: 74px; }
  .back-catalog { display: none; }
  .product-main { padding-bottom: 65px; }
  .breadcrumb { padding: 20px 0; }
  .product-detail { grid-template-columns: 1fr; gap: 28px; }
  .product-gallery { grid-template-columns: 1fr; }
  .product-main-media { min-height: 0; aspect-ratio: 1; grid-column: 1; grid-row: 1; border-radius: 20px; }
  .product-thumbnails { grid-column: 1; grid-row: 2; flex-direction: row; overflow-x: auto; padding: 2px; }
  .media-thumbnail { flex: 0 0 68px; width: 68px; }
  .product-copy { padding-top: 5px; }
  .product-copy h1 { font-size: 38px; }
  .product-main-media.is-placeholder { min-height: 0; }
  .related-products { padding-top: 55px; }
  .related-products .section-heading > a { margin-top: 5px; }
}

@media (max-width: 460px) {
  .product-header-actions { gap: 8px; }
  .mini-cart { padding-inline: 13px; }
  .product-copy h1 { font-size: 34px; overflow-wrap: anywhere; }
  .product-specifications ul { grid-template-columns: 1fr; }
  .product-purchase-row { flex-direction: column; }
  .product-quantity { width: 100%; min-height: 50px; }
  .related-grid { grid-template-columns: 1fr; }
  .product-footer .container { align-items: flex-start; flex-direction: column; }
}
