/* Ported from sections/clergy-product-main.liquid */
.clg-s-pmain .clg-pdp-wrap{background:#f7f2e9}
  .clg-s-pmain .clg-crumbs{padding:16px 0;font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--gold-text)}
  .clg-s-pmain .clg-crumbs a{text-decoration:none;color:var(--gold-text)}
  .clg-s-pmain .clg-crumbs a:hover{color:var(--oxblood)}
  .clg-s-pmain .clg-crumbs span{color:var(--gold-text)}
  .clg-s-pmain .clg-pdp{display:grid;grid-template-columns:1.05fr .95fr;gap:54px;padding-bottom:80px;align-items:start}
  /* Gallery: thumbs on the LEFT, main image right */
  .clg-s-pmain .clg-gal{position:sticky;top:90px;display:grid;grid-template-columns:76px 1fr;gap:12px;align-items:start}
  .clg-s-pmain .clg-thumbs{display:flex;flex-direction:column;gap:10px;max-height:760px;overflow-y:auto;padding-right:2px}
  .clg-s-pmain .clg-thumbs::-webkit-scrollbar{width:4px}
  .clg-s-pmain .clg-thumbs::-webkit-scrollbar-thumb{background:var(--line);border-radius:2px}
  .clg-s-pmain .clg-thumb{height:100px;background:#fff;border:1px solid var(--line);cursor:pointer;overflow:hidden;position:relative;transition:.2s;padding:0;flex-shrink:0}
  .clg-s-pmain .clg-thumb img{width:100%;height:100%;object-fit:cover;display:block}
  .clg-s-pmain .clg-thumb.active{border-color:var(--oxblood);box-shadow:inset 0 0 0 1px var(--oxblood)}
  .clg-s-pmain .clg-main-img{position:relative;height:760px;background:#fff;border:1px solid var(--line);overflow:hidden}
  .clg-s-pmain .clg-main-img img{width:100%;height:100%;object-fit:cover;display:block}
  .clg-s-pmain .clg-main-img img[hidden]{display:none}
  /* Made to Measure guide (measurement-body.svg, 1200x1800, letters A–H as in measurement-guide.jpg): a 2:3 stage
     centred in the photo frame; each value tag sits by its letter, placed in % of the artwork. */
  .clg-s-pmain .clg-mtm-fig{position:absolute;inset:0;background:#fff;display:flex;align-items:center;justify-content:center;container-type:size}
  .clg-s-pmain .clg-mtm-fig[hidden]{display:none}
  .clg-s-pmain .clg-mtm-stage{position:relative;width:min(100cqw,66.667cqh);height:min(100cqh,150cqw)}
  .clg-s-pmain .clg-mtm-tags[hidden]{display:none}
  .clg-s-pmain .clg-mtm-tag{position:absolute;white-space:nowrap;font-family:var(--clg-sans);font-size:11px;font-weight:600;line-height:1;
    letter-spacing:.02em;padding:5px 7px;border-radius:3px;background:#fff;color:#1c1914;border:1px solid rgba(28,25,20,.35)}
  .clg-s-pmain .clg-mtm-tag.is-set{background:#6b1f2a;color:#fff;border-color:#6b1f2a}
  .clg-s-pmain .clg-mtm-tag-a{left:1%;top:46%}
  .clg-s-pmain .clg-mtm-tag-b{left:47%;top:21.6%;transform:translateY(-50%)}
  .clg-s-pmain .clg-mtm-tag-c{right:2%;top:27.6%}
  .clg-s-pmain .clg-mtm-tag-d{left:79.4%;top:42.6%;transform:translateX(-50%)}
  .clg-s-pmain .clg-mtm-tag-e{left:51.4%;top:32.8%;transform:translateX(-50%)}
  .clg-s-pmain .clg-mtm-tag-f{left:51.3%;top:43.6%;transform:translateX(-50%)}
  .clg-s-pmain .clg-mtm-tag-g{left:51.4%;top:53.1%;transform:translateX(-50%)}
  .clg-s-pmain .clg-mtm-tag-h{right:1%;top:38.8%}
  .clg-s-pmain .clg-info .clg-eyebrow{margin-bottom:10px}
  .clg-s-pmain .clg-info h1{font-family:var(--clg-serif);font-size:clamp(26px,2.6vw,34px);font-weight:500;margin:0 0 8px;color:var(--ink);line-height:1.1}
  .clg-s-pmain .clg-price{display:flex;align-items:baseline;gap:12px;margin-bottom:0;flex-wrap:wrap}
  .clg-s-pmain .clg-price .now{font-family:var(--clg-serif);font-size:32px;font-weight:600;color:var(--ink);letter-spacing:.01em}
  .clg-s-pmain .clg-price .was{font-size:17px;color:var(--ink-soft);text-decoration:line-through}
  .clg-s-pmain .clg-price .save{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ivory);background:var(--oxblood);padding:4px 9px}
  .clg-s-pmain .clg-unavail{font-size:13px;color:var(--oxblood);font-weight:600;margin-bottom:6px}
  .clg-s-pmain .clg-lede{font-size:15.5px;color:var(--ink-soft);margin:14px 0 0;max-width:480px;line-height:1.65;
    display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
  .clg-s-pmain .clg-lede.open{-webkit-line-clamp:unset;display:block;overflow:visible}
  .clg-s-pmain .clg-readmore{display:inline-block;background:none;border:none;padding:0;margin:10px 0 0;color:var(--oxblood);
    font-family:var(--clg-sans);font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;border-bottom:1px solid var(--oxblood)}
  .clg-s-pmain .clg-readmore[hidden]{display:none}
  .clg-s-pmain .clg-div{height:1px;background:var(--line);margin:26px 0 24px}
  .clg-s-pmain .clg-opt{margin-bottom:24px}
  .clg-s-pmain .clg-opt-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:11px;gap:12px}
  .clg-s-pmain .clg-opt-head .lbl{font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:var(--ink)}
  .clg-s-pmain .clg-opt-head .val{font-size:13px;color:var(--gold-text);font-weight:600}
  /* Unchosen option flagged on add-to-cart. */
  .clg-s-pmain .clg-opt.clg-opt-err .clg-opt-head .lbl{color:#c0392b}
  .clg-s-pmain .clg-opt.clg-opt-err .clg-opt-head .lbl::after{content:' — please choose';font-weight:600;letter-spacing:0;text-transform:none}
  /* A hairline outline was easy to miss on a busy page — this is the only
     thing standing between a customer and a half-configured order. */
  .clg-s-pmain .clg-opt.clg-opt-err fieldset{outline:2.5px solid #c0392b;outline-offset:6px;border-radius:2px}
  .clg-s-pmain .clg-opt fieldset{border:none;padding:0;margin:0}
  .clg-s-pmain .clg-oh-right{display:flex;align-items:baseline;gap:12px;min-width:0}
  /* ---- size guide ---- */
  .clg-s-pmain .clg-sgbtn{background:#6b1f2a;border:1px solid #6b1f2a;border-radius:2px;padding:8px 16px;cursor:pointer;font-family:var(--clg-sans);font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:#fff;white-space:nowrap;flex-shrink:0;transition:.2s}
  .clg-s-pmain .clg-sgbtn:hover{background:#fff;color:#6b1f2a}
  .clg-s-pmain .clg-opt-head:has(.clg-sgbtn){align-items:center}
  /* Hidden via visibility, not the [hidden] attribute — same pattern as the cart drawer
     scrim, which works. Explicit offsets rather than `inset` shorthand. z-index clears the
     header (80) and the cart drawer (111). */
  .clg-s-pmain .clg-sg-scrim{position:fixed;top:0;right:0;bottom:0;left:0;display:block;background:rgba(28,24,19,.62);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);z-index:200;opacity:0;visibility:hidden;transition:opacity .28s ease,visibility .28s ease}
  .clg-s-pmain .clg-sg-scrim.show{opacity:1;visibility:visible}
  .clg-s-pmain .clg-sg-modal{position:fixed;top:50%;left:50%;transform:translate(-50%,-46%);width:980px;max-width:94vw;max-height:88vh;background:var(--parchment);z-index:201;display:flex;flex-direction:column;box-shadow:0 24px 70px rgba(28,24,19,.4);opacity:0;visibility:hidden;transition:opacity .28s ease,visibility .28s ease,transform .28s cubic-bezier(.16,1,.3,1);font-family:var(--clg-sans)}
  .clg-s-pmain .clg-sg-modal.show{opacity:1;visibility:visible;transform:translate(-50%,-50%)}
  .clg-s-pmain .clg-sg-head{display:flex;align-items:center;justify-content:space-between;padding:20px 26px;border-bottom:1px solid var(--line);flex-shrink:0}
  .clg-s-pmain .clg-sg-head h2{font-family:var(--clg-serif);font-size:24px;font-weight:500;color:var(--ink);margin:0}
  .clg-s-pmain .clg-sg-close{background:none;border:none;cursor:pointer;font-size:28px;line-height:1;color:var(--ink);padding:0 0 0 10px}
  .clg-s-pmain .clg-sg-close:hover{color:var(--oxblood)}
  .clg-s-pmain .clg-sg-body{padding:24px 26px 28px;overflow:auto;color:var(--ink-soft);font-size:15px;line-height:1.7}
  .clg-s-pmain .clg-sg-body > :last-child{margin-bottom:0}
  .clg-s-pmain .clg-sg-body p{margin:0 0 14px}
  .clg-s-pmain .clg-sg-body h1,
  .clg-s-pmain .clg-sg-body h2,
  .clg-s-pmain .clg-sg-body h3,
  .clg-s-pmain .clg-sg-body h4{font-family:var(--clg-serif);font-size:19px;font-weight:500;color:var(--ink);margin:22px 0 10px}
  .clg-s-pmain .clg-sg-body h1:first-child,
  .clg-s-pmain .clg-sg-body h2:first-child,
  .clg-s-pmain .clg-sg-body h3:first-child{margin-top:0}
  .clg-s-pmain .clg-sg-body strong{color:var(--ink)}
  .clg-s-pmain .clg-sg-body a{color:var(--oxblood);text-decoration:underline}
  .clg-s-pmain .clg-sg-body ul,
  .clg-s-pmain .clg-sg-body ol{margin:0 0 16px;list-style:none;padding:0}
  .clg-s-pmain .clg-sg-body li{font-size:14.5px;padding:9px 0 9px 22px;position:relative;border-top:1px solid var(--line)}
  .clg-s-pmain .clg-sg-body li:first-child{border-top:none}
  .clg-s-pmain .clg-sg-body li::before{content:'✦';position:absolute;left:0;color:var(--gold-text);font-size:10px;top:13px}
  /* Tables only appear if the metafield holds HTML — the rich text editor can't make them. */
  .clg-s-pmain .clg-sg-body table{width:100%;border-collapse:collapse;margin:0 0 18px;font-size:13px}
  .clg-s-pmain .clg-sg-body th,
  .clg-s-pmain .clg-sg-body td{border:1px solid var(--line);padding:8px 10px;text-align:center;white-space:nowrap}
  .clg-s-pmain .clg-sg-body th{background:var(--parchment-deep);color:var(--ink);font-weight:700;font-size:10px;letter-spacing:.07em;text-transform:uppercase;position:sticky;top:0;z-index:2}
  .clg-s-pmain .clg-sg-body tbody tr:nth-child(even){background:rgba(28,24,19,.025)}
  .clg-s-pmain .clg-sg-body tbody tr:hover{background:rgba(199,167,101,.14)}
  /* A 9-column chart can't fit a dialog — scroll the table on its own, and pin the size
     column so the row you're reading stays labelled. */
  /* The table scrolls in its own box (max-height), which is what makes the sticky header
     work — a sticky <th> pins to its nearest scrolling ancestor, so without this the
     header would scroll away with the dialog body. */
  .clg-s-pmain .clg-sg-body .sg-scroll{max-height:52vh;overflow:auto;margin:0 0 20px;border:1px solid var(--line);-webkit-overflow-scrolling:touch}
  .clg-s-pmain .clg-sg-body .sg-scroll table{margin:0;min-width:720px;border:none}
  .clg-s-pmain .clg-sg-body .sg-scroll th:first-child,
  .clg-s-pmain .clg-sg-body .sg-scroll td:first-child{position:sticky;left:0;background:var(--parchment);font-weight:700;color:var(--ink);text-align:left;z-index:1}
  .clg-s-pmain .clg-sg-body .sg-scroll th:first-child{background:var(--parchment-deep);z-index:3}
  .clg-s-pmain .clg-sg-body .sg-note{font-size:13.5px;background:var(--parchment-deep);border-left:2px solid var(--oxblood);padding:12px 14px;margin:0 0 18px}
  .clg-s-pmain .clg-sg-body .sg-key{font-family:var(--clg-serif);color:var(--oxblood);font-size:14px;font-weight:600}
  /* every option value is a real radio, visually hidden */
  .clg-s-pmain .clg-vin{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
  .clg-s-pmain .clg-chips{display:flex;gap:8px;flex-wrap:wrap}
  .clg-s-pmain .clg-chip{min-width:46px;padding:11px 13px;border:1px solid var(--line);background:var(--ivory);cursor:pointer;font-size:13px;font-weight:600;text-align:center;transition:.2s;display:inline-block}
  .clg-s-pmain .clg-chip:hover{border-color:var(--gold)}
  .clg-s-pmain .clg-vin:checked + .clg-chip{background:#6B1F2A;color:var(--ivory);border-color:#6B1F2A}
  .clg-s-pmain .clg-vin:focus-visible + .clg-chip{outline:2px solid var(--gold);outline-offset:2px}
  .clg-s-pmain .clg-sold + .clg-chip{opacity:.35;text-decoration:line-through}
  /* A value the current choices rule out is taken out of the row altogether rather than
     struck through, so the shopper is only offered combinations that exist. Hiding the
     input too keeps it out of the tab order and the accessibility tree. */
  .clg-s-pmain .clg-gone,
  .clg-s-pmain .clg-gone + .clg-sw,
  .clg-s-pmain .clg-gone + .clg-card-o,
  .clg-s-pmain .clg-gone + .clg-chip,
  .clg-s-pmain .clg-gone + .clg-radio{display:none}
  /* split chips are <button>s, so they need their own state classes (no :checked sibling) */
  .clg-s-pmain .clg-chip{font-family:var(--clg-sans);color:var(--ink)}
  .clg-s-pmain .clg-chip.is-on{background:#6B1F2A;color:var(--ivory);border-color:#6B1F2A}
  .clg-s-pmain .clg-chip.is-out{opacity:.35;text-decoration:line-through}
  /* radio-button style */
  .clg-s-pmain .clg-radios{display:flex;flex-direction:column;gap:2px}
  .clg-s-pmain .clg-radio{display:flex;align-items:center;gap:10px;padding:7px 0;cursor:pointer;font-size:14px;color:var(--ink-soft);font-family:var(--clg-sans)}
  .clg-s-pmain .clg-radio::before{content:'';width:17px;height:17px;border-radius:50%;border:1px solid var(--line);background:var(--ivory);flex-shrink:0;transition:.15s;box-sizing:border-box}
  .clg-s-pmain .clg-radio:hover{color:var(--ink)}
  .clg-s-pmain .clg-vin:checked + .clg-radio{color:var(--ink);font-weight:600}
  .clg-s-pmain .clg-vin:checked + .clg-radio::before{border-color:var(--oxblood);border-width:5px}
  .clg-s-pmain .clg-vin:focus-visible + .clg-radio::before{outline:2px solid var(--gold);outline-offset:2px}
  .clg-s-pmain .clg-sold + .clg-radio{opacity:.4;text-decoration:line-through}
  /* dropdown style */
  .clg-s-pmain .clg-select{
    width:100%;font-family:var(--clg-sans);font-size:14px;font-weight:600;color:var(--ink);
    padding:13px 38px 13px 14px;border:1px solid var(--line);background-color:var(--ivory);cursor:pointer;border-radius:2px;line-height:1;
    -webkit-appearance:none;-moz-appearance:none;appearance:none;
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1.5L6 6.5L11 1.5' stroke='%236E1A26' stroke-width='1.6' fill='none' stroke-linecap='round'/></svg>");
    background-repeat:no-repeat;background-position:right 14px center;background-size:11px;
  }
  .clg-s-pmain .clg-select:hover{border-color:var(--gold)}
  .clg-s-pmain .clg-fit-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}
  .clg-s-pmain .clg-fit-card{border:1px solid var(--line);background:var(--ivory);padding:16px;cursor:pointer;transition:.2s;text-align:left;position:relative;font-family:var(--clg-sans)}
  .clg-s-pmain .clg-fit-card:hover{border-color:var(--gold)}
  .clg-s-pmain .clg-fit-card .rec{position:absolute;top:-9px;right:12px;background:var(--gold);color:var(--ink);font-size:8.5px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;padding:3px 8px}
  .clg-s-pmain .clg-fit-card b{font-family:var(--clg-serif);font-size:18px;font-weight:500;display:block;margin-bottom:3px;color:var(--ink)}
  .clg-s-pmain .clg-fit-card span:not(.rec){font-size:12px;color:var(--ink-soft)}

  /* Chosen fit fills oxblood. The IN STOCK flag stays gold, which still
     reads against it. */
  .clg-s-pmain .clg-fit-card[aria-selected="true"]{border-color:#6B1F2A;background:#6B1F2A;box-shadow:none}
  .clg-s-pmain .clg-fit-card[aria-selected="true"] b{color:var(--ivory)}
  .clg-s-pmain .clg-fit-card[aria-selected="true"] span:not(.rec){color:rgba(252,250,244,.74)}

  /* The measurement price was oxblood inline, which vanished the moment the
     card it sits on became oxblood too. */
  .clg-s-pmain .clg-mm-price{display:block;margin-top:6px;font-size:13px;font-weight:700;color:var(--oxblood)}
  .clg-s-pmain .clg-fit-card[aria-selected="true"] .clg-mm-price{color:var(--gold-soft)}
  .clg-s-pmain .clg-swatches{display:flex;gap:12px;flex-wrap:wrap}
  .clg-s-pmain .clg-sw{width:44px;height:44px;border-radius:2px;border:1px solid var(--line);cursor:pointer;position:relative;transition:.2s;display:block;background-size:cover;background-position:center}
  .clg-s-pmain .clg-sw:hover{transform:scale(1.06)}
  .clg-s-pmain .clg-vin:checked + .clg-sw::after{content:'';position:absolute;inset:-5px;border:1.5px solid var(--oxblood);border-radius:3px}
  .clg-s-pmain .clg-vin:focus-visible + .clg-sw{outline:2px solid var(--gold);outline-offset:3px}
  .clg-s-pmain .clg-opts-flow{display:flex;flex-direction:column}
  /* Fabric first, then the fit cards and the size panel, and colour last —
     a customer picks the cloth, then the cut, then the shade. */
  .clg-s-pmain .clg-opts-flow > *{order:3}
  .clg-s-pmain .clg-opts-flow > .clg-opt-card{order:1}
  .clg-s-pmain .clg-opts-flow > .clg-opt-swatch{order:4}
  .clg-s-pmain .clg-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .clg-s-pmain .clg-card-o{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--line);background:var(--ivory);padding:12px 13px;cursor:pointer;transition:.2s;text-align:left}
  .clg-s-pmain .clg-card-o:hover{border-color:var(--gold)}
  .clg-s-pmain .clg-card-o .fchip{width:22px;height:22px;border-radius:2px;border:1px solid rgba(0,0,0,.15);margin-top:2px;flex-shrink:0;background:var(--gold-soft)}
  .clg-s-pmain .clg-card-o .ftxt{display:flex;flex-direction:column;line-height:1.3;min-width:0}
  .clg-s-pmain .clg-card-o .ftxt b{font-size:13.5px;font-weight:600;display:block}
  .clg-s-pmain .clg-card-o .ftxt em{font-style:normal;font-size:10.5px;color:var(--ink-soft);font-weight:400;margin-top:2px}
  .clg-s-pmain .clg-card-o .fd{margin-left:auto;font-size:12px;font-weight:700;color:var(--oxblood);white-space:nowrap;padding-left:6px}
  .clg-s-pmain .clg-card-o .fd.inc{color:var(--ink-soft);font-weight:600}

  /* Chosen fabric fills oxblood, so one glance tells a customer what they
     have picked. */
  .clg-s-pmain .clg-vin:checked + .clg-card-o{border-color:#6B1F2A;background:#6B1F2A;box-shadow:none}
  .clg-s-pmain .clg-vin:checked + .clg-card-o .ftxt b{color:var(--ivory)}
  .clg-s-pmain .clg-vin:checked + .clg-card-o .ftxt em{color:rgba(252,250,244,.74)}
  .clg-s-pmain .clg-vin:checked + .clg-card-o .fd{color:var(--gold-soft)}
  .clg-s-pmain .clg-vin:checked + .clg-card-o .fd.inc{color:rgba(252,250,244,.74)}
  .clg-s-pmain .clg-vin:checked + .clg-card-o .fchip{border-color:rgba(252,250,244,.45)}
  /* Standard-size panel: Chest + Length grouped under the fit tabs */
  .clg-s-pmain .clg-std-panel[hidden]{display:none}
  .clg-s-pmain .clg-std-panel{margin-top:14px}
  .clg-s-pmain .clg-opt-sub{margin-bottom:0}
  .clg-s-pmain .clg-opt-sub + .clg-opt-sub{margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
  .clg-s-pmain .clg-opt-sub .clg-opt-head{margin-bottom:9px}
  .clg-s-pmain .clg-opt-sub .clg-opt-head .lbl{font-size:11px}
  .clg-s-pmain .clg-opt-head .lbl .unit{font-weight:700}
  .clg-s-pmain .clg-collapse{background:none;border:none;padding:0 0 0 4px;cursor:pointer;font-family:var(--clg-sans);
    font-size:17px;line-height:1;color:var(--ink-soft);width:18px;text-align:center}
  .clg-s-pmain .clg-collapse:hover{color:var(--oxblood)}
  .clg-s-pmain .clg-opt-sub.is-shut fieldset{display:none}
  .clg-s-pmain .clg-panel{margin-top:14px;padding:18px;background:var(--parchment-deep);border:1px solid var(--line)}
  .clg-s-pmain .clg-panel[hidden]{display:none}
  .clg-s-pmain .clg-mgrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .clg-s-pmain .clg-mgrid label{font-size:11px;letter-spacing:.06em;text-transform:uppercase;font-weight:600;color:var(--ink-soft);display:flex;flex-direction:column;gap:5px}
  .clg-s-pmain .clg-mgrid input{padding:11px 12px;border:1px solid var(--line);background:#fff;font-family:var(--clg-sans);font-size:15px}
  .clg-s-pmain .clg-mhelp{font-size:12px;color:var(--ink-soft);margin-bottom:12px}
  .clg-s-pmain .clg-fit-card.mm{padding:14px}
  .clg-s-pmain .clg-assure{font-size:12.5px;color:var(--ink-soft);display:flex;gap:8px;align-items:flex-start;margin-top:14px;line-height:1.6}
  .clg-s-pmain .clg-assure > span:first-child{color:var(--gold-text);font-weight:700}
  .clg-s-pmain .clg-toggle-row{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);background:var(--ivory);padding:14px 16px;gap:12px}
  .clg-s-pmain .clg-toggle-row b{font-size:13px}
  .clg-s-pmain .clg-toggle-row span{font-size:12px;color:var(--ink-soft);display:block}
  .clg-s-pmain .clg-switch{width:46px;height:26px;border-radius:14px;background:var(--line);position:relative;cursor:pointer;border:none;flex-shrink:0;transition:.2s}
  .clg-s-pmain .clg-switch::after{content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:.2s}
  .clg-s-pmain .clg-switch[aria-pressed="true"]{background:var(--oxblood)}
  .clg-s-pmain .clg-switch[aria-pressed="true"]::after{left:23px}
  .clg-s-pmain .clg-emb-input{margin-top:10px}
  .clg-s-pmain .clg-emb-input[hidden]{display:none}
  .clg-s-pmain .clg-emb-input input[type=text]{width:100%;padding:12px 14px;border:1px solid var(--line);background:#fff;font-family:var(--clg-sans);font-size:14px}
  .clg-s-pmain .clg-emb-input input[type=text]:focus{outline:none;border-color:var(--oxblood)}
  .clg-s-pmain .clg-emb-input input[type=text].clg-emb-err,
  .clg-s-pmain .clg-mgrid input.clg-emb-err,
  .clg-s-pmain .clg-emb-file.clg-emb-err{border-color:#c0392b;background:#fdf1f0}
  .clg-s-pmain [data-clg-emb-text-wrap][hidden],
  .clg-s-pmain [data-clg-emb-image-wrap][hidden]{display:none}
  .clg-s-pmain .clg-emb-choice{display:flex;gap:8px;margin-bottom:10px}
  .clg-s-pmain .clg-emb-mode{flex:1;padding:9px 10px;border:1px solid var(--line);background:var(--ivory);font-family:var(--clg-sans);font-size:12.5px;font-weight:600;color:var(--ink-soft);cursor:pointer;transition:border-color .2s,background .2s,color .2s}
  .clg-s-pmain .clg-emb-mode:hover{border-color:var(--oxblood)}
  .clg-s-pmain .clg-emb-mode.is-on{background:#6B1F2A;color:var(--ivory);border-color:#6B1F2A}
  .clg-s-pmain .clg-emb-file{position:relative;display:flex;align-items:center;gap:10px;border:1px dashed var(--line);background:#fff;padding:13px 14px;cursor:pointer;font-size:13px;color:var(--ink-soft);transition:border-color .2s}
  .clg-s-pmain .clg-emb-file:hover{border-color:var(--oxblood);color:var(--ink)}
  .clg-s-pmain .clg-emb-file input[type=file]{position:absolute;width:1px;height:1px;padding:0;opacity:0;overflow:hidden}
  .clg-s-pmain .clg-emb-file-note{font-size:11.5px;color:var(--ink-soft);margin:6px 0 0}
  /* ---- Add to your order: bundle card ---- */
  .clg-s-pmain .clg-bundle{border:1px solid var(--line);background:var(--parchment-deep);padding:16px}
  .clg-s-pmain .clg-bundle-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}
  .clg-s-pmain .clg-bundle-eyebrow{display:flex;align-items:center;gap:6px;font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:var(--gold-text)}
  .clg-s-pmain .clg-bundle-badge{background:var(--oxblood);color:var(--ivory);font-size:9px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;padding:5px 10px;white-space:nowrap;flex-shrink:0}
  .clg-s-pmain .clg-bundle-title{font-family:var(--clg-serif);font-size:23px;font-weight:500;color:var(--ink);margin:0 0 14px;line-height:1.15}
  .clg-s-pmain .clg-bundle-title em{font-style:italic;color:var(--oxblood)}
  .clg-s-pmain .clg-addons{display:flex;flex-direction:column;gap:8px}
  .clg-s-pmain .clg-addon{display:flex;align-items:center;gap:12px;border:1px solid var(--line);background:var(--ivory);padding:10px 12px;cursor:pointer;transition:.2s}
  .clg-s-pmain .clg-addon:hover{border-color:var(--gold)}
  .clg-s-pmain .clg-addon.sel{border-color:var(--oxblood);box-shadow:inset 0 0 0 1px var(--oxblood);background:#fff}
  .clg-s-pmain .clg-addon.is-extra[hidden]{display:none}
  .clg-s-pmain .clg-addon input{-webkit-appearance:none;-moz-appearance:none;appearance:none;
    width:19px;height:19px;margin:0;border:1px solid var(--line);border-radius:50%;background:var(--ivory);
    flex-shrink:0;cursor:pointer;transition:.15s;box-sizing:border-box}
  .clg-s-pmain .clg-addon input:checked{border-color:var(--oxblood);border-width:6px}
  .clg-s-pmain .clg-addon input:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
  .clg-s-pmain .clg-addon img{width:46px;height:46px;object-fit:cover;background:#fff;border:1px solid var(--line);flex-shrink:0}
  .clg-s-pmain .clg-addon .an{display:flex;flex-direction:column;gap:3px;line-height:1.3;flex:1;min-width:0}
  .clg-s-pmain .clg-addon .an b{font-size:13.5px;font-weight:600;color:var(--ink)}
  .clg-s-pmain .clg-addon .aprow{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
  .clg-s-pmain .clg-addon .now{font-family:var(--clg-serif);font-size:16px;font-weight:600;color:var(--oxblood)}
  .clg-s-pmain .clg-addon .was{font-size:12px;color:var(--ink-soft);text-decoration:line-through}
  .clg-s-pmain .clg-addon .save{font-style:normal;font-size:11px;font-weight:700;color:var(--gold-text)}
  .clg-s-pmain .clg-addon .atype{font-style:normal;font-size:11px;color:var(--ink-soft)}
  /* inline option panel under a selected add-on (pills + text inputs) — borderless */
  .clg-s-pmain .clg-addon-opts{background:none;border:0;
    margin-top:-2px;padding:8px 6px 10px;display:grid;grid-template-columns:1fr 1fr;gap:12px 18px}
  .clg-s-pmain .clg-addon-opts[hidden]{display:none}
  .clg-s-pmain .clg-addon-opts .g{display:flex;flex-direction:column;gap:7px;min-width:0}
  .clg-s-pmain .clg-addon-opts .gl{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:var(--ink)}
  .clg-s-pmain .clg-addon-opts .gl b{color:var(--oxblood)}
  .clg-s-pmain .clg-addon-opts .g.err .gl{color:var(--oxblood)}
  .clg-s-pmain .clg-addon-opts .g.err .pills button,.clg-s-pmain .clg-addon-opts .g.err .ti{border-color:var(--oxblood)}
  .clg-s-pmain .clg-addon-opts .pills{display:flex;flex-wrap:wrap;gap:7px}
  .clg-s-pmain .clg-addon-opts .pills button{border:1px solid var(--line);background:var(--ivory);padding:7px 12px;
    font-family:var(--clg-sans);font-size:12.5px;color:var(--ink);cursor:pointer;transition:.15s}
  .clg-s-pmain .clg-addon-opts .pills button:hover{border-color:var(--gold)}
  .clg-s-pmain .clg-addon-opts .pills button.on{background:var(--oxblood);border-color:var(--oxblood);color:var(--ivory)}
  .clg-s-pmain .clg-addon-opts .ti{border:1px solid var(--line);background:var(--ivory);padding:8px 10px;
    font-family:var(--clg-sans);font-size:13px;width:100%;box-sizing:border-box}
  .clg-s-pmain .clg-addon-opts .ti:focus{outline:none;border-color:var(--oxblood)}
  @media (max-width:640px){ .clg-s-pmain .clg-addon-opts{grid-template-columns:1fr} }
  .clg-s-pmain .clg-bundle-more{width:100%;margin-top:12px;padding:12px 2px 0;background:none;border:none;
    border-top:1px solid var(--line);cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;
    font-family:var(--clg-sans);font-size:12.5px;font-style:italic;color:var(--ink-soft)}
  .clg-s-pmain .clg-bundle-more:hover{color:var(--oxblood)}
  .clg-s-pmain .clg-bundle-more .chev{width:42px;height:42px;border:1px solid var(--oxblood);background:var(--oxblood);color:var(--ivory);border-radius:50%;
    display:flex;align-items:center;justify-content:center;transition:transform .25s,background .2s;flex-shrink:0;box-shadow:0 3px 10px rgba(110,26,38,.25)}
  .clg-s-pmain .clg-bundle-more .chev svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round;display:block}
  .clg-s-pmain .clg-bundle-more:hover .chev{background:var(--oxblood-deep);border-color:var(--oxblood-deep)}
  .clg-s-pmain .clg-bundle-more[aria-expanded="true"] .chev{transform:rotate(180deg)}
  .clg-s-pmain .clg-bundle-sum{font-size:11.5px;font-weight:600;color:var(--gold-text);margin-top:12px}
  .clg-s-pmain .clg-bundle-sum:empty{display:none}
  .clg-s-pmain .clg-qty{display:flex;align-items:center;border:1px solid var(--line);width:fit-content}
  .clg-s-pmain .clg-qty button{width:42px;height:44px;background:var(--ivory);border:none;cursor:pointer;font-size:18px;color:var(--ink)}
  .clg-s-pmain .clg-qty input{width:46px;text-align:center;font-weight:600;border:none;background:none;font-family:var(--clg-sans);font-size:14px;color:var(--ink);-moz-appearance:textfield}
  .clg-s-pmain .clg-qty input::-webkit-outer-spin-button,
  .clg-s-pmain .clg-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
  .clg-s-pmain .clg-cta{display:flex;flex-direction:column;gap:10px;margin-top:22px}
  .clg-s-pmain .clg-cta .clg-btn{width:100%;justify-content:center}
  .clg-s-pmain .clg-cta .clg-btn[disabled]{opacity:.55;cursor:not-allowed}
  .clg-s-pmain .clg-addon-note{font-size:12.5px;color:var(--ink-soft);line-height:1.5;margin:2px 0 0;background:var(--parchment-deep);border:1px solid var(--line);padding:11px 13px}
  .clg-s-pmain .clg-summary{font-size:12px;color:var(--ink-soft);margin-top:14px;line-height:1.7}
  .clg-s-pmain .clg-summary b{color:var(--ink)}
  .clg-s-pmain .clg-ptrust{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px;padding-top:20px;border-top:1px solid var(--line)}
  .clg-s-pmain .clg-ptrust div{font-size:12px;color:var(--ink-soft);display:flex;gap:8px;align-items:center}
  .clg-s-pmain .clg-ptrust .i{color:var(--oxblood);font-family:var(--clg-serif);font-size:16px}
  .clg-s-pmain .clg-stickybar{position:fixed;left:0;right:0;bottom:0;z-index:90;background:rgba(28,24,19,.97);backdrop-filter:blur(8px);color:var(--ivory);transform:translateY(110%);transition:transform .35s ease;border-top:1px solid rgba(199,167,101,.3)}
  .clg-s-pmain .clg-stickybar.show{transform:translateY(0)}
  .clg-s-pmain .clg-stickybar .clg-wrap{display:flex;align-items:center;gap:20px;padding:14px 24px}
  .clg-s-pmain .clg-stickybar .st{flex:1;min-width:0}
  .clg-s-pmain .clg-stickybar .st b{font-family:var(--clg-serif);font-size:18px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .clg-s-pmain .clg-stickybar .st span{font-size:12px;color:rgba(247,242,233,.65)}
  .clg-s-pmain .clg-stickybar .sp{font-family:var(--clg-serif);font-size:24px;color:var(--gold-soft);white-space:nowrap}
  .clg-s-pmain .clg-stickybar .clg-btn{width:auto;padding:14px 30px;flex-shrink:0}
  @media(max-width:980px){
    .clg-s-pmain .clg-pdp{grid-template-columns:1fr;gap:32px}
    .clg-s-pmain .clg-gal{position:static}
  }
  @media(max-width:600px){
    .clg-s-pmain .clg-gal{grid-template-columns:61px 1fr;gap:8px}
    .clg-s-pmain .clg-thumb{height:80px}
    .clg-s-pmain .clg-main-img{height:380px}
    .clg-s-pmain .clg-mtm-tag{font-size:8px;padding:2px 3px}
    .clg-s-pmain .clg-mtm-tag .l{display:none}
    .clg-s-pmain .clg-thumbs{max-height:380px}
    .clg-s-pmain .clg-cards,.clg-s-pmain .clg-mgrid,.clg-s-pmain .clg-ptrust{grid-template-columns:1fr}
    /* Fit cards (Standard Size / Made to Measure) stack full-width like the fabric options. */
    .clg-s-pmain .clg-fit-cards{grid-template-columns:1fr}
    .clg-s-pmain .clg-stickybar .st span{display:none}
    /* Full-width sheet: a 660px dialog centred on a phone is mostly scrim. */
    .clg-s-pmain .clg-sg-modal{width:100vw;max-width:100vw;max-height:90vh;top:auto;bottom:0;left:0;transform:translateY(8%)}
    .clg-s-pmain .clg-sg-modal.show{transform:translateY(0)}
    .clg-s-pmain .clg-sg-head{padding:16px 18px}
    .clg-s-pmain .clg-sg-body{padding:18px 18px 24px}
  }
