/** Shopify CDN: Minification failed

Line 401:0 Unexpected "@supports"
Line 594:5 Unexpected "("

**/
/* ==============================
   Kent Dubs Customiser (kd_customiser)
   Full fixed block – replace entire Kent Dubs CSS section
   ============================== */

.kd-customiser{
  width:100%;
  max-width:520px;
}

/* groups */
.kd-customiser .kd-group{
  margin:0 0 18px;
  padding:0;
  border:0;
}

.kd-customiser .kd-group>legend{
  font-weight:600;
  font-size:14px;
  margin:0 0 10px;
  padding:0;
}

/* grid */
.kd-customiser .kd-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(110px,1fr));
  gap:10px;
  overflow:visible; /* allow hover previews to overlap */
}

/* tile */
.kd-customiser .kd-tile{
  position:relative;
  display:grid;
  gap:8px;
  align-content:start;
  padding:10px;
  border:1px solid rgba(0,0,0,.12);
  border-radius:12px;
  background:rgba(255,255,255,.55);
  transition: border-color .12s ease, box-shadow .12s ease, background .12s ease; /* NOTE: no transform transition */
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  overflow:visible; /* allow enlarged image to escape */
}

/* subtle hover lift (optional) */
.kd-customiser .kd-tile:hover{
  border-color:rgba(0,0,0,.22);
  box-shadow:0 6px 16px rgba(0,0,0,.08);
  background:rgba(255,255,255,.8);
}

/* hide native radio but keep it clickable (pattern A: input inside tile) */
.kd-customiser .kd-tile>input[type="radio"]{
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer;
}

/* image inside tile */
.kd-customiser .kd-tile>img{
  width:100%;
  height:92px;
  object-fit:cover;
  border-radius:10px;
  background:#f2f2f2; /* good for PNG transparency */
  border:1px solid rgba(0,0,0,.08);

  /* hover preview basics */
  position:relative;
  z-index:1;
  transform-origin:center;
  transition: transform .18s ease .05s, box-shadow .18s ease .05s, border-radius .18s ease .05s;
}

/* label text */
.kd-customiser .kd-label{
  font-size:12px;
  line-height:1.2;
  font-weight:600;
  color:rgba(0,0,0,.78);
}

/* --------------------------------
   Selected (fallback – no :has)
   Pattern A: input inside tile
----------------------------------*/
.kd-customiser .kd-tile>input[type="radio"]:checked~img{
  border-color:rgba(0,0,0,.65);
  box-shadow: 0 0 0 2px rgba(0,0,0,.18);
}

.kd-customiser .kd-tile>input[type="radio"]:checked~.kd-label{
  color:rgba(0,0,0,.92);
}

/* --------------------------------
   Selected (fallback)
   Pattern B: Shopify swatches often = input + label
----------------------------------*/
.kd-customiser input[type="radio"]:checked + label.kd-tile{
  border-color: rgba(243, 123, 19, 1);
  border-width: 2px;
  background: rgba(243, 123, 19, 0.06);
  box-shadow: 0 10px 22px rgba(0,0,0,.10), 0 0 0 3px rgba(243, 123, 19, 0.25);
}

/* Outline the “visual” part in Pattern B (img or span swatch etc.) */
.kd-customiser input[type="radio"]:checked + label.kd-tile img,
.kd-customiser input[type="radio"]:checked + label.kd-tile .kd-swatch,
.kd-customiser input[type="radio"]:checked + label.kd-tile .swatch{
  outline: 2px solid rgba(243, 123, 19, 0.65);
  outline-offset: 2px;
  border-radius: 12px;
}

/* Tick badge for Pattern B (works without :has) */
.kd-customiser input[type="radio"]:checked + label.kd-tile::after{
  content:"✓";
  position:absolute;
  top:10px;
  right:10px;
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background: rgb(243, 123, 19);
  color:#fff;
  font-size:13px;
  font-weight:900;
  box-shadow: 0 6px 14px rgba(0,0,0,.18);
  z-index:60;
  pointer-events:none;
}

/* ==============================
   Stronger selected state + orange tick
   (uses :has when available)
   ============================== */
@supports selector(label:has(input:checked)) {
  .kd-customiser .kd-tile:has(> input[type="radio"]:checked){
    border-color: rgba(243, 123, 19, 1);           /* Kent Dubs orange */
    border-width: 2px;
    background: rgba(243, 123, 19, 0.06);
    box-shadow: 0 10px 22px rgba(0,0,0,.10), 0 0 0 3px rgba(243, 123, 19, 0.25);
  }

  .kd-customiser .kd-tile:has(> input[type="radio"]:checked) > img{
    border-color: rgba(243, 123, 19, 0.9);
    box-shadow: 0 0 0 2px rgba(243, 123, 19, 0.18);
  }

  .kd-customiser .kd-tile:has(> input[type="radio"]:checked) .kd-label{
    color: rgba(0,0,0,.95);
  }

  /* orange tick badge in top right */
  .kd-customiser .kd-tile:has(> input[type="radio"]:checked)::after{
    content:"✓";
    position:absolute;
    top:10px;
    right:10px;
    width:22px;
    height:22px;
    display:grid;
    place-items:center;
    border-radius:999px;
    background: rgb(243, 123, 19);
    color:#fff;
    font-size:13px;
    font-weight:900;
    box-shadow: 0 6px 14px rgba(0,0,0,.18);
    z-index:60; /* above preview */
    pointer-events:none;
  }
}

/* ===============================
   Hover / focus preview on ALL tiles
   (scales image only, so grid doesn't jump)
   =============================== */

/* Make sure nothing clips the enlarged image */
.kd-customiser,
.kd-customiser .kd-group,
.kd-customiser fieldset,
.kd-customiser .kd-grid{
  overflow: visible !important;
}

/* IMPORTANT:
   Do NOT globally kill transforms.
   We keep the TILE stable; only the IMAGE scales. */
.kd-customiser .kd-tile{
  transform: none !important;   /* prevents tile “going wappy” */
  will-change: auto !important;
  backface-visibility: hidden;
  overflow: visible !important;
}

/* Desktop hover: enlarge image */
@media (hover: hover) and (pointer: fine){
  .kd-customiser .kd-tile:hover{
    z-index: 50; /* sits above neighbours */
  }

  .kd-customiser .kd-tile:hover > img{
    z-index: 51;
    transform: scale(1.9);
    box-shadow: 0 14px 34px rgba(0,0,0,.28);
    border-radius: 14px;
  }

  /* Caption pill (uses data-name, set by JS) */
  .kd-customiser .kd-tile:hover::before{
    content: attr(data-name);
    position:absolute;
    left:50%;
    bottom:-30px;
    transform:translateX(-50%);
    font-size:12px;
    font-weight:700;
    line-height:1;
    background:rgba(0,0,0,.88);
    color:#fff;
    padding:6px 10px;
    border-radius:999px;
    white-space:nowrap;
    box-shadow:0 10px 24px rgba(0,0,0,.20);
    z-index:55;
    pointer-events:none;
  }

  /* Hide caption if no data-name exists */
  .kd-customiser .kd-tile:not([data-name]):hover::before,
  .kd-customiser .kd-tile[data-name=""]:hover::before{
    content:"";
    display:none;
  }
}

/* Touch/mobile: tap focuses the input -> show a smaller zoom */
.kd-customiser .kd-tile:focus-within{
  z-index: 50;
}

.kd-customiser .kd-tile:focus-within > img{
  z-index: 51;
  transform: scale(1.35);
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
  border-radius: 14px;
}

/* ===============================
   Selected tile name placement
   =============================== */

/* Hide hover caption when tile is selected */
@supports selector(label:has(input:checked)) {
  .kd-customiser .kd-tile[data-name]:has(> input[type="radio"]:checked):hover::before{
    display:none;
  }

  /* Show name inside selected tile */
  .kd-customiser .kd-tile:has(> input[type="radio"]:checked)::before{
    content: attr(data-name);
    position:absolute;
    left:50%;
    bottom:10px;
    transform:translateX(-50%);
    font-size:12px;
    font-weight:800;
    background: rgba(243,123,19,0.95); /* Kent Dubs orange */
    color:#fff;
    padding:6px 12px;
    border-radius:999px;
    white-space:nowrap;
    z-index:65; /* above image + shadow */
    pointer-events:none;
    box-shadow:0 6px 16px rgba(0,0,0,.25);
  }
}/* =========================================================
   KD: Make Prestige "swatch" option labels match KD tiles
   (Fixes Eye colour selection styling + tick layer order)
   ========================================================= */

/* Ensure any option label inside kd-customiser can host a tick */
.kd-customiser label {
  position: relative;
  isolation: isolate; /* creates a reliable stacking context */
}

/* Target NON kd-tile labels (Prestige swatches) when checked */
@supports selector(label:has(input:checked)) {

  /* Selected state on Prestige swatch labels (NOT your kd tiles) */
  .kd-customiser label:not(.kd-tile):has(input[type="radio"]:checked) {
    border-color: rgba(243, 123, 19, 1) !important;
    border-width: 2px !important;
    background: rgba(243, 123, 19, 0.06) !important;
    box-shadow: 0 10px 22px rgba(0,0,0,.10), 0 0 0 3px rgba(243, 123, 19, 0.25) !important;
  }

  /* If the colour square is a child span/div, keep it under the tick */
  .kd-customiser label:not(.kd-tile):has(input[type="radio"]:checked) * {
    z-index: 1;
  }

  /* Orange tick badge (won’t “disappear” behind swatch layers) */
  .kd-customiser label:not(.kd-tile):has(input[type="radio"]:checked)::after {
    content: "✓";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgb(243, 123, 19);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 6px 14px rgba(0,0,0,.18);
    z-index: 999;          /* above everything */
    pointer-events: none;
  }
}
/* =========================================================
   KD HARD OVERRIDE: keep tick visible on checked kd-tile
   (fixes tick appearing then disappearing)
   Paste at VERY BOTTOM of theme.css
   ========================================================= */

@supports selector(label:has(input:checked)) {

  /* create a stable stacking context for the tick */
  .kd-customiser .kd-tile{
    position: relative !important;
    isolation: isolate !important;
    overflow: visible !important;
  }

  /* keep tile contents below the tick */
  .kd-customiser .kd-tile > img,
  .kd-customiser .kd-tile > .kd-label{
    position: relative;
    z-index: 1;
  }

  /* FORCE tick on checked tiles */
  .kd-customiser .kd-tile:has(> input[type="radio"]:checked)::after{
    content:"✓" !important;
    position:absolute !important;
    top:10px !important;
    right:10px !important;
    width:22px !important;
    height:22px !important;
    display:grid !important;
    place-items:center !important;
    border-radius:999px !important;
    background: rgb(243, 123, 19) !important;
    color:#fff !important;
    font-size:13px !important;
    font-weight:900 !important;
    box-shadow: 0 6px 14px rgba(0,0,0,.18) !important;
    z-index: 9999 !important;
    pointer-events:none !important;
  }
}
/* =========================================================
   KD FINAL UX: Remove selected-name pill
   - Keep labels visible at all times
   - Use image + label + tick for clarity
   ========================================================= */

@supports selector(label:has(input:checked)) {
  .kd-customiser .kd-tile::before{
    content: none !important;
  }
}
/* =========================================================
   KD FINAL FIX: Prevent selected tiles staying zoomed
   - Hover can zoom
   - Selected state NEVER stays scaled
   ========================================================= */

/* If a tile is selected, cancel any zoom */
.kd-customiser .kd-tile.kd-selected > img,
@supports selector(label:has(input:checked)) {
  .kd-customiser .kd-tile:has(> input[type="radio"]:checked) > img{
    transform: none !important;
    box-shadow: none !important;
  }
}

/* Also kill focus-based zoom once selected */
.kd-customiser .kd-tile.kd-selected:focus-within > img{
  transform: none !important;
  box-shadow: none !important;
}
/* KD: disable focus zoom completely (prevents sticky zoom) */
.kd-customiser .kd-tile:focus-within > img{
  transform: none !important;
  box-shadow: none !important;
}
/* =========================================================
   KD – Add-ons tiles styling (match main swatch selections)
   - Orange border + tick when checked
   - Turns default checkbox into a Prestige-style tick badge
   - Works with checkbox-based add-ons grids
   ========================================================= */

:root{
  /* tweak if your orange differs */
  --kd-accent: #ff7a00;
}

/* Try to target your add-ons area without being brittle */
.kd-addons,
#kd-addons,
[data-kd-addons],
.product-form .kd-addons,
.product-form [data-kd-addons]{
  --kd-addon-radius: 12px;
}

/* Tile/card base */
.kd-addons .kd-addon,
#kd-addons .kd-addon,
[data-kd-addons] .kd-addon,
.kd-addons .kd-addon-tile,
#kd-addons .kd-addon-tile,
[data-kd-addons] .kd-addon-tile{
  position: relative;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: var(--kd-addon-radius);
  background: #fff;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease, transform .08s ease;
}

/* Hover/press feel */
.kd-addons .kd-addon:hover,
#kd-addons .kd-addon:hover,
[data-kd-addons] .kd-addon:hover,
.kd-addons .kd-addon-tile:hover,
#kd-addons .kd-addon-tile:hover,
[data-kd-addons] .kd-addon-tile:hover{
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.kd-addons .kd-addon:active,
#kd-addons .kd-addon:active,
[data-kd-addons] .kd-addon:active,
.kd-addons .kd-addon-tile:active,
#kd-addons .kd-addon-tile:active,
[data-kd-addons] .kd-addon-tile:active{
  transform: translateY(1px);
}

/* Make the checkbox look like your orange tick badge */
.kd-addons input[type="checkbox"],
#kd-addons input[type="checkbox"],
[data-kd-addons] input[type="checkbox"]{
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(0,0,0,.18);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
  transition: background-color .15s ease, border-color .15s ease, transform .08s ease;
}

.kd-addons input[type="checkbox"]::after,
#kd-addons input[type="checkbox"]::after,
[data-kd-addons] input[type="checkbox"]::after{
  content: "✓";
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  color: #fff;
  transform: scale(0);
  transition: transform .12s ease;
}

.kd-addons input[type="checkbox"]:checked,
#kd-addons input[type="checkbox"]:checked,
[data-kd-addons] input[type="checkbox"]:checked{
  background: var(--kd-accent);
  border-color: var(--kd-accent);
}

.kd-addons input[type="checkbox"]:checked::after,
#kd-addons input[type="checkbox"]:checked::after,
[data-kd-addons] input[type="checkbox"]:checked::after{
  transform: scale(1);
}

/* Add the orange border highlight to the tile when checked
   Uses :has() (supported in modern Safari/Chrome/Edge) */
.kd-addons .kd-addon:has(input[type="checkbox"]:checked),
#kd-addons .kd-addon:has(input[type="checkbox"]:checked),
[data-kd-addons] .kd-addon:has(input[type="checkbox"]:checked),
.kd-addons .kd-addon-tile:has(input[type="checkbox"]:checked),
#kd-addons .kd-addon-tile:has(input[type="checkbox"]:checked),
[data-kd-addons] .kd-addon-tile:has(input[type="checkbox"]:checked){
  border-color: var(--kd-accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--kd-accent) 40%, transparent);
}

/* If your add-on card is a <label> wrapper, highlight that too */
.kd-addons label:has(input[type="checkbox"]:checked),
#kd-addons label:has(input[type="checkbox"]:checked),
[data-kd-addons] label:has(input[type="checkbox"]:checked){
  outline: 2px solid var(--kd-accent);
  outline-offset: 0;
  border-radius: var(--kd-addon-radius);
}

/* Image in add-on tile */
.kd-addons img,
#kd-addons img,
[data-kd-addons] img{
  border-radius: calc(var(--kd-addon-radius) - 2px);
}

/* Title text under add-on image (keep it tidy like swatches) */
.kd-addons .kd-addon__title,
#kd-addons .kd-addon__title,
[data-kd-addons] .kd-addon__title{
  font-size: 12px;
  line-height: 1.2;
  margin-top: 6px;
}

/* Mobile: slightly larger tap targets */
@media (max-width: 740px){
  .kd-addons input[type="checkbox"],
  #kd-addons input[type="checkbox"],
  [data-kd-addons] input[type="checkbox"]{
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
  }
}
/* =========================================================
   KD – Fix add-ons tick hiding behind image (z-index/stacking)
   Paste AFTER the add-ons styles
   ========================================================= */

/* Make sure the tile creates a stacking context */
.kd-addons .kd-addon,
#kd-addons .kd-addon,
[data-kd-addons] .kd-addon,
.kd-addons .kd-addon-tile,
#kd-addons .kd-addon-tile,
[data-kd-addons] .kd-addon-tile{
  position: relative;
  z-index: 0;
}

/* Force media/image layer BELOW */
.kd-addons img,
#kd-addons img,
[data-kd-addons] img{
  position: relative;
  z-index: 1;
}

/* If you have a media wrapper, keep it below too (covers most themes) */
.kd-addons .kd-addon__media,
#kd-addons .kd-addon__media,
[dat]()
/* =========================================================
   KD – Add-ons tick overlay FIX (render tick on the tile, not the checkbox)
   This avoids stacking-context issues from images/lazyload wrappers.
   ========================================================= */

:root{ --kd-accent:#ff7a00; }

/* Target the add-on "tile" element – supports common wrappers:
   .kd-addon, .kd-addon-tile, or a <label> wrapping the checkbox+content */
.kd-addons .kd-addon,
#kd-addons .kd-addon,
[data-kd-addons] .kd-addon,
.kd-addons .kd-addon-tile,
#kd-addons .kd-addon-tile,
[data-kd-addons] .kd-addon-tile,
.kd-addons label,
#kd-addons label,
[data-kd-addons] label{
  position: relative;
}

/* Make sure any media wrappers/images sit "below" the overlay */
.kd-addons img,
#kd-addons img,
[data-kd-addons] img,
.kd-addons picture,
#kd-addons picture,
[data-kd-addons] picture,
.kd-addons .media,
#kd-addons .media,
[data-kd-addons] .media{
  position: relative;
  z-index: 1;
}

/* Keep the real checkbox clickable but invisible (we draw our own tick) */
.kd-addons input[type="checkbox"],
#kd-addons input[type="checkbox"],
[data-kd-addons] input[type="checkbox"]{
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  opacity: 0;              /* hide native */
  z-index: 60;             /* still clickable */
  cursor: pointer;
}

/* Draw the circle badge on the tile itself */
.kd-addons .kd-addon:has(input[type="checkbox"])::before,
#kd-addons .kd-addon:has(input[type="checkbox"])::before,
[data-kd-addons] .kd-addon:has(input[type="checkbox"])::before,
.kd-addons .kd-addon-tile:has(input[type="checkbox"])::before,
#kd-addons .kd-addon-tile:has(input[type="checkbox"])::before,
[data-kd-addons] .kd-addon-tile:has(input[type="checkbox"])::before,
.kd-addons label:has(input[type="checkbox"])::before,
#kd-addons label:has(input[type="checkbox"])::before,
[data-kd-addons] label:has(input[type="checkbox"])::before{
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid rgba(0,0,0,.18);
  z-index: 70;             /* ABOVE image */
}

/* When checked: orange badge + tick */
.kd-addons .kd-addon:has(input[type="checkbox"]:checked)::before,
#kd-addons .kd-addon:has(input[type="checkbox"]:checked)::before,
[data-kd-addons] .kd-addon:has(input[type="checkbox"]:checked)::before,
.kd-addons .kd-addon-tile:has(input[type="checkbox"]:checked)::before,
#kd-addons .kd-addon-tile:has(input[type="checkbox"]:checked)::before,
[data-kd-addons] .kd-addon-tile:has(input[type="checkbox"]:checked)::before,
.kd-addons label:has(input[type="checkbox"]:checked)::before,
#kd-addons label:has(input[type="checkbox"]:checked)::before,
[data-kd-addons] label:has(input[type="checkbox"]:checked)::before{
  background: var(--kd-accent);
  border-color: var(--kd-accent);
}

.kd-addons .kd-addon:has(input[type="checkbox"]:checked)::after,
#kd-addons .kd-addon:has(input[type="checkbox"]:checked)::after,
[data-kd-addons] .kd-addon:has(input[type="checkbox"]:checked)::after,
.kd-addons .kd-addon-tile:has(input[type="checkbox"]:checked)::after,
#kd-addons .kd-addon-tile:has(input[type="checkbox"]:checked)::after,
[data-kd-addons] .kd-addon-tile:has(input[type="checkbox"]:checked)::after,
.kd-addons label:has(input[type="checkbox"]:checked)::after,
#kd-addons label:has(input[type="checkbox"]:checked)::after,
[data-kd-addons] label:has(input[type="checkbox"]:checked)::after{
  content: "✓";
  position: absolute;
  top: 9px;
  right: 14px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  z-index: 80;             /* ABSOLUTE TOP */
}

/* Your orange border highlight (kept) */
.kd-addons .kd-addon:has(input[type="checkbox"]:checked),
#kd-addons .kd-addon:has(input[type="checkbox"]:checked),
[data-kd-addons] .kd-addon:has(input[type="checkbox"]:checked),
.kd-addons .kd-addon-tile:has(input[type="checkbox"]:checked),
#kd-addons .kd-addon-tile:has(input[type="checkbox"]:checked),
[data-kd-addons] .kd-addon-tile:has(input[type="checkbox"]:checked),
.kd-addons label:has(input[type="checkbox"]:checked),
#kd-addons label:has(input[type="checkbox"]:checked),
[data-kd-addons] label:has(input[type="checkbox"]:checked){
  border-color: var(--kd-accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--kd-accent) 40%, transparent);
}

/* Mobile tap target tweaks */
@media (max-width: 740px){
  .kd-addons input[type="checkbox"],
  #kd-addons input[type="checkbox"],
  [data-kd-addons] input[type="checkbox"]{
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
  }

  .kd-addons .kd-addon:has(input[type="checkbox"])::before,
  #kd-addons .kd-addon:has(input[type="checkbox"])::before,
  [data-kd-addons] .kd-addon:has(input[type="checkbox"])::before,
  .kd-addons .kd-addon-tile:has(input[type="checkbox"])::before,
  #kd-addons .kd-addon-tile:has(input[type="checkbox"])::before,
  [data-kd-addons] .kd-addon-tile:has(input[type="checkbox"])::before,
  .kd-addons label:has(input[type="checkbox"])::before,
  #kd-addons label:has(input[type="checkbox"])::before,
  [data-kd-addons] label:has(input[type="checkbox"])::before{
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
  }

  .kd-addons .kd-addon:has(input[type="checkbox"]:checked)::after,
  #kd-addons .kd-addon:has(input[type="checkbox"]:checked)::after,
  [data-kd-addons] .kd-addon:has(input[type="checkbox"]:checked)::after,
  .kd-addons .kd-addon-tile:has(input[type="checkbox"]:checked)::after,
  #kd-addons .kd-addon-tile:has(input[type="checkbox"]:checked)::after,
  [data-kd-addons] .kd-addon-tile:has(input[type="checkbox"]:checked)::after,
  .kd-addons label:has(input[type="checkbox"]:checked)::after,
  #kd-addons label:has(input[type="checkbox"]:checked)::after,
  [data-kd-addons] label:has(input[type="checkbox"]:checked)::after{
    top: 12px;
    right: 17px;
  }
}
/* =========================================================
   KD – Add-ons tiles (clean + matches main tiles)
   Targets ONLY: .kd-grid--addons
   ========================================================= */

:root { --kd-accent:#ff7a00; }

/* Grid spacing consistent */
.kd-grid--addons{
  gap: 12px;
}

/* Tile base */
.kd-grid--addons label.kd-addon-tile{
  position: relative;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 16px;
  background: #fff;
  padding: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .15s ease, transform .08s ease, border-color .15s ease;
}

/* Hover */
.kd-grid--addons label.kd-addon-tile:hover{
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
}

/* Stop the “pop out / huge preview” behaviour on add-ons only */
.kd-grid--addons label.kd-addon-tile:hover,
.kd-grid--addons label.kd-addon-tile:focus-within{
  transform: none !important;
}

/* Image */
.kd-grid--addons label.kd-addon-tile > img{
  width: 100%;
  height: 92px;
  object-fit: cover;
  border-radius: 12px;
  background: #f2f2f2;
  border: 1px solid rgba(0,0,0,.08);
  display: block;
}

/* Title text (usually a span/div in label) */
.kd-grid--addons label.kd-addon-tile .kd-tile__label,
.kd-grid--addons label.kd-addon-tile .kd-tile__title,
.kd-grid--addons label.kd-addon-tile .kd-label{
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
}

/* Checkbox: hide native, but keep it clickable */
.kd-grid--addons label.kd-addon-tile input[type="checkbox"]{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  margin: 0;
  opacity: 0;
  z-index: 5;
  cursor: pointer;
}

/* Selected state: orange border like other tiles */
.kd-grid--addons label.kd-addon-tile:has(input[type="checkbox"]:checked){
  border-color: var(--kd-accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--kd-accent) 40%, transparent);
}

/* Orange circle badge */
.kd-grid--addons label.kd-addon-tile:has(input[type="checkbox"]:checked)::before{
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--kd-accent);
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  z-index: 6;
  pointer-events: none;
}

/* White tick */
.kd-grid--addons label.kd-addon-tile:has(input[type="checkbox"]:checked)::after{
  content: "✓";
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  z-index: 7;
  pointer-events: none;
}

/* Kill any theme “tick” graphics inside add-ons tiles so we don’t get doubles */
.kd-grid--addons label.kd-addon-tile svg,
.kd-grid--addons label.kd-addon-tile .icon,
.kd-grid--addons label.kd-addon-tile .check,
.kd-grid--addons label.kd-addon-tile .checkmark,
.kd-grid--addons label.kd-addon-tile .checkbox{
  display: none !important;
}
/* =========================================================
   KD – Snorkel tiles (match add-ons tiles sizing exactly)
   Paste at VERY BOTTOM of theme.css
   ========================================================= */

:root { --kd-accent:#ff7a00; }

/* Make snorkel grid behave like add-ons grid */
.kd-grid--snorkel{
  gap: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}

/* Tile base */
.kd-grid--snorkel label.kd-addon-tile{
  position: relative;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 16px;
  background: #fff;
  padding: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .15s ease, transform .08s ease, border-color .15s ease;
}

/* Hover */
.kd-grid--snorkel label.kd-addon-tile:hover{
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
}

/* Image */
.kd-grid--snorkel label.kd-addon-tile > img{
  width: 100%;
  height: 92px;
  object-fit: cover;
  border-radius: 12px;
  background: #f2f2f2;
  border: 1px solid rgba(0,0,0,.08);
  display: block;
}

/* Title text */
.kd-grid--snorkel label.kd-addon-tile .kd-tile__label,
.kd-grid--snorkel label.kd-addon-tile .kd-tile__title,
.kd-grid--snorkel label.kd-addon-tile .kd-label{
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
}

/* Radio: keep it clickable but hidden */
.kd-grid--snorkel label.kd-addon-tile input[type="radio"]{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  margin: 0;
  opacity: 0;
  z-index: 5;
  cursor: pointer;
}

/* Selected state */
.kd-grid--snorkel label.kd-addon-tile:has(input[type="radio"]:checked){
  border-color: var(--kd-accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--kd-accent) 40%, transparent);
}

/* Orange circle badge */
.kd-grid--snorkel label.kd-addon-tile:has(input[type="radio"]:checked)::before{
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--kd-accent);
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  z-index: 6;
  pointer-events: none;
}

/* White tick */
.kd-grid--snorkel label.kd-addon-tile:has(input[type="radio"]:checked)::after{
  content: "✓";
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  z-index: 7;
  pointer-events: none;
}@media screen and (max-width: 767px) {
  cart-drawer {
    height: 100dvh !important;
    max-height: 100dvh !important;
  }

  cart-drawer::part(content) {
    height: 100dvh !important;
    max-height: 100dvh !important;
    padding-bottom: calc(90px + env(safe-area-inset-bottom)) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
  }

  cart-drawer::part(footer) {
    position: sticky !important;
    bottom: 0 !important;
    background: #fff !important;
    z-index: 50 !important;
    padding-bottom: calc(16px + env(safe-area-inset-bottom)) !important;
  }
}