:root{
  --pbg:#fff;
  --pline: rgba(0,0,0,.08);
  --pshadow: 0 18px 55px rgba(0,0,0,.10);
  --soft: #f3f6ff;
  --ink: #0f1222;
  --muted:#6b7280;
  --accent:#6d5efc;
  --radius: 18px;
}

body{ background: var(--pbg); color: var(--ink); }

.pwrap{ padding: 18px 0 40px; }

.crumbs{
  font-size: 13px;
  color: var(--muted);
  display:flex; gap:8px; flex-wrap:wrap;
  margin: 10px 0 14px;
}
.crumbs a{ color: inherit; text-decoration: none; }
.crumbs a:hover{ color: var(--ink); text-decoration: underline; }

.pgrid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  grid-template-areas:
    "gallery info"
    "desc    info";
  gap: 22px;
  align-items:start;
}
.pgallery{ grid-area: gallery; }
.pdescCard{ grid-area: desc; }
.pinfo{ grid-area: info; }

.pgallery{
  border: 1px solid var(--pline);
  border-radius: var(--radius);
  overflow:hidden;
  background: #fff;
  box-shadow: var(--pshadow);
}
.phero{
  background: var(--soft);
  padding: 16px;
  display:grid;
  place-items:center;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}
.phero img{
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  border-radius: 14px;
}
.gallery-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:38px;
  height:38px;
  border:0;
  border-radius:999px;
  background:rgba(15,18,34,.72);
  color:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
  z-index:5;
  box-shadow:0 8px 20px rgba(0,0,0,.18);
  transition:background .15s, transform .15s, opacity .15s;
}
.gallery-nav:hover{
  background:rgba(15,18,34,.92);
  transform:translateY(-50%) scale(1.04);
}
.gallery-nav.prev{ left:18px; }
.gallery-nav.next{ right:18px; }
.gallery-nav[hidden]{ display:none; }

.gallery-zoom{
  position:absolute;
  top:14px;
  right:14px;
  width:36px;
  height:36px;
  border:0;
  border-radius:999px;
  background:rgba(15,18,34,.72);
  color:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
  z-index:5;
}
.gallery-zoom:hover{ background:rgba(15,18,34,.92); }

.hero-video-wrap{
  width:100%;
  max-width:100%;
  aspect-ratio: 16 / 9;
}
.hero-video-wrap iframe,
.hero-video-wrap video{
  width:100%;
  height:100%;
  border:0;
  border-radius:14px;
}

.lightbox{
  position:fixed;
  inset:0;
  background:rgba(10,10,15,.92);
  z-index:3000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.lightbox[hidden]{ display:none; }
.lightbox img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}
.lightbox-close{
  position:absolute;
  top:18px;
  right:18px;
  width:40px;
  height:40px;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:18px;
  cursor:pointer;
}

.gallery-dots{
  position:absolute;
  left:50%;
  bottom:14px;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:6px;
  z-index:5;
}
.gallery-dot{
  width:7px;
  height:7px;
  padding:0;
  border:0;
  border-radius:999px;
  background:rgba(15,18,34,.25);
  cursor:pointer;
  transition:background .15s, width .15s;
}
.gallery-dot:hover{ background:rgba(15,18,34,.45); }
.gallery-dot.active{
  width:18px;
  background:var(--ink);
}

.pinfo{
  border: 1px solid var(--pline);
  border-radius: var(--radius);
  background:#fff;
  box-shadow: var(--pshadow);
  padding: 16px;
  position: sticky;
  top: 92px;
}

.ptitle{
  font-weight: 1000;
  font-size: 22px;
  margin: 0 0 6px;
  letter-spacing: -.3px;
  line-height: 1.15;
  text-transform: uppercase;
}
.pmeta{
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap:wrap;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
}
.pbadge{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(109,94,252,.18);
  background: var(--soft);
  font-weight: 800;
  color: var(--accent);
  font-size: 12px;
}

.pvariantes{ margin: 10px 0; }
.pvariantes .label{
  display:block;
  font-size:13px;
  font-weight:700;
  margin-bottom:6px;
  color: var(--muted);
}
.pvariantes-list{ display:flex; flex-wrap:wrap; gap:8px; }
.variante-pill{
  border:1px solid var(--pline, #e5e7eb);
  background:#fff;
  border-radius:999px;
  padding:8px 14px;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}
.variante-pill.active{
  background: var(--ink, #0f1222);
  color:#fff;
  border-color: var(--ink, #0f1222);
}
.variante-pill.agotada{
  opacity:.5;
  text-decoration:line-through;
  cursor:not-allowed;
}

.pqty-price-note{
  display:inline-block;
  background: var(--soft, #f3f6ff);
  color: var(--accent, #6d5efc);
  font-size:12.5px;
  font-weight:700;
  border-radius:999px;
  padding:4px 12px;
  margin: 2px 0 6px;
}

.pprice{
  display:flex;
  align-items: baseline;
  gap: 10px;
  margin: 10px 0 12px;
  flex-wrap: wrap;
}
.pprice .now{
  font-size: 26px;
  font-weight: 1000;
}
.pprice .was{
  font-size: 14px;
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 700;
}

.pstock{
  margin: 10px 0 12px;
  font-size: 13px;
  color: var(--muted);
}
.pstock strong{ color: var(--ink); }
.pstock.agotado strong{ color:#c0392b; }

.ptrust{
  display:grid;
  gap:8px;
  margin: 10px 0 14px;
  padding: 12px 14px;
  background: var(--soft, #f3f6ff);
  border-radius: 14px;
}
.ptrust-item{
  display:flex;
  align-items:center;
  gap:8px;
  font-size: 13px;
  font-weight: 600;
}
.ptrust-item i{
  color:#fff;
  background: var(--accent);
  width:20px;
  height:20px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:10px;
  flex-shrink:0;
}

.pnotify-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:10px;
  background:#fff;
  border:1px solid var(--pline, #e5e7eb);
  border-radius:999px;
  padding:10px 16px;
  font-weight:700;
  cursor:pointer;
}

.pqty{
  display:flex;
  gap: 10px;
  align-items:center;
  margin: 14px 0 12px;
}
.pqty .label{ font-size: 13px; color: var(--muted); font-weight: 700; }
.qtybox{
  display:flex;
  align-items:center;
  gap: 8px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  padding: 8px;
  background:#fff;
}
.qtybox button{
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0,0,0,.10);
  background:#fff;
  border-radius: 12px;
  font-weight: 1000;
}
.qtybox input{
  width: 48px;
  border: 0;
  outline: 0;
  text-align:center;
  font-weight: 1000;
}

.pcta{
  display:grid;
  gap: 10px;
  margin-top: 12px;
}
.btn-primaryx{
  border: 0;
  background: var(--ink);
  color:#fff;
  border-radius: 14px;
  padding: 14px 14px;
  font-weight: 1000;
  transition: transform .12s, opacity .12s;
}
.btn-primaryx:hover{ transform: translateY(-1px); }

.btn-wax{
  border: 0;
  background: #25D366;
  color:#fff;
  border-radius: 14px;
  padding: 13px 14px;
  font-weight: 1000;
  transition: transform .12s, opacity .12s;
}
.btn-wax:hover{ transform: translateY(-1px); opacity:.95; }

.btn-ghostx{
  border: 1px solid rgba(0,0,0,.10);
  background:#fff;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 1000;
}
.btn-ghostx:hover{ background: rgba(0,0,0,.03); }

.mobile-buybar{ display:none; }

@media (max-width: 768px){
  .mobile-buybar{
    display:flex;
    align-items:center;
    gap:12px;
    position:fixed;
    left:0; right:0; bottom:0;
    z-index:60;
    background:#fff;
    border-top:1px solid var(--pline, #e5e7eb);
    box-shadow: 0 -8px 24px rgba(0,0,0,.08);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-buybar-price{
    font-weight: 1000;
    font-size: 16px;
    white-space: nowrap;
  }
  .mobile-buybar .btn-primaryx{ flex:1; }
  .pwrap{ padding-bottom: 86px; }
}

.pdescCard{
  border: 1px solid var(--pline);
  border-radius: var(--radius);
  background:#fff;
  box-shadow: var(--pshadow);
  padding: 16px;
}
.pdescCard h2{
  font-size: 18px;
  font-weight: 1000;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.pdescCard p{ color: var(--muted); margin: 0 0 12px; }

.pdivider{ height: 1px; background: rgba(0,0,0,.06); margin: 14px 0; }

details.acc{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0,0,0,.02);
}
details.acc + details.acc{ margin-top: 10px; }
details.acc summary{
  list-style: none;
  cursor: pointer;
  padding: 12px 12px;
  font-weight: 1000;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}
details.acc summary i{
  color: var(--accent);
  width:16px;
  text-align:center;
}
.pstock i{ color: var(--accent); }
details.acc summary::-webkit-details-marker{ display:none; }
details.acc summary::after{
  content:"";
  width: 10px; height: 10px;
  border-right: 2px solid rgba(0,0,0,.35);
  border-bottom: 2px solid rgba(0,0,0,.35);
  transform: rotate(45deg);
  margin-left: auto;
  transition: transform .12s ease;
}
details.acc[open] summary::after{ transform: rotate(-135deg); }
.acc-body{
  padding: 0 12px 12px;
  color: var(--muted);
  font-size: 14px;
}
.acc-body ul{ margin: 8px 0 0; color: var(--ink); padding-left: 18px; }
.acc-body li{ margin: 6px 0; }

.quick-icons{
  display:flex;
  align-items:center;
  gap: 8px;
}
.quick-icons .qicon{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  display:grid;
  place-items:center;
  background:#fff;
  transition: transform .12s, background .12s;
}
.quick-icons .qicon:hover{
  background: rgba(0,0,0,.03);
  transform: translateY(-1px);
}

@media (max-width: 992px){
  .pgrid{
    grid-template-columns: 1fr;
    grid-template-areas:
      "gallery"
      "info"
      "desc";
  }
  .pinfo{ position: static; top: auto; }
  .phero{ min-height: 320px; }
}
