﻿body{margin:0}
    .btn{background:#0fa37f;color:white;text-decoration:none;border:none;padding:12px 16px;border-radius:12px;font-weight:bold;cursor:pointer}
    .container{max-width:1200px;margin:auto;padding:30px}
    .product-layout{display:grid;grid-template-columns:1fr 1fr;gap:32px}
    .card{background:white;border-radius:20px;padding:26px;box-shadow:0 8px 22px rgba(0,0,0,.06);margin-bottom:22px}
    .product-img{width:100%;border-radius:18px;background:#eef2f0;object-fit:cover}
    .category{display:inline-block;background:#edf8f4;color:#0b7058;padding:8px 12px;border-radius:999px;font-weight:bold;margin-bottom:12px}
    h1{font-size:36px;margin:0 0 14px}
    .price{font-size:30px;font-weight:900;color:#0fa37f;margin:18px 0 4px}
    .price-previous{color:#757575;text-decoration:line-through;font-weight:800;margin-bottom:6px}
    .price-discount{display:inline-flex;padding:5px 9px;border-radius:8px;background:#ffe8e8;color:#b42318;font-size:13px;font-weight:900;margin-bottom:14px}
    .stock{font-weight:bold;margin-bottom:18px}
    .ok{color:#16a34a}.low{color:#ea580c}.out{color:#dc2626}
    .actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}
    .secondary{background:white;color:#0c2e27;border:1px solid #d8dde3}
    .color-option{border:1px solid #d8dde3;background:white;padding:10px 14px;border-radius:999px;cursor:pointer;font-weight:bold;}

    .color-option.active{background:#0fa37f;color:white;border-color:#0fa37f;}
    .measure-price-card{box-shadow:none;border:1px solid #e5e8ec;margin:18px 0;padding:18px}
    .measure-price-card h3{margin:0 0 10px}
    .measure-price-card select{width:100%;border:1px solid #d8dde3;border-radius:12px;padding:12px;font:inherit;background:white}
    .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
    .info{background:#f8fafc;border:1px solid #e5e8ec;border-radius:14px;padding:16px}
    .info span{display:block;color:#64707d;font-size:13px;margin-bottom:5px}
    .info strong{color:#172227}
    .reviews-card{display:grid;gap:20px}
    .reviews-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;flex-wrap:wrap}
    .reviews-head h2{margin:0 0 6px}
    .reviews-head p{margin:0;color:#64707d}
    .reviews-summary{background:#edf8f4;color:#0b7058;border:1px solid #b7d8cf;border-radius:999px;padding:8px 12px;font-weight:900}
    .reviews-list{display:grid;gap:12px}
    .review-item{border:1px solid #e5e8ec;background:#f8fafc;border-radius:14px;padding:14px}
    .review-item strong{display:block;color:#172227;margin:4px 0}
    .review-item p{margin:0 0 8px;color:#3f4b56}
    .review-item span{color:#64707d;font-size:13px}
    .review-stars{color:#b45309;font-weight:900;letter-spacing:1px}
    .review-empty{margin:0;color:#64707d}
    .review-form{display:grid;gap:10px;border-top:1px solid #e5e8ec;padding-top:18px}
    .review-form h3{margin:0}
    .review-form label{font-weight:900;color:#26313d}
    .review-form select,.review-form textarea{width:100%;border:1px solid #d8dde3;border-radius:12px;padding:12px;font:inherit}
    .review-form textarea{resize:vertical;min-height:110px}
    .review-message{border-radius:12px;padding:12px 14px;font-weight:800;margin:0}
    .review-message.success{background:#ecfdf5;color:#0f766e;border:1px solid #a7f3d0}
    .review-message.warning{background:#fffbeb;color:#b45309;border:1px solid #fde68a}
    .review-form button:disabled{opacity:.65;cursor:not-allowed}
    .toast{position:fixed;top:20px;right:20px;background:#0fa37f;color:white;padding:14px 20px;border-radius:12px;font-weight:bold;box-shadow:0 8px 25px rgba(0,0,0,.2);opacity:0;transform:translateY(-20px);transition:.3s;z-index:9999}
    .toast.show{opacity:1;transform:translateY(0)}
    .ed-product-footer{border-top:1px solid #e5e8ec;background:#f8fafc;margin-top:30px}
    .ed-product-footer-grid{display:grid;grid-template-columns:minmax(220px,1fr) 2fr;gap:24px;align-items:start}
    .ed-product-footer strong{display:block;color:#172227;margin-bottom:8px}
    .ed-product-footer p{margin:0;color:#64707d;line-height:1.55}
    .ed-product-footer nav{display:flex;gap:14px;flex-wrap:wrap;justify-content:flex-end}
    .ed-product-footer a{color:#425161;text-decoration:none;font-weight:700}
    .ed-product-footer a:hover{color:#0b7058}
    @media(max-width:800px){.ed-product-footer-grid{grid-template-columns:1fr}.ed-product-footer nav{justify-content:flex-start}}
    @media(max-width:800px){.product-layout{grid-template-columns:1fr}h1{font-size:28px}}

/* Premium product detail finish */
body{
  background:
    radial-gradient(circle at 12% 0%, rgba(15,163,127,.08), transparent 28%),
    linear-gradient(180deg, #f7faf8 0%, #eef4f2 100%);
}

.container{
  max-width:1280px;
}

.product-layout{
  gap:38px;
  align-items:start;
}

.card{
  border:1px solid rgba(13,63,52,.12);
  border-radius:22px;
  box-shadow:0 24px 58px rgba(15,35,48,.10);
}

.product-img{
  border-radius:20px;
  background:#eef4f2;
  box-shadow:inset 0 0 0 1px rgba(13,63,52,.08);
}

.product-gallery-card{
  position:sticky;
  top:112px;
}

.product-gallery-main{
  overflow:hidden;
  border-radius:20px;
  background:#eef4f2;
}

.product-gallery-main .product-img{
  aspect-ratio:1 / 1;
  height:auto;
  cursor:zoom-in;
}

.product-gallery-thumbs{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-top:14px;
}

.gallery-thumb{
  border:1px solid rgba(13,63,52,.14);
  border-radius:14px;
  overflow:hidden;
  padding:0;
  background:#fff;
  cursor:pointer;
  aspect-ratio:1 / 1;
  box-shadow:0 8px 18px rgba(15,35,48,.05);
}

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

.gallery-thumb.active{
  border-color:#0f705c;
  box-shadow:0 0 0 3px rgba(15,112,92,.12);
}

.gallery-caption{
  display:grid;
  gap:4px;
  margin-top:16px;
  padding:14px;
  border-radius:16px;
  background:#f7fbfa;
  border:1px solid rgba(13,63,52,.1);
}

.gallery-caption strong{
  color:#0c2e27;
}

.gallery-caption span{
  color:#52645e;
  font-size:.9rem;
}

.category{
  background:#e8f8f3;
  color:#0c6f5a;
  text-transform:uppercase;
  letter-spacing:.04em;
  font-size:.82rem;
}

h1{
  color:#0c2e27;
  line-height:1.08;
}

.price{
  color:#0c2e27;
  font-size:34px;
}

.stock{
  padding:12px 14px;
  border-radius:12px;
  background:#f7fbfa;
  border:1px solid #dfe9e5;
}

.btn{
  min-height:52px;
  border-radius:14px;
  padding:0 20px;
}

.actions .btn:first-child,
.btn:not(.secondary){
  background:#0c2e27;
}

.actions .btn:first-child:hover,
.btn:not(.secondary):hover{
  background:#0f705c;
}

.secondary{
  border-color:rgba(13,63,52,.16);
  box-shadow:0 10px 22px rgba(15,35,48,.06);
}

.color-option{
  border-radius:999px;
  min-height:44px;
  box-shadow:0 8px 18px rgba(15,35,48,.04);
  display:inline-flex;
  align-items:center;
  gap:9px;
}

.color-option.active{
  background:#0c2e27;
  border-color:#0c2e27;
}

.color-swatch{
  width:18px;
  height:18px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.16);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);
}

.swatch-negro{background:#111}
.swatch-blanco{background:#fff}
.swatch-oro{background:#c9a646}
.swatch-oro-rosa{background:#d4a2a2}
.swatch-gun{background:#5f686d}
.swatch-cromo{background:linear-gradient(135deg,#f8fafc,#8b969f)}
.swatch-neutral{background:#dfe7e3}

.selector-helper{
  color:#52645e;
  font-size:.92rem;
  margin:10px 0 0;
}

.selector-helper.is-out{
  color:#b42318;
}

#variantSelect{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}

.measure-options{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:14px;
}

.measure-option{
  display:grid;
  gap:4px;
  text-align:left;
  min-height:78px;
  padding:14px;
  border:1px solid rgba(13,63,52,.14);
  border-radius:16px;
  background:#fff;
  color:#0c2e27;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(15,35,48,.05);
}

.measure-option strong,
.measure-option span,
.measure-option em{
  display:block;
}

.measure-option span{
  color:#0f705c;
  font-size:.84rem;
  font-weight:900;
}

.measure-option em{
  color:#52645e;
  font-style:normal;
  font-size:.92rem;
}

.measure-option.active{
  border-color:#0f705c;
  box-shadow:0 0 0 3px rgba(15,112,92,.12);
}

.measure-option.disabled{
  opacity:.55;
  cursor:not-allowed;
}

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

.measure-price-card,
.info,
.review-item{
  border-color:rgba(13,63,52,.12);
  background:#fbfdfc;
}

.measure-price-card select,
.review-form select,
.review-form textarea{
  border-color:rgba(13,63,52,.16);
  border-radius:14px;
}

.info strong,
.reviews-head h2,
.review-form h3{
  color:#0c2e27;
}

.toast{
  background:#0c2e27;
  box-shadow:0 18px 38px rgba(15,35,48,.18);
}

.purchase-confidence{
  display:grid;
  gap:10px;
  margin-top:22px;
  padding-top:20px;
  border-top:1px solid rgba(13,63,52,.12);
}

.purchase-confidence div{
  display:grid;
  grid-template-columns:minmax(120px,.6fr) 1fr;
  gap:12px;
  align-items:start;
  padding:12px 0;
  border-bottom:1px solid rgba(13,63,52,.08);
}

.purchase-confidence div:last-child{
  border-bottom:0;
}

.purchase-confidence span{
  color:#0f705c;
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.purchase-confidence strong{
  color:#21352f;
  font-size:.95rem;
  line-height:1.45;
}

@media(max-width:620px){
  .purchase-confidence div{
    grid-template-columns:1fr;
    gap:4px;
  }
}

.product-editorial-panel{
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:28px;
  align-items:stretch;
  margin:8px 0 22px;
  border:1px solid rgba(13,63,52,.12);
  border-radius:24px;
  background:#fff;
  box-shadow:0 24px 58px rgba(15,35,48,.1);
  overflow:hidden;
}

.product-editorial-image img{
  width:100%;
  height:100%;
  min-height:360px;
  object-fit:cover;
}

.product-editorial-copy{
  padding:34px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.product-editorial-copy h2{
  color:#0c2e27;
  font-size:clamp(1.8rem,3vw,2.8rem);
  line-height:1.08;
  margin:8px 0 14px;
}

.product-editorial-copy p{
  color:#52645e;
  margin:0 0 22px;
}

.measurement-assistant{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:18px;
  align-items:center;
  margin:8px 0 22px;
  border:1px solid rgba(13,63,52,.12);
  border-radius:24px;
  background:#f8fbfa;
  box-shadow:0 18px 42px rgba(15,35,48,.08);
  padding:26px;
}

.measurement-assistant > .btn{
  justify-self:start;
}

.measurement-assistant h2{
  margin:8px 0 10px;
  color:#0c2e27;
  line-height:1.12;
}

.measurement-assistant p{
  margin:0;
  color:#52645e;
}

.measurement-steps{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}

.measurement-steps article{
  min-height:116px;
  border:1px solid rgba(13,63,52,.12);
  border-radius:16px;
  background:#fff;
  padding:14px;
}

.measurement-steps strong{
  display:inline-flex;
  width:28px;
  height:28px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#0c2e27;
  color:#fff;
  margin-bottom:10px;
}

.measurement-steps span{
  display:block;
  color:#385149;
  font-weight:700;
  line-height:1.35;
}

.measure-calculator{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:repeat(3,minmax(120px,1fr)) auto;
  gap:10px;
  align-items:end;
  border:1px solid rgba(13,63,52,.12);
  border-radius:18px;
  background:#fff;
  padding:16px;
}

.measure-calculator label{
  display:grid;
  gap:6px;
  color:#0c2e27;
  font-weight:900;
  font-size:.9rem;
}

.measure-calculator input{
  min-height:42px;
  border:1px solid rgba(13,63,52,.16);
  border-radius:12px;
  padding:0 12px;
  font:inherit;
}

.measure-calculator button{
  min-height:42px;
  border:0;
  border-radius:12px;
  background:#0c2e27;
  color:#fff;
  font-weight:900;
  cursor:pointer;
  padding:0 14px;
}

.measure-result{
  grid-column:1 / -1;
  border-radius:12px;
  background:#f4faf8;
  color:#52645e;
  padding:12px;
  font-weight:800;
  line-height:1.35;
}

.measure-result.is-ok{
  background:#dcfce7;
  color:#166534;
}

.measure-result.is-warn{
  background:#fef3c7;
  color:#92400e;
}

.measure-result.is-risk{
  background:#fee2e2;
  color:#991b1b;
}

.product-check-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.product-check-grid div{
  padding:14px;
  border:1px solid rgba(13,63,52,.1);
  border-radius:16px;
  background:#f7fbfa;
}

.product-check-grid strong,
.product-check-grid span{
  display:block;
}

.product-check-grid strong{
  color:#0c2e27;
  margin-bottom:5px;
}

.product-check-grid span{
  color:#52645e;
  font-size:.92rem;
}

@media(max-width:850px){
  .product-editorial-panel{
    grid-template-columns:1fr;
  }

  .measurement-assistant{
    grid-template-columns:1fr;
  }

  .product-check-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:680px){
  .measurement-steps,
  .measure-calculator{
    grid-template-columns:1fr;
  }
}

.product-decision-panel,
.product-fit-panel,
.related-premium-panel{
  margin:8px 0 22px;
  border:1px solid rgba(13,63,52,.12);
  border-radius:24px;
  background:#fff;
  box-shadow:0 24px 58px rgba(15,35,48,.1);
  padding:30px;
}

.product-fit-panel{
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:24px;
  align-items:center;
  background:linear-gradient(135deg,#ffffff 0%,#f8fbfa 100%);
}

.product-fit-copy h2{
  margin:8px 0 10px;
  color:#0c2e27;
  line-height:1.12;
}

.product-fit-copy p{
  margin:0;
  color:#52645e;
  line-height:1.55;
}

.product-fit-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:18px;
}

.product-fit-badges span{
  border:1px solid rgba(13,63,52,.12);
  border-radius:999px;
  background:#fff;
  color:#0c2e27;
  font-size:.82rem;
  font-weight:900;
  padding:8px 10px;
}

.product-fit-checks{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.product-fit-checks article{
  min-height:132px;
  border:1px solid rgba(13,63,52,.12);
  border-radius:18px;
  background:#fff;
  padding:16px;
}

.product-fit-checks strong,
.product-fit-checks span{
  display:block;
}

.product-fit-checks strong{
  color:#0c2e27;
  margin-bottom:8px;
}

.product-fit-checks span{
  color:#52645e;
  font-size:.92rem;
  line-height:1.45;
}

.product-decision-panel{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:28px;
  align-items:start;
}

.product-decision-panel h2,
.related-premium-panel h2{
  margin:8px 0 0;
  color:#0c2e27;
  line-height:1.12;
}

.decision-grid{
  display:grid;
  gap:12px;
}

.decision-grid details{
  border:1px solid rgba(13,63,52,.12);
  border-radius:16px;
  background:#fbfdfc;
  padding:16px 18px;
}

.decision-grid summary{
  cursor:pointer;
  color:#0c2e27;
  font-weight:900;
}

.decision-grid p{
  color:#52645e;
  margin:10px 0 0;
}

.related-premium-panel{
  display:grid;
  grid-template-columns:.78fr 1.22fr;
  gap:24px;
  align-items:center;
}

.related-copy p{
  color:#52645e;
}

.related-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

.related-card{
  overflow:hidden;
  border:1px solid rgba(13,63,52,.12);
  border-radius:18px;
  background:#fbfdfc;
  color:#0c2e27;
  text-decoration:none;
  box-shadow:0 12px 28px rgba(15,35,48,.06);
}

.related-card img{
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
}

.related-card strong,
.related-card span{
  display:block;
  padding:0 14px;
}

.related-card strong{
  padding-top:14px;
}

.related-card span{
  color:#52645e;
  padding-bottom:14px;
  font-size:.9rem;
}

.product-buy-bar{
  position:sticky;
  bottom:18px;
  z-index:40;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:-4px 0 26px;
  padding:16px;
  border:1px solid rgba(197,164,90,.30);
  border-radius:20px;
  background:rgba(255,255,255,.94);
  box-shadow:0 26px 70px rgba(15,35,48,.16);
  backdrop-filter:blur(18px);
}

.product-buy-bar span,
.product-buy-bar strong{
  display:block;
}

.product-buy-bar span{
  color:#0f705c;
  font-size:.78rem;
  font-weight:900;
  text-transform:uppercase;
}

.product-buy-bar strong{
  color:#0c2e27;
}

.product-buy-bar-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.product-buy-bar-actions [data-product-sticky-price]{
  font-size:1.25rem;
  margin-right:4px;
}

.product-zoom{
  position:fixed;
  inset:0;
  z-index:3000;
  display:none;
  place-items:center;
  padding:32px;
  background:rgba(7,18,15,.82);
  backdrop-filter:blur(10px);
}

.product-zoom.active{
  display:grid;
}

.product-zoom img{
  max-width:min(1080px,94vw);
  max-height:86vh;
  object-fit:contain;
  border-radius:18px;
  box-shadow:0 30px 90px rgba(0,0,0,.34);
}

.product-zoom-close{
  position:absolute;
  top:24px;
  right:24px;
  width:46px;
  height:46px;
  border:1px solid rgba(255,255,255,.26);
  border-radius:50%;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:2rem;
  line-height:1;
  cursor:pointer;
}

@media(max-width:900px){
  .product-gallery-card{
    position:static;
  }

  .product-decision-panel,
  .product-fit-panel,
  .related-premium-panel{
    grid-template-columns:1fr;
  }

  .product-fit-checks,
  .related-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:720px){
  .product-buy-bar{
    align-items:stretch;
    flex-direction:column;
  }

  .product-buy-bar-actions{
    justify-content:stretch;
  }

  .product-buy-bar-actions .btn{
    flex:1 1 140px;
  }
}

@media(max-width:760px){
  .container{
    padding:20px 12px;
  }

  .product-layout{
    gap:18px;
  }

  .card{
    border-radius:18px;
    padding:18px;
  }

  .product-gallery-main,
  .product-gallery-main .product-img{
    border-radius:16px;
  }

  .product-gallery-thumbs{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:8px;
  }

  h1{
    font-size:clamp(1.75rem, 8vw, 2.35rem);
  }

  .price{
    font-size:28px;
  }

  .actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .actions .btn,
  .btn{
    width:100%;
    min-height:50px;
  }

  .measure-price-card{
    padding:16px;
  }

  .color-option{
    width:100%;
    justify-content:center;
  }

  .product-editorial-panel,
  .measurement-assistant,
  .product-decision-panel,
  .product-fit-panel,
  .related-premium-panel{
    border-radius:18px;
    padding:20px;
    box-shadow:0 18px 42px rgba(15,35,48,.08);
  }

  .product-editorial-panel{
    padding:0;
  }

  .product-editorial-copy{
    padding:22px;
  }

  .product-editorial-image img{
    min-height:220px;
  }

  .measurement-steps,
  .measure-calculator,
  .product-fit-checks,
  .related-grid{
    grid-template-columns:1fr;
  }

  .product-buy-bar{
    left:12px;
    right:12px;
    bottom:10px;
    margin:0 0 18px;
    border-radius:16px;
    padding:14px;
  }

  .product-buy-bar-actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .product-buy-bar-actions [data-product-sticky-price]{
    margin:0;
    text-align:left;
  }

  .toast{
    left:12px;
    right:12px;
    top:12px;
    text-align:center;
  }
}

@media(max-width:420px){
  .container{
    padding:16px 10px;
  }

  .card,
  .product-editorial-copy,
  .measurement-assistant,
  .product-decision-panel,
  .product-fit-panel,
  .related-premium-panel{
    padding:16px;
  }

  .product-editorial-panel{
    padding:0;
  }

  .product-gallery-thumbs{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .purchase-confidence strong,
  .product-fit-checks span,
  .decision-grid p{
    font-size:.92rem;
  }
}
