/* ===== Preview page lightbox & small tweaks (desktop-first) ===== */

/* Make the big product image feel interactive */
.preview__stage { cursor: zoom-in; }

/* -------- Lightbox shell -------- */
.lb {
  position: fixed; inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-rows: 1fr;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(2px);
  animation: lb-fade .18s ease-out;
}
@keyframes lb-fade { from { opacity: 0 } to { opacity: 1 } }

.lb__viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.lb__imgwrap {
  position: absolute; inset: 0;
  touch-action: pan-y;             /* allow vertical page gestures if needed, but we handle horizontal */
  display: grid; place-items: center;
}

.lb__img {
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.35);
}

/* -------- Controls -------- */
.lb__close, .lb__arrow {
  position: absolute;
  appearance: none;
  border: 0;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-radius: 999px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .15s ease;
  user-select: none;
  -webkit-user-select: none;
}
.lb__close:hover, .lb__arrow:hover { background: rgba(255,255,255,0.16); }

.lb__close { top: 18px; right: 18px; }
.lb__arrow--left  { left: 18px; top: 50%; transform: translateY(-50%); }
.lb__arrow--right { right: 18px; top: 50%; transform: translateY(-50%); }

.lb__svg {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round;
}

/* Progress dots (optional but nice) */
.lb__dots {
  position: absolute;
  bottom: 18px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
}
.lb__dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: rgba(255,255,255,.35);
}
.lb__dot.is-active { background: #fff; }

/* Drag feedback */
.lb--dragging .lb__imgwrap { cursor: grabbing; }



/* === Square edges overrides === */
.preview__stage { border-radius: 0; }         /* was 16px */
#p-img { border-radius: 0; }                  /* ensure main image is square */

.lb__img { border-radius: 0; }                /* lightbox image square */




/* === Sliding carousel track inside the lightbox === */
.lb__viewport { overflow: hidden; }

.lb__track {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-100%);          /* centered on the middle slide */
  transition: transform .25s ease;
  will-change: transform;
}

.lb__slide {
  min-width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.lb__slide .lb__img {
  max-width: 92vw;          /* desktop defaults */
  max-height: 86vh;
  object-fit: contain;
}

/* Drag state (optional cursor change) */
.lb--dragging .lb__track { cursor: grabbing; }




/* Track: use GPU transforms and avoid paint flicker */
.lb__track{
  position: absolute; inset: 0;
  display: flex; align-items: center;
  transform: translate3d(-100%,0,0);      /* centered on middle slide */
  will-change: transform;
  backface-visibility: hidden;
}

/* Slides stay centered; no rounded corners anywhere */
.lb__slide{ min-width: 100%; height: 100%; display:flex; align-items:center; justify-content:center; }
.lb__slide .lb__img{ max-width:92vw; max-height:86vh; object-fit:contain; border-radius:0; }

/* Square edges for main page too */
.preview__stage{ border-radius:0; }
#p-img{ border-radius:0; }

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce){
  .lb__track{ transition: none !important; }
}




/* === Force perfect squares + square edges === */

/* Main preview stage is already square; ensure sharp edges */
.preview__stage { aspect-ratio: 1 / 1; border-radius: 0; }

/* Main image fills the square, no rounding */
#p-img{
  width: 100%;
  height: 100%;
  object-fit: contain;      /* no crop, contained inside the square */
  border-radius: 0;
}

/* Thumbnails: 1:1 squares, sharp edges */
.thumbs img{
  width: 72px;
  height: 72px;
  object-fit: cover;        /* fills the square nicely */
  border-radius: 0;         /* remove rounding */
}

/* Lightbox: show images inside a perfect square viewport too */
.lb__slide .lb__img{
  /* Square based on the smaller viewport dimension (no rounding) */
  width: min(86vmin, 92vw);
  height: min(86vmin, 86vh);
  object-fit: contain;      /* keep full image inside the square */
  border-radius: 0;
}




/* ========== Preview text tweaks ========== */

/* Description: smaller + Archivo thin */
#p-desc{
  font-family: "Archivo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 200;                 /* thin */
  font-size: 0.95rem;               /* a touch smaller */
  line-height: 1.6;
  letter-spacing: 0.1px;
}

/* Price container (works for both regular and discounted price markup) */
.preview__price{
  font-family: "Archivo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif !important;
  font-weight: 200 !important;      /* thin */
  font-size: 1.05rem !important;    /* slightly smaller than before */
  margin: 8px 0 14px !important;
}

/* If discounted, adjust the internal spans too */
.preview__price.price .price__final{
  font-family: "Archivo", inherit;
  font-weight: 200;
  font-size: 1.05rem;
}
.preview__price.price .price__was{
  font-family: "Archivo", inherit;
  font-weight: 200;
  font-size: 0.9rem;
  opacity: 0.7;
}



/* ===== Title, Price, Description: Archivo thin + smaller ===== */

/* Product title (name) */
.preview__info #p-title.preview__title{
  font-family: "Archivo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif !important;
  font-weight: 200 !important;                 /* thin */
  font-size: clamp(22px, 3.2vw, 30px) !important;  /* slightly smaller than before */
  line-height: 1.2 !important;
  letter-spacing: 0.2px !important;
}

/* Price (works for both regular and discounted) */
.preview__info .preview__price{
  font-family: "Archivo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif !important;
  font-weight: 200 !important;
  font-size: 1.05rem !important;
  margin: 8px 0 14px !important;
}

.preview__info .preview__price.price .price__final{
  font-family: "Archivo", inherit !important;
  font-weight: 200 !important;
  font-size: 1.05rem !important;
}
.preview__info .preview__price.price .price__was{
  font-family: "Archivo", inherit !important;
  font-weight: 200 !important;
  font-size: 0.9rem !important;
  opacity: 0.7 !important;
}

/* Description */
.preview__info #p-desc.preview__desc{
  font-family: "Archivo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif !important;
  font-weight: 200 !important;  /* thin */
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  letter-spacing: 0.1px !important;
}



/* ===== Size buttons: Archivo thin + perfect squares (no rounding) ===== */
.sizes{
  display: flex; flex-wrap: wrap; gap: 8px;
}

.size-btn{
  font-family: "Archivo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 200;                 /* thin */
  letter-spacing: .2px;
  font-size: 0.95rem;

  /* perfect square */
  width: clamp(44px, 7.5vw, 52px);
  height: clamp(44px, 7.5vw, 52px);

  border: 1px solid var(--line, #e9edf3);
  border-radius: 0;                 /* sharp edges */
  background: #fff; color: #111;
  display: grid; place-items: center;
  padding: 0; cursor: pointer;
  user-select: none;
}

.size-btn[aria-pressed="true"]{
  outline: none;
  box-shadow: inset 0 0 0 3px rgba(245,158,11,.25); /* same highlight, square */
}

.size-btn[disabled]{
  opacity: .45; cursor: not-allowed;
  text-decoration: none;            /* keep clean letter */
  filter: grayscale(30%);
}



/* Square corners for the Add to cart button */
.atc{
  border-radius: 0 !important;  /* overrides the inline 12px rule */
}



.size-label{
  margin: 6px 0 6px;
  font-family: "Archivo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 200; letter-spacing: .2px; font-size: .95rem;
}
.sizes .size-btn{
  width: clamp(44px, 7.5vw, 52px);
  height: clamp(44px, 7.5vw, 52px);
  border-radius: 0; /* square corners */
}



/* Label */
.size-label{
  margin: 6px 0 6px;
  font-family: "Archivo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 200;
  font-size: .95rem;
  letter-spacing: .2px;
}
.size-label strong{ font-weight: 800; }  /* only "Size:" is bold */

/* Perfect-square size buttons — hard center */
.sizes{ display:flex; gap:8px; flex-wrap:wrap; margin:8px 0 16px; }
.size-btn{
  -webkit-appearance:none; appearance:none;
  border:1px solid var(--line,#e9edf3); background:#fff;
  color: var(--muted, #667085);            /* ← grey text */
  width: clamp(44px, 7.5vw, 52px); height: clamp(44px, 7.5vw, 52px);
  border-radius: 0; padding: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; line-height: 1;

  /* thin Archivo */
  font-family:"Archivo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 200;                         /* ← thin */
  letter-spacing:.2px; font-size:.95rem;

  cursor: pointer; user-select: none;
}

.size-btn[aria-pressed="true"]{
  box-shadow: inset 0 0 0 3px rgba(245,158,11,.25);
}
.sizes .size-btn{
  color: var(--muted, #667085);
  font-family: "Archivo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 200;
}


/* Selected size: thin black border */
.size-btn[aria-pressed="true"]{
  border-color: #111;      /* black */
  border-width: 1px;       /* thin */
  box-shadow: none;        /* remove previous inset glow */
}
.sizes .size-btn[aria-pressed="true"]{
  border-color: #111 !important;
  border-width: 1px !important;
  box-shadow: none !important;
}
/* Lightbox: ensure the middle slide is the one you see */
.lb .lb__track {
  transform: translate3d(-100%,0,0) !important;
}
/* Kill any borders/outlines/shadows around images */
#p-img,
.preview__stage img,
.thumbs img,
.lb__img {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important; /* just in case a bg was making a 'frame' */
}



/* Match Size label style, but bold */
label[for="p-qty"],
.qty-row > label,
.qty-label {
  font-family: "Archivo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 800;           /* bold */
  font-size: .95rem;
  letter-spacing: .2px;
  margin: 6px 0 6px;
}



/* Quantity stepper */
.qty-stepper{
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line, #e9edf3);
  border-radius: 0;           /* no rounding */
  overflow: hidden;           /* clip inner corners */
}

.qty-stepper button{
  appearance: none;
  border: 0;
  width: 36px; height: 36px;
  background: #fff;
  cursor: pointer;
  display: grid; place-items: center;
  font-family: "Archivo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 200;
  font-size: 18px;            /* nice, readable symbols */
  line-height: 1;
  user-select: none;
}
.qty-stepper button:hover{ background: #f6f7f9; }
.qty-stepper button:active{ background: #eef1f5; }

.qty-stepper input{
  width: 52px; height: 36px;
  text-align: center;
  border: 0 !important;       /* remove inner “grey border” */
  outline: 0 !important;
  border-radius: 0 !important;
  background: #fff;
  font-family: "Archivo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 200;
}

/* Remove browser spinners */
.qty-stepper input[type="number"]::-webkit-outer-spin-button,
.qty-stepper input[type="number"]::-webkit-inner-spin-button{ -webkit-appearance: none; margin: 0; }
.qty-stepper input[type="number"]{ -moz-appearance: textfield; }




/* Quantity stepper: no outer border, tight spacing, no inner borders */
.qty-stepper{
  display:inline-flex;
  align-items:center;
  /* remove any frame */
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  background:transparent !important;
  border-radius:0 !important;
}

/* Buttons: tighter width, no borders, no bg */
.qty-stepper .qty-btn{
  appearance:none;
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  background:transparent !important;
  width:32px;                 /* was 36 — tighter */
  height:36px;
  padding:0;
  margin:0;
  display:grid; place-items:center;
  cursor:pointer;
  font-family:"Archivo",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  font-weight:200;
  font-size:18px;             /* readable glyphs */
  line-height:1;
  letter-spacing:0;
  border-radius:0 !important;
}

/* Input: no border, no bg, narrower so +/− sit closer */
.qty-stepper input{
  width:44px;                 /* was 52 — tighter */
  height:36px;
  text-align:center;
  margin:0; padding:0 2px;    /* tiny breathing room */
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  background:transparent !important;
  border-radius:0 !important;
  font-family:"Archivo",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  font-weight:200;
  font-size:16px;             /* avoids iOS zoom-on-focus */
  line-height:1.1;
  letter-spacing:0;
}

/* Kill native number spinners */
.qty-stepper input[type="number"]::-webkit-outer-spin-button,
.qty-stepper input[type="number"]::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
.qty-stepper input[type="number"]{ -moz-appearance:textfield; }

/* In case your theme adds borders via more generic selectors */
.qty-row .qty-stepper, 
.qty-row .qty-stepper *, 
input#p-qty{
  border:0 !important;
  box-shadow:none !important;
  background:transparent !important;
  border-radius:0 !important;
}





/* If a wrapper uses flex for qty + atc, stack them vertically */
.qty-row, 
.qty-row + .atc-row{
  display:block;
}
/* Put Buy Now below Add to Cart */
#p-atc{ display:block; margin-top:0; }
#p-buy-now{
  display:block;
  margin-top:10px;
  padding:12px 16px;
  width:100%;                 /* make it full-width; change to auto if you prefer */
  border:0;
  border-radius:0;            /* square edges to match your style */
  background:#111;
  color:#fff;
  font-family:"Archivo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight:600;
  cursor:pointer;
}
#p-buy-now:hover{ background:#222; }



/* ===== Purchase row: Qty + ATC responsive ===== */
.purchase{
  display: grid;
  grid-template-columns: 1fr;   /* mobile: stack */
  gap: 12px;
}

/* Neutralize previous "force to block" styles just inside .purchase */
.purchase .qty-row,
.purchase #p-atc{
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  clear: none !important;
}

/* ===== Force Quantity (row 1) and Add to Cart (row 2) ===== */
#purchase-wrap.purchase{
  display: grid !important;
  grid-template-columns: 1fr !important; /* always stack */
  grid-auto-rows: auto;
  gap: 12px;
}

#purchase-wrap .qty-row{
  display: block !important;  /* neutralize any flex from theme */
  margin: 0 !important;
}

#purchase-wrap #p-atc{
  display: inline-flex !important;
  justify-self: start;        /* left align the button under qty */
  margin: 0 !important;
  clear: none !important;
}


/* Default (tablet/desktop): 80% wide + centered label */
#purchase-wrap #p-atc{
  width: 90% !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
}

/* Phones ≤480px: make it full width */
@media (max-width: 480px){
  #purchase-wrap #p-atc{
    width: 100% !important;
    justify-self: stretch; /* ensures it spans the whole grid cell */
  }
}



/* BUY NOW above ATC: same widths/centering rules */
#purchase-wrap #p-buy-now{
  width: 90% !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
  padding: 12px 16px;
  border: 0;
  border-radius: 0;
  background: #111;
  color: #fff;
  font-family: "Archivo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 600;
  cursor: pointer;
  margin: 0;                 /* no extra gap, purchase grid provides spacing */
}
#purchase-wrap #p-buy-now:hover{ background:#222; }

/* Phones ≤480px: full width */
@media (max-width:480px){
  #purchase-wrap #p-buy-now{ width: 100% !important; }
}




/* ===== ATC: transparent fill, black text, thin black square border ===== */
#purchase-wrap #p-atc,
#purchase-wrap #p-atc.atc{
  background: transparent !important;
  color: #111 !important;
  border: 1px solid #111 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  /* keep your centering + width rules from earlier */
}

/* Nice subtle states (optional) */
#purchase-wrap #p-atc:hover{ background: rgba(0,0,0,0.04) !important; }
#purchase-wrap #p-atc:active{ background: rgba(0,0,0,0.08) !important; }
#purchase-wrap #p-atc:focus{ outline: none; box-shadow: 0 0 0 2px rgba(0,0,0,0.15) inset !important; }
/* ===== You may also like ===== */
.related{
  margin-top: 36px;
  padding: 28px 0 8px;
  border-top: 1px solid var(--line, #e9edf3);
}

.related__title{
  font-family: "Archivo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 800;
  font-size: clamp(18px, 2.5vw, 22px);
  margin: 0 0 14px;
}

.related__grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
}

@media (max-width: 900px){
  .related__grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 680px){
  .related__grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

.rel-card{
  display: grid;
  grid-template-rows: auto auto;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.rel-card__imgwrap{
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line, #e9edf3);
  border-radius: 0;
  overflow: hidden;
  background: #fff;
}

.rel-card__imgwrap img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rel-card__meta{
  display: grid;
  gap: 4px;
}

.rel-card__title{
  font-family: "Archivo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 200;
  font-size: .95rem;
  line-height: 1.25;
}

.rel-card__price{
  font-family: "Archivo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 600;
  font-size: .95rem;
}
/* ===== Related carousel (1-row, 4-up) ===== */
.related{
  margin-top: 36px;
  padding: 28px 0 8px;
  border-top: 1px solid var(--line, #e9edf3);
}
.related__title{
  font-family: "Archivo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 800;
  font-size: clamp(18px, 2.5vw, 22px);
  margin: 0 0 14px;
}

.rel-carousel{
  position: relative;
}
.rel-viewport{
  overflow: hidden;
}
.rel-track{
  display: flex;
  gap: 12px;
  /* 25% per card ensures exactly 4 on any screen width */
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}

/* Card — fixed 25% width so 4 fit in one line (even on phones) */
.rel-card{
  flex: 0 0 calc(25% - 9px); /* subtract ~gap/4 so four fit tightly */
  display: grid;
  grid-template-rows: auto auto;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  min-width: 0;   /* prevent overflow */
}
.rel-card__imgwrap{
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line, #e9edf3);
  border-radius: 0;
  overflow: hidden;
  background: #fff;
}
.rel-card__imgwrap img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rel-card__meta{ display: grid; gap: 3px; }
.rel-card__title{
  font-family: "Archivo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 200;
  font-size: .9rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rel-card__price{
  font-family: "Archivo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 600;
  font-size: .92rem;
}

/* Nav arrows */
.rel-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  display: grid; place-items: center;
  appearance: none; border: 0;
  color: #111; background: rgba(255,255,255,.9);
  border: 1px solid var(--line, #e9edf3);
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease, opacity .15s ease, transform .15s ease;
  z-index: 1;
}
.rel-nav:hover{ background: #fff; }
.rel-nav:active{ transform: translateY(-50%) scale(.98); }
.rel-nav--prev{ left: -10px; }
.rel-nav--next{ right: -10px; }
.rel-nav__icon{ width: 20px; height: 20px; }

/* If there aren't enough items to scroll, hide arrows */
.related--no-scroll .rel-nav{ display: none; }

/* Reduce gap slightly on very small screens so 4 still fit comfortably */
@media (max-width: 480px){
  .rel-track{ gap: 8px; }
  .rel-card{ flex-basis: calc(25% - 6px); }
}
/* ===== Colors UI ===== */
.colors{ border:0; padding:0; margin:14px 0 6px; display:flex; gap:8px; flex-wrap:wrap }
.color-btn{
  appearance:none; border:1px solid var(--line); background:#fff; color:#111;
  display:inline-grid; grid-template-columns:18px auto; align-items:center; gap:8px;
  height:36px; padding:0 10px; border-radius:10px; cursor:pointer; font-weight:600;
}
.color-swatch{ width:18px; height:18px; border-radius:999px; border:1px solid rgba(0,0,0,.18) }
.color-btn[aria-pressed="true"]{ box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.22) }
.color-label{ margin:6px 0; font-weight:600 }



/* Sold-badge under product title — thin text, nice red, with emoji */
.sold-badge{
  margin: 4px 0 12px;
  display: inline-flex;            /* keep it tight under the title */
  align-items: center;
  gap: 6px;
  font-family: "Archivo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 200;                /* THIN text */
  font-size: 0.95rem;
  letter-spacing: 0.1px;
  color: #e11d48;                  /* nice red (rose-600-ish) */
}

.sold-badge__icon{
  line-height: 1;
  font-size: 1rem;                 /* matches text size */
}

.sold-badge strong{
  font-weight: 800;                /* keep the numbers punchy */
  color: #b91c1c;                  /* a bit darker red for emphasis */
}
/* Sold-badge under product title — thin red, block layout */
.sold-badge{
  display: flex;                 /* keeps price on next line */
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;              /* space below the title */
  font-family: "Archivo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 200;              /* thin */
  font-size: 0.95rem;
  letter-spacing: 0.1px;
  color: #ff0000;                /* red */
}
.sold-badge__icon{ line-height: 1; font-size: 1rem; }

/* Neutralize any leftover bold from old markup just in case */
.sold-badge strong,
.sold-badge b{
  font-weight: 200;
  color: #ff0000;
}

/* Extra gap below the title */
.preview__info #p-title.preview__title{
  margin: 0 0 12px !important;
}

/* Keep price on its own line and add space below it */
.preview__info .preview__price{
  display: block;
  margin: 0 0 16px !important;   /* space underneath the price */
}



/* ===== Product accordion (border-only, square corners) ===== */
#acc-wrap{ margin-top:14px; }

.acc{
  border:1px solid var(--line, #e9edf3);
  border-radius:0;
  background:transparent;
  margin:8px 0;
}

.acc > summary{
  list-style:none;
  cursor:pointer;
  user-select:none;
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 14px;
  font-family:"Archivo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight:800;                   /* bold label like your screenshot */
  letter-spacing:.2px;
  background:transparent;
}
.acc > summary::-webkit-details-marker{ display:none; }

/* right-side + / − icon */
.acc .acc-icon{ font-size:18px; line-height:1; opacity:.9; }
.acc:not([open]) .acc-icon::before{ content:"+"; }
.acc[open] .acc-icon::before{ content:"–"; }

/* subtle divider when open */
.acc[open] > summary{ border-bottom:1px solid var(--line, #e9edf3); }

/* animated panel using grid trick (no JS needed) */
.acc__content{
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows .22s ease;
}
.acc[open] .acc__content{ grid-template-rows:1fr; }

.acc__inner{
  overflow:hidden;
  padding:12px 14px;
  font-family:"Archivo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight:200;
  font-size:.95rem;
  line-height:1.6;
}

/* bullets spacing (optional) */
.acc__inner ul{ margin:0; padding-left:18px; }



/* Match accordion width to ATC / Buy Now */
#acc-wrap{
  width: 90% !important;      /* same as desktop ATC/Buy Now */
  justify-self: start;         /* align left if parent is grid */
  margin-top: 14px;            /* keep your spacing */
}
#acc-wrap .acc{ width: 100%; } /* details fill the wrapper */

/* Phones ≤480px: full width (same as ATC on mobile) */
@media (max-width:480px){
  #acc-wrap{ width: 100% !important; }
}
/* Related cards price styling (mirrors index) */
.related .price__final,
.rel-card__price .price__final{ font-weight:800; color: var(--sale, #e31b0c); }

.related .price__was,
.rel-card__price .price__was{ color:#98a2b3; text-decoration: line-through; margin-left:8px; font-weight:400; }




/* Put the button on the far right of the Size row */
.size-label{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;          /* breathing room below the price */
}

.size-guide-btn{
  margin-left:auto;         /* pushes it to the right */
}
.size-guide-btn{
  margin-left:auto;                 /* keep it on the right */
  margin-right:clamp(3px, 1vw, 1px); /* pull it left a little */
}

/* Place "Size guide" next to the Size label (not flush-right) */
.size-label{ justify-content:flex-start; }  /* keep the row left-aligned */

.size-label .size-guide-btn{
  margin-left: 270px !important;  /* small gap after "Size:" value */
  margin-right: 0 !important;    /* cancel previous right spacing */
}
/* phones ≤480px */
@media (max-width: 480px){
  .size-label .size-guide-btn{
    margin-left: 170px !important;
    margin-right: 0 !important; /* keep clean override */
  }
}


/* "+N" more tile (same size as a thumb) */
.thumbs__more{
  width:72px; height:72px;
  position:relative;
  border:1px solid var(--line, #e9edf3);
  border-radius:0;
  overflow:hidden;
  padding:0;
  background:#000;
  cursor:pointer;
  display:block;
}

.thumbs__more-img{
  width:100%; height:100%;
  object-fit:cover;
  filter: blur(2px) brightness(0.65);
  transform: scale(1.05); /* hide blur edges */
}

.thumbs__more-badge{
  position:absolute; inset:0;
  display:grid; place-items:center;
  color:#fff; font-weight:800;
  font-family:"Archivo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size:1rem; letter-spacing:.3px;
  /* white text with black stroke */
  -webkit-text-stroke: 1.25px #000;
  text-shadow:
    0 0 2px #000,
    0 0 4px #000,
    0 0 6px #000;
}
/* --- "+N" tile: blur-only, no darkening, white text --- */
.thumbs__more{
  background: transparent; /* remove black exposure */
}

.thumbs__more-img{
  filter: blur(2.5px);      /* only blur */
  transform: scale(1.06);   /* hide blur edges */
}

.thumbs__more-badge{
  color: #fff;              /* white text */
  -webkit-text-stroke: 0;   /* remove stroke */
  text-shadow: none;        /* remove glow/shadow */
}
