 .faith-cart-drawer[hidden],.faith-drawer-actions[hidden]{display:none!important}.faith-cart-drawer{position:fixed;z-index:10000;right:0;top:0;width:min(420px,100vw);max-height:100dvh;overflow:auto;background:#fff;color:#202020;padding:22px;box-shadow:-12px 12px 36px #0003;border-radius:0 0 0 12px;animation:faith-slide .22s ease-out}.faith-drawer-head,.faith-drawer-line,.faith-drawer-actions{display:flex;align-items:center;gap:12px}.faith-drawer-head{justify-content:space-between}.faith-drawer-head button{font-size:26px;background:transparent;border:0;cursor:pointer;color:inherit}.faith-drawer-line{padding:14px 0;border-bottom:1px solid #ddd}.faith-drawer-line img{width:54px;height:64px;object-fit:cover;border-radius:5px}.faith-drawer-line div{flex:1}.faith-drawer-line small{display:block;color:#666}.faith-drawer-actions{margin-top:16px;flex-wrap:wrap}.faith-cart-drawer [data-drawer-total]{padding-top:16px;font-weight:600}#faith-cart-status:not(:empty){position:fixed;bottom:12px;left:12px;z-index:10001;background:#222;color:white;padding:8px 12px;border-radius:6px;max-width:calc(100vw - 24px)}@keyframes faith-slide{from{transform:translateX(100%)}to{transform:translateX(0)}}@media(prefers-reduced-motion:reduce){.faith-cart-drawer{animation:none}}
.faith-visual-options{display:flex;flex-wrap:wrap;gap:.6rem;margin:.3rem 0 1rem}.faith-visual-option{display:flex;flex-direction:column;align-items:center;gap:.3rem;min-width:74px;padding:.4rem;background:transparent;border:1px solid currentColor;border-radius:0;color:inherit;font:inherit;cursor:pointer}.faith-visual-option img{width:64px;height:68px;object-fit:contain}.faith-visual-option[aria-pressed=true]{outline:2px solid currentColor;outline-offset:2px}.faith-visual-option:focus-visible{outline:3px solid currentColor;outline-offset:3px}.faith-visual-option:disabled{opacity:.5;cursor:not-allowed}
.faith-reviewed-swatches{display:flex;flex-wrap:wrap;gap:.5rem;max-height:20rem;overflow:auto;padding:.25rem}.faith-reviewed-swatch{display:inline-flex;flex-direction:column;align-items:center;gap:.25rem;background:transparent;color:inherit;font:inherit;border:1px solid currentColor;padding:.35rem;cursor:pointer}.faith-reviewed-swatch[aria-pressed=true]{outline:2px solid currentColor;outline-offset:2px}.faith-reviewed-swatch:disabled{opacity:.45;cursor:not-allowed}.faith-reviewed-chip{display:block;width:2rem;height:2rem;border:1px solid currentColor}.faith-reviewed-swatch span:last-child{font-size:.75em}

/* Compact native option presentations, inheriting storefront appearance. */
.faith-reviewed-swatches{display:grid;grid-template-columns:repeat(auto-fill,minmax(2.5rem,1fr));gap:.4rem;max-height:20rem;padding:.35rem;overscroll-behavior:contain}
.faith-reviewed-swatch{min-width:0;min-height:2.5rem;padding:.2rem;border:1px solid var(--shop-line);border-radius:min(var(--shop-radius),6px);align-items:stretch;justify-content:center}
.faith-reviewed-chip{width:100%;height:1.8rem;border:1px solid var(--shop-line);border-radius:min(var(--shop-radius),4px)}
.faith-reviewed-chip[data-finish=chrome],.faith-reviewed-chip[data-finish=metallic]{background-image:linear-gradient(125deg,#0005,transparent 25%,#fff9 45%,transparent 62%,#0004)}
.faith-reviewed-chip[data-finish=glitter]{background-image:radial-gradient(circle,#fff9 0 1px,transparent 1.5px);background-size:5px 5px}
.faith-reviewed-chip[data-finish=jelly]{background-image:linear-gradient(135deg,#fff6,transparent 55%,#0002)}
.faith-swatch-summary{font-size:.85em;margin:.25rem 0;color:var(--shop-text)}
.faith-option-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(6.5rem,1fr));gap:.5rem;margin:.25rem 0 1rem}
.faith-option-card{display:flex;flex-direction:column;align-items:center;gap:.3rem;padding:.55rem .35rem;background:var(--shop-bg);color:var(--shop-text);border:1px solid var(--shop-line);border-radius:min(var(--shop-radius),6px);font:inherit;cursor:pointer;text-align:center}
.faith-option-card small{font-size:.72em;color:var(--shop-muted);overflow-wrap:anywhere}.faith-option-card[aria-pressed=true],.faith-reviewed-swatch[aria-pressed=true]{outline:2px solid var(--shop-accent);outline-offset:1px}.faith-option-card:focus-visible,.faith-reviewed-swatch:focus-visible{outline:3px solid var(--shop-accent);outline-offset:2px}.faith-option-card:disabled{opacity:.45;cursor:not-allowed}

/* 3.9.60: presentation-only color filtering; native select remains available. */
.faith-reviewed-swatches .faith-reviewed-swatch[hidden]{display:none!important}.faith-swatch-search{width:100%;min-height:44px;margin:.4rem 0;padding:.6rem;border:1px solid var(--shop-line);border-radius:var(--shop-radius);background:var(--shop-bg);color:var(--shop-text);font:inherit}.faith-swatch-matches{font-size:.85rem;color:var(--shop-muted);margin:.15rem 0 .4rem}.faith-swatch-search:focus-visible{outline:2px solid var(--shop-accent);outline-offset:2px}

/* 4.1.7: touch-friendly options and narrow-screen commerce layout. */
.faith-reviewed-swatches{grid-template-columns:repeat(auto-fill,minmax(44px,1fr))}.faith-reviewed-swatch,.faith-option-card,.faith-visual-option{min-height:44px}.faith-drawer-head button{min-width:44px;min-height:44px}.faith-drawer-line>div{min-width:0;overflow-wrap:anywhere}.faith-drawer-line>strong{flex:none}.cart-line>div,.cart-line details,.cart-line small{min-width:0;overflow-wrap:anywhere}.cart-line details ul{padding-inline-start:1.2em}.cart-line .qty-input{max-width:100%;min-height:44px;box-sizing:border-box}.cart-line details summary{cursor:pointer}.checkout-layout .btn:focus-visible,.faith-cart-drawer button:focus-visible{outline:2px solid currentColor;outline-offset:3px}
@media(max-width:600px){.faith-cart-drawer{box-sizing:border-box;padding:16px;max-height:100dvh}.faith-drawer-actions .btn,.cart-actions .btn{flex:1 1 120px;min-height:44px}.checkout-layout .checkout-form input:not([type=radio]):not([type=checkbox]),.product-buy select,.product-buy input[name=quantity],.cart-line .qty-input{font-size:16px;min-height:44px}.product-layout>*{min-width:0}.faith-reviewed-swatches{max-height:16rem}.cart-line{gap:8px}.checkout-layout .summary{min-width:0;overflow-wrap:anywhere}}

.faith-swatch-available{display:flex;align-items:center;gap:8px;font-size:.9rem;margin:6px 0}.faith-swatch-available input{width:auto;min-width:0}.faith-reviewed-swatch[hidden]{display:none!important}

/* 4.1.50: maintain explicit quantity and price columns on compact commerce screens. */
@media(max-width:600px){.cart-line{grid-template-columns:56px minmax(0,1fr) minmax(60px,auto);align-items:start}.cart-line>div:nth-child(2){grid-column:2 / -1}.cart-line>.qty-input,.cart-line>label{grid-column:2;justify-self:start;max-width:100%}.cart-line>[data-line-total]{grid-column:3;justify-self:end;align-self:center;white-space:normal;text-align:right}.faith-review-info,.faith-review-items,.faith-review-total{min-width:0;max-width:100%;overflow-wrap:anywhere}.faith-review-items .btn,.faith-review-total .btn{min-height:44px}.faith-review-items .cart-line details{max-width:100%}.checkout-form select{font-size:16px;min-height:44px;max-width:100%}.faith-cart-drawer{padding-bottom:max(16px,env(safe-area-inset-bottom))}}

.faith-swatch-clear{min-height:44px;max-width:100%;white-space:normal;margin:.25rem 0}

/* Restoration: primary signed graphical choices with accessible native fallback. */
.product-buy [data-option-picker] label[hidden]{display:none!important}.faith-visual-heading{font-weight:600;margin:.7rem 0 .25rem}.faith-native-option-toggle{background:transparent;border:0;text-decoration:underline;color:inherit;font:inherit;cursor:pointer;min-height:44px;padding:.25rem 0}.faith-visual-option span{overflow-wrap:anywhere}.faith-visual-option img{max-width:100%}

/* Visual-first controls preserve native option indices and the existing quote pipeline. */
.product-buy .faith-visual-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}
.product-buy .faith-visual-option{min-width:0;border-color:var(--shop-line);background:var(--shop-bg);padding:.65rem .25rem}
.product-buy .faith-visual-option[aria-pressed=true],.product-buy .faith-choice-button[aria-pressed=true]{border-color:var(--shop-accent);outline:2px solid var(--shop-accent);outline-offset:1px}
.product-buy .faith-reviewed-swatches{grid-template-columns:repeat(auto-fill,minmax(48px,1fr));gap:.5rem}
.product-buy .faith-reviewed-chip{height:2rem}
.product-buy .faith-choice-row{display:flex;flex-wrap:wrap;gap:.5rem;margin:.35rem 0 .8rem}
.product-buy .faith-choice-button{font:inherit;color:var(--shop-text);background:var(--shop-bg);border:1px solid var(--shop-line);border-radius:min(var(--shop-radius),8px);min-height:44px;padding:.55rem .85rem;cursor:pointer}
.product-buy .faith-choice-button:focus-visible{outline:3px solid var(--shop-accent);outline-offset:2px}
.product-buy .faith-choice-button:disabled{opacity:.45;cursor:not-allowed}
.product-buy .faith-choice-button[hidden]{display:none!important}
.product-buy .faith-swatch-available{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:.5rem}
.product-buy .faith-swatch-available input{width:auto;min-width:0;margin:0}


/* 4.6.40: drawer touch targets without changing its lifecycle. */
.faith-drawer-head button{min-width:44px;min-height:44px;border-radius:8px}
.faith-drawer-line div{min-width:0;overflow-wrap:anywhere}
.faith-drawer-line img{object-fit:contain;background:#f7f7f7;flex-shrink:0}
.faith-drawer-actions .btn{flex:1 1 130px;min-height:44px;text-align:center;white-space:normal}
.faith-cart-drawer :is(button,a):focus-visible{outline:2px solid currentColor;outline-offset:3px}

/* 4.6.50: graphical options and compact quantity, scoped to product form */
.product-buy .faith-product-quantity{display:flex;align-items:stretch;gap:4px;width:110px;max-width:100%}.product-buy .faith-product-quantity input{width:68px;min-width:0;appearance:textfield;-moz-appearance:textfield;margin:0}.product-buy .faith-product-quantity input::-webkit-inner-spin-button,.product-buy .faith-product-quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.faith-quantity-steps{display:grid;grid-template-rows:1fr 1fr;gap:2px}.faith-quantity-steps button{font:inherit;font-size:.7rem;line-height:1;color:var(--shop-text);background:var(--shop-bg);border:1px solid var(--shop-line);border-radius:4px;min-width:32px;min-height:24px;cursor:pointer}.faith-quantity-steps button:focus-visible{outline:2px solid var(--shop-accent);outline-offset:2px}.product-buy .faith-option-card[aria-pressed=true],.product-buy .faith-reviewed-swatch[aria-pressed=true]{outline:2px solid var(--shop-accent);outline-offset:2px}
