/* Comflo storefront runtime: the cart drawer, checkout and toasts. Colours and radius come
   from the theme's CSS variables, so the drawer looks like part of the store. */
.cf-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.45);
}
.cf-drawer[hidden] {
  display: none;
}
.cf-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100vw, 440px);
  overflow-y: auto;
  padding: 20px;
  background: var(--bg, #fff);
  color: var(--fg, #111);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18);
  animation: cf-in 0.22s ease;
  font-family: var(--font-body, system-ui, sans-serif);
}
.cf-drawer.is-checkout {
  background: var(--bg, #fff);
}
.cf-drawer.is-checkout .cf-panel {
  position: fixed;
  inset: 0;
  width: 100%;
  padding: 0;
  box-shadow: none;
  animation: cf-checkout-in 0.22s ease;
}
@keyframes cf-checkout-in {
  from {
    opacity: 0;
  }
}
@keyframes cf-in {
  from {
    transform: translateX(24px);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cf-panel {
    animation: none;
  }
}
.cf-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.cf-title {
  flex: 1;
  margin: 0;
  font-family: var(--font-heading, inherit);
  font-size: 1.35rem;
}
.cf-icon {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.cf-icon:hover {
  background: color-mix(in srgb, currentColor 8%, transparent);
}
.cf-icon:focus-visible,
.cf-qty button:focus-visible,
.cf-method input:focus-visible {
  outline: 2px solid var(--accent, #111);
  outline-offset: 2px;
}
.cf-muted {
  opacity: 0.7;
}
.cf-small {
  font-size: 0.85rem;
}
.cf-items {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}
.cf-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}
.cf-thumb {
  width: 64px;
  height: 64px;
  border-radius: calc(var(--radius, 8px) * 0.6);
  object-fit: cover;
  background: color-mix(in srgb, currentColor 8%, transparent);
}
.cf-item-name {
  font-weight: 600;
}
.cf-price {
  white-space: nowrap;
}
.cf-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.cf-qty button {
  min-width: 30px;
  height: 30px;
  border: 1px solid color-mix(in srgb, currentColor 25%, transparent);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.cf-qty .cf-remove {
  border: 0;
  min-width: 0;
  padding: 0;
  margin-left: auto;
  text-decoration: underline;
  font-size: 0.85rem;
  opacity: 0.75;
}
.cf-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 14px 0 6px;
  font-size: 1.05rem;
}
.cf-form textarea {
  resize: vertical;
}
.cf-methods {
  border: 0;
  padding: 0;
  margin: 4px 0 8px;
  display: grid;
  gap: 8px;
}
.cf-method {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: var(--radius, 8px);
  cursor: pointer;
}
.cf-method > input {
  flex: none;
  margin-top: 3px;
}
.cf-pickup-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
  line-height: 1.35;
}
.cf-pickup-name,
.cf-pickup-address,
.cf-pickup-meta,
.cf-pickup-instructions {
  display: block;
  overflow-wrap: anywhere;
}
.cf-pickup-name {
  font-size: 0.98rem;
}
.cf-pickup-address {
  font-size: 0.9rem;
}
.cf-pickup-meta,
.cf-pickup-instructions {
  font-size: 0.82rem;
}
.cf-method:has(input:checked) {
  border-color: var(--accent, currentColor);
  box-shadow: 0 0 0 1px var(--accent, currentColor);
}
.cf-note {
  white-space: pre-line;
  padding: 12px 14px;
  border-radius: var(--radius, 8px);
  background: color-mix(in srgb, var(--accent, #888) 10%, transparent);
  font-size: 0.92rem;
}
.cf-error {
  color: var(--sale, #b42318);
  font-weight: 500;
}
.cf-panel .button {
  margin-top: 10px;
}
.cf-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 1001;
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font:
    500 0.92rem/1.4 system-ui,
    sans-serif;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.lead-form__status.is-success {
  color: inherit;
  font-weight: 600;
}
.lead-form__status.is-error {
  color: var(--sale, #b42318);
}
[data-comflo-cart-count][hidden] {
  display: none !important;
}
.cf-coupon {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.cf-coupon .input {
  flex: 1;
  min-width: 0;
}
.cf-coupon .input:not(:placeholder-shown) {
  text-transform: uppercase;
}
.cf-coupon .button {
  flex: none;
}
.cf-summary {
  margin-top: 10px;
  border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  padding-top: 6px;
}
.cf-summary .cf-total {
  margin: 6px 0;
  font-size: 0.95rem;
}
.cf-summary .cf-total:last-child {
  margin-top: 10px;
  font-size: 1.05rem;
}
.cf-drawer.is-checkout,
.cf-drawer.is-checkout .cf-panel {
  --cf-bg: #fbfbf5;
  --cf-card: #fff;
  --cf-text: #000;
  --cf-muted: #52525b;
  --cf-border: #e4e4e7;
  --cf-soft: #f3f3ee;
  --cf-radius: 12px;
  background: var(--cf-bg);
  color: var(--cf-text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  font-weight: 420;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.cf-drawer.is-checkout .cf-muted {
  color: var(--cf-muted);
  opacity: 1;
}
.cf-checkout-head {
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  min-height: 76px;
  margin: 0;
  padding: 10px max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--cf-border);
  background: rgba(251, 251, 245, 0.96);
  backdrop-filter: blur(16px);
}
.cf-checkout-head .cf-title {
  display: flex;
  justify-content: center;
  margin: 0;
  font: inherit;
}
.cf-checkout-head .cf-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: #18181b;
  font-family: system-ui, sans-serif;
  font-size: 26px;
  font-weight: 300;
}
.cf-checkout-head .cf-icon svg {
  width: 20px;
  height: 20px;
}
.cf-checkout-head .cf-icon:hover {
  background: var(--cf-soft);
}
.cf-checkout-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}
.cf-checkout-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 5px;
  border: 1px solid var(--cf-border);
  border-radius: 999px;
  background: #fff;
  object-fit: contain;
}
.cf-checkout-logo-fallback {
  display: grid;
  place-items: center;
  padding: 0;
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 650;
}
.cf-checkout-brand-copy {
  display: grid;
  min-width: 0;
  text-align: left;
  line-height: 1.2;
}
.cf-checkout-brand-copy strong {
  overflow: hidden;
  max-width: 280px;
  color: #18181b;
  font-size: 14px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cf-checkout-brand-copy span {
  margin-top: 3px;
  color: var(--cf-muted);
  font-size: 12px;
  font-weight: 450;
}
.cf-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  width: min(1180px, 100%);
  min-height: calc(100vh - 76px);
  margin: 0 auto;
}
.cf-checkout-main {
  padding: 52px 68px 72px 20px;
}
.cf-checkout-order {
  align-self: start;
  margin: 36px 20px 52px 0;
  padding: 28px;
  border: 1px solid var(--cf-border);
  border-radius: var(--cf-radius);
  background: var(--cf-card);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 12px 32px rgba(0, 0, 0, 0.04);
}
.cf-checkout-intro {
  margin-bottom: 28px;
}
.cf-checkout-kicker {
  margin: 0 0 8px;
  color: var(--cf-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cf-checkout-heading {
  margin: 0 0 18px;
  color: #000;
  font-family:
    "Neue Haas Grotesk Display", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0.01em;
}
.cf-checkout-intro .cf-checkout-heading {
  margin-bottom: 8px;
  font-size: 30px;
}
.cf-checkout-payment-heading {
  margin-top: 36px;
}
.cf-drawer.is-checkout .field {
  display: grid;
  gap: 7px;
  margin: 0 0 18px;
}
.cf-drawer.is-checkout .field__label {
  color: #18181b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.cf-drawer.is-checkout .input,
.cf-drawer.is-checkout .select {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--cf-border);
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: #18181b;
  font: inherit;
  font-size: 14px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.cf-drawer.is-checkout textarea.input {
  min-height: 96px;
}
.cf-drawer.is-checkout .input::placeholder {
  color: #a1a1aa;
}
.cf-drawer.is-checkout .input:focus,
.cf-drawer.is-checkout .select:focus {
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}
.cf-drawer.is-checkout .cf-methods {
  gap: 10px;
  margin: 0 0 18px;
}
.cf-drawer.is-checkout .cf-fulfillment-methods {
  padding-bottom: 12px;
}
.cf-drawer.is-checkout .cf-method {
  min-height: 52px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid var(--cf-border);
  border-radius: 10px;
  background: #fff;
  color: #18181b;
  font-size: 14px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    background 0.15s;
}
.cf-drawer.is-checkout .cf-method:hover {
  background: #fafafa;
}
.cf-drawer.is-checkout .cf-method:has(input:checked) {
  border-color: #000;
  background: #fff;
  box-shadow: 0 0 0 1px #000;
}
.cf-drawer.is-checkout .cf-method > input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #000;
}
.cf-drawer.is-checkout .cf-note {
  border-radius: 10px;
  background: var(--cf-soft);
  color: #27272a;
}
.cf-drawer.is-checkout .button {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #000;
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-transform: none;
  transition:
    transform 0.12s,
    background 0.15s,
    border-color 0.15s;
}
.cf-drawer.is-checkout .button--primary {
  background: #000;
  color: #fff;
}
.cf-drawer.is-checkout .button--primary:hover {
  background: #27272a;
}
.cf-drawer.is-checkout .button--secondary {
  border-color: var(--cf-border);
  background: #fff;
  color: #18181b;
}
.cf-drawer.is-checkout .button--secondary:hover {
  border-color: #a1a1aa;
  background: #fafafa;
}
.cf-drawer.is-checkout .button:active {
  transform: translateY(1px);
}
.cf-drawer.is-checkout .button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.cf-checkout-items {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}
.cf-checkout-item {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}
.cf-checkout-thumb-wrap {
  position: relative;
}
.cf-checkout-thumb {
  width: 60px;
  height: 60px;
  border: 1px solid var(--cf-border);
  border-radius: 10px;
  object-fit: cover;
  background: var(--cf-soft);
}
.cf-checkout-quantity {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 11px;
  font-weight: 650;
}
.cf-checkout-item-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
  color: #18181b;
  font-size: 14px;
  line-height: 1.35;
}
.cf-checkout-item-copy strong {
  overflow-wrap: anywhere;
  font-weight: 600;
}
.cf-drawer.is-checkout .cf-price {
  color: #18181b;
  font-size: 14px;
  font-weight: 600;
}
.cf-drawer.is-checkout .cf-coupon {
  gap: 8px;
  margin-top: 0;
}
.cf-drawer.is-checkout .cf-coupon .button {
  margin-top: 0;
}
.cf-drawer.is-checkout .cf-summary {
  margin-top: 20px;
  padding-top: 14px;
  border-color: var(--cf-border);
}
.cf-drawer.is-checkout .cf-summary .cf-total {
  margin: 8px 0;
  color: #3f3f46;
  font-size: 14px;
}
.cf-drawer.is-checkout .cf-summary .cf-total:last-child {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--cf-border);
  color: #000;
  font-size: 17px;
}
.cf-drawer.is-checkout .cf-error {
  color: #b42318;
  font-size: 13px;
}
.cf-checkout-trust {
  margin: 16px 0 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}
.cf-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 1024px) {
  .cf-checkout-main {
    padding: 44px 36px 64px 20px;
  }
  .cf-checkout-order {
    margin-right: 20px;
    padding: 24px;
  }
}
@media (max-width: 800px) {
  .cf-checkout-head {
    min-height: 68px;
    padding: 8px 14px;
  }
  .cf-checkout-logo {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
  .cf-checkout-brand-copy strong {
    max-width: 190px;
  }
  .cf-checkout-layout {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 68px);
  }
  .cf-checkout-main {
    order: 2;
    padding: 32px 20px 48px;
  }
  .cf-checkout-order {
    order: 1;
    width: auto;
    margin: 20px 20px 0;
    padding: 22px;
  }
  .cf-checkout-intro .cf-checkout-heading {
    font-size: 26px;
  }
}
@media (max-width: 480px) {
  .cf-checkout-head {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    padding-inline: 10px;
  }
  .cf-checkout-brand-copy strong {
    max-width: 125px;
  }
  .cf-checkout-brand-copy span {
    display: none;
  }
  .cf-checkout-order {
    margin: 12px 12px 0;
    padding: 18px;
  }
  .cf-checkout-main {
    padding: 28px 16px 40px;
  }
  .cf-checkout-item {
    grid-template-columns: 52px minmax(0, 1fr);
  }
  .cf-checkout-thumb {
    width: 52px;
    height: 52px;
  }
  .cf-checkout-item > .cf-price {
    grid-column: 2;
  }
  .cf-drawer.is-checkout .cf-coupon {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }
}
