/* Native customer primitives from the pinned storefront Button/Input/Card/Badge.
   Names are scoped to customer views; shared storefront utilities stay untouched. */
.customer-button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;white-space:nowrap;border-radius:.75rem;font-size:.875rem;line-height:1.25rem;font-weight:500;transition:background .15s,color .15s,border-color .15s;outline:none}
.customer-button svg{pointer-events:none;width:1rem;height:1rem;flex-shrink:0}
.customer-button:not(:disabled){cursor:pointer}
.customer-button:disabled{pointer-events:none;opacity:.5}
.customer-button:focus-visible{outline:none;box-shadow:0 0 0 1px hsl(var(--ring))}
.customer-button-primary{border:1px solid hsl(var(--primary));background:hsl(var(--primary));color:hsl(var(--primary-foreground))}
.customer-button-primary:hover{background:hsl(var(--primary)/.9)}
.customer-button-outline{border:1px solid hsl(var(--border));background:transparent}
.customer-button-outline:hover{border-color:hsl(var(--foreground));background:transparent}
.customer-button-ghost{border:1px solid transparent;background:transparent}
.customer-button-ghost:hover{background:hsl(var(--muted))}
.customer-button-default{min-height:2.5rem;padding-left:1.25rem;padding-right:1.25rem}
.customer-button-default.min-h-12{min-height:3rem}.customer-button-default.px-8{padding-left:2rem;padding-right:2rem}
.customer-button-small{min-height:2rem;padding-left:.75rem;padding-right:.75rem;font-size:12px}
.customer-button-large{min-height:3rem;padding-left:1.75rem;padding-right:1.75rem;font-size:14px}
.customer-button-target{min-height:2.75rem;padding-left:1rem;padding-right:1rem}
.customer-input{display:flex;height:2.5rem;min-height:2.75rem;width:100%;border-radius:.75rem;border:1px solid hsl(var(--border));background:hsl(var(--card));padding:.5rem .75rem;font-size:.875rem;line-height:1.25rem}
.customer-input::placeholder,.customer-textarea::placeholder{color:hsl(var(--muted-foreground))}
.customer-input:focus-visible,.customer-textarea:focus-visible{outline:none;box-shadow:0 0 0 1px hsl(var(--ring))}
.customer-textarea{display:flex;min-height:60px;width:100%;border-radius:.375rem;border:1px solid hsl(var(--input));background:transparent;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;box-shadow:0 1px 2px rgb(0 0 0/.05)}
@media(min-width:768px){.customer-textarea{font-size:.875rem;line-height:1.25rem}}
/* Account panel: textarea corners match the sibling .customer-input fields (Source mixes rounded-md/rounded-xl; deliberate). */
[data-account-section] .customer-textarea{border-radius:.75rem}
.customer-input.pl-8{padding-left:2rem}.customer-input.pl-9,.customer-textarea.pl-9{padding-left:2.25rem}
.customer-input.h-9{height:2.25rem}
.customer-input:disabled,.customer-textarea:disabled{opacity:.5}
.customer-label{font-size:.875rem;line-height:1;font-weight:500}
.customer-card{border-radius:.75rem;border:1px solid hsl(var(--card-border));background:hsl(var(--card));color:hsl(var(--card-foreground))}
.customer-card-header{display:flex;flex-direction:column;gap:.375rem;padding:1.5rem}
.customer-card-title{font-weight:600;font-size:1.125rem;line-height:1.25;letter-spacing:-.025em}
.customer-card-title.text-base{font-size:1rem;line-height:1.5rem}
.customer-card-content{padding:0 1.5rem 1.5rem}
/* Checkout's implicit auto track and native fieldset must not impose a content-width floor. */
#checkout-form fieldset{min-inline-size:0}
#checkout-form .customer-card-content .grid>div,
#checkout-form [data-checkout-coupon-form]>.relative{min-width:0}
#checkout-form .customer-input,#checkout-form .customer-textarea{min-width:0;max-width:100%}
.customer-badge{white-space:nowrap;display:inline-flex;align-items:center;border-radius:2px;border:1px solid hsl(var(--muted-foreground)/.2);background:transparent;color:hsl(var(--muted-foreground));text-transform:uppercase;letter-spacing:.06em;font-family:var(--font-open-sans),system-ui,sans-serif}
.customer-check{appearance:none;flex-shrink:0;width:1rem;height:1rem;border:1px solid hsl(var(--primary));border-radius:2px;box-shadow:0 1px 3px rgb(0 0 0/.1),0 1px 2px -1px rgb(0 0 0/.1);background:transparent}
.customer-check:checked,.customer-check[aria-checked="true"]{background-color:hsl(var(--primary));background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 6-11 11-5-5'/%3E%3C/svg%3E");background-size:100%}
.customer-check:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:2px}
.customer-check:disabled{opacity:.5;cursor:not-allowed}
[data-cart-filled] [data-line-quantity]{border-radius:9999px;border-color:hsl(var(--muted-foreground)/.2);background:transparent;color:hsl(var(--muted-foreground));letter-spacing:normal}

[data-cart-filled] .space-y-1\.5>*{margin-block:0}
[data-cart-filled] .space-y-1\.5>:not([hidden]):has(~ :not([hidden])){margin-block-end:.375rem}

[data-cart-filled] .space-y-2>*{margin-block:0}
[data-cart-filled] .space-y-2>:not([hidden]):has(~ :not([hidden])){margin-block-end:.5rem}

[data-cart-filled] .space-y-3>*{margin-block:0}
[data-cart-filled] .space-y-3>:not([hidden]):has(~ :not([hidden])){margin-block-end:.75rem}

[data-cart-filled] .space-y-4>*{margin-block:0}
[data-cart-filled] .space-y-4>:not([hidden]):has(~ :not([hidden])){margin-block-end:1rem}

[data-cart-filled] .space-y-5>*{margin-block:0}
[data-cart-filled] .space-y-5>:not([hidden]):has(~ :not([hidden])){margin-block-end:1.25rem}

[data-cart-filled] .space-y-6>*{margin-block:0}
[data-cart-filled] .space-y-6>:not([hidden]):has(~ :not([hidden])){margin-block-end:1.5rem}

[data-checkout-main] .space-y-1\.5>*{margin-block:0}
[data-checkout-main] .space-y-1\.5>:not([hidden]):has(~ :not([hidden])){margin-block-end:.375rem}

[data-checkout-main] .space-y-2>*{margin-block:0}
[data-checkout-main] .space-y-2>:not([hidden]):has(~ :not([hidden])){margin-block-end:.5rem}

[data-checkout-main] .space-y-3>*{margin-block:0}
[data-checkout-main] .space-y-3>:not([hidden]):has(~ :not([hidden])){margin-block-end:.75rem}

[data-checkout-main] .space-y-4>*{margin-block:0}
[data-checkout-main] .space-y-4>:not([hidden]):has(~ :not([hidden])){margin-block-end:1rem}

[data-checkout-main] .space-y-5>*{margin-block:0}
[data-checkout-main] .space-y-5>:not([hidden]):has(~ :not([hidden])){margin-block-end:1.25rem}

[data-checkout-main] .space-y-6>*{margin-block:0}
[data-checkout-main] .space-y-6>:not([hidden]):has(~ :not([hidden])){margin-block-end:1.5rem}

[data-account-section] .space-y-1\.5>*{margin-block:0}
[data-account-section] .space-y-1\.5>:not([hidden]):has(~ :not([hidden])){margin-block-end:.375rem}

[data-account-section] .space-y-2>*{margin-block:0}
[data-account-section] .space-y-2>:not([hidden]):has(~ :not([hidden])){margin-block-end:.5rem}

[data-account-section] .space-y-3>*{margin-block:0}
[data-account-section] .space-y-3>:not([hidden]):has(~ :not([hidden])){margin-block-end:.75rem}

[data-account-section] .space-y-4>*{margin-block:0}
[data-account-section] .space-y-4>:not([hidden]):has(~ :not([hidden])){margin-block-end:1rem}

[data-account-section] .space-y-5>*{margin-block:0}
[data-account-section] .space-y-5>:not([hidden]):has(~ :not([hidden])){margin-block-end:1.25rem}

[data-account-section] .space-y-6>*{margin-block:0}
[data-account-section] .space-y-6>:not([hidden]):has(~ :not([hidden])){margin-block-end:1.5rem}

.customer-input.h-12,.customer-button.h-12{height:3rem;min-height:3rem}.customer-input.pl-12{padding-left:3rem}.customer-input.pr-12{padding-right:3rem}.customer-input.text-lg{font-size:1.125rem;line-height:1.75rem}.customer-button.text-base{font-size:1rem;line-height:1.5rem}

/* Pinned Source space-y semantics: margin-block-end lives on each child except the last,
   so explicit mt-* on children still applies. Only the trailing margin before
   PHP-rendered [hidden] siblings is suppressed (React renders them away). */
[data-customer-track] .space-y-1\.5>:not([hidden]):not(:has(~ :not([hidden]))){margin-block-end:0}

[data-customer-track] .space-y-3>:not([hidden]):not(:has(~ :not([hidden]))){margin-block-end:0}

[data-customer-track] .space-y-4>:not([hidden]):not(:has(~ :not([hidden]))){margin-block-end:0}

[data-customer-track] .space-y-5>:not([hidden]):not(:has(~ :not([hidden]))){margin-block-end:0}

[data-customer-track] .space-y-6>:not([hidden]):not(:has(~ :not([hidden]))){margin-block-end:0}

.customer-check{display:grid;place-content:center;min-height:1rem;padding:0;color:hsl(var(--primary-foreground))}

/* Pinned CartClient rounded-full and Checkout Textarea shadow-sm; scope excludes public tracking. */
[data-cart-empty] .customer-button.rounded-full{border-radius:3.40282e38px;line-height:1.5}
[data-checkout-main] .customer-textarea{box-shadow:0 1px 3px rgb(0 0 0/.1),0 1px 2px -1px rgb(0 0 0/.1)}
[data-checkout-main] .customer-textarea:focus-visible{box-shadow:0 0 0 1px hsl(var(--ring)),0 1px 3px rgb(0 0 0/.1),0 1px 2px -1px rgb(0 0 0/.1)}

/* Customer Button utility overrides follow the pinned cn() class merge. */
.customer-button.gap-1{gap:.25rem}
.customer-button.gap-1\.5{gap:.375rem}

/* The pinned customer Textarea preserves shadow-sm with its focus ring. */
.customer-textarea{box-shadow:0 1px 3px rgb(0 0 0/.1),0 1px 2px -1px rgb(0 0 0/.1)}
.customer-textarea:focus-visible{box-shadow:0 0 0 1px hsl(var(--ring)),0 1px 3px rgb(0 0 0/.1),0 1px 2px -1px rgb(0 0 0/.1)}

/* Pinned Checkout schedule label allows its icon to shrink; Checkbox uses rounded-sm. */
[data-checkout-main] label[for="scheduleToggle"] svg{flex-shrink:1}
[data-checkout-main] .customer-check{border-radius:4px}

[data-checkout-main] [data-payment-guest-note] svg{flex-shrink:1}

/* Source e39a8260 empty checkout coupon notice. */
.checkout-coupon-saved{max-width:28rem;margin:0 auto 1.5rem;border:1px solid hsl(var(--primary)/.2);border-radius:.75rem;background:hsl(var(--primary)/.05);padding:.75rem 1rem;font-size:.875rem;line-height:1.25rem;color:hsl(var(--foreground))}

/* Source e39a8260 post-purchase dialog; native modal supplies focus trapping and inert siblings. */
.checkout-result-wait{display:flex;min-height:45vh;align-items:center;justify-content:center}.checkout-upsell{width:calc(100% - 32px);max-width:448px;padding:24px;border:1px solid hsl(var(--border));border-radius:12px;background:hsl(var(--background));color:hsl(var(--foreground));box-shadow:0 20px 25px -5px #0003;margin:auto;overflow:visible}.checkout-upsell::backdrop{background:rgb(0 0 0/.8)}.checkout-upsell>div{margin-top:16px}.checkout-upsell-close{position:absolute;top:16px;right:16px;padding:0;width:16px;height:16px;min-height:0;opacity:.7}
/* Source 1b962478 Badge default; status colors remain variant-owned. */
.customer-badge{border-radius:9999px;padding:2px 10px;font-size:12px;line-height:16px;font-weight:500;letter-spacing:normal;text-transform:none}

/* Order history: show the purchased services at every viewport size. */
.order-history-hint{padding:1rem 1.25rem;border-bottom:1px solid hsl(var(--border));line-height:1.5}
.order-history-services{min-width:0;text-align:left}
.order-history-items{display:grid;gap:.75rem;list-style:none;margin:0;padding:0}
.order-history-item{min-width:0}
.order-history-name{font-size:.875rem;line-height:1.4;font-weight:600;overflow-wrap:anywhere;color:hsl(var(--foreground))}
.order-history-target{display:flex;align-items:flex-start;gap:.25rem;min-width:0;margin-top:.25rem;line-height:1.5;overflow-wrap:anywhere}
.order-history-target>svg{margin-top:.1875rem}
.order-history-target>span{min-width:0;white-space:normal;overflow-wrap:anywhere}
.order-history-more{margin-top:.75rem}
.order-history-more>summary{cursor:pointer;padding:.5rem 0;min-height:44px}
.order-history-more>summary:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:2px;border-radius:.25rem}
.order-history-more[open]>summary{margin-bottom:.25rem}
.order-history-card>.order-history-services{margin-top:1rem}
.order-history-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;margin-top:1rem;padding-top:1rem;border-top:1px solid hsl(var(--border))}
.order-history-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.5rem}
.order-history-table{table-layout:fixed}
.order-history-table th,.order-history-table td{padding:1rem .75rem;vertical-align:top}
.order-history-table th{padding-block:.75rem}
.order-history-number{width:130px}
.order-history-state{width:180px}
.order-history-controls{width:172px}
.order-history-table td:first-child>span{white-space:nowrap}
.order-history-table th:nth-child(3){width:100px}
.order-history-table .order-history-actions{flex-direction:column;align-items:stretch}
.order-history-table .order-history-actions>a{justify-content:center;min-height:44px}
