/* CPC release shopping v6 — scoped styling, black, pink and white */
.cpc-shop-bag-trigger{display:flex;align-items:center;gap:9px;background:#f4a6c9;border:1px solid #f4a6c9;color:#241423;border-radius:999px;padding:10px 14px;min-height:45px;font-weight:800;white-space:nowrap}
.cpc-bag-count{display:inline-grid;place-items:center;min-width:25px;min-height:25px;padding:0 5px;border-radius:999px;background:#241423;color:#fff;font-size:.78rem}
.cpc-card-buy,.cpc-pink-button{display:inline-flex;justify-content:center;align-items:center;border:0;border-radius:10px;background:#281927;color:#fff;font-weight:800;font-size:.84rem;min-height:44px;padding:11px 15px;margin-top:14px}
.cpc-card-buy{width:100%;background:#f3a0c7;color:#241423}.cpc-card-buy:hover:not(:disabled){background:#ffd1e5}.cpc-card-buy:disabled,.cpc-pink-button:disabled{opacity:.55;cursor:not-allowed}
.cpc-free-product-badge{display:inline-flex;align-items:center;width:max-content;max-width:100%;margin:7px 0 2px;padding:6px 10px;border:1px solid #e68fbd;border-radius:999px;background:linear-gradient(120deg,#fff0f8,#f5eaff);color:#9b246b;font-size:.7rem;font-weight:850;line-height:1.25;box-shadow:0 5px 15px #a13b7512}
.cpc-pink-button{background:#f3a0c7;color:#241423;margin:0;width:100%}.cpc-pink-button:hover:not(:disabled){background:#ffd1e5}
.cpc-shopping-shade{position:fixed;inset:0;z-index:101;background:rgba(17,6,16,.73)}
.cpc-shopping-shade[hidden],.cpc-shop-dialog[hidden]{display:none!important}
.cpc-shop-dialog{position:fixed;z-index:102;background:#fffdfd;color:#241423;box-shadow:0 16px 65px #0006;border:1px solid #eac6d7;padding:23px;overflow:auto;max-height:100dvh}
.cpc-drawer{right:0;top:0;height:100dvh;width:min(450px,100vw);display:flex;flex-direction:column}
.cpc-custom-dialog{top:50%;left:50%;transform:translate(-50%,-50%);width:min(525px,calc(100vw - 22px));border-radius:20px;max-height:calc(100dvh - 22px)}
.cpc-dialog-visible{overflow:hidden}
.cpc-dialog-heading{flex-shrink:0;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:1px solid #eed9e4;padding-bottom:15px;margin-bottom:18px}
.cpc-dialog-heading h2{font-size:1.66rem;line-height:1.2;margin:0}.cpc-overline{font-size:.69rem;letter-spacing:.12em;font-weight:800;color:#9d4073;margin:0 0 5px}
.cpc-dialog-close{background:#fae5f0;border:0;border-radius:50%;min-width:40px;min-height:40px;font-size:1.6rem;color:#3e1d32}
.cpc-bag-items{flex:1 1 0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.cpc-bag-empty{padding:27px 0;color:#806978}
.cpc-bag-line{display:flex;justify-content:space-between;gap:15px;padding:17px 0;border-bottom:1px solid #f2e2e9}.cpc-line-details{min-width:0}.cpc-line-details strong{display:block;font-size:.9rem}.cpc-line-details p{font-size:.81rem;color:#775c6c;margin:7px 0}.cpc-line-price{white-space:nowrap;color:#7e3560}
.cpc-line-actions{display:flex;align-items:center;gap:13px;margin:12px 0 6px}.cpc-line-actions button{width:33px;height:33px;border:1px solid #dcbbcc;border-radius:8px;background:white;color:#241423}.cpc-remove,.cpc-text-button{background:none;border:none;padding:3px 0;text-decoration:underline;color:#8b3568;font-size:.81rem}
.cpc-bag-bottom{flex:0 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;border-top:1px solid #e9d5e0;padding-top:16px}.cpc-bag-subtotal,.cpc-custom-total{display:flex;justify-content:space-between;gap:10px;font-weight:800}.cpc-bag-subtotal strong,.cpc-custom-total strong{font-size:1.15rem;color:#943864}.cpc-aux{font-size:.77rem;color:#745d6b;line-height:1.65;margin:12px 0}.cpc-warning{font-size:.82rem;color:#9b244c;font-weight:700;margin:10px 0}.cpc-warning:empty{display:none}
.cpc-bag-add-on{margin:18px 0 12px;padding:16px;border:1px solid #edc5d9;border-radius:14px;background:#fff6fa}
.cpc-bag-add-on-kicker{margin:0 0 7px;color:#963c6e;font-size:.66rem;font-weight:800;letter-spacing:.1em}
.cpc-bag-add-on-title{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.cpc-bag-add-on-title h3{margin:0;font-size:1rem;line-height:1.3}.cpc-bag-add-on-title span{white-space:nowrap;color:#87385e;font-size:.78rem;font-weight:800}
.cpc-bag-add-on-copy{margin:8px 0 12px;color:#6e5364;font-size:.77rem;line-height:1.5}
.cpc-bag-add-on-action{min-height:44px;padding:9px 13px;border:1px solid #c95890;border-radius:9px;background:#fff;color:#793656;font:inherit;font-size:.82rem;font-weight:800;cursor:pointer}.cpc-bag-add-on-action:hover{background:#ffe8f2}
.cpc-free-item-offer{display:grid;grid-template-columns:auto 1fr;gap:11px;margin:16px 0;padding:15px;border:1px solid #e5c5df;border-radius:16px;background:linear-gradient(135deg,#fff8fc,#f6efff);box-shadow:0 8px 25px #8f34730d}.cpc-free-item-offer.is-unlocked{border-color:#e25c9e;background:linear-gradient(135deg,#fff0f8,#f0e8ff);box-shadow:0 8px 28px #b6328120}.cpc-free-item-sparkle{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#ffd4e8;color:#c02875;font-size:1.4rem}.cpc-free-item-copy{min-width:0}.cpc-free-item-kicker{margin:0 0 3px!important;color:#a12f72!important;font-size:.61rem!important;font-weight:900!important;letter-spacing:.11em}.cpc-free-item-copy h3{margin:0;color:#4b275f;font-size:.96rem}.cpc-free-item-copy>p:last-child{margin:5px 0 0;color:#71556f;font-size:.74rem;line-height:1.45}.cpc-free-item-action{grid-column:1/-1;min-height:44px;border:0;border-radius:11px;background:#bb2f7a;color:#fff;font:inherit;font-size:.8rem;font-weight:850;cursor:pointer}.cpc-free-item-action:disabled{background:#ead9e5;color:#866f7f;cursor:default}
.cpc-custom-size{color:#7d6173;font-size:.82rem}.cpc-custom-price{color:#923f72;font-weight:800}.cpc-field{display:block;font-weight:800;font-size:.85rem;margin-top:15px;margin-bottom:6px}.cpc-field span{font-size:.74rem;color:#775e6c;font-weight:500}.cpc-select,.cpc-quantity{display:block;width:100%;min-height:46px;border:1px solid #d9bccc;border-radius:10px;padding:10px;background:#fff;color:#241423;font:inherit}.cpc-custom-total{padding:16px 0;margin-top:16px;border-top:1px solid #e8d3e0}.cpc-shopping-live{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.cpc-custom-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;list-style:none;margin:0 0 18px;padding:0}.cpc-custom-progress li{padding:8px 6px;border:1px solid #ead4e1;border-radius:999px;background:#fffafd;color:#866b7b;text-align:center;font-size:.68rem;font-weight:800}.cpc-custom-progress li.is-complete{background:#f4e9ff;color:#66418a;border-color:#d9bcea}.cpc-custom-progress li.is-current{background:#ffd9ea;color:#7d2858;border-color:#eaa5c6}
.cpc-mobile-flow-status{margin:-8px 0 15px;padding:10px 12px;border-radius:11px;background:#fff3f9;color:#70435e;font-size:.75rem;line-height:1.5}.cpc-optional-request{margin-top:17px;padding:12px 14px;border:1px solid #ead3e0;border-radius:12px;background:#fffafd}.cpc-optional-request>summary{cursor:pointer;color:#6d3656;font-size:.84rem;font-weight:800;min-height:30px}.cpc-optional-request>summary span{color:#8d7181;font-size:.72rem;font-weight:600}.cpc-optional-request .cpc-field{margin-top:10px}
.cpc-custom-summary{margin:18px 0 4px;padding:16px;border:1px solid #e5bfd5;border-radius:15px;background:linear-gradient(145deg,#fff8fc,#f8efff)}.cpc-custom-summary-kicker{margin:0 0 3px;color:#a13b79;font-size:.63rem;font-weight:850;letter-spacing:.14em}.cpc-custom-summary h3{margin:0 0 10px;color:#4f2d61;font-size:1rem}.cpc-custom-summary-row{display:flex;justify-content:space-between;gap:15px;padding:6px 0;border-top:1px solid #ecdbe7;color:#755b6c;font-size:.76rem;line-height:1.45}.cpc-custom-summary-row strong{max-width:65%;color:#42243a;text-align:right;overflow-wrap:anywhere}
.cpc-bag-breakdown{margin-top:12px;padding:13px 14px;border:1px solid #ead3e0;border-radius:13px;background:#fffafd}.cpc-bag-breakdown>div{display:flex;justify-content:space-between;gap:16px;padding:5px 0;color:#775d6d;font-size:.78rem}.cpc-bag-breakdown .cpc-bag-subtotal{margin-top:5px;padding-top:10px;border-top:1px solid #e5ccd9;color:#3e2634;font-size:.9rem}.cpc-bag-reward-summary{margin:10px 0;padding:10px 12px;border-radius:10px;background:#f7eaff;color:#69418a;font-size:.75rem;font-weight:750;line-height:1.5}.cpc-line-price-reward{color:#a72f78}.cpc-line-price-reward::after{content:'Reward at checkout';display:block;margin-top:3px;color:#815c74;font-size:.56rem;font-weight:700;white-space:nowrap}
.cpc-bag-account-status{margin:10px 2px 0;color:#47735a;font-size:.68rem;font-weight:800}
.cpc-shop-dialog :focus-visible,.cpc-card-buy:focus-visible,.cpc-shop-bag-trigger:focus-visible{outline:3px solid #b6407d;outline-offset:3px}
@media(max-width:940px){.header-inner{gap:10px}.site-nav{gap:13px}.cpc-shop-bag-trigger{padding:8px 11px}}
@media(max-width:680px){.cpc-shop-bag-trigger{margin-left:auto;min-height:44px}.nav-toggle{order:3}.cpc-shop-dialog{padding:17px}.cpc-drawer{width:min(425px,100vw)}.cpc-custom-dialog{border-radius:15px}}
@media(max-width:520px){.cpc-custom-progress{position:sticky;top:-17px;z-index:4;margin:-2px -2px 14px;padding:9px 2px;background:#fffdfdf2;backdrop-filter:blur(12px)}.cpc-custom-progress li{padding:7px 3px;font-size:.63rem}.cpc-mobile-flow-status{font-size:.72rem}.cpc-optional-request{padding:11px 12px}}
@media(max-width:350px){.cpc-shop-bag-trigger{gap:5px;padding:8px}.header-inner{gap:6px}}

/* V7: visually separate the review-only cart demo from genuine stock availability. */
.cpc-demo-banner{background:#ffe2f0;color:#281322;border-top:2px solid #141014;border-bottom:2px solid #141014;padding:14px clamp(18px,4vw,56px);display:flex;gap:20px;align-items:center;justify-content:space-between}
.cpc-demo-banner div{display:flex;flex-direction:column;gap:5px}
.cpc-demo-banner strong{font-size:.84rem;letter-spacing:.09em}
.cpc-demo-banner span{font-size:.85rem;line-height:1.4}
.cpc-demo-banner a{font-size:.82rem;color:#281322;font-weight:700;text-decoration:underline;white-space:nowrap}
@media(max-width:700px){.cpc-demo-banner{align-items:flex-start;flex-direction:column;gap:9px}.cpc-demo-banner a{white-space:normal}}

/* V8 inventory clarity and mobile tap/scroll improvements. Scoped to /release/. */
.cpc-stock-status{font-size:.76rem;line-height:1.45;color:#78556c;font-weight:700;margin:9px 0 -5px}
.cpc-line-actions button{min-width:44px;min-height:44px;touch-action:manipulation;font-size:1.15rem}
.cpc-line-actions button:disabled{opacity:.45;cursor:not-allowed}
.cpc-line-actions span{min-width:2ch;text-align:center;font-variant-numeric:tabular-nums}
.cpc-dialog-close{min-width:44px;min-height:44px}
.cpc-shop-dialog{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.cpc-bag-bottom{background:#fffdfd;padding-bottom:max(15px,env(safe-area-inset-bottom));}
.cpc-card-buy,.cpc-pink-button,.cpc-shop-bag-trigger{touch-action:manipulation}
@media(max-width:680px){
 .cpc-shop-bag-trigger{font-size:.83rem}
 .cpc-bag-line{gap:8px}
 .cpc-line-price{font-size:.83rem}
 .cpc-custom-dialog{width:calc(100vw - 14px);max-height:calc(100dvh - 16px)}
 .cpc-select,.cpc-quantity{font-size:16px}
 .cpc-drawer{max-height:100dvh;height:100dvh;padding-bottom:max(17px,env(safe-area-inset-bottom))}
}
@media(max-width:380px){.cpc-shop-bag-trigger{font-size:.77rem;padding:7px 9px}.cpc-line-actions{gap:9px}}

/* Optional per-item request. It is a plain-text note and never changes the estimate. */
.cpc-request-field{margin:19px 0 10px;padding:15px;border:1px solid #ead5e1;border-radius:13px;background:#fffafd}
.cpc-request-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:8px}
.cpc-request-heading .cpc-field{margin:0}
.cpc-request-count{font-size:.7rem;font-weight:700;color:#866b7b;white-space:nowrap;font-variant-numeric:tabular-nums}
.cpc-request-input{display:block;width:100%;min-height:86px;max-height:220px;resize:vertical;border:1px solid #d8bdcc;border-radius:11px;background:#fff;color:#34232f;padding:12px;font:inherit;font-size:16px;line-height:1.5;scroll-margin-bottom:190px}
.cpc-request-input:focus{border-color:#ad4c7f;box-shadow:0 0 0 4px #b34b7d0c}
.cpc-request-input::placeholder{color:#8c7683}
.cpc-request-note{margin:9px 0 0;color:#755e6d;font-size:.75rem;line-height:1.6}
.cpc-bag-request{background:#fff5fa;border-left:3px solid #d784ad;border-radius:0 7px 7px 0;padding:8px 10px;overflow-wrap:anywhere;white-space:normal}
.cpc-line-details .cpc-bag-reward-note{display:inline-block;padding:5px 9px;border:1px solid #e4aed4;border-radius:999px;background:#fff2fb;color:#8c3878;font-size:.72rem;font-weight:800}
@media(max-width:520px){.cpc-request-field{padding:13px;margin-top:17px}.cpc-request-note{font-size:.72rem}}

/* Catalog Studio V10: categories generated from admin D1 catalog. */
.cpc-category-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 24px}
.cpc-category-tabs button{min-height:42px;cursor:pointer}
@media(max-width:600px){.cpc-category-tabs{gap:6px}.cpc-category-tabs button{min-height:44px}}

/* V24 individually customizable bundles */
#cpc-v24-components[hidden],.cpc-v24-ack[hidden]{display:none!important}#cpc-v24-components{display:grid;gap:13px;margin:16px 0}.cpc-v24-slot{border:1px solid #dcb7cd;border-radius:10px;min-width:0;padding:13px;display:grid;gap:9px}.cpc-v24-slot legend{font-size:12px;font-weight:750;color:#72385a;padding:0 5px}.cpc-v24-processing-note{font-size:12px;line-height:1.7;color:#6e475d}.cpc-v24-ack{display:flex;align-items:flex-start;gap:9px;padding:14px;border:1px solid #d888af;background:#fff4fa;border-radius:10px;font-size:12px;line-height:1.6;color:#3e2234}.cpc-v24-ack input{width:18px;height:18px;accent-color:#e4569f;flex:none}.cpc-v24-slot .cpc-select{width:100%}

/* V24.1 duplicate-free customization: hidden legacy selects must never paint. */
.cpc-custom-body > select[hidden] { display: none !important; }

/* V24.21 public website: release-branded prelaunch notice; TEST checkout remains on preview host only. */
.cpc-live-launch-notice{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:9px 22px;padding:13px 22px;background:#291927;color:#fff;text-align:center;border-top:1px solid #eaa6cb;border-bottom:2px solid #eaa6cb;font-size:.87rem;line-height:1.55}
.cpc-live-launch-notice strong{color:#ffc1dc;letter-spacing:.02em}.cpc-live-launch-notice span{color:#f4e8ef}
@media(max-width:560px){.cpc-live-launch-notice{gap:2px;padding:12px 17px}}

/* V24.24Z100: brand selection matches the existing scent controls. */
#cpc-brand-section[hidden],#cpc-brand-fee[hidden]{display:none!important}
#cpc-brand-section{margin:12px 0 4px}
#cpc-brand-fee{margin-top:8px}
/* V24.24Z98: concise explanation for an actually charged scent selection only. */
.cpc-v24-scent-fee[hidden]{display:none!important}
.cpc-v24-scent-fee{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;padding:9px 11px;border:1px solid #edbad6;border-radius:9px;background:#fff1f8;color:#422238;font-size:12px;line-height:1.45}
.cpc-v24-scent-fee-reason{min-width:0;overflow-wrap:anywhere}
.cpc-v24-scent-fee-reason::before{content:"✦";color:#aa3d76;margin-right:7px}
.cpc-v24-scent-fee-amount{white-space:nowrap;color:#9b356f;font-weight:800;font-variant-numeric:tabular-nums}

/* Z227: optional second scent inside the existing slot; no extra card/section. */
.cpc-v24-second-toggle{display:flex;align-items:center;gap:10px;font-size:.81rem;font-weight:700;color:#693250;cursor:pointer;line-height:1.5;padding:6px 0}.cpc-v24-second-toggle input{flex:none;width:18px;height:18px;accent-color:#e4569f}.cpc-v24-second-toggle:has(input:disabled){opacity:.65;cursor:not-allowed}.cpc-v24-slot [data-v24-second][hidden]{display:none!important}

/* CPC Z271 — sale badges keep the existing black/pink/white product-card styling. */
.product-card .price .cpc-sale-was,.cpc-custom-price .cpc-sale-was{color:#856a7a;text-decoration:line-through;font-weight:500;margin-right:8px;font-size:.82em}.product-card .price .cpc-sale-now,.cpc-custom-price .cpc-sale-now{color:#a11e67;font-weight:850}.product-card .price .cpc-sale-saved,.cpc-custom-price .cpc-sale-saved{display:block;color:#993b75;font-size:.72em;font-weight:750;margin-top:3px}.cpc-line-price .cpc-sale-bag-saved{display:block;color:#9a3b75;font-size:.72em;font-weight:650;white-space:normal;line-height:1.35;margin-top:5px}

/* Z293: brand-matched category-first scent selection. */
.cpc-v24-category-field,.cpc-v24-second-category-field{display:block;font-size:.82rem;font-weight:750;color:#753c61;margin:7px 0 5px}.cpc-v24-category-field .cpc-select,.cpc-v24-second-category-field .cpc-select{display:block;width:100%;margin-top:7px}.cpc-v24-slot [data-v24-first][hidden],.cpc-v24-slot [data-v24-second][hidden],.cpc-v24-slot [data-v24-second-category][hidden],.cpc-v24-slot .cpc-v24-second-category-field[hidden]{display:none!important}

/* Z294 — searchable scent pickers open DOWNWARD in the customization dialog.
   In-flow panel + internal scrolling prevent native upward-opening OS menus. */
.cpc-scent-native{display:none!important}
.cpc-scent-picker{width:100%;min-width:0;margin:6px 0 5px;color:#281927}
.cpc-scent-picker[hidden]{display:none!important}
.cpc-scent-picker>summary{list-style:none;position:relative;display:flex;align-items:center;min-height:47px;padding:11px 35px 11px 13px;background:#fff;border:1px solid #d9bccc;border-radius:10px;font-size:16px;font-weight:600;cursor:pointer;overflow-wrap:anywhere}
.cpc-scent-picker>summary::-webkit-details-marker{display:none}
.cpc-scent-picker>summary::after{content:'⌄';position:absolute;right:13px;top:50%;transform:translateY(-50%);font-size:22px;font-weight:400;color:#89355e}
.cpc-scent-picker[open]>summary{border-color:#ae4582;border-radius:10px 10px 0 0;background:#fff7fb}
.cpc-scent-picker-panel{position:relative;background:#fff;border:1px solid #d9bccc;border-top:0;border-radius:0 0 10px 10px;padding:9px;box-shadow:0 6px 14px #4420391f}
.cpc-scent-search{display:block;width:100%;box-sizing:border-box;min-height:43px;margin:0 0 8px;padding:10px 12px;border:1px solid #d6bad0;border-radius:8px;background:#fff;color:#281927;font:inherit;font-size:16px}
.cpc-scent-picker-list{max-height:min(225px,36dvh);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable}
.cpc-scent-picker-option{display:block;width:100%;border:0;border-bottom:1px solid #f7e6ef;background:#fff;color:#3a2435;padding:12px 10px;text-align:left;font:inherit;font-size:15px;min-height:44px;cursor:pointer;overflow-wrap:anywhere}
.cpc-scent-picker-option:hover,.cpc-scent-picker-option:focus-visible,.cpc-scent-picker-option[aria-current=true]{background:#ffebf5;color:#792d59}
.cpc-scent-picker-count,.cpc-scent-picker-empty{margin:7px 0 0;padding:3px 2px;color:#785669;font-size:12px;line-height:1.5}
.cpc-scent-picker :focus-visible{outline:3px solid #ba5b90;outline-offset:2px}

/* Z296: roomy bag lines, independent item scrolling, reachable fixed-area checkout controls. */
@media (max-height:680px){.cpc-drawer .cpc-bag-bottom{max-height:48dvh}}
