/* Inside pages & interactive components */
.inside main{
  min-height:62vh;
  padding:clamp(28px,4vw,52px) 0 48px;
}
body[data-page="product"]{background:#fff}
body[data-page="product"] .header-blur{
  background:linear-gradient(180deg,rgba(255,255,255,.88) 0%,rgba(255,255,255,.4) 60%,transparent 100%);
}

.page-head{
  margin-bottom:clamp(22px,3vw,36px);
}
.inside h1{
  font:700 clamp(34px,4.8vw,64px)/.98 Manrope,sans-serif;
  letter-spacing:-.05em;
  margin:10px 0 12px;
}
.inside h2,.box h2{
  font:700 clamp(20px,2.2vw,26px)/1.2 Manrope,sans-serif;
  letter-spacing:-.035em;
}
.inside h3{
  font:600 17px/1.3 Manrope,sans-serif;
  letter-spacing:-.025em;
}
.inside p{line-height:1.65}
.muted,small{color:var(--muted);font-size:13px}

/* Breadcrumb */
.crumb{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
  color:var(--muted);
  font-size:12px;
  font-weight:500;
  margin-bottom:20px;
}
.crumb a{
  display:inline-flex;
  align-items:center;
  gap:4px;
  transition:color .2s;
}
.crumb a:hover{color:var(--accent)}
.crumb .icon{width:14px;height:14px;opacity:.55}
.crumb span[aria-current]{color:var(--ink);font-weight:600}

/* Shared Form Elements & Buttons */
.toolbar,.row,.chips,.tabs,.actions{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.grow{flex:1;min-width:160px}

.inside input,.inside select,.inside textarea{
  font:inherit;
  font-size:14px;
  width:100%;
  min-width:0;
  color:var(--ink);
  background:#fff;
  border:1px solid var(--line-strong);
  border-radius:11px;
  padding:11px 14px;
  transition:border-color .2s,box-shadow .2s;
}
.inside input:focus,.inside select:focus,.inside textarea:focus{
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 0 4px rgba(21,94,239,.12);
}
.inside label{
  display:grid;
  gap:6px;
  font-size:12px;
  font-weight:600;
  color:var(--ink-2);
}
.inside input[type=checkbox]{
  width:17px;
  height:17px;
  accent-color:var(--accent);
  margin:0;
}
.inside label.check{
  display:inline-flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
}

.btn,.chip,.tab{
  cursor:pointer;
  border:1px solid var(--line-strong);
  border-radius:999px;
  background:#fff;
  color:var(--ink);
  padding:11px 18px;
  font:600 12px/1 'DM Sans',sans-serif;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  transition:background .22s,color .22s,border-color .22s,transform .22s var(--ease),box-shadow .22s;
}
.btn:hover,.chip:hover,.tab:hover{
  transform:translateY(-2px);
  border-color:var(--accent);
  color:var(--accent);
}
.btn.dark,.chip.selected,.tab.selected{
  background:var(--ink);
  color:#fff;
  border-color:var(--ink);
}
.btn.dark:hover{
  background:var(--accent);
  border-color:var(--accent);
  color:#fff;
}
.btn.accent{
  background:var(--accent);
  color:#fff;
  border-color:var(--accent);
  box-shadow:0 8px 22px rgba(21,94,239,.25);
}
.btn.accent:hover{
  background:var(--accent-dark);
  border-color:var(--accent-dark);
  color:#fff;
}
.btn:disabled,.chip:disabled{
  opacity:.42;
  cursor:not-allowed;
  transform:none;
}
.chips{margin:12px 0}

.box,.empty{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:clamp(20px,3vw,34px);
  box-shadow:0 10px 30px rgba(11,13,18,.04);
}
.empty{
  grid-column:1/-1;
  text-align:center;
  padding:clamp(36px,5vw,64px) 24px;
}
.empty p{max-width:420px;margin:8px auto 20px;color:var(--muted)}
.box>h2:first-child{margin-top:0}
.cols{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(300px,1fr);
  gap:24px;
  align-items:start;
}
.form{display:grid;gap:16px}
.form.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.wide{grid-column:1/-1}

/* Quick Category Pills Bar on Shop */
.shop-pills{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:22px;
}
.shop-pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:9px 16px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--line-strong);
  font-size:12px;
  font-weight:600;
  color:var(--ink-2);
  transition:all .2s var(--ease);
}
.shop-pill:hover{
  border-color:var(--accent);
  color:var(--accent);
  transform:translateY(-1px);
}
.shop-pill.active{
  background:var(--ink);
  border-color:var(--ink);
  color:#fff;
}

/* Shop Filter Layout */
.shop-layout{
  display:grid;
  grid-template-columns:minmax(220px,268px) minmax(0,1fr);
  gap:clamp(20px,3vw,40px);
  align-items:start;
}
.filter-panel{
  position:sticky;
  top:96px;
  max-height:calc(100svh - 116px);
  overflow:auto;
  padding:20px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  box-shadow:0 10px 28px rgba(11,13,18,.04);
}
.filter-panel summary{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font:700 14px/1 Manrope,sans-serif;
  cursor:pointer;
}
.filter-panel summary::-webkit-details-marker{display:none}
.filter-panel .toolbar{
  display:grid;
  border:0;
  margin:16px 0 0;
  padding:0;
  gap:16px;
}
.filter-group-label{
  display:block;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:8px;
}
.color-filter-grid{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.color-chip-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line-strong);
  background:#fff;
  font-size:11px;
  font-weight:600;
  transition:all .2s;
}
.color-chip-btn:hover{border-color:var(--accent)}
.color-chip-btn.selected{
  background:var(--ink);
  border-color:var(--ink);
  color:#fff;
}
.shop-meta-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:18px;
  flex-wrap:wrap;
}
.shop-layout .product-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

/* =========================================================
   REDESIGNED PRODUCT DETAIL PAGE (VOXN-inspired + Luxury UI)
   ========================================================= */
.piece{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(350px,1fr);
  gap:clamp(24px,4vw,60px);
  align-items:start;
}

.pdp-gallery-wrap{min-width:0}
.pdp-gallery{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
@media(min-width:761px){
  .pdp-gallery.is-odd .pdp-shot:first-child{
    grid-column:1 / -1;
    aspect-ratio:6 / 5;
  }
}
.pdp-shot{
  position:relative;
  margin:0;
  border-radius:18px;
  overflow:hidden;
  background:#f1f3f5;
  aspect-ratio:4/5;
  cursor:zoom-in;
  border:1px solid rgba(15,23,42,.05);
}
.pdp-shot img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 20%;
  transition:transform .65s var(--ease);
}
.pdp-shot:hover img{transform:scale(1.045)}
.pdp-shot-tag{
  position:absolute;
  left:14px;
  bottom:14px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  font-size:11px;
  font-weight:600;
  color:var(--ink);
  box-shadow:0 4px 14px rgba(0,0,0,.08);
}
.pdp-shot-zoom{
  position:absolute;
  right:14px;
  bottom:14px;
  width:36px;
  height:36px;
  border-radius:50%;
  background:rgba(11,13,18,.72);
  backdrop-filter:blur(8px);
  color:#fff;
  display:grid;
  place-items:center;
  opacity:0;
  transform:scale(.88);
  transition:opacity .24s,transform .24s var(--spring);
}
.pdp-shot:hover .pdp-shot-zoom{
  opacity:1;
  transform:scale(1);
}
.pdp-gallery-dots{
  display:none;
  justify-content:center;
  gap:6px;
  margin-top:12px;
}
.pdp-gallery-dots button{
  width:8px;
  height:8px;
  padding:0;
  border:0;
  border-radius:999px;
  background:#cbd5e1;
  transition:width .22s,background .22s;
}
.pdp-gallery-dots button.active{
  width:22px;
  background:var(--ink);
}

/* Sticky Purchase Panel */
.piece-panel{
  position:sticky;
  top:94px;
  padding:4px 0 18px;
  display:grid;
  gap:18px;
}
.pdp-top-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}
.pdp-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 11px;
  border-radius:999px;
  background:var(--accent-soft);
  color:var(--accent);
  font-size:10px;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.pdp-rating-pill{
  display:inline-flex;
  align-items:center;
  gap:5px;
  font-size:12px;
  font-weight:600;
  color:var(--ink-2);
  padding:5px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  transition:border-color .2s,color .2s;
}
.pdp-rating-pill:hover{border-color:var(--accent);color:var(--accent)}
.pdp-rating-pill .star-icon{color:var(--gold);width:14px;height:14px}

.piece-panel h1{
  font:700 clamp(28px,2.8vw,42px)/1.06 Manrope,sans-serif;
  letter-spacing:-.04em;
  margin:0;
}
.pdp-price-row{
  display:flex;
  align-items:baseline;
  gap:12px;
  flex-wrap:wrap;
}
.piece-price{
  font:700 24px/1 Manrope,sans-serif;
  letter-spacing:-.03em;
  color:var(--ink);
  font-variant-numeric:tabular-nums;
}
.pdp-tax-note{
  font-size:12px;
  color:var(--muted);
}
.pdp-tax-note button{
  border:0;
  background:none;
  padding:0;
  color:var(--ink);
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:3px;
}
.pdp-tax-note button:hover{color:var(--accent)}

/* Swatches */
.pdp-block-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.pdp-block-label{
  font-size:12px;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--ink);
}
.pdp-block-label span{
  font-weight:500;
  color:var(--muted);
  text-transform:none;
  letter-spacing:0;
}
.swatches{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.swatches button{
  position:relative;
  width:38px;
  height:38px;
  border-radius:50%;
  border:3px solid #fff;
  background:var(--swatch);
  box-shadow:0 0 0 1px #cbd5e1;
  transition:transform .22s var(--spring),box-shadow .22s;
}
.swatches button:hover{
  transform:scale(1.1);
  box-shadow:0 0 0 2px var(--accent);
}
.swatches button[aria-pressed="true"]{
  box-shadow:0 0 0 2px var(--ink);
}

/* Size Grid */
.size-guide-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border:0;
  background:none;
  padding:4px 8px;
  border-radius:8px;
  font-size:12px;
  font-weight:600;
  color:var(--ink);
  transition:background .2s,color .2s;
}
.size-guide-btn:hover{
  background:var(--accent-soft);
  color:var(--accent);
}
.size-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
}
.size-btn{
  height:46px;
  border-radius:10px;
  border:1px solid var(--line-strong);
  background:#fff;
  color:var(--ink);
  font:700 13px/1 Manrope,sans-serif;
  display:grid;
  place-items:center;
  transition:all .2s var(--ease);
}
.size-btn:hover:not(:disabled){
  border-color:var(--accent);
  color:var(--accent);
  transform:translateY(-2px);
}
.size-btn.selected{
  background:var(--ink);
  border-color:var(--ink);
  color:#fff;
  box-shadow:0 8px 18px rgba(11,13,18,.18);
}
.size-btn:disabled{
  opacity:.35;
  text-decoration:line-through;
  cursor:not-allowed;
}
.availability{
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-size:12px;
  font-weight:600;
  color:var(--muted);
  min-height:20px;
}
.avail-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#cbd5e1;
}
.avail-dot.in{background:var(--success)}
.avail-dot.low{background:var(--gold)}

/* Purchase Action Row */
.purchase{
  display:grid;
  grid-template-columns:1fr 1fr auto;
  gap:10px;
}
.pdp-cta{
  height:52px;
  border-radius:12px;
  font:700 12.5px/1 Manrope,sans-serif;
  letter-spacing:.01em;
  white-space:nowrap;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:0 14px;
  transition:all .24s var(--ease);
}
.pdp-cta.outline{
  background:#fff;
  color:var(--ink);
  border:1.5px solid var(--ink);
}
.pdp-cta.outline:hover{
  background:var(--ink);
  color:#fff;
  transform:translateY(-2px);
}
.pdp-cta.primary{
  background:var(--accent);
  color:#fff;
  border:1.5px solid var(--accent);
  box-shadow:0 10px 24px rgba(21,94,239,.26);
}
.pdp-cta.primary:hover{
  background:var(--accent-dark);
  border-color:var(--accent-dark);
  transform:translateY(-2px);
}
.pdp-save-btn{
  width:52px;
  height:52px;
  border-radius:12px;
  border:1px solid var(--line-strong);
  background:#fff;
  color:var(--ink);
  display:grid;
  place-items:center;
  transition:all .24s var(--spring);
}
.pdp-save-btn:hover{
  border-color:var(--accent);
  color:var(--accent);
  transform:translateY(-2px);
}
.pdp-save-btn[aria-pressed="true"]{
  background:var(--accent-soft);
  border-color:var(--accent);
  color:var(--accent);
}
.pdp-save-btn[aria-pressed="true"] svg{fill:currentColor}

/* Payment & Delivery Assurance Box */
.pdp-assurances{
  background:#f4f6fa;
  border:1px solid #e5e9f2;
  border-radius:16px;
  padding:14px 16px;
  display:grid;
  gap:12px;
}
.pdp-assurance-row{
  display:flex;
  align-items:center;
  gap:12px;
}
.pdp-assurance-row + .pdp-assurance-row{
  border-top:1px solid #e4e8f0;
  padding-top:12px;
}
.pdp-assurance-icon{
  width:36px;
  height:36px;
  border-radius:10px;
  background:#fff;
  color:var(--accent);
  display:grid;
  place-items:center;
  flex-shrink:0;
  box-shadow:0 2px 8px rgba(15,23,42,.05);
}
.pdp-assurance-row strong{display:block;font-size:13px;font-weight:700;color:var(--ink)}
.pdp-assurance-row span{display:block;font-size:12px;color:var(--muted);margin-top:2px}

/* Product Story & Accordions */
.pdp-story{
  border-top:1px solid var(--line);
  padding-top:18px;
}
.pdp-story h2{
  font:700 15px/1.2 Manrope,sans-serif;
  margin-bottom:8px;
}
.piece-description{
  font-size:14px;
  line-height:1.65;
  color:var(--muted);
}
.pdp-bullets{
  list-style:none;
  padding:0;
  margin:14px 0 0;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
}
.pdp-bullets li{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:600;
  color:var(--ink-2);
}
.pdp-bullets li .icon{width:15px;height:15px;color:var(--accent)}

.pdp-accordions{
  border-top:1px solid var(--line);
}
.pdp-acc{
  border-bottom:1px solid var(--line);
}
.pdp-acc summary{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:15px 0;
  font:600 14px/1.2 Manrope,sans-serif;
  cursor:pointer;
  transition:color .2s;
}
.pdp-acc summary::-webkit-details-marker{display:none}
.pdp-acc summary:hover{color:var(--accent)}
.pdp-acc summary .acc-icon{transition:transform .25s var(--ease)}
.pdp-acc[open] summary .acc-icon{transform:rotate(45deg)}
.pdp-acc-body{
  padding:0 0 16px;
  font-size:13px;
  line-height:1.65;
  color:var(--muted);
}

/* Reviews Section on PDP */
.reviews-section{
  margin-top:clamp(48px,6vw,84px);
  padding-top:clamp(36px,5vw,56px);
  border-top:1px solid var(--line);
}
.reviews-summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
  padding:22px 26px;
  border-radius:20px;
  background:#f8fafc;
  border:1px solid var(--line);
  margin-bottom:24px;
}
.rating-big{
  display:flex;
  align-items:center;
  gap:14px;
}
.rating-big strong{
  font:800 36px/1 Manrope,sans-serif;
  letter-spacing:-.04em;
}
.stars{
  display:inline-flex;
  align-items:center;
  gap:3px;
  color:var(--gold);
}
.stars .icon{width:16px;height:16px}
.stars .star-filled{fill:currentColor}
.reviews-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-bottom:24px;
}
.review{
  padding:20px;
  border-radius:18px;
  border:1px solid var(--line);
  background:#fff;
  display:grid;
  gap:10px;
  align-content:start;
}
.review-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.review-form{
  max-width:540px;
  padding:24px;
  border-radius:20px;
  border:1px solid var(--line);
  background:#f8fafc;
}

/* Lightbox & Modals */
dialog.ui-modal{
  border:0;
  padding:0;
  border-radius:24px;
  max-width:min(760px,calc(100vw - 24px));
  width:100%;
  background:#fff;
  color:var(--ink);
  box-shadow:0 32px 90px rgba(11,13,18,.32);
  overflow:hidden;
}
dialog.ui-modal::backdrop{
  background:rgba(11,13,18,.58);
  backdrop-filter:blur(6px);
}
dialog.ui-modal[open]{animation:modalIn .26s var(--ease) both}
@keyframes modalIn{from{opacity:0;transform:scale(.96) translateY(10px)}to{opacity:1;transform:none}}
.modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 22px;
  border-bottom:1px solid var(--line);
}
.modal-head h3{
  font:700 18px/1.2 Manrope,sans-serif;
  display:flex;
  align-items:center;
  gap:8px;
}
.modal-body{
  padding:22px;
  max-height:78svh;
  overflow:auto;
}
.chart{
  width:100%;
  max-width:500px;
  margin:0 auto 16px;
  border-radius:14px;
}

dialog.lightbox{
  border:0;
  padding:0;
  max-width:none;
  width:100vw;
  height:100svh;
  max-height:none;
  background:rgba(8,10,14,.94);
  color:#fff;
  margin:0;
}
dialog.lightbox[open]{
  display:grid;
  grid-template-rows:auto 1fr auto;
}
.lb-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 24px;
}
.lb-stage{
  position:relative;
  display:grid;
  place-items:center;
  padding:12px 64px;
  min-height:0;
}
.lb-stage img{
  max-height:78svh;
  max-width:100%;
  border-radius:14px;
  object-fit:contain;
}
.lb-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:46px;
  height:46px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.12);
  color:#fff;
  display:grid;
  place-items:center;
  transition:background .2s;
}
.lb-nav:hover{background:var(--accent);border-color:var(--accent)}
.lb-prev{left:18px}
.lb-next{right:18px}
.lb-thumbs{
  display:flex;
  justify-content:center;
  gap:8px;
  padding:12px 24px 20px;
  overflow-x:auto;
}
.lb-thumbs button{
  width:48px;
  height:60px;
  padding:0;
  border:2px solid transparent;
  border-radius:8px;
  overflow:hidden;
  opacity:.55;
  transition:opacity .2s,border-color .2s;
}
.lb-thumbs button.active{
  border-color:var(--accent);
  opacity:1;
}
.lb-thumbs img{width:100%;height:100%;object-fit:cover}

/* Search Page */
.search-page{
  max-width:980px;
  margin:0 auto;
}
.search-input-wrap{
  position:relative;
  margin:18px 0 22px;
}
.search-input-wrap .search-lead-icon{
  position:absolute;
  left:18px;
  top:50%;
  transform:translateY(-50%);
  color:var(--muted);
  pointer-events:none;
}
.search-page #query{
  font-size:18px;
  padding:17px 20px 17px 48px;
  border-radius:999px;
  box-shadow:0 10px 28px rgba(11,13,18,.06);
}
.search-tags{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:26px;
}
.suggest-grid{
  display:grid;
  gap:10px;
  margin-bottom:28px;
}
.suggest{
  display:flex;
  align-items:center;
  gap:16px;
  padding:12px 16px;
  border-radius:16px;
  background:#fff;
  border:1px solid var(--line);
  transition:border-color .2s,transform .2s;
}
.suggest:hover{
  border-color:var(--accent);
  transform:translateX(4px);
}
.suggest img{
  width:56px;
  height:70px;
  object-fit:cover;
  border-radius:10px;
}
.suggest small{margin-left:auto;font-weight:700;color:var(--ink)}

/* Cart & Checkout */
.ship-meter{
  padding:16px 20px;
  border-radius:16px;
  background:#eef4ff;
  border:1px solid var(--accent-line);
  margin-bottom:20px;
  display:grid;
  gap:10px;
}
.ship-meter-head{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:600;
  color:var(--ink);
}
.ship-meter-head .icon{color:var(--accent)}
.ship-track{
  height:7px;
  border-radius:999px;
  background:#dbeafe;
  overflow:hidden;
}
.ship-fill{
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,var(--accent),#38bdf8);
  transition:width .45s var(--ease);
}

.bag-line{
  display:grid;
  grid-template-columns:84px 1fr auto;
  align-items:center;
  gap:16px;
  border-bottom:1px solid var(--line);
  padding:18px 0;
}
.bag-line:first-child{padding-top:4px}
.bag-line:last-child{border-bottom:0;padding-bottom:4px}
.bag-line img{
  width:84px;
  height:105px;
  object-fit:cover;
  border-radius:12px;
  background:#f1f3f5;
}
.qty-stepper{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:4px;
  border-radius:999px;
  border:1px solid var(--line-strong);
  background:var(--paper);
}
.qty-btn{
  width:30px;
  height:30px;
  border-radius:50%;
  border:0;
  background:#fff;
  color:var(--ink);
  display:grid;
  place-items:center;
  transition:background .2s,color .2s;
}
.qty-btn:hover{background:var(--accent);color:#fff}
.qty-val{
  min-width:20px;
  text-align:center;
  font-size:13px;
  font-weight:700;
  font-variant-numeric:tabular-nums;
}
.remove-btn{
  width:34px;
  height:34px;
  border-radius:50%;
  border:1px solid var(--line);
  background:#fff;
  color:var(--muted);
  display:grid;
  place-items:center;
  transition:all .2s;
}
.remove-btn:hover{
  border-color:var(--danger);
  color:var(--danger);
  background:#fef2f2;
}
.totals{display:grid;gap:12px;margin:16px 0 22px}
.totals p{
  display:flex;
  justify-content:space-between;
  font-size:14px;
  color:var(--muted);
}
.totals p strong,.totals p span{color:var(--ink);font-weight:600}
.totals p:last-of-type{
  border-top:1px solid var(--line);
  padding-top:14px;
  font-size:17px;
  font-weight:700;
  color:var(--ink);
}

/* Info / Brand Story Page */
.info-hero{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  align-items:stretch;
  margin-bottom:28px;
}
.info-visual{
  border-radius:24px;
  overflow:hidden;
  background:#0b45b8;
  display:grid;
  place-items:center;
  min-height:360px;
}
.info-visual img{width:100%;height:100%;object-fit:cover}
.info-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:24px;
}
.info-grid h3{
  display:flex;
  align-items:center;
  gap:10px;
}
.info-grid h3 .icon{
  color:var(--accent);
  width:20px;
  height:20px;
}

/* Account, Orders & Admin Tables */
.tabs{margin:18px 0}
.tablewrap{
  overflow-x:auto;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:0 8px 24px rgba(11,13,18,.04);
}
table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}
td,th{padding:14px;border-bottom:1px solid var(--line);vertical-align:middle}
th{background:#f8fafc;white-space:nowrap;font-weight:700;color:var(--ink-2)}
td input{min-width:70px!important}
.mini{width:46px;height:56px;object-fit:cover;border-radius:8px}
.badge{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:5px 11px;
  background:var(--accent-soft);
  color:var(--accent-dark);
  border-radius:999px;
  font-size:11px;
  font-weight:700;
}
.notice{
  display:flex;
  align-items:center;
  gap:10px;
  padding:13px 16px;
  border:1px solid var(--accent-line);
  border-radius:12px;
  background:var(--accent-soft);
  color:var(--ink);
  font-size:13px;
}
.toast{
  position:fixed;
  bottom:22px;
  left:50%;
  transform:translateX(-50%);
  background:var(--ink);
  color:#fff;
  padding:13px 20px;
  border-radius:999px;
  z-index:200;
  max-width:min(92vw,520px);
  width:max-content;
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  font-weight:600;
  box-shadow:0 16px 40px rgba(11,13,18,.28);
  animation:toastIn .28s var(--spring) both;
}
@keyframes toastIn{
  from{opacity:0;transform:translate(-50%,16px) scale(.94)}
  to{opacity:1;transform:translate(-50%,0) scale(1)}
}
.form-error{color:var(--danger);font-size:13px;font-weight:600;white-space:normal}
.panel{margin:18px 0}
.admin-search{max-width:460px}
.editor-pics img{width:56px;height:70px;object-fit:cover;border-radius:6px}
.editor-pics button{background:none;border:none;cursor:pointer}
.order-line{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
  border-bottom:1px solid var(--line);
}

@media(max-width:960px){
  .shop-layout,.piece,.cols,.info-hero{grid-template-columns:1fr}
  .filter-panel,.piece-panel{position:static;max-height:none}
  .shop-layout .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .reviews-grid,.info-grid{grid-template-columns:1fr}
}

@media(max-width:760px){
  .pdp-gallery{
    grid-template-columns:none;
    grid-auto-flow:column;
    grid-auto-columns:86%;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }
  .pdp-gallery::-webkit-scrollbar{display:none}
  .pdp-shot{scroll-snap-align:start}
  .pdp-gallery-dots{display:flex}
  .purchase{grid-template-columns:1fr 1fr}
  .pdp-save-btn{grid-column:1/-1;width:100%}
  .pdp-bullets{grid-template-columns:1fr}
  .bag-line{grid-template-columns:64px 1fr;gap:12px}
  .bag-line img{width:64px;height:80px}
  .bag-line>strong{grid-column:2}
}

@media(max-width:480px){
  .form.two{grid-template-columns:1fr}
  .size-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .purchase{grid-template-columns:1fr}
}
