/* Z190 visual layer only. Existing copy, controls, prices and state logic stay in place. */
:root{
  --cp-ink:var(--pearl-ink,#3f2565);
  --cp-pink:var(--pearl-pink,#ee4fa7);
  --cp-line:var(--pearl-line,#f3c8e9);
  --cp-soft:#fff1fb;
  --pearl-form-surface:linear-gradient(145deg,#fff 0%,#fffafd 53%,#f8f3ff 100%);
  --pearl-form-shadow:0 16px 50px #9e68c613,0 4px 12px #ec8ac70a;
  --pearl-button-surface:linear-gradient(180deg,#ffe9f8 0%,#ffd3ee 48%,#ffc1e5 100%);
  --pearl-button-shadow:inset 0 2px 1px #ffffffed,inset 0 -2px 2px #f397ce55,0 6px 20px #ec81c123;
  --pearl-button-ink:#9d286d;
}

/* One glossy control language from the bag to the order-status page. */
.site-header .cpc-shop-bag-trigger,
.product-card .cpc-card-buy,
.cpc-pink-button,
.pay-button,
.lookup-submit{
  color:var(--pearl-button-ink);
  background:var(--pearl-button-surface);
  border:1px solid #f7afe0;
  box-shadow:var(--pearl-button-shadow);
  border-radius:999px;
  min-height:48px;
  font-weight:750;
  transition:background .2s ease,box-shadow .2s ease,transform .2s ease;
}
.site-header .cpc-shop-bag-trigger{
  min-height:46px;
  padding:9px 17px;
  color:#a52b76;
}
.cpc-bag-count{
  color:#fff;
  background:linear-gradient(145deg,#ef69b8,#c8459b);
  border:1px solid #ffffffad;
  box-shadow:inset 0 1px 2px #ffffff6b;
}
.site-header .cpc-return,.site-header .return-link{
  color:#8050af;
  border-radius:999px;
  min-height:44px;
  display:inline-flex;
  align-items:center;
}
.site-header .cpc-return:hover,.site-header .return-link:hover{color:#a3368f}
.product-card .cpc-card-buy:hover:not(:disabled),
.cpc-pink-button:hover:not(:disabled),
.pay-button:hover:not(:disabled),
.lookup-submit:hover:not(:disabled){
  color:#8c2267;
  background:linear-gradient(180deg,#fff0fa,#ffd3f0 50%,#ffb8e2);
  box-shadow:inset 0 2px 1px #fff,0 8px 23px #d881be2e;
}
.cpc-pink-button:disabled,
.product-card .cpc-card-buy:disabled,
.pay-button:disabled,
.lookup-submit:disabled{
  color:#765877;
  background:linear-gradient(180deg,#fff6fc,#eddfed);
  border-color:#e5d4e4;
  box-shadow:inset 0 1px #fff;
  opacity:.65;
}
.cpc-shop-dialog :focus-visible,
.cpc-card-buy:focus-visible,
.cpc-shop-bag-trigger:focus-visible,
.checkout-wrap :focus-visible,
.tracking-wrap :focus-visible{
  outline:3px solid var(--pearl-purple,#7852c5);
  outline-offset:4px;
}

/* Product customizer and bag: pearl surfaces, comfortably sized touch controls. */
.cpc-shopping-shade{
  background:#442a6647;
  backdrop-filter:blur(11px);
  -webkit-backdrop-filter:blur(11px);
}
.cpc-shop-dialog{
  color:var(--pearl-ink,#3f2565);
  background:var(--pearl-form-surface);
  border:1px solid #edc9ef;
  box-shadow:0 30px 100px #60388e35,inset 0 1px #fff;
}
.cpc-custom-dialog{border-radius:30px}
.cpc-drawer{border-radius:30px 0 0 30px}
.cpc-dialog-heading{border-bottom-color:var(--pearl-line,#f3c8e9)}
.cpc-dialog-heading h2{color:var(--pearl-ink,#3f2565)}
.cpc-custom-dialog .cpc-dialog-heading{
  background:linear-gradient(115deg,#fffafff7,#fff4fcf5 55%,#f6f0fff5);
  border-radius:29px 29px 0 0;
  border-bottom-color:#ecd7f0;
  box-shadow:0 9px 18px #b884cb0b;
}
.cpc-overline{color:#a6479d}
.cpc-dialog-close{
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,#fff,#f6e8ff);
  color:var(--pearl-purple,#7852c5);
  border:1px solid #edc9ef;
  box-shadow:inset 0 1px #fff,0 3px 10px #a679bd0c;
  min-width:44px;
  min-height:44px;
}
.cpc-dialog-close:hover{background:#f5e5ff}
.cpc-custom-size,
.cpc-line-details p,
.cpc-aux,
.cpc-bag-empty,
.cpc-field span,
.cpc-v24-processing-note,
.cpc-request-note,
.cpc-request-count{
  color:var(--pearl-muted,#79678f);
}
.cpc-custom-price,
.cpc-line-price,
.cpc-bag-subtotal strong,
.cpc-custom-actions .cpc-custom-total strong{
  color:#a23891;
}
.cpc-line-details strong,
.cpc-field,
.cpc-bag-subtotal,
.cpc-custom-total{
  color:var(--pearl-ink,#3f2565);
}
.cpc-select,
.cpc-quantity,
.cpc-request-input,
.fields input,
.fields select,
.discount-row input,
.tracking-lookup input,
.recovery-panel form input{
  color:var(--pearl-ink,#3f2565);
  background:linear-gradient(180deg,#fff,#fffdff);
  border:1px solid #d9b8e8;
  border-radius:15px;
  min-height:49px;
  box-shadow:inset 0 2px 4px #a27bc007,0 2px 3px #fff;
  accent-color:var(--pearl-purple,#7852c5);
  transition:border-color .18s ease,box-shadow .18s ease;
}
.cpc-select:focus,
.cpc-quantity:focus,
.cpc-request-input:focus,
.fields input:focus,
.fields select:focus,
.discount-row input:focus,
.tracking-lookup input:focus,
.recovery-panel form input:focus{
  border-color:#aa77d1;
  box-shadow:0 0 0 4px #af83db1c,inset 0 1px 3px #a27bc007;
}
.cpc-request-input::placeholder,
.fields input::placeholder,
.discount-row input::placeholder,
.tracking-lookup input::placeholder,
.recovery-panel form input::placeholder{color:#9b85ad;opacity:1}
.cpc-v24-slot{
  border-color:#e5c9ee;
  border-radius:19px;
  background:linear-gradient(145deg,#fff,#fcf7ff);
  box-shadow:inset 0 1px #fff;
}
.cpc-v24-slot legend{color:#77509d}
.cpc-v24-ack{
  color:#5b3b73;
  border-color:#e2b9e4;
  background:linear-gradient(135deg,#fff2fa,#f7edff);
  border-radius:16px;
}
.cpc-v24-ack input,.check input{accent-color:var(--pearl-purple,#7852c5)}
.cpc-v24-scent-fee{
  color:#69437f;
  border-color:#e9c2e8;
  border-radius:13px;
  background:linear-gradient(130deg,#fff1fb,#f8efff);
}
.cpc-v24-scent-fee-amount,.cpc-v24-scent-fee-reason::before{color:#a83b8b}
.cpc-request-field{
  background:linear-gradient(135deg,#fff5fc,#fbf5ff);
  border-color:#ead1ed;
  border-radius:19px;
}
.cpc-bag-request{color:#674378;background:#f9effd;border-left-color:#c690d8}
.cpc-line-actions button{
  border-color:#e2c9ed;
  color:var(--pearl-purple,#7852c5);
  background:linear-gradient(180deg,#fff,#f9f1ff);
  border-radius:14px;
  min-width:44px;
  min-height:44px;
  box-shadow:inset 0 1px #fff;
}
.cpc-line-actions button:hover:not(:disabled){background:#f4e7fc}
.cpc-line-links button,.cpc-edit,.cpc-remove,.cpc-text-button{
  min-height:44px;
  color:#8051b1;
  text-decoration-thickness:1px;
  text-underline-offset:4px;
}
.cpc-bag-line{border-bottom-color:#efddf2}
.cpc-bag-bottom{
  background:#fffaff;
  border-top-color:#ecd7f0;
  box-shadow:0 -12px 24px #fffaff;
}
.cpc-custom-actions{
  background:linear-gradient(125deg,#fffafff7,#fff7fef7 60%,#faf4fff7);
  border-top-color:#ecd7f0;
  box-shadow:0 -12px 20px #fffaffed;
  border-radius:0 0 29px 29px;
}
.cpc-bag-add-on{
  border-color:#ebc7ea;
  border-radius:21px;
  background:linear-gradient(135deg,#fff2fb,#f8efff);
  box-shadow:inset 0 1px #fff;
}
.cpc-bag-add-on-kicker,.cpc-bag-add-on-title span{color:#a34797}
.cpc-bag-add-on-copy{color:var(--pearl-muted,#79678f)}
.cpc-bag-add-on-action{
  color:#7950a9;
  border-color:#d9b8e8;
  background:linear-gradient(180deg,#fff,#faf2ff);
  border-radius:999px;
  box-shadow:inset 0 1px #fff;
}
.cpc-bag-add-on-action:hover{background:#f5e9ff}
.cpc-shop-dialog .cpc-warning{color:#9e2e64}

/* Checkout and confirmation retain their focused single-column flow. */
.checkout-wrap h1,.order-result h2,.checkout-panel h2{color:var(--pearl-ink,#3f2565)}
.checkout-wrap .eyebrow{color:#ac4e9b}
.checkout-wrap .pink-dot{color:var(--pearl-pink,#ee4fa7)}
.checkout-panel{
  color:var(--pearl-ink,#3f2565);
  border-color:var(--pearl-line,#f3c8e9);
  border-radius:30px;
  background:var(--pearl-form-surface);
  box-shadow:var(--pearl-form-shadow),inset 0 1px #fff;
}
.checkout-muted,
.order-result [data-message],
.result-details dt,
.request-review-item p,
.bag-line small{color:var(--pearl-muted,#79678f)}
.checkout-notice,.policy-box,.discount-box,.final-totals,.request-review{
  color:var(--pearl-ink,#3f2565);
  border-color:#e8c8e9;
  border-radius:19px;
  background:linear-gradient(135deg,#fff4fc,#f9f2ff);
  box-shadow:inset 0 1px #fff;
}
.fields label,.discount-box label,.check,.result-details dd,.request-review-item strong{color:var(--pearl-ink,#3f2565)}
.check a,.checkout-footer a,.back-link,.result-support a,.order-result .back-link{
  color:#8250b1;
  text-decoration-thickness:1px;
  text-underline-offset:4px;
}
.discount-row button{
  min-height:48px;
  color:#76509f;
  background:linear-gradient(180deg,#f9f0ff,#edddff);
  border:1px solid #dac0ed;
  border-radius:15px;
  box-shadow:inset 0 1px #fff;
}
.discount-row button:hover:not(:disabled){background:#e8d5fb}
.bag-line,.summary-row,.result-details>div,.request-review-item{border-bottom-color:#ebd8ef;border-top-color:#ebd8ef}
.final-totals .total{border-top-color:#ddbee8;color:#69418e}
.checkout-error:not(:empty),.lookup-error{
  color:#9c285e;
  background:#fff0f7;
  border-color:#e7b5d0;
  border-radius:15px;
}
.stripe-trust{
  background:linear-gradient(120deg,#fff,#f4eeff);
  border-color:#dfd1f2;
  border-radius:20px;
  box-shadow:inset 0 1px #fff;
}
.stripe-trust-copy strong{color:#4a306c}
.stripe-trust-copy span{color:#7a678f}
.result-mark{
  color:#8c4cba;
  background:linear-gradient(145deg,#fff,#f2e2ff 50%,#ffdbf0);
  border:1px solid #e9c9ec;
  box-shadow:inset 0 2px 1px #fff,0 5px 16px #bd8ac31a;
}

/* Private order links and public lookup use the same pearl card system. */
.tracking-wrap .page-intro h1,.tracking-wrap h1 span,.status-card h2,.parcel-card h3{color:var(--pearl-ink,#3f2565)}
.tracking-wrap .eyebrow,.status-kicker,.parcel-label{color:#9b50a6}
.intro-copy,.status-message,.reference-row span,.carrier-note,.checked-at,.support-row p,.privacy-note,.lookup-hint,.recovery-intro,.recovery-hint{color:var(--pearl-muted,#79678f)}
.status-card{
  background:var(--pearl-form-surface);
  border-color:var(--pearl-line,#f3c8e9);
  border-radius:30px;
  box-shadow:var(--pearl-form-shadow),inset 0 1px #fff;
}
.status-mark{
  background:linear-gradient(145deg,#fff,#f4e6ff 52%,#ffe3f4);
  color:#9860b4;
  border:1px solid #e6c9ed;
  box-shadow:inset 0 1px #fff;
}
.reference-row,.support-row{border-color:#ebd9f0}
.reference-row strong,.tracking-number{color:#6c4c8b}
.progress-list li:not(:last-child)::after{background:#e4cceb}
.progress-list .step-marker{border-color:#ddc6ea;color:#9d81b3;background:#fffbff}
.progress-list li[data-complete=true] .step-marker{
  background:linear-gradient(145deg,#a177d8,#8256bc);
  color:#fff;
  border-color:#9970cb;
  box-shadow:inset 0 1px #ffffff61;
}
.progress-list li[aria-current=step] .step-marker{color:#8c56b4;border-color:#9d6acd;background:#faf2ff;box-shadow:0 0 0 4px #eee0fb}
.step-label,.step-current{color:#8d759e}
.progress-list li[data-complete=true] .step-label,.progress-list li[aria-current=step] .step-label{color:#61417b}
.parcel-card,.recovery-panel{
  background:linear-gradient(135deg,#fff7fd,#f8f1ff);
  border-color:#e8cfed;
  border-radius:21px;
  box-shadow:inset 0 1px #fff;
}
.carrier-button,.refresh-button{
  color:#7950a9;
  border-color:#d9bce8;
  border-radius:999px;
  background:linear-gradient(180deg,#fff,#faf2ff);
  min-height:46px;
  box-shadow:inset 0 1px #fff,0 3px 10px #bc91d00b;
}
.carrier-button:hover,.refresh-button:hover:not(:disabled){background:#f3e6ff;border-color:#ba95d8}
.support-row a,.change-link,.recovery-toggle{color:#8652ad}
.recovery-result{color:#6e4a88}
.tracking-lookup label,.recovery-panel form label{color:var(--pearl-ink,#3f2565)}
.tracking-lookup input[aria-invalid=true]{border-color:#b74c81}
.change-link{min-height:44px}
.recovery-toggle{min-height:44px}
.no-script{border-color:#e6cdeb;background:#fff9fd;border-radius:18px;color:var(--pearl-ink,#3f2565)}

/* Support surfaces stay part of the same theme, including the contact panel. */
.cpc-support{
  --cpc-sup-hot:#9650ad;
  --cpc-sup-soft:#fff3fc;
  --cpc-sup-line:#e9cfee;
  --cpc-sup-muted:var(--pearl-muted,#79678f);
}
.cpc-support .cpc-sup-card,
.cpc-support .cpc-sup-search-panel,
.cpc-support .cpc-sup-catalog,
.cpc-support .cpc-sup-step,
.cpc-support .cpc-sup-option,
.cpc-support .cpc-sup-urgent,
.cpc-support .cpc-sup-side,
.cpc-support .cpc-sup-banner{
  color:var(--pearl-ink,#3f2565);
  border:1px solid var(--pearl-line,#f3c8e9);
  border-radius:27px;
  background:var(--pearl-form-surface);
  box-shadow:var(--pearl-form-shadow),inset 0 1px #fff;
}
.cpc-support .cpc-sup-side{background:linear-gradient(145deg,#fff7fd,#f3eaff)}
.cpc-support .cpc-sup-side>a,
.cpc-support .cpc-sup-side #contact{border-color:#e0c8ec}
.cpc-support .cpc-sup-side>a,
.cpc-support .cpc-sup-side>.cpc-sup-kicker,
.cpc-support .cpc-sup-side #contact .cpc-sup-kicker,
.cpc-support .cpc-sup-email,
.cpc-support .cpc-sup-card-cta,
.cpc-support .cpc-sup-links a{color:#8951b1}
.cpc-support .cpc-sup-side-note,
.cpc-support .cpc-sup-side-note p,
.cpc-support .cpc-sup-side #contact .cpc-sup-small,
.cpc-support .cpc-sup-banner p:last-child,
.cpc-support .faq p{color:var(--pearl-muted,#79678f)}
.cpc-support .cpc-sup-banner .cpc-sup-kicker{color:#a349a2}
.cpc-support .cpc-sup-icon,.cpc-support .faq summary::after{
  color:#9660bc;
  border:1px solid #ebcaee;
  background:linear-gradient(145deg,#fff,#f1e2ff 50%,#ffe3f4);
  border-radius:15px;
  box-shadow:inset 0 1px #fff;
}
.cpc-support .faq{border-color:#e6cbed;border-radius:20px;background:linear-gradient(145deg,#fff,#fffbfe)}
.cpc-support .faq summary{color:#573577;min-height:58px}
.cpc-support .faq summary::after{border-radius:50%}
.cpc-support .faq-search{border-color:#dfc4ea;border-radius:999px;background:#fffaff;color:var(--pearl-ink,#3f2565);box-shadow:inset 0 2px 3px #ad88c408}
.cpc-support .faq-search:focus{border-color:#ad7dd2;box-shadow:0 0 0 4px #c098df1c}
.cpc-support .cpc-sup-warning{
  color:#623c79;
  background:linear-gradient(125deg,#fff1f9,#faf0ff);
  border-color:#e5bbe5;
  border-radius:26px;
}
.cpc-support .cpc-sup-warning-mark{color:#9855a9;background:linear-gradient(145deg,#fff,#ffd5ef);border:1px solid #e9b9de;box-shadow:inset 0 1px #fff}
.cpc-support .cpc-sup-warning p,.cpc-support .cpc-sup-list{color:#775586}

@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .cpc-pink-button:active:not(:disabled),.pay-button:active:not(:disabled),.lookup-submit:active:not(:disabled){transform:translateY(1px)}
}
@media(max-width:740px){
  .cpc-custom-dialog{border-radius:26px}
  .cpc-custom-dialog .cpc-dialog-heading{border-radius:25px 25px 0 0}
  .cpc-custom-actions{border-radius:0 0 25px 25px}
  .cpc-drawer{border-radius:26px 0 0 26px}
}
@media(max-width:520px){
  .checkout-panel,.status-card{border-radius:25px}
  .cpc-custom-dialog{border-radius:23px}
  .cpc-custom-dialog .cpc-dialog-heading{border-radius:22px 22px 0 0}
  .cpc-custom-actions{border-radius:0 0 22px 22px}
  .cpc-drawer{border-radius:23px 0 0 23px}
  .site-header .cpc-shop-bag-trigger{min-height:44px;padding:8px 12px}
  .cpc-line-actions{gap:10px}
  .cpc-line-actions button{min-width:44px;min-height:44px}
  .cpc-line-links{gap:15px;flex-wrap:wrap}
  .fields input,.fields select,.cpc-select,.cpc-quantity,.discount-row input,.tracking-lookup input,.recovery-panel form input{font-size:16px}
  .cpc-support .cpc-sup-card,.cpc-support .cpc-sup-search-panel,.cpc-support .cpc-sup-catalog,.cpc-support .cpc-sup-step,.cpc-support .cpc-sup-option,.cpc-support .cpc-sup-urgent,.cpc-support .cpc-sup-side,.cpc-support .cpc-sup-banner{border-radius:23px}
}
@media(max-width:359px){
  .site-header .cpc-shop-bag-trigger{padding:8px 10px;font-size:.75rem;gap:6px}
  .cpc-shop-dialog .cpc-dialog-close{min-width:44px;min-height:44px}
  .cpc-line-actions{gap:8px}
}
@media(prefers-reduced-motion:reduce){
  .cpc-shop-dialog *,
  .checkout-wrap *,
  .tracking-wrap *,
  .cpc-shop-bag-trigger,
  .cpc-card-buy{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
