/* Crown Point Candles shop: candle builder, cart and nav count, in the site's own palette. */
.cart-count{display:inline-grid;place-items:center;min-width:22px;height:22px;margin-left:8px;padding:0 6px;border-radius:11px;background:var(--accent);color:#242b1e;font:600 12px/1 var(--body);vertical-align:middle}

.shop-builder,.shop-cart{max-width:980px;margin:0 auto 85px;scroll-margin-top:120px}
.shop-builder{display:grid;grid-template-columns:1fr 1.25fr;gap:55px;align-items:start}
.shop-builder h2,.shop-cart h2{font-size:clamp(34px,4vw,50px);line-height:1.1;text-wrap:balance}
.shop-builder .shop-intro p{line-height:1.8}
#candle-form{background:#efe9dc;padding:35px;display:grid;gap:22px}
#candle-form label,#candle-form legend{display:block;font-weight:600;font-size:14px;margin-bottom:8px}
#candle-form select,#candle-form input[type=number]{width:100%;max-width:none;box-sizing:border-box;min-height:48px;padding:10px 14px;border:1px solid #242b1e55;background:var(--paper);color:var(--ink);font:16px var(--body);border-radius:4px}
#candle-form input[type=number]#candle-qty{max-width:120px}
#candle-form fieldset{border:0;margin:0;padding:0}
.format-options{display:grid;gap:10px}
.format-options label{display:flex!important;align-items:center;gap:12px;margin:0!important;padding:14px 16px;border:1px solid #242b1e30;background:var(--paper);font-weight:400!important;cursor:pointer;min-height:48px}
.format-options label:has(input:checked){border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.format-options input{accent-color:var(--ink);width:18px;height:18px;flex:none}
.format-options .fmt-name{flex:1}
.format-options .fmt-name small{display:block;opacity:.75;font-size:12px;margin-top:3px}
.format-options [data-price-for]{font-weight:600;white-space:nowrap}
.qty-row{display:flex;align-items:end;justify-content:space-between;gap:20px;flex-wrap:wrap}
#candle-price{margin:0 0 12px;font-weight:600}
#candle-form .button{margin:0;justify-self:start}
#candle-status,.basket-message{min-height:1.5em;margin:0}
.shop-note{font-size:14px;line-height:1.7;opacity:.85}

.shop-cart{background:var(--paper);border-top:1px solid #242b1e40;padding-top:45px}
#cart-lines{margin:25px 0}
.cart-empty{padding:25px;background:#efe9dc;margin:0}
.cart-row{display:grid;grid-template-columns:1fr auto 90px auto;gap:20px;align-items:center;padding:18px 0;border-bottom:1px solid #242b1e25}
.cart-name{margin:0;font-weight:600}
.cart-note{margin:4px 0 0;font-size:13px;opacity:.75}
.cart-qty{display:flex;align-items:center;border:1px solid #242b1e40;border-radius:30px}
.cart-qty button{width:44px;height:44px;border:0;background:none;color:var(--ink);font-size:20px;cursor:pointer;border-radius:50%}
.cart-qty span{min-width:26px;text-align:center;font-weight:600}
.cart-line-total{margin:0;text-align:right;font-weight:600}
.cart-remove{background:none;border:0;color:var(--ink);text-decoration:underline;text-underline-offset:4px;cursor:pointer;min-height:44px;font:14px var(--body)}
.cart-bottom{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:start}
#fulfil{border:0;padding:0;margin:0}
#fulfil legend{font-weight:600;margin-bottom:10px}
.cart-totals{margin:0;font-size:15px}
.cart-totals div{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #242b1e20}
.cart-totals dd{margin:0;font-weight:600}
.cart-totals .grand{font-size:22px;font-family:var(--display);border-bottom:0}
#cart-minimum,#cart-alert{padding:14px 18px;background:#f6e3b0;border-left:4px solid var(--accent);margin:18px 0 0;line-height:1.6}
#cart-alert{background:#f4dcd6;border-color:#a2412f}
#checkout{margin:22px 0 10px}
#checkout:disabled{opacity:.45;cursor:not-allowed}
#cart-thanks{padding:25px 30px;background:#242b1e;color:#fff8ec;margin-bottom:30px}
#cart-thanks h3{margin:0 0 8px;font-size:26px}
#cart-thanks p{margin:0;line-height:1.7}

@media(max-width:800px){
  .shop-builder,.cart-bottom{grid-template-columns:1fr;gap:25px}
  .shop-builder,.shop-cart{margin-bottom:55px}
  #candle-form{padding:25px}
  .cart-row{grid-template-columns:1fr auto;gap:10px 16px}
  .cart-line-total{grid-column:2;grid-row:1}
  .cart-qty{grid-column:1;grid-row:2;justify-self:start}
  .cart-remove{grid-column:2;grid-row:2;justify-self:end}
}
.buy-panel .basket-message{margin-top:14px}
