/* Vanityform PDP v0.67 â€” approved mockup structure
   This layer keeps the stable product renderer and restyles/reorders the
   above-the-fold purchase experience to match the approved Vanityform mockup. */
body.store-product-template-beauty[data-page="product"]{
  --vf67-ink:#211817;
  --vf67-muted:#746762;
  --vf67-paper:#fcf9f6;
  --vf67-soft:#f5ece8;
  --vf67-blush:#f0dfe2;
  --vf67-burgundy:#963f5a;
  --vf67-burgundy-dark:#7f304a;
  --vf67-line:rgba(70,45,38,.14);
  --vf67-gold:#bd895e;
}
body.store-product-template-beauty[data-page="product"] .product-page{
  max-width:1540px!important;
  margin-inline:auto!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .product-detail__top{
  display:grid!important;
  grid-template-columns:minmax(0,1.04fr) minmax(460px,.96fr)!important;
  gap:44px!important;
  align-items:start!important;
}
/* ---------- Gallery: contained, not an endless image wall ---------- */
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .product-gallery{
  display:grid!important;
  grid-template-columns:78px minmax(0,1fr)!important;
  grid-template-areas:"thumb main" "activity activity"!important;
  column-gap:14px!important;
  row-gap:12px!important;
  position:relative!important;
  top:auto!important;
  align-self:start!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .main-image{
  grid-area:main!important;
  height:610px!important;
  min-height:0!important;
  aspect-ratio:auto!important;
  border:1px solid var(--vf67-line)!important;
  border-radius:4px!important;
  background:#efe4dc!important;
  overflow:hidden!important;
  box-shadow:none!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .main-image>img{
  width:100%!important;
  height:100%!important;
  max-height:610px!important;
  padding:26px!important;
  object-fit:contain!important;
  object-position:center!important;
  background:linear-gradient(145deg,#f2e8e0 0%,#eadcd3 100%)!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .thumbnail-row{
  grid-area:thumb!important;
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  margin:0!important;
  align-items:stretch!important;
  overflow:visible!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .thumbnail{
  width:78px!important;
  height:90px!important;
  flex:0 0 90px!important;
  padding:0!important;
  border:1px solid var(--vf67-line)!important;
  border-radius:4px!important;
  background:#f2e8e2!important;
  overflow:hidden!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .thumbnail.is-active{
  border:1.5px solid var(--vf67-burgundy)!important;
  box-shadow:none!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .thumbnail img{
  width:100%!important;height:100%!important;object-fit:cover!important;padding:0!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .image-reference-note{display:none!important;}
body.store-product-template-beauty[data-page="product"] .vf67-gallery-activity{
  grid-area:activity!important;
  display:flex;
  align-items:center;
  gap:8px;
  padding:2px 0 0 92px;
  color:#633843;
  font:600 .77rem/1.4 "DM Sans",sans-serif;
}
body.store-product-template-beauty[data-page="product"] .vf67-gallery-activity i{color:#d44c35;font-size:.9rem;}
/* ---------- Right side hierarchy ---------- */
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .product-info{
  padding:4px 0 0!important;
  min-width:0!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .product-social-proof{
  margin:0 0 11px!important;
  gap:7px!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .product-info h1{
  font-family:"Cormorant Garamond",Georgia,serif!important;
  font-size:clamp(3rem,4vw,4.7rem)!important;
  line-height:.9!important;
  letter-spacing:-.035em!important;
  max-width:10.5ch!important;
  margin:0 0 10px!important;
  color:var(--vf67-ink)!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .product-kicker-row--video{
  margin:0 0 10px!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .product-detail-price--video{
  margin:0 0 14px!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .product-detail-price strong,
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .product-detail-price{
  font-size:2rem!important;
  color:var(--vf67-ink)!important;
}
/* approved mockup removes the generic descriptive paragraph under price */
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .product-pilot-promise{display:none!important;}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .rb-video-divider{display:none!important;}
/* countdown promoted to a clean top banner */
body.store-product-template-beauty[data-page="product"] #rollingBallInlineTimerRow.vf67-offer-banner{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  padding:12px 15px!important;
  margin:0 0 18px!important;
  border:0!important;
  border-radius:7px!important;
  background:linear-gradient(90deg,#f3e4e5,#f8ecea)!important;
  color:#82384e!important;
}
body.store-product-template-beauty[data-page="product"] #rollingBallInlineTimerRow.vf67-offer-banner .rb-inline-countdown__label{
  font:700 .72rem/1.2 "DM Sans",sans-serif!important;letter-spacing:.01em!important;
}
body.store-product-template-beauty[data-page="product"] #rollingBallInlineTimerRow.vf67-offer-banner .rb-inline-countdown__time{
  display:flex!important;align-items:center!important;gap:6px!important;
}
body.store-product-template-beauty[data-page="product"] #rollingBallInlineTimerRow.vf67-offer-banner .rb-inline-countdown__time span{
  min-width:50px!important;padding:5px 8px!important;border-radius:6px!important;background:rgba(255,255,255,.42)!important;text-align:center!important;
}
body.store-product-template-beauty[data-page="product"] #rollingBallInlineTimerRow.vf67-offer-banner .rb-inline-countdown__time b{
  display:block!important;font:700 .92rem/1 "DM Sans",sans-serif!important;
}
body.store-product-template-beauty[data-page="product"] #rollingBallInlineTimerRow.vf67-offer-banner .rb-inline-countdown__time small{
  display:block!important;font:600 .48rem/1.1 "DM Sans",sans-serif!important;letter-spacing:.08em!important;margin-top:2px!important;
}
/* benefit icons stay in the structure, but become quiet and beauty-oriented */
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .rb-video-benefits{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px 14px!important;
  margin:14px 0 18px!important;
  padding:0!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .rb-video-benefits li{
  min-height:34px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .rb-video-benefits__emoji{
  width:28px!important;height:28px!important;min-width:28px!important;border-radius:50%!important;
  display:grid!important;place-items:center!important;background:#f2e3e6!important;color:#93425a!important;font-size:.78rem!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .rb-video-benefits li strong{
  font:500 .71rem/1.2 "DM Sans",sans-serif!important;color:#493d39!important;
}
/* ---------- Pack selector ---------- */
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp328-purchase-card,
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp329-purchase-card{
  border:0!important;background:transparent!important;padding:0!important;margin:0!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp328-purchase-card__head{
  border:0!important;background:transparent!important;padding:0 0 9px!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp328-purchase-card__title small{
  display:block!important;color:#756963!important;font:600 .68rem/1 "DM Sans",sans-serif!important;letter-spacing:.08em!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp328-purchase-card__title strong{
  display:none!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp328-purchase-card__secure{display:none!important;}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp327-quantity__cards,
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp329-quantity__cards{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp327-qty-card,
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp329-qty-card{
  position:relative!important;
  min-height:228px!important;
  padding:0!important;
  border:1px solid var(--vf67-line)!important;
  border-radius:7px!important;
  background:#fffdfb!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp327-qty-card.is-selected,
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp329-qty-card.is-selected{
  border:1.5px solid var(--vf67-burgundy)!important;
  background:#fffafa!important;
  box-shadow:none!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp329-qty-card__top{
  min-height:228px!important;
  padding:17px 11px 12px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
  align-items:flex-start!important;
  background:transparent!important;
  cursor:pointer!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp329-qty-card__top>input{
  position:absolute!important;right:11px!important;top:17px!important;width:16px!important;height:16px!important;opacity:1!important;accent-color:var(--vf67-burgundy)!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp327-qty-card__radio{display:none!important;}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp337-qty-card__visual,
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp339-qty-card__visual{
  display:flex!important;
  width:100%!important;
  height:55px!important;
  min-height:55px!important;
  justify-content:center!important;
  align-items:center!important;
  gap:0!important;
  order:2!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp337-qty-card__visual img,
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp339-qty-card__visual img{
  display:block!important;
  width:49px!important;height:49px!important;object-fit:contain!important;padding:0!important;margin:0 -7px 0 0!important;border-radius:50%!important;background:#f7ece8!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp339-qty-card__count{display:none!important;}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp327-qty-card__copy{
  width:100%!important;order:1!important;padding-right:20px!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp327-qty-card__copy strong{
  display:block!important;font:700 .8rem/1.15 "DM Sans",sans-serif!important;color:var(--vf67-ink)!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp327-qty-card__copy small{display:none!important;}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp327-qty-card__price{
  width:100%!important;order:3!important;display:grid!important;grid-template-columns:auto 1fr!important;align-items:baseline!important;gap:5px!important;text-align:left!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp328-qty-card__price-label{display:none!important;}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp327-qty-card__price>strong{
  font:700 1.22rem/1 "DM Sans",sans-serif!important;color:#16803C!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp327-qty-card__price>s{
  color:#887b75!important;font:500 .69rem/1 "DM Sans",sans-serif!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp327-qty-card__price>small[data-pp327-qty-unit]{display:none!important;}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp334-qty-card__saving{
  grid-column:1/-1!important;justify-self:start!important;margin-top:0!important;padding:3px 8px!important;border-radius:999px!important;background:#f4e4e7!important;color:#903d56!important;font:700 .62rem/1 "DM Sans",sans-serif!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp349-qty-card__shipping{
  grid-column:1/-1!important;justify-self:start!important;display:inline-flex!important;align-items:center!important;gap:6px!important;margin-top:2px!important;padding:5px 11px!important;border-radius:999px!important;background:#f4eee7!important;color:#6f5947!important;font:700 .72rem/1 "DM Sans",sans-serif!important;white-space:nowrap!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp349-qty-card__shipping i{
  font-size:.72rem!important;color:#8a6d54!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp334-qty-card__badge{
  position:absolute!important;top:-12px!important;left:50%!important;transform:translateX(-50%)!important;z-index:3!important;white-space:nowrap!important;padding:5px 10px!important;border-radius:4px!important;background:var(--vf67-burgundy)!important;color:#fff!important;font:700 .58rem/1 "DM Sans",sans-serif!important;letter-spacing:.05em!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp327-qty-card[data-pp327-qty-card="3"] .pp334-qty-card__badge{background:#9b7958!important;}
body.store-product-template-beauty[data-page="product"] .vf67-pack-perks{
  order:4!important;width:100%!important;display:grid!important;gap:4px!important;margin-top:2px!important;padding-top:4px!important;border-top:1px solid rgba(80,55,45,.08)!important;
}
body.store-product-template-beauty[data-page="product"] .vf67-pack-perks span{
  display:flex;align-items:flex-start;gap:6px;color:#554945;font:500 .64rem/1.25 "DM Sans",sans-serif!important;
}
body.store-product-template-beauty[data-page="product"] .vf67-pack-perks i{width:12px;margin-top:1px;color:var(--vf67-burgundy);}
body.store-product-template-beauty[data-page="product"] .pp329-qty-card__variants{grid-column:1/-1!important;border-top:1px solid var(--vf67-line)!important;background:#fffaf8!important;}
/* ---------- Quantity + CTA ---------- */
body.store-product-template-beauty[data-page="product"] .vf67-purchase-row{
  display:grid!important;grid-template-columns:145px minmax(0,1fr)!important;gap:12px!important;align-items:stretch!important;margin-top:14px!important;
}
body.store-product-template-beauty[data-page="product"] .vf67-stepper{
  min-height:54px;border:1px solid var(--vf67-line);border-radius:7px;background:#fffdfb;display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;text-align:center;
}
body.store-product-template-beauty[data-page="product"] .vf67-stepper button{
  border:0;background:transparent;color:var(--vf67-ink);font:500 1.3rem/1 "DM Sans",sans-serif;cursor:pointer;height:100%;
}
body.store-product-template-beauty[data-page="product"] .vf67-stepper output{font:600 .95rem/1 "DM Sans",sans-serif;color:var(--vf67-ink);}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .purchase-action-row{display:block!important;margin:0!important;}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .detail-actions{display:block!important;margin:0!important;}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty #buyNow{display:none!important;}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty #addToCart,
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .rb-add-to-cart-secondary{
  width:100%!important;min-height:54px!important;margin:0!important;border:0!important;border-radius:999px!important;background:linear-gradient(90deg,#9b3e5b,#87304c)!important;color:#fff!important;box-shadow:none!important;font:600 .88rem/1 "DM Sans",sans-serif!important;letter-spacing:.03em!important;text-transform:uppercase!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty #addToCart i{margin-right:9px!important;}
body.store-product-template-beauty[data-page="product"] .rb-buy-selection-summary,
body.store-product-template-beauty[data-page="product"] .rb-buy-offer-note{display:none!important;}
/* ---------- Review directly under CTA ---------- */
body.store-product-template-beauty[data-page="product"] .vf67-inline-review{
  display:grid;grid-template-columns:48px minmax(0,1fr);gap:11px;align-items:start;margin:12px 0 12px;padding:0 2px 12px;border-bottom:1px solid var(--vf67-line);
}
body.store-product-template-beauty[data-page="product"] .vf67-inline-review__avatar{
  width:48px;height:48px;border-radius:50%;object-fit:cover;border:1px solid #ead9d6;background:#ead9d6;
}
body.store-product-template-beauty[data-page="product"] .vf67-inline-review__stars{display:flex;gap:1px;color:#c28a55;font-size:.72rem;margin-bottom:4px;}
body.store-product-template-beauty[data-page="product"] .vf67-inline-review blockquote{
  margin:0;color:#4b403c;font-family:"Cormorant Garamond",Georgia,serif;font-size:1.03rem;line-height:1.05;font-style:italic;
}
body.store-product-template-beauty[data-page="product"] .vf67-inline-review__meta{
  display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:5px;color:#7d706a;font:500 .61rem/1.2 "DM Sans",sans-serif;
}
body.store-product-template-beauty[data-page="product"] .vf67-inline-review__meta strong{color:#352b29;font-weight:700;}
body.store-product-template-beauty[data-page="product"] .vf67-inline-review__meta i{color:#2f8d60;}
/* ---------- Trust + payments under review ---------- */
body.store-product-template-beauty[data-page="product"] .vf67-trust-row{
  display:grid;grid-template-columns:repeat(3,1fr);border:1px solid rgba(75,54,46,.08);border-radius:7px;background:#f9f4f1;margin:0 0 10px;overflow:hidden;
}
body.store-product-template-beauty[data-page="product"] .vf67-trust-item{
  display:flex;align-items:center;gap:8px;padding:10px 9px;border-right:1px solid rgba(75,54,46,.08);
}
body.store-product-template-beauty[data-page="product"] .vf67-trust-item:last-child{border-right:0;}
body.store-product-template-beauty[data-page="product"] .vf67-trust-item>i{font-size:1rem;color:#25201f;}
body.store-product-template-beauty[data-page="product"] .vf67-trust-item span{display:grid;gap:1px;}
body.store-product-template-beauty[data-page="product"] .vf67-trust-item strong{font:700 .63rem/1.15 "DM Sans",sans-serif;color:#302826;}
body.store-product-template-beauty[data-page="product"] .vf67-trust-item small{font:500 .51rem/1.2 "DM Sans",sans-serif;color:#766a65;}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .purchase-stock-note,
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .shipping-motivation,
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .purchase-policy-links,
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp327-assurances,
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .product-hero-trust,
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp327-featured-review{display:none!important;}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .rb-payment-methods{
  margin:9px 0 0!important;padding:0!important;border:0!important;background:transparent!important;display:flex!important;align-items:center!important;gap:0!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .rb-payment-methods::before{
  content:"Aceptamos:";margin-right:10px;color:#7b6d67;font:500 .58rem/1 "DM Sans",sans-serif;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .rb-payment-methods__grid{
  display:flex!important;gap:10px!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important;
}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .rb-payment-methods__item{background:transparent!important;border:0!important;padding:0!important;min-height:0!important;}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .rb-payment-methods__item--amex,
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .rb-payment-methods__item--discover{display:none!important;}
body.store-product-template-beauty[data-page="product"] .product-detail--beauty .rb-payment-methods__logo{max-width:46px!important;max-height:23px!important;}
/* lower modules remain intact; this checkpoint only locks the approved first viewport structure */
@media (max-width:1120px){
  body.store-product-template-beauty[data-page="product"] .product-detail--beauty .product-detail__top{grid-template-columns:1fr!important;gap:28px!important;}
  body.store-product-template-beauty[data-page="product"] .product-detail--beauty .product-gallery{max-width:760px;margin-inline:auto;}
  body.store-product-template-beauty[data-page="product"] .product-detail--beauty .main-image{height:min(70vw,600px)!important;}
}
@media (max-width:720px){
  body.store-product-template-beauty[data-page="product"] .product-detail--beauty .product-gallery{grid-template-columns:1fr!important;grid-template-areas:"main" "thumb" "activity"!important;}
  body.store-product-template-beauty[data-page="product"] .product-detail--beauty .main-image{height:82vw!important;max-height:470px!important;}
  body.store-product-template-beauty[data-page="product"] .product-detail--beauty .thumbnail-row{flex-direction:row!important;overflow-x:auto!important;}
  body.store-product-template-beauty[data-page="product"] .product-detail--beauty .thumbnail{width:72px!important;height:72px!important;flex:0 0 72px!important;}
  body.store-product-template-beauty[data-page="product"] .vf67-gallery-activity{padding-left:0!important;}
  body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp327-quantity__cards,
  body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp329-quantity__cards{grid-template-columns:1fr!important;}
  body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp327-qty-card,
  body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp329-qty-card{min-height:0!important;}
  body.store-product-template-beauty[data-page="product"] .product-detail--beauty .pp329-qty-card__top{min-height:0!important;}
  body.store-product-template-beauty[data-page="product"] .vf67-purchase-row{grid-template-columns:112px minmax(0,1fr)!important;}
  body.store-product-template-beauty[data-page="product"] .vf67-trust-row{grid-template-columns:1fr!important;}
  body.store-product-template-beauty[data-page="product"] .vf67-trust-item{border-right:0!important;border-bottom:1px solid rgba(75,54,46,.08)!important;}
  body.store-product-template-beauty[data-page="product"] .vf67-trust-item:last-child{border-bottom:0!important;}
}
