/* Shared styling for content / auth / account sections (contact, preorder, login, register,
   forgot, reset, addresses, ...). Reads the design tokens from snippets/design-tokens.liquid.
   Logical properties only (bilingual / RTL). */

.cf-wrap { max-width: var(--container, 1440px); margin-inline: auto; padding-inline: var(--gutter, 64px); box-sizing: border-box; }

.cf-card { background: var(--c-paper, #fbfaf7); color: var(--c-ink, #0e0e0e); border-radius: var(--r-card, 28px); padding: 44px; box-sizing: border-box; }
.cf-eyebrow { margin: 0 0 14px; font: 700 12px/1.3 var(--f-body, sans-serif); letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-blue, #3e4ff5); }
.cf-title { margin: 0 0 10px; font-size: 53px; line-height: 1.1; color: inherit; }
.cf-hint { margin: 0 0 28px; font-size: 17px; line-height: 1.55; color: var(--c-gray, #6b6862); }
.cf-subhead { margin: 28px 0 14px; font: 700 12px/1.3 var(--f-body, sans-serif); letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-gray, #6b6862); }

.cf-form { display: flex; flex-direction: column; gap: 18px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cf-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cf-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cf-label { font: 600 14px/1.3 var(--f-body, sans-serif); color: var(--c-ink, #0e0e0e); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cf-req { color: var(--c-danger, #d93025); margin-inline-start: 2px; }
.cf-input, .cf-select, .cf-textarea {
  width: 100%; box-sizing: border-box; border: 1px solid var(--c-line, #dad6ce); border-radius: var(--r-input, 16px);
  padding: 0 16px; font: 400 15px/1.3 var(--f-body, sans-serif); color: var(--c-ink, #0e0e0e); background: var(--c-white, #fff);
  outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
.cf-input, .cf-select { height: 48px; }
.cf-textarea { padding: 12px 16px; min-height: 130px; resize: vertical; }
.cf-input::placeholder, .cf-textarea::placeholder { color: var(--c-gray, #6b6862); }
.cf-input:focus-visible, .cf-select:focus-visible, .cf-textarea:focus-visible { border-color: var(--c-ink, #0e0e0e); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-blue, #3e4ff5) 25%, transparent); }
.cf-select {
  appearance: none; -webkit-appearance: none; padding-inline-end: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6862' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
html[dir="rtl"] .cf-select { background-position: left 14px center; }
.cf-help { margin: 0; font-size: 13px; color: var(--c-gray, #6b6862); }
.cf-input-wrap { position: relative; }
.cf-input-wrap .cf-input { padding-inline-end: 50px; }
.cf-eye { position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: none; color: var(--c-gray, #6b6862); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 50%; }
.cf-eye:hover { color: var(--c-ink, #0e0e0e); }

.cf-check { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.cf-check input { width: 18px; height: 18px; accent-color: var(--c-ink, #0e0e0e); margin: 0; }
.cf-link { color: var(--c-blue, #3e4ff5); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cf-link:hover { opacity: 0.75; }
.cf-btn-full { width: 100%; }
.cf-foot { margin: 18px 0 0; font-size: 14px; color: var(--c-gray, #6b6862); text-align: center; }
.cf-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.cf-alert { display: flex; gap: 8px; align-items: flex-start; padding: 0.85rem 1.1rem; border-radius: var(--r-input, 16px); font-size: 14px; line-height: 1.5; margin-bottom: 4px; }
.cf-alert--error { background: var(--c-white, #fff); border: 1px solid var(--c-danger, #d93025); color: var(--c-danger, #d93025); }
.cf-alert--ok { background: var(--c-success-bg, #cfe9d3); border: 1px solid transparent; color: var(--c-success-fg, #17421f); }

.cf-divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--c-gray, #6b6862); font-size: 14px; }
.cf-divider::before, .cf-divider::after { content: ""; flex: 1; height: 1px; background: var(--c-line, #dad6ce); }

/* status chips (account pages) */
.cf-chip { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 4px; font: 700 10px/1 var(--f-body, sans-serif); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; border: 1px solid transparent; }
.cf-chip--success { background: var(--c-success-bg, #cfe9d3); color: var(--c-success-fg, #17421f); }
.cf-chip--warning { background: var(--c-warning-bg, #fbf0c4); color: var(--c-ink, #0e0e0e); border-color: var(--c-yellow, #f6d257); }
.cf-chip--neutral { background: var(--c-neutral-bg, #e7e4dd); color: var(--c-ink, #0e0e0e); }
.cf-chip--blue { background: var(--c-blue, #3e4ff5); color: #fff; }
.cf-chip--danger { background: var(--c-white, #fff); color: var(--c-danger, #d93025); border-color: var(--c-danger, #d93025); }
.cf-chip--yellow { background: var(--c-yellow, #f6d257); color: var(--c-ink, #0e0e0e); }

/* generic round icon holder */
.cf-dot { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--c-ink, #0e0e0e); }

@media (max-width: 767px) {
  .cf-card { padding: 24px 20px; }
  .cf-title { font-size: 36px; }
  .cf-row, .cf-row--3 { grid-template-columns: 1fr; }
}

/* ---- Auth pages (login / register): form card + token side panel ---- */
.au-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.au-grid--single { grid-template-columns: minmax(0, 560px); justify-content: center; }
.au-panel { border-radius: var(--r-card, 28px); padding: 56px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; }
.au-art { position: relative; width: 190px; height: 150px; margin-bottom: 28px; }
.au-art__circle { position: absolute; inset-block-start: 0; inset-inline-start: 0; width: 140px; height: 140px; border-radius: 50%; background: var(--c-white, #fff); }
.au-art__tile { position: absolute; inset-block-start: 22px; inset-inline-start: 44px; width: 108px; height: 108px; border-radius: 24px; background: var(--c-cream, #f4f2ee); color: var(--c-ink, #0e0e0e); display: flex; align-items: center; justify-content: center; transform: rotate(5deg); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12); }
.au-art__tile svg { width: 52px; height: 52px; }
.au-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.au-tag { display: inline-flex; padding: 8px 16px; border-radius: 999px; font: 700 11px/1 var(--f-body, sans-serif); letter-spacing: 0.1em; text-transform: uppercase; }
.au-panel__title { margin: 0 0 14px; font-size: 48px; line-height: 1.1; color: inherit; }
.au-panel__text { margin: 0 0 28px; font-size: 17px; line-height: 1.6; opacity: 0.92; }
.au-panel__rule { border: 0; height: 1px; margin: 0 0 24px; background: color-mix(in srgb, currentColor 28%, transparent); }
.au-perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.au-perk { display: flex; align-items: center; gap: 14px; }
.au-perk .cf-dot { width: 44px; height: 44px; }
.au-perk__t { display: block; font: 700 16px/1.3 var(--f-body, sans-serif); }
.au-perk__d { display: block; font-size: 14px; opacity: 0.85; }
.au-social-divider { margin: 20px 0; }
.au-remember { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.au-phone { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 12px; }
@media (max-width: 1099px) {
  .au-grid { grid-template-columns: minmax(0, 1fr); }
  .au-panel { padding: 36px 28px; }
  .au-panel__title { font-size: 36px; }
}

/* ---- Legacy auth markup (forgot / reset password): same card look as login ---- */
.cx-auth-page { padding: 48px 0 96px; background: var(--c-cream, #f4f2ee); }
.cx-auth-title-row { max-width: var(--container, 1440px); margin-inline: auto; padding-inline: var(--gutter, 64px); margin-bottom: 20px; box-sizing: border-box; }
.cx-auth-page-title { margin: 0; text-align: start; font-size: var(--fs-h2, 44px); line-height: 1.15; color: var(--c-ink, #0e0e0e); }
.cx-auth-shell { max-width: 560px; margin-inline: auto; padding-inline: var(--gutter, 64px); box-sizing: content-box; }
.cx-auth-card { background: var(--c-paper, #fbfaf7); border-radius: var(--r-card, 28px); padding: 40px; }
.cx-auth-card__head { margin-bottom: 8px; }
.cx-auth-card__head-label { margin: 0; font: 700 12px/1.3 var(--f-body, sans-serif); letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-blue, #3e4ff5); }
.cx-auth-card__sub { margin: 0 0 24px; font-size: 16px; line-height: 1.55; color: var(--c-gray, #6b6862); }
.cx-auth-error { display: flex; gap: 8px; background: var(--c-white, #fff); border: 1px solid var(--c-danger, #d93025); color: var(--c-danger, #d93025); padding: 0.85rem 1.1rem; border-radius: var(--r-input, 16px); margin-bottom: 18px; font-size: 14px; line-height: 1.5; }
.cx-auth-form { display: flex; flex-direction: column; gap: 18px; }
.cx-auth-field { display: flex; flex-direction: column; gap: 8px; }
.cx-auth-field > span { font: 600 14px/1.3 var(--f-body, sans-serif); color: var(--c-ink, #0e0e0e); }
.cx-auth-required { color: var(--c-danger, #d93025); margin-inline-start: 2px; }
.cx-auth-field input { width: 100%; box-sizing: border-box; height: 48px; border: 1px solid var(--c-line, #dad6ce); border-radius: var(--r-input, 16px); padding: 0 16px; font: 400 15px/1.3 var(--f-body, sans-serif); color: var(--c-ink, #0e0e0e); background: var(--c-white, #fff); outline: none; }
.cx-auth-field input:focus-visible { border-color: var(--c-ink, #0e0e0e); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-blue, #3e4ff5) 25%, transparent); }
.cx-auth-hint { margin: 0; font-size: 13px; color: var(--c-gray, #6b6862); }
.cx-auth-actions { display: flex; }
.cx-auth-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: var(--btn-py, 16px) var(--btn-px, 28px); border: var(--btn-bw, 1.5px) solid transparent; border-radius: var(--r-btn, 999px); background: var(--c-ink, #0e0e0e); color: var(--c-cream, #f4f2ee); font: 600 16px/1 var(--f-body, sans-serif); cursor: pointer; }
.cx-auth-submit:hover { opacity: 0.88; }
.cx-auth-switch { margin: 22px 0 0; text-align: center; font-size: 14px; color: var(--c-gray, #6b6862); }
.cx-auth-switch a { color: var(--c-blue, #3e4ff5); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
  .cx-auth-shell { padding-inline: var(--gutter-m, 20px); }
  .cx-auth-title-row { padding-inline: var(--gutter-m, 20px); }
  .cx-auth-card { padding: 24px 20px; }
  .cx-auth-page-title { font-size: 34px; }
}

/* ---- Login: reference design (bordered form card + blue illustration panel) ---- */
.au-grid { gap: 24px; }
.au-grid .cf-card { border: 1px solid var(--c-line, #dad6ce); border-radius: 32px; padding: 48px 48px 40px; }
.au-grid .cf-title { font-size: 44px; line-height: 1.1; margin-bottom: 6px; }
.au-grid .cf-hint { font-size: 14px; margin-bottom: 22px; }
.au-grid .cf-label { font-size: 12.5px; }
.au-grid .cf-input { border-radius: 14px; height: 50px; }
.au-grid .cf-check { font-size: 13px; font-weight: 500; }
.au-grid .cf-link { color: var(--c-ink, #0e0e0e); font-weight: 600; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.au-grid .cf-link:hover { opacity: 1; color: var(--c-blue, #3e4ff5); }
.au-grid .cf-foot { font-size: 13px; margin-top: 22px; }
.au-grid .cf-foot .cf-link { margin-inline-start: 4px; }
.au-grid .cf-btn-full { padding-block: 17px; }
.au-grid .social-login { margin-top: 0; }
.au-grid .au-social-divider { margin: 22px 0; font-size: 12.5px; }
.au-grid .au-remember { margin-top: 2px; }

.au-panel { border-radius: 32px; padding: 48px 44px; justify-content: flex-start; }
.au-panel .au-art { position: relative; width: 100%; max-width: 300px; height: 230px; margin: 0 auto 30px; }
.au-panel .au-art__circle { width: 192px; height: 192px; inset-inline-start: 50%; margin-inline-start: -96px; inset-block-start: 8px; }
.au-panel .au-art__tile {
  width: 116px; height: 116px; border-radius: 26px; inset-block-start: 44px; inset-inline-start: 50%; margin-inline-start: -52px;
  background: var(--c-blue, #3e4ff5); color: var(--c-white, #fff); transform: rotate(8deg); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}
.au-panel .au-art .au-tag { position: absolute; padding: 9px 16px; font-size: 12px; letter-spacing: 0; text-transform: none; white-space: nowrap; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.14); }
.au-panel .au-art .au-tag--1 { inset-block-start: 4px; inset-inline-end: -6px; transform: rotate(-9deg); }
.au-panel .au-art .au-tag--2 { inset-block-end: 22px; inset-inline-start: 0; transform: rotate(-7deg); }
.au-panel__title { font-size: 40px; margin-bottom: 14px; }
.au-panel__text { font-size: 13.5px; margin-bottom: 24px; }
.au-panel__rule { margin-bottom: 22px; background: color-mix(in srgb, currentColor 45%, transparent); }
.au-perks { gap: 14px; }
.au-perk .cf-dot { width: 40px; height: 40px; }
.au-perk__t { font-size: 14px; }
.au-perk__d { font-size: 12px; }

@media (max-width: 1099px) {
  .au-grid .cf-card { padding: 36px 28px; }
  .au-panel { padding: 36px 28px; }
  .au-panel__title { font-size: 34px; }
}
@media (max-width: 767px) {
  .au-grid .cf-title { font-size: 34px; }
  .au-panel .au-art { height: 210px; }
}

/* Login / register: form card ≈ 60%, side panel ≈ 40% (as in the reference) */
.au-grid:not(.au-grid--single) { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
@media (max-width: 1099px) { .au-grid:not(.au-grid--single) { grid-template-columns: minmax(0, 1fr); } }

/* Register: same reference styling as login (label asterisks stay dark, tighter rows, terms line) */
.au-grid .cf-req { color: inherit; margin-inline-start: 3px; }
.au-grid .cf-row { gap: 16px; }
.au-grid .cf-form { gap: 20px; }
.au-grid .cf-help { font-size: 12px; }
.au-grid .cf-select { height: 50px; border-radius: 14px; font-size: 14px; }
.au-grid .au-phone { gap: 10px; }
.au-grid .cf-form > .cf-help { margin-top: 2px; }

/* ---- Contact page: reference design (bordered form + hours cards, blue write-to-us card, map) ---- */
.cx-contact .cf-card { border: 1px solid var(--c-line, #dad6ce); border-radius: 32px; padding: 44px 44px 36px; }
.cx-contact .cf-eyebrow { font-size: 11px; margin-bottom: 12px; }
.cx-contact .cf-title { font-size: 40px; margin-bottom: 8px; }
.cx-contact .cf-hint { font-size: 13px; margin-bottom: 22px; }
.cx-contact .cf-label { font-size: 12px; }
.cx-contact .cf-input, .cx-contact .cf-select { border-radius: 14px; height: 50px; font-size: 13px; }
.cx-contact .cf-textarea { border-radius: 14px; font-size: 13px; min-height: 140px; }
.cx-contact .cf-input:hover, .cx-contact .cf-textarea:hover { border-color: var(--c-line, #dad6ce); }
.cx-contact .cf-btn-full { padding-block: 17px; }
.cx-contact .ctc__panel { border-radius: 32px; padding: 36px; }
.cx-contact .ctc__panel-ico { width: 48px; height: 48px; margin-bottom: 16px; }
.cx-contact .ctc__panel-title { font-size: 32px; }
.cx-contact .ctc__panel-text { font-size: 13.5px; }
.cx-contact .ctc__panel .btn { transition: transform .15s ease, opacity .15s ease; }
.cx-contact .ctc__hours.cf-card { padding: 28px 32px; }
.cx-contact .ctc__hours-head { padding-bottom: 14px; border-bottom: 1px solid var(--c-line, #dad6ce); margin-bottom: 4px; }
.cx-contact .ctc__hours-head h3 { font-size: 26px; }
.cx-contact .ctc__rows li { font-size: 13px; padding: 10px 0; border-bottom: 0; }
.cx-contact .ctc__find { border-top: 1px solid var(--c-line, #dad6ce); margin-top: 6px; }
.cx-contact .ctc__map { border-radius: 32px; }
@media (max-width: 767px) {
  .cx-contact .cf-card { padding: 28px 22px; }
  .cx-contact .cf-title { font-size: 32px; }
  .cx-contact .ctc__hours.cf-card { padding: 24px 22px; }
}

/* ---- Preorder page: reference design ---- */
.cx-preorder .cf-card { border: 1px solid var(--c-line, #dad6ce); border-radius: 32px; padding: 44px 44px 40px; }
.cx-preorder .cf-eyebrow { font-size: 11px; margin-bottom: 12px; }
.cx-preorder .cf-title { font-size: 40px; margin-bottom: 8px; }
.cx-preorder .cf-hint { font-size: 13px; margin-bottom: 22px; }
.cx-preorder .cf-subhead { margin: 6px 0 4px; font: var(--w-heading, 600) 26px/1.2 var(--f-heading); letter-spacing: 0; text-transform: none; color: var(--c-ink, #0e0e0e); }
[dir="rtl"] .cx-preorder .cf-subhead { font-family: var(--f-ar); }
.cx-preorder .cf-label { font-size: 12px; }
.cx-preorder .cf-input, .cx-preorder .cf-textarea { border-radius: 14px; font-size: 13px; }
.cx-preorder .cf-input { height: 50px; }
.cx-preorder .cf-input:hover, .cx-preorder .cf-textarea:hover { border-color: var(--c-line, #dad6ce); }
.cx-preorder [data-pre-items] .pre__head, .cx-preorder [data-pre-items] .pre__item { grid-template-columns: minmax(0, 3fr) 80px minmax(0, 2fr) !important; }
.cx-preorder .pre__item { position: relative; }
.cx-preorder .pre__rm { position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; background: transparent; }
.cx-preorder .pre__item:first-child .pre__rm { display: none; }
.cx-preorder .pre__item .pre__notes { padding-inline-end: 46px; }
.cx-preorder .pre__add.btn { align-self: flex-start; margin-top: 14px; padding: 10px 18px; font-size: 13px; }
.cx-preorder .cf-btn-full { padding-block: 17px; }
.cx-preorder .pre__side { border-radius: 32px; padding: 32px; }
.cx-preorder .pre__side-eyebrow { font-size: 11px; }
.cx-preorder .pre__side-title { font-size: 32px; }
.cx-preorder .pre__side-text { font-size: 13px; margin-bottom: 18px; }
.cx-preorder .pre__lines { font-size: 13px; }
@media (max-width: 767px) {
  .cx-preorder .cf-card { padding: 28px 22px; }
  .cx-preorder .cf-title { font-size: 32px; }
  .cx-preorder [data-pre-items] .pre__item { grid-template-columns: minmax(0, 1fr) 80px !important; }
}

/* ---- About page: story split (bordered story card + blue "what you'll find" card) ---- */
[class*="ssp-"] .ssp__grid { gap: 24px; }
[class*="ssp-"] .ssp__card { border-radius: 32px; padding: 48px; }
[class*="ssp-"] .ssp__card.u-bg-paper { border: 1px solid var(--c-line, #dad6ce); }
[class*="ssp-"] .ssp__eyebrow { font-size: 11px; margin-bottom: 14px; }
[class*="ssp-"] .ssp__title { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 20px; }
[class*="ssp-"] .ssp__p { font-size: 15px; line-height: 1.65; margin-bottom: 16px; }
[class*="ssp-"] .ssp__list-title { font-size: 26px; margin-bottom: 18px; }
[class*="ssp-"] .ssp__features { gap: 16px; padding: 20px 0; }
[class*="ssp-"] .ssp__feature { gap: 14px; }
[class*="ssp-"] .ssp__ico { width: 40px; height: 40px; }
[class*="ssp-"] .ssp__ft { font-size: 14px; }
[class*="ssp-"] .ssp__fd { font-size: 12px; }
[class*="ssp-"] .ssp__btn.btn { width: 100%; justify-content: center; margin-top: 20px; padding-block: 15px; gap: 8px; }
@media (max-width: 767px) { [class*="ssp-"] .ssp__card { padding: 28px 22px; } }

/* About page: boxed "Come say hello" panel */
.hb-panel--boxed { border-radius: 32px; }
.hb-panel--boxed .hb-title { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.hb-panel--boxed .hb-text { font-size: 13.5px; margin-top: 10px; opacity: 1; }

/* Mobile: hide the whole blue side panel on sign-in / sign-up / forgot-password. */
@media (max-width: 767px) {
  .au-panel { display: none; }
}
