/* =========================================================
   TikTok Shop – style lander
   Shared styles for index.html (product) + checkout.html
   ========================================================= */

:root{
  --ink:#161823;          /* near-black text */
  --ink-2:#5a5b61;        /* secondary text */
  --ink-3:#8a8b91;        /* muted / placeholder */
  --line:#ededed;         /* hairline */
  --gap:#f4f4f5;          /* thick section divider */
  --bg:#ffffff;
  --red:#d81e2c;          /* TikTok red – Buy now */
  --red-soft:#fca5b8;     /* pale pink – Place order */
  --gray-btn:#f1f1f2;     /* add to cart */
  --gold:#ffb800;         /* stars */
  --link:#1e50c9;         /* blue links */
  --teal:#10b0a3;         /* "free" */
  --green:#1ba672;        /* secure text */
  --pink-1:#ff5fa2;
  --pink-2:#ffb24d;
  --radius:12px;
  --maxw:480px;
  --pad:16px;
}

*{box-sizing:border-box;-webkit-tap-highlight-color:transparent;}
html,body{margin:0;padding:0;}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  color:var(--ink);
  background:#e9e9ec;
  font-size:15px;
  line-height:1.4;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none;}
img{display:block;max-width:100%;}
button{font-family:inherit;cursor:pointer;border:none;background:none;}
input,textarea,select{font-family:inherit;}

/* ---- phone shell ---- */
.phone{
  position:relative;
  width:100%;
  max-width:var(--maxw);
  margin:0 auto;
  min-height:100vh;
  min-height:100dvh;
  background:var(--bg);
  box-shadow:0 0 40px rgba(0,0,0,.08);
}

/* ---- fake OS status bar ---- */
.statusbar{
  display:flex;align-items:center;justify-content:space-between;
  height:36px;padding:0 16px;font-size:13px;font-weight:600;color:#000;
  background:#fff;
}
.statusbar .sb-left{display:flex;align-items:center;gap:8px;}
.statusbar .rec{
  display:inline-flex;align-items:center;gap:5px;
  background:#26c6da;color:#fff;font-size:11px;font-weight:700;
  padding:2px 8px;border-radius:20px;
}
.statusbar .rec::before{content:"";width:7px;height:7px;border-radius:50%;background:#fff;}
.statusbar .time{font-weight:600;}
.statusbar .sb-right{display:flex;align-items:center;gap:6px;}
.statusbar .vpn{border:1px solid #000;border-radius:3px;font-size:9px;padding:0 3px;line-height:13px;font-weight:700;}
.statusbar .bars{font-size:11px;letter-spacing:-1px;}
.batt{display:inline-flex;align-items:center;gap:2px;font-size:11px;}
.batt .cell{width:20px;height:11px;border:1px solid #000;border-radius:3px;position:relative;padding:1px;}
.batt .cell::after{content:"";position:absolute;right:-3px;top:3px;width:2px;height:5px;background:#000;border-radius:0 1px 1px 0;}
.batt .fill{height:100%;width:96%;background:#000;border-radius:1px;}

/* ---- app header ---- */
.app-header{
  position:sticky;top:0;z-index:30;background:#fff;
  display:flex;align-items:center;gap:12px;
  padding:8px var(--pad);
}
.app-header .icon-btn{width:36px;height:36px;flex:0 0 auto;display:flex;align-items:center;justify-content:center;padding:0;border:0;background:none;color:var(--ink);-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;box-sizing:border-box;}
.app-header .icon-btn svg{width:26px;height:26px;display:block;flex:0 0 auto;}
.shop-chip{display:flex;align-items:center;gap:8px;flex:1;min-width:0;}
.shop-avatar{
  width:30px;height:30px;border-radius:50%;flex:0 0 auto;
  background:linear-gradient(160deg,#ff5fa2,#ffd24d);
  display:grid;place-items:center;color:#fff;font-weight:800;font-size:10px;
  border:1px solid #f0f0f0;overflow:hidden;
}
.shop-chip .name{font-weight:700;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.app-header .right{display:flex;align-items:center;gap:6px;margin-left:auto;}
.cart-ico{position:relative;}
.cart-ico .badge{
  position:absolute;top:-2px;right:-2px;min-width:16px;height:16px;padding:0 4px;
  background:var(--red);color:#fff;border-radius:9px;font-size:10px;font-weight:700;
  display:grid;place-items:center;border:1.5px solid #fff;
}

/* centered title header (checkout) */
.app-header.center{justify-content:center;position:relative;display:block;text-align:center;padding-top:10px;}
.app-header.center .back{position:absolute;left:10px;top:6px;}
.app-header.center .ttl{font-size:18px;font-weight:700;}
.app-header.center .secure{
  display:flex;align-items:center;justify-content:center;gap:5px;
  color:var(--green);font-size:12.5px;font-weight:500;margin-top:3px;
}
.app-header.center .secure svg{width:14px;height:14px;}

/* ---- generic section divider ---- */
.divider{height:8px;background:var(--gap);}
.hr{height:1px;background:var(--line);margin:0 var(--pad);}

/* ---- image gallery ---- */
.gallery{position:relative;background:#fff;}
.slides{
  display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;
}
.slides::-webkit-scrollbar{display:none;}
.slide{flex:0 0 100%;scroll-snap-align:center;aspect-ratio:1/1;position:relative;}
.slide img{width:100%;height:100%;object-fit:cover;}
.dots{
  position:absolute;bottom:12px;left:0;right:0;display:flex;justify-content:center;gap:6px;
}
.dots i{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.7);box-shadow:0 0 2px rgba(0,0,0,.25);transition:.25s;cursor:pointer;}
.dots i.on{background:var(--red);width:16px;border-radius:3px;box-shadow:0 0 4px rgba(254,44,85,.5);}

/* image counter pill (top-right of gallery) */
.gcount{
  position:absolute;top:12px;right:12px;z-index:2;
  background:rgba(0,0,0,.45);color:#fff;font-size:12px;font-weight:600;
  padding:3px 9px;border-radius:20px;line-height:1.2;letter-spacing:.3px;
}
/* prev / next arrows – shown on devices with a real pointer (desktop) */
.gnav{
  position:absolute;top:50%;transform:translateY(-50%);z-index:2;
  width:34px;height:34px;border-radius:50%;border:0;
  background:rgba(0,0,0,.32);color:#fff;display:none;place-items:center;cursor:pointer;
  transition:background .2s;
}
.gnav:hover{background:rgba(0,0,0,.52);}
.gnav svg{width:20px;height:20px;}
.gnav.prev{left:10px;}
.gnav.next{right:10px;}
@media (pointer:fine){ .gnav{display:grid;} }

/* low-stock urgency bar */
.stock-urgency{margin-top:14px;}
.stock-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px;}
.stock-label{font-size:13px;font-weight:700;color:var(--red);}
.stock-hint{font-size:12px;font-weight:600;color:var(--ink-3);}
.stock-track{height:7px;border-radius:6px;background:#f0f0f2;overflow:hidden;}
.stock-fill{
  display:block;height:100%;width:19%;border-radius:6px;
  background:linear-gradient(90deg,#ff8a00,var(--red));
  transition:width .8s cubic-bezier(.4,0,.2,1);
}

/* image placeholder (shows if real photo missing) */
.img-ph{
  width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:10px;text-align:center;padding:24px;
  background:linear-gradient(160deg,#ffe1ee 0%,#ffd9b0 100%);color:#c23a6b;
}
.img-ph .pp{
  width:120px;height:150px;border-radius:18px;
  background:linear-gradient(170deg,#ff79b0,#ffcf5e);
  box-shadow:0 10px 24px rgba(255,90,150,.35);
}
.img-ph .lbl{font-weight:700;font-size:13px;line-height:1.3;letter-spacing:.2px;}
.img-ph .sub{font-size:11px;color:#b06a8a;font-weight:500;}

/* ---- flash sale banner ---- */
.flash-sale{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:13px var(--pad);color:#fff;
  background:linear-gradient(100deg,#f9a04b 0%,#ef7a3d 55%,#e8682f 100%);
}
.fs-left{display:flex;align-items:center;gap:11px;min-width:0;}
.fs-badge{
  background:rgba(255,255,255,.26);color:#fff;font-weight:800;font-size:14px;
  padding:4px 10px;border-radius:20px;flex:0 0 auto;
}
.fs-price{line-height:1.05;}
.fs-now{display:flex;align-items:center;gap:7px;font-size:27px;font-weight:800;letter-spacing:-.5px;}
.fs-cur{font-size:18px;font-weight:800;}
.fs-now .fs-code{font-size:14px;font-weight:800;letter-spacing:0;}
.fs-tag{width:19px;height:19px;opacity:.9;}
.fs-was{font-size:14px;font-weight:600;text-decoration:line-through;color:rgba(255,255,255,.82);margin-top:2px;}
.fs-right{text-align:right;flex:0 0 auto;}
.fs-flash{display:flex;align-items:center;justify-content:flex-end;gap:5px;font-weight:800;font-size:15px;}
.fs-flash svg{width:16px;height:16px;}
.fs-ends{font-size:13px;font-weight:600;margin-top:3px;color:rgba(255,255,255,.95);}
.fs-ends b{font-weight:800;font-variant-numeric:tabular-nums;}

/* ---- product info ---- */
.section{padding:14px var(--pad);background:#fff;}
.title-row{display:flex;gap:10px;align-items:flex-start;}
.p-title{font-size:16px;font-weight:600;line-height:1.35;margin:0;flex:1;}
.title-actions{display:flex;gap:10px;padding-top:2px;color:var(--ink);}
.act-btn{background:none;border:0;padding:2px;cursor:pointer;color:inherit;display:grid;place-items:center;-webkit-tap-highlight-color:transparent;transition:transform .15s;}
.act-btn:active{transform:scale(.85);}
.act-btn svg{width:22px;height:22px;display:block;}
.act-btn.on{color:var(--red);}
.act-btn.save-btn.on svg{fill:var(--red);}
.wins{
  display:inline-block;vertical-align:middle;margin-right:6px;
  background:#ffe39a;color:#a85f00;font-size:12px;font-weight:800;
  padding:1px 7px;border-radius:5px;
}
.price-row{display:flex;align-items:baseline;gap:8px;margin-top:12px;}
.price{font-size:26px;font-weight:800;letter-spacing:-.5px;}
.price .cur{font-size:18px;font-weight:800;margin-right:4px;}
.price .cur-code{font-size:13px;font-weight:700;color:var(--ink-3);margin-left:5px;}
.price-was{color:var(--ink-3);text-decoration:line-through;font-size:16px;font-weight:500;}
.rating{display:flex;align-items:center;gap:7px;margin-top:10px;font-size:14px;}
.rating .score{font-weight:800;font-size:16px;}
.rating .star{color:var(--gold);}
.rating .sep{color:#d9d9dd;}
.rating .muted{color:var(--ink-2);}

/* ---- "why so low" price explainer ---- */
.price-why{
  margin-top:14px;padding:12px 14px;border-radius:12px;
  border:1px solid #ffe0bf;background:#fff8f0;
}
.pw-title{font-weight:700;font-size:14px;margin-bottom:5px;color:var(--ink);}
.price-why p{margin:0;font-size:13px;line-height:1.5;color:var(--ink-2);}
.price-why b{color:var(--ink);font-weight:700;}

/* ---- block heading rows ---- */
.block-title{font-size:17px;font-weight:700;margin:0 0 10px;}
.row{
  display:flex;align-items:center;gap:10px;padding:9px 0;
}
.row .grow{flex:1;min-width:0;}
.row .chev{color:#c4c4c8;flex:0 0 auto;}
.row .chev svg{width:18px;height:18px;}
.lead{font-weight:600;}
.muted{color:var(--ink-2);}
.muted-2{color:var(--ink-3);}
.teal{color:var(--teal);font-weight:600;}
.link{color:var(--link);font-weight:600;}
.delivery{font-size:15px;font-weight:600;}

/* ---- reviews ---- */
.rev-head{display:flex;align-items:baseline;gap:8px;margin-bottom:6px;}
.rev-head .big{font-size:22px;font-weight:800;}
.rev-card{padding:14px 0;border-top:1px solid var(--line);}
.rev-top{display:flex;align-items:center;gap:9px;}
.rev-av{width:34px;height:34px;border-radius:50%;object-fit:cover;background:#bbb;flex:0 0 auto;
  display:grid;place-items:center;color:#fff;font-weight:700;font-size:12.5px;letter-spacing:.3px;}
img.rev-av{display:block;}
.rev-id{flex:1;min-width:0;}
.rev-id .nm{font-weight:600;font-size:14px;display:flex;align-items:center;gap:4px;}
.rev-id .src{font-size:12px;color:var(--ink-3);}
.stars{color:var(--gold);font-size:13px;letter-spacing:1px;white-space:nowrap;}
.rev-body{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-top:9px;}
.rev-body p{margin:0;font-size:14px;color:#2b2c30;width:100%;
  display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;}
.rev-thumb{width:320px;max-width:92%;height:290px;border-radius:12px;object-fit:cover;background:#f3d9e6;}
.rev-meta{display:flex;justify-content:space-between;margin-top:8px;font-size:12px;color:var(--ink-3);}
.rev-card.rev-hidden{display:none;}
.view-all{display:flex;align-items:center;justify-content:space-between;width:100%;padding:14px 0 2px;font:inherit;font-weight:600;color:inherit;background:none;border:0;cursor:pointer;text-align:left;}
.view-all .chev{color:#c4c4c8;transition:transform .2s;}
.view-all:active .chev{transform:translateX(2px);}
.view-all.loading{justify-content:center;gap:9px;color:var(--ink-2);cursor:default;}
.rev-spinner{
  width:16px;height:16px;border-radius:50%;
  border:2px solid #e6e6e9;border-top-color:var(--red);
  animation:rev-spin .6s linear infinite;flex:0 0 auto;
}
@keyframes rev-spin{to{transform:rotate(360deg);}}

/* ---- about shop ---- */
.shop-card{display:flex;align-items:center;gap:12px;}
.shop-card .big-av{
  width:48px;height:48px;border-radius:50%;flex:0 0 auto;
  background:linear-gradient(160deg,#ff5fa2,#ffd24d);
  display:grid;place-items:center;color:#fff;font-weight:800;font-size:11px;overflow:hidden;
}
.shop-card .nm{font-weight:700;font-size:16px;}
.shop-card .sub{font-size:13px;color:var(--ink-2);margin-top:2px;}
.shop-card .score{margin-left:auto;font-weight:800;display:flex;align-items:center;gap:3px;}
.shop-card .score .star{color:var(--gold);}
.two-btn{display:flex;gap:12px;margin-top:14px;}
.two-btn button{flex:1;background:var(--gray-btn);border-radius:8px;padding:11px;font-weight:600;font-size:14px;color:var(--ink);}

/* ---- details table ---- */
.details{display:grid;grid-template-columns:118px 1fr;row-gap:14px;column-gap:10px;margin-top:4px;}
.details dt{color:var(--ink-3);font-size:14px;}
.details dd{margin:0;font-size:14px;font-weight:500;}
.see-more{color:var(--link);font-weight:600;margin-top:14px;display:inline-block;font-size:14px;}

/* ---- description imagery ---- */
.desc-img{margin-top:6px;border-radius:10px;overflow:hidden;}
.desc-txt{margin:18px 0 4px;}
.desc-txt-h{font-size:15.5px;font-weight:800;color:#161823;margin:0 0 5px;letter-spacing:-.2px;}
.desc-txt p{margin:0;font-size:14px;line-height:1.65;color:#5a5b61;}
.desc-txt + .desc-img{margin-top:12px;}
.hl-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.hl-card{display:flex;flex-direction:column;gap:8px;border:1px solid var(--line);background:#fafafa;border-radius:14px;padding:12px;}
.hl-ico{display:inline-flex;width:32px;height:32px;align-items:center;justify-content:center;border-radius:9px;background:#fff0f3;color:#fe2c55;}
.hl-ico svg{width:16px;height:16px;}
.hl-t{font-size:14px;font-weight:700;color:#161823;line-height:1.2;}
.hl-d{margin-top:4px;font-size:12px;line-height:1.35;color:#5a5b61;}
.story-sec{border-top:1px solid var(--line);}
.story-eyebrow{display:inline-block;border-radius:999px;background:#fff0f3;color:#fe2c55;padding:4px 10px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;}
.story-title{margin:12px 0 0;font-size:18px;font-weight:800;color:#161823;line-height:1.3;}
.story-text{margin:8px 0 0;font-size:14px;line-height:1.6;color:#5a5b61;}
.story-img{margin-top:14px;width:100%;border-radius:12px;border:1px solid var(--line);object-fit:cover;display:block;}
.story-bullets{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-direction:column;gap:12px;}
.story-bullets li{display:flex;align-items:flex-start;gap:11px;}
.story-bchk{flex:0 0 auto;display:inline-flex;width:20px;height:20px;align-items:center;justify-content:center;border-radius:50%;background:#fff0f3;color:#fe2c55;margin-top:1px;}
.story-bchk svg{width:12px;height:12px;}
.story-bt{display:block;font-size:14px;font-weight:600;color:#161823;line-height:1.3;}
.story-bd{display:block;font-size:12px;color:#5a5b61;line-height:1.35;margin-top:1px;}
.story-specs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0 0;}
.story-spec{border:1px solid var(--line);background:#fafafa;border-radius:12px;padding:9px 12px;}
.story-spec dt{font-size:11px;text-transform:uppercase;letter-spacing:.03em;color:#5a5b61;}
.story-spec dd{margin:2px 0 0;font-size:14px;font-weight:700;color:#161823;line-height:1.3;word-break:break-word;}
.desc-banner-sec{padding:0;}
.desc-banner{width:100%;display:block;}
.desc-hero{
  position:relative;border-radius:12px;overflow:hidden;
  background:linear-gradient(165deg,#ffe3f0,#ffe9c9);padding:22px 18px;
  display:flex;gap:16px;align-items:center;
}
.trust-col{display:flex;flex-direction:column;gap:14px;flex:0 0 auto;}
.trust{
  width:78px;height:78px;border-radius:50%;
  background:radial-gradient(circle at 50% 35%,#ffd1e6,#ff9ec5);
  color:#a6336f;display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;font-size:9px;font-weight:800;line-height:1.15;gap:3px;
  box-shadow:0 6px 14px rgba(255,120,170,.3);padding:6px;
}
.trust b{font-size:15px;}
.desc-hero .bottle{
  flex:1;aspect-ratio:3/4;border-radius:16px;position:relative;
  background:linear-gradient(170deg,#ff79b0 0%,#ffcf5e 100%);
  box-shadow:0 14px 30px rgba(255,90,150,.35);
  display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;padding:16px;text-align:center;
}
.desc-hero .bottle .brand{background:#ffd24d;color:#7a4b00;font-weight:800;font-size:12px;padding:2px 12px;border-radius:20px;}
.desc-hero .bottle h4{margin:10px 0 8px;font-size:16px;font-weight:800;}
.desc-hero .bottle ul{margin:0;padding:0;list-style:none;font-size:11px;line-height:1.7;opacity:.95;}
.desc-hero .tag{
  position:absolute;top:-6px;right:-6px;background:#e84c8a;color:#fff;font-size:10px;font-weight:800;
  padding:6px 10px;border-radius:8px;transform:rotate(6deg);
}
.feat-banner{
  margin-top:14px;border-radius:12px;padding:20px 16px;text-align:center;
  background:linear-gradient(160deg,#f6d9ff,#ffd9ec);
}
.feat-banner h4{margin:0 0 14px;color:#8a3d9e;font-size:15px;font-weight:700;}
.feat-pills{display:flex;flex-direction:column;gap:10px;align-items:center;}
.feat-pills span{
  background:rgba(255,255,255,.65);border:1px solid #fff;border-radius:22px;
  padding:9px 22px;font-weight:700;color:#7a3a8f;font-size:14px;min-width:200px;
}
.desc-toggle{display:flex;align-items:center;justify-content:center;gap:4px;color:var(--link);font-weight:600;padding:14px;}

/* ---- bottom action bar ---- */
.bottom-bar{
  position:sticky;bottom:0;width:100%;
  background:#fff;border-top:1px solid var(--line);
  display:flex;gap:10px;align-items:center;z-index:40;
  padding:10px 14px calc(14px + env(safe-area-inset-bottom,0px));
}
.btn{border-radius:8px;font-weight:700;font-size:16px;padding:14px;flex:1;text-align:center;}
.btn-cart{background:var(--gray-btn);color:var(--ink);}
.btn-cart:active{filter:brightness(.97);}
.btn-buy{background:var(--red);color:#fff;}
.btn-buy:active{filter:brightness(.95);}

/* =========================================================
   CHECKOUT
   ========================================================= */
.co-section{padding:16px var(--pad);background:#fff;}
.co-section h3{font-size:17px;font-weight:700;margin:0 0 12px;}
.co-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px;}
.co-head h3{margin:0;}
.co-head .alt{color:var(--link);font-weight:600;font-size:14px;}

/* address form */
.field{margin-bottom:10px;}
.field label{display:block;font-size:12.5px;color:var(--ink-3);margin-bottom:5px;font-weight:600;}
.field input,.field select,.field textarea{
  width:100%;border:1px solid #e3e3e6;border-radius:10px;padding:12px 13px;font-size:15px;color:var(--ink);
  background:#fff;outline:none;transition:border-color .15s;
}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--ink);}
.field input::placeholder{color:#b8b9bf;}
.field-row{display:flex;gap:10px;}
.field-row .field{flex:1;}

/* payment */
.pay-opt{
  border:1px solid #ececee;border-radius:12px;padding:14px;display:flex;align-items:center;gap:12px;background:#fff;
}
.pay-opt.active{border-color:#dcdce0;}
.pay-opt .radio{
  width:20px;height:20px;border-radius:50%;border:1.5px solid #cfd0d4;flex:0 0 auto;position:relative;
}
.pay-opt.active .radio{border-color:var(--red);}
.pay-opt.active .radio::after{content:"";position:absolute;inset:4px;border-radius:50%;background:var(--red);}
.pay-opt .pay-name{font-weight:700;flex:1;min-width:0;display:flex;align-items:center;gap:8px;}
.card-brands{display:flex;gap:4px;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;}
.card-brands span{width:30px;height:20px;border-radius:4px;font-size:8px;font-weight:800;color:#fff;display:grid;place-items:center;}
.b-visa{background:#1a1f71;}
.b-mc{background:#eb001b;}
.b-amex{background:#2e77bb;}
.b-disc{background:#f48120;}
.card-form{margin-top:14px;}
.card-form .field input{letter-spacing:.3px;}
.lock-note{display:flex;align-items:center;gap:6px;color:var(--ink-3);font-size:12px;margin-top:6px;}
.lock-note svg{width:13px;height:13px;}

/* item row */
.merchant{display:flex;align-items:center;gap:8px;margin-bottom:12px;}
.merchant .big-av{width:30px;height:30px;border-radius:50%;background:linear-gradient(145deg,#fe2c55,#ff7a59);flex:0 0 auto;display:flex;align-items:center;justify-content:center;color:#fff;font-size:12px;font-weight:800;letter-spacing:.3px;box-shadow:0 2px 6px rgba(254,44,85,.3);}
.merchant .nm{font-weight:700;font-size:15px;letter-spacing:-.1px;}
.merchant .note{margin-left:auto;color:var(--link);font-weight:600;font-size:14px;}
.line-item{display:flex;gap:12px;}
.line-item .thumb{width:72px;height:72px;border-radius:10px;object-fit:cover;flex:0 0 auto;
  background:linear-gradient(160deg,#ff8fc0,#ffcf5e);}
.line-item .li-main{flex:1;min-width:0;}
.line-item .li-name{font-size:14px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.line-item .li-variant{color:var(--ink-3);font-size:13px;margin-top:4px;}
.li-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:8px;}
.li-price{font-weight:800;}
.li-price s{color:var(--ink-3);font-weight:500;margin-left:6px;font-size:13px;}
.stepper{display:flex;align-items:center;border:1px solid #e3e3e6;border-radius:8px;overflow:hidden;}
.stepper button{width:32px;height:30px;font-size:18px;color:var(--ink);background:#fafafa;}
.stepper .qv{width:38px;text-align:center;font-weight:600;border-left:1px solid #e3e3e6;border-right:1px solid #e3e3e6;line-height:30px;}
/* quantity locked to 1 unit per customer */
.stepper button.is-off{color:#cdced3;cursor:not-allowed;background:#f6f6f7;}
.qty-note{display:none;margin-top:8px;font-size:12.5px;font-weight:600;color:var(--red);}
.qty-note.show{display:block;}
.ship-line{margin-top:14px;font-size:14px;}
.ship-line .muted{color:var(--ink-2);}

/* order summary */
.sum-row{display:flex;justify-content:space-between;align-items:center;padding:7px 0;font-size:15px;}
.sum-row.deal{font-weight:600;}
.sum-row .ico-info{color:var(--ink-3);}
.sum-total{display:flex;justify-content:space-between;padding-top:12px;margin-top:6px;border-top:1px solid var(--line);font-weight:800;font-size:17px;}
.policy{padding:16px;background:var(--gap);color:var(--ink-3);font-size:12px;line-height:1.6;}
.policy b{color:var(--ink-2);}

/* checkout bottom bar */
.bottom-bar.checkout{justify-content:space-between;gap:14px;}
.bb-total{flex:0 0 auto;}
.bb-total .lab{font-size:12px;color:var(--ink-2);}
.bb-total .val{font-size:20px;font-weight:800;}
.btn-place{flex:1;background:var(--red);color:#fff;border-radius:8px;font-weight:700;font-size:16px;padding:14px;}
.btn-place:active{filter:brightness(.95);}

/* small helpers */
.mt8{margin-top:8px;}
.center-x{text-align:center;}

/* =========================================================
   ADDRESS – TikTok "Add an address" sheet look (inline)
   ========================================================= */
.addr-field{position:relative;margin-bottom:14px;}
.addr-field:last-child{margin-bottom:0;}
.addr-field > .lab{display:block;font-size:13px;font-weight:600;color:var(--ink-2);margin-bottom:6px;}
.addr-field input,
.addr-field select{
  width:100%;border:1.5px solid #e0e2e7;border-radius:10px;outline:none;background:#fff;
  font-size:15px;color:var(--ink);padding:12px 14px;transition:border-color .2s;
}
.addr-field input:focus,
.addr-field select:focus{border-color:var(--red);box-shadow:0 0 0 3px rgba(254,44,85,.08);}
.addr-field input::placeholder{color:#b9babf;font-weight:400;}
.addr-2col{display:flex;gap:12px;}
.addr-2col .addr-field{flex:1;}
.addr-2col .addr-field.id-col{flex:0 0 130px;}
/* validation error state */
.addr-field.error input,
.addr-field.error select,
.addr-2col .addr-field.error input,
.addr-2col .addr-field.error select{border-color:var(--red);}
.field-err{margin-top:6px;font-size:12.5px;font-weight:600;color:var(--red);}
.addr-field.sel{position:relative;}
.addr-field.sel select{
  -webkit-appearance:none;appearance:none;color:#b9babf;font-size:15px;padding-right:36px;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239a9ba1' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat:no-repeat;background-position:right 14px center;
}
.addr-field.sel select.filled{color:var(--ink);}
.phone-line{display:flex;align-items:center;gap:12px;}
.phone-prefix{
  display:flex;align-items:center;gap:5px;font-size:16px;font-weight:600;white-space:nowrap;
  padding-right:12px;border-right:1px solid #e0e0e3;color:var(--ink);
}
.phone-prefix svg{width:14px;height:14px;color:#9a9ba1;}
.phone-line input{flex:1;}
.addr-toggle{display:flex;align-items:center;padding:14px 0 4px;margin-top:2px;}
.addr-toggle .lab{font-size:14px;font-weight:600;flex:1;color:var(--ink-2);}

/* toggle switch */
.switch{position:relative;display:inline-block;width:46px;height:26px;flex:0 0 auto;cursor:pointer;}
.switch input{position:absolute;opacity:0;width:0;height:0;}
.switch .track{position:absolute;inset:0;background:#d9d9de;border-radius:20px;transition:.2s;}
.switch .knob{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;
  transition:.2s;box-shadow:0 1px 3px rgba(0,0,0,.25);}
.switch input:checked ~ .track{background:var(--red);}
.switch input:checked ~ .knob{transform:translateX(20px);}

/* payment option – right-aligned radio + card icon */
.pay-opt .pay-ico{width:26px;height:18px;flex:0 0 auto;color:var(--ink);}
.pay-opt .chev{color:#c4c4c8;flex:0 0 auto;}

/* =========================================================
   RESPONSIVE – mobile first, then tablet / desktop
   ========================================================= */

/* notch / safe-area padding for the sticky header */
.app-header{padding-top:calc(8px + env(safe-area-inset-top,0px));}

/* large phones / small tablets */
@media (min-width:600px){
  :root{ --maxw:560px; }
  body{ font-size:16px; }
  .phone{ min-height:100dvh; }
  .p-title{ font-size:18px; }
  .price{ font-size:30px; }
  .price .cur{ font-size:20px; }
  .block-title{ font-size:18px; }
  .rev-head .big{ font-size:24px; }
  .btn{ font-size:17px; padding:14px; }
  .btn-place{ font-size:17px; }
}

/* tablets and up */
@media (min-width:840px){
  :root{ --maxw:620px; }
  .phone{ box-shadow:0 16px 60px rgba(0,0,0,.16); }
}

/* keep tap targets comfy on coarse pointers */
@media (pointer:coarse){
  .icon-btn{min-width:30px;min-height:30px;}
  .stepper button{height:34px;}
}

/* ===== color picker (multi-product) ===== */
.color-pick{margin:14px 0 2px}
.color-lead{font-size:14px;color:var(--ink);margin-bottom:9px}
.color-lead b{font-weight:800}
.color-row{display:flex;gap:10px;flex-wrap:wrap}
.color-sw{width:48px;height:48px;border-radius:12px;border:2px solid var(--line);background:#f7f7f8;padding:0;overflow:hidden;cursor:pointer;transition:border-color .15s,transform .1s}
.color-sw img{width:100%;height:100%;object-fit:cover;display:block}
.color-sw.on{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand)}
.color-sw:active{transform:scale(.95)}

/* ===== reviews revamp (header rico + galería de fotos + lightbox) — portado de mesa-mx ===== */
.rev-summary{display:flex;gap:16px;align-items:flex-start;margin:8px 0 6px;}
.rev-summary .big-score{font-size:46px;font-weight:800;line-height:.95;}
.rev-summary .rs-right{flex:1;min-width:0;}
.rev-bars{display:flex;flex-direction:column;gap:4px;margin-top:8px;}
.rev-bar{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--ink-3);}
.rev-bar .lbl{width:22px;text-align:right;white-space:nowrap;}
.rev-bar .track{flex:1;height:7px;background:var(--line);border-radius:4px;overflow:hidden;}
.rev-bar .fill{height:100%;background:var(--gold);border-radius:4px;}
.rev-bar .pct{width:30px;text-align:right;}
.rev-gallery-head{display:flex;align-items:baseline;justify-content:space-between;margin:16px 0 9px;}
.rev-gallery-head .t{font-weight:700;font-size:15px;}
.rev-gallery-head .c{font-size:12px;color:var(--ink-3);}
.rev-gallery{display:flex;gap:8px;overflow-x:auto;padding-bottom:6px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;}
.rev-gallery::-webkit-scrollbar{height:0;background:transparent;}
.rev-gallery img{width:112px;height:112px;flex:0 0 auto;border-radius:12px;object-fit:cover;cursor:pointer;scroll-snap-align:start;background:#eee;transition:transform .15s;}
.rev-gallery img:active{transform:scale(.97);}
.rev-photos{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;}
.rev-photos img{width:104px;height:104px;border-radius:10px;object-fit:cover;cursor:pointer;background:#eee;transition:transform .15s;}
.rev-photos img:active{transform:scale(.97);}
.rev-lb{position:fixed;inset:0;background:rgba(0,0,0,.9);display:none;align-items:center;justify-content:center;z-index:3000;padding:20px;}
.rev-lb.open{display:flex;}
.rev-lb img{max-width:100%;max-height:88vh;border-radius:12px;box-shadow:0 20px 60px rgba(0,0,0,.5);}
.rev-lb .lb-close{position:absolute;top:14px;right:18px;color:#fff;font-size:34px;line-height:1;cursor:pointer;background:none;border:0;font-weight:300;}

/* =========================================================
   REMATEX HOGAR — RETAIL PDP (buy-box) LAYOUT  [appended]
   Turns the ~480px phone/TikTok PDP shell into a full-width
   marketplace layout: gallery LEFT + buy-box RIGHT on desktop,
   stacking on mobile, plus retail header/breadcrumb/footer.
   Everything is scoped under #app so checkout.html (which shares
   this stylesheet) stays untouched.
   ========================================================= */
:root{
  --brand:#1e50c9; --brand-dark:#16307e; --accent:#ffcc00; --accent-ink:#3d2f00;
  --price:#1e50c9; --pg-muted:#6b7280; --pg-line:#e6e8ec; --pg-bg:#f4f6f9;
  --pg-surface:#ffffff; --pg-ok:#12805c; --pg-maxw:1180px;
}

/* release the phone width cap for the product page */
#app.phone{ max-width:none; width:auto; margin:0; background:var(--pg-bg); box-shadow:none; }
#app .rtx-wrap{ max-width:var(--pg-maxw); margin:0 auto; padding:0 16px; }

/* ---- top bar ---- */
#app .rtx-topbar{ background:var(--brand-dark); color:#fff; font-size:12.5px; }
#app .rtx-topbar .rtx-wrap{ display:flex; align-items:center; justify-content:center; gap:16px; min-height:34px; padding-top:6px; padding-bottom:6px; font-weight:500; flex-wrap:wrap; text-align:center; }
#app .rtx-topbar b{ font-weight:700; }
#app .rtx-topbar .sep{ opacity:.4; }

/* ---- header ---- */
#app .rtx-header{ background:var(--pg-surface); border-bottom:1px solid var(--pg-line); position:sticky; top:0; z-index:50; }
#app .rtx-header .rtx-wrap{ display:flex; align-items:center; gap:18px; height:70px; }
#app .rtx-logo{ display:flex; align-items:center; gap:10px; flex:0 0 auto; }
#app .rtx-logo .badge{ width:40px; height:40px; border-radius:11px; background:var(--brand); display:grid; place-items:center; box-shadow:0 6px 14px -6px rgba(30,80,201,.6); }
#app .rtx-logo .badge svg{ width:24px; height:24px; }
#app .rtx-logo .name{ line-height:1; display:flex; flex-direction:column; }
#app .rtx-logo .name b{ font-size:19px; font-weight:900; letter-spacing:-.02em; color:var(--brand-dark); }
#app .rtx-logo .name span{ font-size:11px; font-weight:700; letter-spacing:.22em; text-transform:uppercase; color:var(--brand); }
#app .rtx-search{ flex:1; position:relative; max-width:640px; }
#app .rtx-search input{ width:100%; height:44px; border:1.5px solid var(--pg-line); border-radius:999px; padding:0 46px 0 18px; font-size:14.5px; background:#f7f8fa; outline:none; color:var(--ink); }
#app .rtx-search input:focus{ border-color:var(--brand); background:#fff; }
#app .rtx-search .go{ position:absolute; right:5px; top:5px; width:34px; height:34px; border-radius:50%; background:var(--brand); border:0; display:grid; place-items:center; cursor:pointer; }
#app .rtx-search .go svg{ width:17px; height:17px; stroke:#fff; fill:none; stroke-width:2; }
#app .rtx-actions{ display:flex; align-items:center; gap:16px; flex:0 0 auto; margin-left:auto; }
#app .rtx-help{ display:flex; align-items:center; gap:7px; font-size:13px; font-weight:600; color:var(--ink); }
#app .rtx-help svg{ width:20px; height:20px; stroke:var(--brand-dark); fill:none; stroke-width:1.8; }
#app .rtx-cart{ width:44px; height:44px; border-radius:50%; background:var(--accent); display:grid; place-items:center; position:relative; flex:0 0 auto; }
#app .rtx-cart svg{ width:22px; height:22px; stroke:var(--accent-ink); fill:none; stroke-width:1.9; }
#app .rtx-cart .cart-badge{ background:var(--price); }

/* ---- breadcrumb ---- */
#app .rtx-crumb{ background:var(--pg-surface); border-bottom:1px solid var(--pg-line); }
#app .rtx-crumb .rtx-wrap{ padding-top:11px; padding-bottom:11px; font-size:12.5px; color:var(--pg-muted); }
#app .rtx-crumb b{ color:var(--ink); font-weight:700; }
#app .rtx-crumb span{ opacity:.45; margin:0 3px; }

/* ---- PDP top grid: gallery + buy-box ---- */
#app .pdp-top{ display:grid; grid-template-columns:minmax(0,1.1fr) minmax(320px,420px); gap:32px; max-width:var(--pg-maxw); margin:18px auto; padding:0 16px; align-items:start; }

/* gallery (left) — contained images on white */
#app .pdp-gallery{ border:1px solid var(--pg-line); border-radius:16px; overflow:hidden; background:#fff; align-self:start; }
#app .pdp-gallery .slide{ aspect-ratio:1/1; background:#fff; }
#app .pdp-gallery .slide img{ object-fit:contain; background:#fff; padding:12px; }
#app .pdp-gallery .dots i.on{ background:var(--brand); box-shadow:0 0 4px rgba(30,80,201,.5); }

/* buy-box (right) — sticky card on desktop */
#app .buybox{ position:sticky; top:86px; align-self:start; background:var(--pg-surface); border:1px solid var(--pg-line); border-radius:16px; padding:20px; box-shadow:0 1px 2px rgba(16,24,40,.06),0 10px 26px -16px rgba(16,24,40,.28); }
#app .buybox .bb-off{ display:inline-block; background:var(--price); color:#fff; font-size:12px; font-weight:800; padding:4px 10px; border-radius:7px; letter-spacing:.3px; margin-bottom:10px; }
#app .buybox .title-row{ align-items:flex-start; }
#app .buybox .p-title{ font-size:20px; font-weight:800; line-height:1.3; color:var(--ink); }
#app .buybox .title-actions{ color:var(--pg-muted); }
#app .buybox .rating{ margin-top:9px; }
#app .buybox .price-row{ margin-top:14px; flex-wrap:wrap; align-items:baseline; }
#app .buybox .price{ color:var(--price); font-size:34px; }
#app .buybox .price .cur{ color:var(--price); font-size:22px; }
#app .buybox .price .cur-code{ color:var(--pg-muted); }
#app .buybox .bb-save{ background:#fdecec; color:var(--price); font-size:12.5px; font-weight:800; padding:3px 9px; border-radius:6px; align-self:center; }
#app .buybox .bb-ship{ display:flex; align-items:center; gap:6px; margin-top:10px; color:var(--pg-ok); font-weight:700; font-size:13.5px; }
#app .buybox .bb-ship svg{ width:16px; height:16px; flex:0 0 auto; }
#app .buybox .color-pick, #app .buybox .size-pick{ margin-top:16px; }
#app .buybox .stock-urgency{ margin-top:16px; }
#app .buybox .bb-timer{ margin-top:10px; font-size:13px; font-weight:600; color:var(--ink-2); }
#app .buybox .bb-timer b{ color:var(--price); font-weight:800; font-variant-numeric:tabular-nums; }
#app .buybox .price-why{ margin-top:16px; }

/* buy buttons: reuse the .bottom-bar hook (handlers wire it) but make it a
   static, stacked block inside the buy-box instead of a fixed bottom bar */
#app .buybox .bottom-bar{ position:static; flex-direction:column; gap:10px; padding:0; margin-top:16px; border-top:0; background:none; z-index:auto; }
#app .buybox .bottom-bar .btn{ flex:0 0 auto; width:100%; border-radius:10px; padding:15px; }
#app .buybox #cta-buy{ background:var(--brand); color:#fff; box-shadow:0 10px 24px -10px rgba(30,80,201,.75); }
#app .buybox #cta-buy:active{ filter:brightness(.96); }
#app .buybox #cta-cart{ background:#fff; color:var(--brand); border:1.6px solid var(--brand); }
#app .buybox #cta-cart:active{ background:#f2f6ff; }

/* trust row (3-up) */
#app .buybox .bb-trust{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:16px; padding-top:16px; border-top:1px solid var(--pg-line); }
#app .buybox .bb-tr{ display:flex; flex-direction:column; align-items:center; gap:6px; text-align:center; font-size:11px; font-weight:600; color:var(--pg-muted); line-height:1.2; }
#app .buybox .bb-tr svg{ width:23px; height:23px; stroke:var(--brand); fill:none; stroke-width:1.7; }

/* ---- PDP body (narrower, stacked cards) ---- */
#app .pdp-body{ max-width:900px; margin:0 auto; padding:0 16px 10px; }
#app .pdp-body .section{ background:var(--pg-surface); border:1px solid var(--pg-line); border-radius:14px; box-shadow:0 1px 2px rgba(16,24,40,.05); padding:16px 18px; }
#app .pdp-body .section + .section{ margin-top:14px; }
#app .pdp-body .divider{ height:14px; background:transparent; }
#app .pdp-body .story-sec{ border-top:0; }
#app .pdp-body .desc-banner-sec{ padding:0; overflow:hidden; }

/* ---- footer (reuse home look) ---- */
.rtx-footer .rtx-wrap{ max-width:var(--pg-maxw); margin:0 auto; padding:0 16px; }
.rtx-footer{ background:var(--brand-dark); color:#cdd6ea; margin-top:28px; padding:34px 0 22px; font-size:13px; }
.rtx-footer .cols{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap:26px; }
.rtx-footer h4{ color:#fff; font-size:14px; margin:0 0 12px; }
.rtx-footer p{ margin:0; line-height:1.6; opacity:.85; }
.rtx-footer ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.rtx-footer a:hover{ color:#fff; }
.rtx-footer .pay{ display:flex; gap:7px; margin-top:12px; flex-wrap:wrap; align-items:center; }
.footer .pay,.ck-footer .pay,.pg-foot .pay{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin-top:12px}
.ck-footer .pay{justify-content:center}
.pay-badge{background:#fff;border-radius:5px;padding:4px 7px;height:26px;display:inline-flex;align-items:center;box-shadow:0 1px 2px rgba(0,0,0,.12)}
.pay-badge img{height:100%;width:auto;display:block}
.rtx-footer .flogo{ display:flex; align-items:center; gap:9px; margin-bottom:12px; }
.rtx-footer .flogo .badge{ width:34px; height:34px; border-radius:9px; background:var(--accent); display:grid; place-items:center; }
.rtx-footer .flogo .badge svg{ width:20px; height:20px; }
.rtx-footer .flogo b{ color:#fff; font-size:17px; font-weight:900; }
.rtx-footer .bottom{ border-top:1px solid rgba(255,255,255,.12); margin-top:24px; padding-top:16px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; font-size:12px; opacity:.8; }

/* ---- responsive ---- */
@media (max-width:900px){
  #app .pdp-top{ grid-template-columns:1fr; gap:16px; margin:12px auto; }
  #app .pdp-gallery{ border-radius:0; border-left:0; border-right:0; border-top:0; }
  #app .buybox{ position:static; border:0; border-radius:0; padding:16px; box-shadow:none; border-top:8px solid var(--pg-bg); }
  .rtx-footer .cols{ grid-template-columns:1fr 1fr; }
}
@media (max-width:680px){
  #app .rtx-header .rtx-wrap{ height:auto; flex-wrap:wrap; padding-top:12px; padding-bottom:12px; gap:12px; }
  #app .rtx-search{ order:3; flex-basis:100%; max-width:none; }
  #app .rtx-help{ display:none; }
  .rtx-footer .cols{ grid-template-columns:1fr; }
  #app .buybox .p-title{ font-size:18px; }
  #app .buybox .price{ font-size:30px; }
}


/* ===== Rematex Hogar retail app header (home + PDP) ===== */
.rtx-app{position:sticky;top:0;z-index:60;}
.rtx-wrap{max-width:1180px;margin:0 auto;padding:0 16px;}
.rtx-appbar{background:#1e50c9;color:#fff;}
.rtx-appbar-in{display:flex;align-items:center;gap:14px;min-height:65px;padding-top:7px;padding-bottom:7px;}
.rtx-menu,.rtx-acct,.rtx-cart2{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;background:none;border:0;color:#fff;cursor:pointer;font-family:inherit;flex:0 0 auto;padding:0;line-height:1;text-decoration:none;-webkit-tap-highlight-color:transparent;}
.rtx-menu svg,.rtx-acct svg,.rtx-cart2 svg{width:24px;height:24px;stroke:#fff;fill:none;stroke-width:2;}
.rtx-menu span,.rtx-acct span,.rtx-cart2 .rtx-cap{font-size:10px;font-weight:700;letter-spacing:.01em;white-space:nowrap;color:#fff;}
.rtx-logo2{display:flex;align-items:center;gap:9px;color:#fff;text-decoration:none;margin-right:auto;min-width:0;}
.rtx-logo2 .badge{width:34px;height:34px;border-radius:9px;background:rgba(255,255,255,.16);display:grid;place-items:center;flex:0 0 auto;}
.rtx-logo2 .badge svg{width:22px;height:22px;}
.rtx-logo2-name{font-size:18px;font-weight:900;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff;}
.rtx-appbar-right{display:flex;align-items:center;gap:18px;flex:0 0 auto;margin-left:auto;}
.rtx-cart2{position:relative;}
.rtx-cart2 .rtx-ic{display:grid;place-items:center;}
.rtx-cart2 .cart-badge{position:absolute;top:-3px;right:auto;left:calc(50% + 2px);min-width:16px;height:16px;padding:0 4px;border-radius:9px;background:#d81e2c;color:#fff;font-size:10px;font-weight:800;line-height:16px;text-align:center;box-shadow:0 0 0 2px #fff;}
.rtx-searchband{background:#fff;padding:10px 0;border-bottom:1px solid #e6e8ec;}
.rtx-search2{position:relative;display:flex;align-items:center;}
.rtx-search2 input{width:100%;height:44px;border:1px solid #e6e8ec;border-radius:999px;background:#f2f4f7;padding:0 46px;font-size:15px;font-family:inherit;color:#1b2033;outline:none;}
.rtx-search2 input:focus{border-color:#1e50c9;background:#fff;}
.rtx-search2 .s-ico{position:absolute;left:15px;width:20px;height:20px;stroke:#6b7280;fill:none;stroke-width:2;pointer-events:none;}
.rtx-search2 .s-mic{position:absolute;right:8px;width:32px;height:32px;display:grid;place-items:center;background:none;border:0;cursor:pointer;padding:0;}
.rtx-search2 .s-mic svg{width:20px;height:20px;stroke:#1e50c9;fill:none;stroke-width:2;}
.rtx-cityrow{background:#fff;border-bottom:1px solid #e6e8ec;}
.rtx-cityrow-in{display:flex;align-items:center;gap:8px;min-height:42px;}
.rtx-city{display:flex;align-items:center;gap:7px;font-size:13.5px;font-weight:600;color:#1b2033;}
.rtx-city svg{width:18px;height:18px;stroke:#1e50c9;fill:none;stroke-width:1.9;flex:0 0 auto;}
.rtx-city-chev{width:18px;height:18px;stroke:#6b7280;fill:none;stroke-width:2;margin-left:auto;flex:0 0 auto;}
@media (max-width:560px){
  .rtx-appbar-in{gap:10px;}
  .rtx-appbar-right{gap:14px;}
  .rtx-logo2-name{font-size:15px;}
  .rtx-logo2 .badge{width:30px;height:30px;}
  .rtx-menu span,.rtx-acct span,.rtx-cart2 .rtx-cap{font-size:9px;}
}
@media (max-width:380px){
  .rtx-appbar-in{gap:8px;}
  .rtx-appbar-right{gap:10px;}
  .rtx-logo2-name{font-size:13px;}
  .rtx-menu svg,.rtx-acct svg,.rtx-cart2 svg{width:22px;height:22px;}
}


/* =========================================================
   REMATEX HOGAR — single-column retail PDP  [appended v2]
   Works with the new 3-band header. Scoped under #app.
   ========================================================= */
#app .pdp-main{ max-width:720px; margin:0 auto; padding:14px 16px 8px; }
#app .pdp-crumb{ font-size:12.5px; color:var(--pg-muted); margin-bottom:8px; }
#app .pdp-crumb b{ color:var(--ink); font-weight:700; }
#app .pdp-crumb span{ opacity:.5; margin:0 3px; }
#app .pdp-main .p-title{ font-size:22px; font-weight:800; color:var(--ink); line-height:1.3; margin:2px 0 0; }
#app .pdp-main .rating{ margin-top:8px; }
#app .pdp-sku{ margin-top:9px; font-size:12.5px; color:var(--pg-muted); }
#app .pdp-soldby{ margin-top:4px; font-size:13px; color:var(--ink-2); }
#app .pdp-soldby .pdp-brand{ color:var(--brand); font-weight:700; }
#app .pdp-main .price-row{ margin-top:14px; display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; }
#app .pdp-main .price{ color:var(--price); font-size:32px; }
#app .pdp-main .price .cur{ color:var(--price); font-size:21px; }
#app .pdp-main .price .cur-code{ color:var(--pg-muted); }
#app .pd-badge{ background:var(--price); color:#fff; font-size:12.5px; font-weight:800; padding:3px 9px; border-radius:6px; align-self:center; }

/* gallery: square main image on white + horizontal thumbnail strip */
#app .pdp-main .pdp-gallery{ border:0; border-radius:0; overflow:visible; background:transparent; margin-top:14px; }
#app .pdp-gallery-main{ position:relative; border:1px solid var(--pg-line); border-radius:14px; overflow:hidden; background:#fff; }
#app .pdp-gallery-main .slide{ aspect-ratio:1/1; }
#app .pdp-gallery-main .slide img{ object-fit:contain; padding:14px; background:#fff; }
#app .pdp-gallery .dots{ position:static; display:flex; justify-content:flex-start; gap:8px; overflow-x:auto; padding:10px 2px 2px; margin:0; scrollbar-width:none; }
#app .pdp-gallery .dots::-webkit-scrollbar{ display:none; }
#app .pdp-gallery .dots .thumb{ width:62px; height:62px; flex:0 0 auto; border:1.5px solid var(--pg-line); border-radius:10px; object-fit:contain; background:#fff; padding:5px; cursor:pointer; transition:border-color .15s; }
#app .pdp-gallery .dots .thumb.on{ border-color:var(--brand); box-shadow:0 0 0 1px var(--brand); }

#app .pdp-main .color-pick, #app .pdp-main .size-pick{ margin-top:16px; }

/* quantity stepper */
#app .pdp-qty{ display:flex; align-items:center; gap:12px; margin-top:16px; flex-wrap:wrap; }
#app .pdp-qty .qty-lbl{ font-weight:700; font-size:14px; color:var(--ink); }
#app .qty-stepper{ display:inline-flex; align-items:center; border:1.5px solid var(--pg-line); border-radius:10px; overflow:hidden; }
#app .qty-stepper .qty-btn{ width:40px; height:40px; font-size:20px; color:var(--brand); background:#fff; display:grid; place-items:center; cursor:pointer; border:0; -webkit-appearance:none; appearance:none; }
#app .qty-stepper .qty-btn:active{ background:#f2f6ff; }
#app .qty-stepper .qty-input{ width:46px; height:40px; text-align:center; border:0; border-left:1.5px solid var(--pg-line); border-right:1.5px solid var(--pg-line); font-size:15px; font-weight:700; color:var(--ink); background:#fff; outline:none; -moz-appearance:textfield; }
#app .pdp-qty .qty-avail{ color:var(--pg-ok); font-weight:700; font-size:13.5px; }

#app .pdp-main .stock-urgency{ margin-top:16px; }
#app .pdp-timer{ margin-top:10px; font-size:13px; font-weight:600; color:var(--ink-2); }
#app .pdp-timer b{ color:var(--price); font-weight:800; font-variant-numeric:tabular-nums; }

/* buy buttons — Agregar al carrito = primary blue, Comprar ahora = secondary */
#app .pdp-main .bottom-bar.bb-actions{ position:static; display:flex; flex-direction:column; gap:10px; padding:0; margin-top:16px; border-top:0; background:none; z-index:auto; }
#app .bb-actions .btn{ flex:0 0 auto; width:100%; border-radius:10px; padding:15px; }
#app .bb-actions #cta-cart{ background:var(--brand); color:#fff; box-shadow:0 10px 24px -10px rgba(30,80,201,.75); }
#app .bb-actions #cta-cart:active{ filter:brightness(.96); }
#app .bb-actions #cta-buy{ background:#fff; color:var(--brand); border:1.6px solid var(--brand); }
#app .bb-actions #cta-buy:active{ background:#f2f6ff; }

/* trust row */
#app .pdp-main .bb-trust{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:16px; padding-top:16px; border-top:1px solid var(--pg-line); }
#app .bb-trust .bb-tr{ display:flex; flex-direction:column; align-items:center; gap:6px; text-align:center; font-size:11px; font-weight:600; color:var(--pg-muted); line-height:1.2; }
#app .bb-trust .bb-tr svg{ width:23px; height:23px; stroke:var(--brand); fill:none; stroke-width:1.7; }
#app .pdp-main .price-why{ margin-top:16px; }

/* "Acerca de este producto" expandable bullet list */
#app .about-prod{ margin-top:18px; border:1px solid var(--pg-line); border-radius:14px; background:var(--pg-surface); padding:2px 16px; box-shadow:0 1px 2px rgba(16,24,40,.05); }
#app .about-prod summary{ list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:14px 0; font-size:16px; font-weight:800; color:var(--brand); }
#app .about-prod summary::-webkit-details-marker{ display:none; }
#app .about-prod .ap-chev{ width:20px; height:20px; color:var(--pg-muted); flex:0 0 auto; transition:transform .2s; }
#app .about-prod[open] .ap-chev{ transform:rotate(180deg); }
#app .about-list{ list-style:none; margin:0; padding:0 0 12px; }
#app .about-list li{ font-size:14px; line-height:1.55; color:var(--ink-2); padding:7px 0 7px 20px; position:relative; border-top:1px solid var(--pg-line); }
#app .about-list li:first-child{ border-top:0; }
#app .about-list li::before{ content:""; position:absolute; left:4px; top:14px; width:6px; height:6px; border-radius:50%; background:var(--brand); }
#app .about-list li b{ color:var(--ink); font-weight:700; }

/* body column matches the single-column width */
#app .pdp-body{ max-width:720px; }

