/* Breadcrumb spacing tweak (optional) */
.breadcrumbs { padding-top: 8px; padding-bottom: 0; }

/* Title block */
.page-heading { padding: 8px 0 16px; }

/* Figma-aligned title */
.byo-page-title{
  margin: 0;
  color: #010403;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-size: clamp(2.25rem, 1.5rem + 2vw, 3rem);
}

/* Optional: for very large screens you can push a bit bigger */
@media (min-width: 1400px){
  .byo-page-title{ font-size: 32px; }
}


/* BYO Progress — Figma-aligned */
.byo-steps { --chev: 24px; --border: #E8E8E8; --bg-current: #FBFBFB; --bg: #FFFFFF; gap: 0; }

.byo-step{
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  min-height: 80px;
  /* ensure the triangle joins overlap cleanly */
  z-index: 0;
}

.byo-step:first-child{ border-radius: 10px 0 0 10px; }
.byo-step:last-child { border-radius: 0 10px 10px 0; }

/* Current step background from Figma (#FBFBFB) */
.byo-step.is-current { --bg: var(--bg-current); background: var(--bg-current); }

/* Create chevron joins by overlaying a triangle from the next step.
   We draw a 1px border triangle (::before) then the fill triangle (::after). */
.byo-step + .byo-step { margin-left: var(--chev); }
.byo-step + .byo-step::before,
.byo-step + .byo-step::after{
  content: "";
  position: absolute;
  top: -1px; left: calc(-1 * var(--chev));
  width: 0; height: 0;
  border-top: calc(40px + 1px) solid transparent;   /* half of 80px + 1px border */
  border-bottom: calc(40px + 1px) solid transparent;
  pointer-events: none;
}
.byo-step + .byo-step::before{
  border-right: var(--chev) solid var(--border);    /* thin grey edge */
  z-index: 1;
}
.byo-step + .byo-step::after{
  top: 0;
  border-top: 40px solid transparent;
  border-bottom: 40px solid transparent;
  border-right: var(--chev) solid var(--bg);        /* fill matches this step bg */
  z-index: 2;
}

/* Typography (from Figma: weight 500/600, -3% tracking look) */
.byo-step .step-index{
  font-weight: 500;
  font-size: 20px;
  line-height: 20px;
  letter-spacing: -0.03em;
  color: #010403;
}
.byo-step .step-title{
  font-weight: 600;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: -0.03em;
  color: #010403;
}

/* Icon sizing */
.byo-step .step-icon svg{ display:block; width:40px; height:40px; }

/* Small screens: tighten padding and stack if needed */
@media (max-width: 576px){
  .byo-step { min-height: 64px; }
  .byo-step .step-title { font-size: 14px; }
  .byo-step .step-index { font-size: 18px; }
  .byo-steps { --chev: 18px; }
}




/* UI SLIDER */

/* Pills */
.btn-pill{
  background:#fff;
  border:1px solid #E8E8E8;
  padding:.5rem 1.25rem;
  border-radius:999px;
  font-weight:600;
}
.btn-check:checked + .btn-pill{
  background:#1c4e46; color:#fff; border-color:#1c4e46;
}

/* Shape cards */
.shape-card{
  display:flex; flex-direction:column; align-items:center; gap:.5rem;
  width:90px; height:80px; padding:12px;
  border:1px solid #E8E8E8; border-radius:10px; background:#fff;
  transition:box-shadow .2s, transform .1s; cursor:pointer;
}
.shape-card .shape-ico img{ width:28px; height:28px; object-fit:contain; }
.shape-card .shape-label{ font-size:.9rem; }
.shape-card.active{ outline:2px solid #16423C; box-shadow:0 0 0 2px rgba(28,78,70,.15) inset; }

/* Sliders */
.slider-wrapper{ position:relative; }
.noUi-target{ height:10px; background:#e0e0e0; border:none; box-shadow:none; }
.noUi-connect{ background:#16423C !important; }
.noUi-horizontal .noUi-handle{
  width:30px !important; height:30px !important; right:-17px; top:-8px;
  border-radius:50%; background:#fff; border:2px solid #ccc; box-shadow:none;
}
.noUi-handle:after,.noUi-handle:before{ background:none; }

/* Tick labels below */
.slider-labels{ display:flex; justify-content:space-between; gap:8px; font-size:14px; color:#121212; }
.slider-labels span{ flex:1; text-align:center; }

/* Misc */
.info-i{
  display:inline-flex; align-items:center; justify-content:center;
  width:18px; height:18px; border-radius:50%;
  border:1px solid #c9c9c9; font-size:11px; line-height:1; color:#606060;
}
.btn-filters{
  background:#164d45; color:#fff; border-radius:10px; padding:.6rem 1.1rem;
}

.noUi-handle:after, .noUi-handle:before { left: 13px !important;}




/* --- stripes overlay (generic) --- */
.slider-split-lines{
  position:absolute;
  top:0; left:0; right:0;
  height:10px;                 /* same height as .noUi-target */
  display:flex;
  justify-content:space-between;
  pointer-events:none;
  z-index:10;                  /* above the dark bar, below handles */
}
.slider-split-lines div{ flex:1; position:relative; }
.slider-split-lines div:not(:last-child)::after{
  content:"";
  position:absolute;
  right:0; top: 1px;
  height: 17px;
  width: 3px;
  background:#fff;             /* white stripes */
  opacity:.9;
}


/* === Diamond Card (Figma) ========================================== */
.product-card.diamond-card{
  /* card */
  display:flex; flex-direction:column; align-items:flex-start;
  padding:16px 16px 24px; gap:16px;
  background:#fff; border:1px solid #F4F4F4; border-radius:10px;
  height:100%; isolation:isolate; position:relative;
}

/* like / wishlist */
.product-card.diamond-card .wishlist-btn{
  position:absolute; right:8px; top:8px;
  width:32px; height:32px; border-radius:9.27px;
  display:flex; align-items:center; justify-content:center;
  z-index:2;
}
.product-card.diamond-card .wishlist-btn .bi{
  font-size:20px; line-height:1; color:#16423C;
}

/* image area */
.product-card.diamond-card .product-img{
  width:100%;
  border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  /* keep a perfect square like the mock */
  aspect-ratio:1/1;
  background:#fff;
}
.product-card.diamond-card .product-img img{
  width:100%; height:100%; object-fit:contain; border-radius:10px;
}

/* text area */
.product-card.diamond-card .product-info{ width:100%; padding:0; gap:16px; display:flex; flex-direction:column; }

/* title (H5) */
.product-card.diamond-card .product-title{
  margin:0; padding:0;
  font-weight:500; font-size:16px; line-height:20px; letter-spacing:-.03em;
  color:#010403;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}

/* chips row */
.product-card.diamond-card .product-badges{
  display:flex; gap:8px; flex-wrap:wrap;
}
.product-card.diamond-card .product-badges .badge{
  background:#CDEEEA; color:#010403; border-radius:50px;
  font-weight:400; font-size:14px; line-height:20px;
  padding:3px 7px; border:none;
}
.product-card.diamond-card .badge.bg-teal,
.product-card.diamond-card .badge.bg-beige{ background:#CDEEEA; color:#010403; }

/* prices */
.product-card.diamond-card .product-pricing{
  display:flex; align-items:center; gap:12px;
}
.product-card.diamond-card .product-price{
  font-weight:500; font-size:20px; line-height:20px; letter-spacing:-.03em;
  color:#16423C;
}
.product-card.diamond-card .product-original-price{
  font-weight:500; font-size:14px; line-height:20px; letter-spacing:-.03em;
  color:#010403; text-decoration:line-through; margin-left:0;
}
/* hide the extra helper line on small cards */
.product-card.diamond-card .d-included{ display:none !important; }



/* Settings card */
.set-card{box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;padding:16px 16px 24px;gap:16px;width:292px;min-height:490px;background:#fff;border:1px solid #F4F4F4;border-radius:10px;position:relative}
.set-img{display:flex;justify-content:center;align-items:center;width:260px;height:271px;border-radius:10px;overflow:hidden;position:relative}
.set-img .product-img{width:100%;height:100%;object-fit:contain;transition:opacity .25s ease}
.set-like{position:absolute;right:0;top:0;width:32px;height:32px;border:0;background:#fff;border-radius:10px;display:grid;place-items:center;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.set-body{display:flex;flex-direction:column;gap:16px;width:100%}

/* swatches */
.set-swatches{display:flex;gap:8px;height:30px}
.set-swatch{width:24px;height:24px;border:1px solid #E8E8E8;border-radius:50%;box-sizing:border-box;background:linear-gradient(136deg,#F4F4F4 18%,#D8D8D8 83%)}
.set-swatch.gold{background:linear-gradient(136deg,#F9E79F 18%,#F1C40F 83%)}
.set-swatch.rose{background:linear-gradient(136deg,#F8D7D7 18%,#C97E7E 83%)}
.set-swatch.steel{background:linear-gradient(136deg,#EEE 18%,#BCBCBC 83%)}
.set-swatch.platinum{background:linear-gradient(135deg,#E5E4E2 44%,#F5C518 83%)}
.set-swatch.whiterose{background:linear-gradient(135deg,#E5E4E2 44%,#E6A1A1 70%)}
.set-swatch.two{background:linear-gradient(135deg,#E5E4E2 44%,#F1C40F 83%)}

/* title */
.set-title{font:500 16px/20px Metropolis,system-ui,sans-serif;letter-spacing:-.03em;margin:0}
.set-title a{color:#010403;text-decoration:none}

/* chips */
.set-chips{display:flex;gap:8px;flex-wrap:wrap}
.set-chips .chip{background:#CDEEEA;border-radius:50px;padding:3px 7px;font:400 14px/20px Metropolis,system-ui,sans-serif;letter-spacing:-.03em;color:#010403}

/* price row */
.set-price{display:flex;align-items:center;gap:8px}
.set-price strong{color:#16423C;font:500 16px/20px Metropolis,system-ui,sans-serif;letter-spacing:-.03em}
.set-price .set-price-old{color:#010403;text-decoration:line-through;font:500 14px/20px Metropolis,system-ui,sans-serif}
.set-price .set-price-note{font:400 14px/20px Metropolis,system-ui,sans-serif;color:#010403}
