.icon-user { --icon: url('assets/icons/user-round.svg'); }
.icon-bag { --icon: url('assets/icons/shopping-bag.svg'); }
.icon-minus { --icon: url('assets/icons/minus.svg'); }
.icon-edit { --icon: url('assets/icons/pencil.svg'); }
.icon-trash { --icon: url('assets/icons/trash-2.svg'); }
.icon-download { --icon: url('assets/icons/download.svg'); }
.icon-back { --icon: url('assets/icons/arrow-left.svg'); }
.icon-flower { --icon: url('assets/icons/flower-2.svg'); }
.icon-camera { --icon: url('assets/icons/camera.svg'); }
.header-tools { display: flex; gap: 8px; margin-left: 20px; }
.cart-header-button { position: relative; }
.cart-badge { position: absolute; top: -5px; right: -5px; min-width: 21px; height: 21px; padding: 0 4px; display: grid; place-items: center; border-radius: 12px; background: var(--red); color: white; font-size: 10px; font-weight: 600; }
.planner-contact { display: flex; flex-direction: column; font-size: 14px; gap: 4px; }
.planner-contact a:hover { color: var(--red); }
.planner-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 36px; }
.checkout-steps { display: flex; gap: 24px; list-style: none; padding: 0; margin: 0; }
.checkout-steps button { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; }
.checkout-steps span { display: grid; place-items: center; border: 1px solid var(--line); width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; }
.checkout-steps [aria-current] { color: var(--green); }
.checkout-steps [aria-current] span { background: var(--green); color: white; border-color: var(--green); }
.planner-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: start; }
.planner-main { min-width: 0; }
.planner-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.planner-heading .text-link { font-size: 12px; gap: 8px; }
.planner-main h3 { font-size: 28px; }
.planner-main h4 { font-size: 21px; }
.planner-main .form-grid { margin-top: 22px; }
.planner-main .request-type { margin-top: 24px; }
.planner-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; }
.planner-actions > :only-child { margin-left: auto; }
.planner-actions .text-link { gap: 8px; font-size: 13px; }
.form-status { color: var(--red); font-size: 14px; line-height: 1.6; }
.form-status:not(:empty) { margin-top: 20px; }
.form-status.is-success { color: var(--green); }
.cart-empty { padding: 40px 0; border-block: 1px solid var(--line); margin-bottom: 20px; }
.cart-empty p { margin: 10px 0; font-size: 14px; color: var(--muted); }
.cart-row { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 12px; padding: 23px 0; border-top: 1px solid var(--line); }
.cart-row:last-child { border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.cart-row-number { color: var(--red); font-size: 12px; padding-top: 4px; }
.cart-row-copy p { color: var(--muted); font-size: 13px; margin-top: 7px; }
.cart-row-controls { grid-column: 2; display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.cart-row-controls > .icon-button { border: 0; }
.quantity-stepper { display: flex; align-items: center; height: 44px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 4px; background: white; }
.quantity-stepper .icon-button { width: 36px; height: 42px; flex-basis: 36px; border: 0; border-radius: 3px; }
.quantity-stepper input { width: 70px; min-width: 0; height: 42px; padding: 4px; border: 0; text-align: center; font-size: 16px; appearance: textfield; }
.quantity-stepper input::-webkit-inner-spin-button { appearance: none; }
.cart-unit { font-size: 12px; color: var(--muted); flex: 1; }
.cart-totals { position: sticky; top: calc(var(--header-height) + 28px); border-left: 1px solid var(--line); padding: 0 0 0 28px; }
.cart-totals h3 { font-size: 25px; margin-bottom: 20px; }
.cart-totals dl { margin: 0 0 20px; }
.cart-totals dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 9px 0; font-size: 14px; }
.cart-totals dt { color: var(--muted); }
.cart-totals dt::first-letter { text-transform: uppercase; }
.cart-totals dd { margin: 0; font-weight: 600; }
.quote-total { display: flex; flex-direction: column; gap: 5px; border-top: 1px solid var(--line); padding-top: 18px; font-size: 13px; }
.quote-total strong { color: var(--green); font-size: 18px; }
.cart-totals .form-note { margin-top: 18px; }
.cart-totals summary { cursor: pointer; }
.order-text-summary { white-space: pre-wrap; overflow-wrap: anywhere; font: 14px/1.75 var(--body); color: var(--ink); margin: 18px 0; }
.order-total { font-size: 14px; font-weight: 600; color: var(--green); }
.review-block { padding: 24px 0; border-bottom: 1px solid var(--line); }
.review-block .planner-heading { margin-bottom: 4px; }
.review-block p { font-size: 14px; }
.review-block p + p { margin-top: 8px; }
.preserve-lines { white-space: pre-wrap; }
button:disabled { cursor: not-allowed; opacity: .5; }
body:has(.order-dialog[open]) { overflow: hidden; }
.order-dialog { width: min(590px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: white; box-shadow: 0 18px 80px #102f2933; }
.order-dialog::backdrop { background: #102f2999; }
.dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); padding: 22px 26px; }
.dialog-header h2 { font-size: 30px; }
.dialog-header .eyebrow { font-size: 10px; margin-bottom: 7px; }
.dialog-header .icon-button { border: 0; }
.dish-options { padding: 22px 26px; }
.dish-options fieldset { padding: 0; border: 0; margin: 0 0 24px; }
.dish-options legend { font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dish-choice { display: flex; align-items: center; gap: 10px; padding: 12px; min-height: 54px; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; font-size: 13px; line-height: 1.5; }
.dish-choice:has(:checked) { border-color: var(--green); background: var(--sage); }
.dish-choice input { width: 16px; height: 16px; padding: 0; margin: 0; flex: 0 0 16px; accent-color: var(--green); }
.dish-amount { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dish-dialog-footer { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 26px; border-top: 1px solid var(--line); background: white; }
.dish-dialog-footer strong { font-size: 16px; }
[data-dish-error] { font-size: 13px; color: var(--red); margin-top: 12px; }
.account-body { padding: 22px 26px; }
.account-tabs { display: flex; gap: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.account-tabs button { font-size: 14px; min-height: 44px; padding: 8px 0; border: 0; border-bottom: 2px solid transparent; color: var(--muted); background: transparent; }
.account-tabs [aria-selected='true'] { color: var(--green); border-bottom-color: var(--green); }
.account-body .form-field { margin-bottom: 18px; }
.account-body form .button { width: 100%; }
.account-body .text-link { margin-top: 16px; font-size: 13px; }
.account-order { padding: 20px 0; border-bottom: 1px solid var(--line); }
.account-order h3 { font: 600 15px var(--body); }
.account-order > p { font-size: 13px; margin-top: 10px; }
.account-order .order-text-summary { font-size: 12px; }
.account-delete { margin-top: 24px; font-size: 12px; color: var(--red); }
[data-member-email] { margin-bottom: 18px; font-size: 14px; overflow-wrap: anywhere; }
[data-order-step] h3 { scroll-margin-top: 110px; }
[data-order-step='success'] .order-text-summary { border-block: 1px solid var(--line); padding-block: 20px; }
.dish-description { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.single-unit { height: 48px; display: flex; align-items: center; text-transform: capitalize; font-size: 16px; }
.checkout-fieldset { border: 0; border-top: 1px solid var(--line); padding: 22px 0 0; margin: 28px 0 0; min-width: 0; }
.checkout-fieldset legend { font: 600 17px var(--body); padding-right: 15px; }
.checkout-fieldset .form-grid { margin-top: 6px; }
.recipient-toggle { display: flex; align-items: center; gap: 10px; font-size: 14px; margin: 22px 0; cursor: pointer; }
.recipient-toggle input { width: 18px; height: 18px; padding: 0; accent-color: var(--green); }
[data-account-contact-copy] { overflow-wrap: anywhere; font-size: 14px; line-height: 1.8; }
[data-account-contact-copy] p:first-child { font-weight: 600; font-size: 16px; }
.address-state-zip { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; min-width: 0; }
.address-search { position: relative; }
.address-options { position: absolute; top: 80px; left: 0; right: 0; z-index: 10; margin: 0; padding: 4px; list-style: none; max-height: 265px; overflow-y: auto; background: white; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 8px 22px #102f2922; }
.address-options li { padding: 12px; font-size: 14px; cursor: pointer; overflow-wrap: anywhere; }
.address-options li:hover, .address-options [aria-selected='true'] { background: var(--sage); }
.address-attribution { font-size: 12px; color: var(--muted); margin-top: 6px; }
.address-attribution a { text-decoration: underline; }
.cart-row-copy .cart-needs-review { color: var(--red); }
.recipient-heading { margin-top: 20px; }
.thank-you-flower { width: 64px; height: 64px; color: var(--red); margin-bottom: 24px; animation: flower-bloom .8s ease-out both; }
.success-message { max-width: 460px; margin: 14px 0; font-size: 17px; }
.success-details { margin: 32px 0 24px; border-block: 1px solid var(--line); font-size: 14px; }
.success-details summary { cursor: pointer; padding: 16px 0; }
[data-order-step='success'] h3 { overflow-wrap: anywhere; }
@keyframes flower-bloom { from { opacity: 0; transform: scale(.75) rotate(-15deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
.customer-menu { position: fixed; inset: auto; margin: 0; padding: 22px; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: white; box-shadow: 0 14px 48px #102f2929; }
.customer-menu::backdrop { background: transparent; }
.profile-menu-heading { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 14px; align-items: center; }
.profile-menu-heading h2 { font: 600 17px/1.4 var(--body); overflow-wrap: anywhere; }
.profile-menu-heading p { font-size: 13px; margin-top: 3px; color: var(--muted); overflow-wrap: anywhere; }
.profile-avatar { width: 54px; height: 54px; display: grid; place-items: center; position: relative; background: var(--sage); border-radius: 50%; overflow: hidden; color: var(--green); }
.profile-avatar img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.profile-menu-actions { margin: 20px 0 0; border-top: 1px solid var(--line); padding-top: 10px; }
.profile-menu-actions button { display: flex; gap: 12px; align-items: center; width: 100%; min-height: 44px; padding: 8px 4px; border: 0; text-align: left; background: transparent; color: var(--ink); font-size: 14px; }
.profile-menu-actions button:hover { color: var(--green); background: var(--sage); }
.profile-menu-actions .icon { width: 18px; height: 18px; }
.profile-signout { border: 0; border-top: 1px solid var(--line); width: 100%; padding: 14px 4px 0; margin-top: 12px; background: transparent; color: var(--red); text-align: left; font-size: 14px; min-height: 44px; }
[data-popover-editor] { padding-block: 12px; }
.customer-menu .form-field { margin-block: 14px; }
.customer-menu .text-link { font-size: 13px; margin-top: 12px; }
.customer-menu .button { width: 100%; }
.profile-photo-actions { display: flex; align-items: center; gap: 14px; }
.profile-photo-actions label { cursor: pointer; }
#profile-photo-input { width: 1px; height: 1px; min-width: 0; padding: 0; border: 0; }
.account-thumbnail { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.has-avatar > .icon { display: none; }
.account-order > .text-link { margin-right: 24px; }
@media (prefers-reduced-motion: reduce) { .thank-you-flower { animation: none; } }
@media (max-width: 1099px) {
  .planner-layout { grid-template-columns: minmax(0, 1fr) 240px; gap: 28px; }
  .checkout-steps { gap: 14px; }
  .planner-top { align-items: flex-start; flex-wrap: wrap; }
}
@media (max-width: 899px) {
  .header-tools { margin-left: auto; }
  .site-header .nav-toggle { margin-left: 8px; }
  .planner-layout { grid-template-columns: 1fr; }
  .cart-totals { position: static; border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
  .cart-totals dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
}
@media (max-width: 599px) {
  .header-tools { gap: 0; }
  .header-tools .icon-button, .site-header .nav-toggle { width: 38px; height: 44px; flex-basis: 38px; border: 0; }
  .site-header .nav-toggle { margin-left: 0; }
  .site-header .brand-name { font-size: 25px; }
  .site-header .brand-caption { font-size: 7px; }
  .planner-top { gap: 12px; margin-bottom: 24px; }
  .checkout-steps { width: 100%; gap: 8px; justify-content: space-between; }
  .checkout-steps button { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 11px; }
  .planner-main h3 { font-size: 25px; }
  .planner-heading { align-items: flex-start; }
  .planner-heading .text-link { font-size: 11px; }
  .cart-row { grid-template-columns: 20px minmax(0, 1fr); gap: 8px; }
  .cart-row-controls { gap: 5px; flex-wrap: wrap; }
  .cart-row-controls > .icon-button { width: 34px; flex-basis: 34px; }
  .quantity-stepper input { width: 54px; }
  .quantity-stepper .icon-button { width: 30px; flex-basis: 30px; }
  .cart-unit { min-width: 40px; }
  .planner-actions { gap: 12px; flex-wrap: wrap; }
  .planner-actions .button { flex: 1; }
  .cart-totals dl { grid-template-columns: 1fr; }
  .dialog-header, .dish-options, .account-body { padding: 18px; }
  .dialog-header h2 { font-size: 25px; }
  .dish-dialog-footer { padding: 16px 18px; gap: 12px; }
  .dish-dialog-footer .button { padding-inline: 18px; }
  .dish-dialog-footer strong { font-size: 14px; }
  .choice-grid { gap: 8px; }
  .dish-choice { padding: 10px; font-size: 12px; }
}
@media print { .site-header, .mobile-contact, .planner-top, .planner-actions, .cart-totals, .order-dialog { display: none !important; } }
