/* PADUCHU CAFE - public site styles */
:root {
  --brand: #b5461f;
  --brand-dark: #8a3216;
  --turmeric: #c98a1f;
  --leaf: #56684a;
  --coffee: #2c1b12;
  --cream: #fdf6ec;
  --text: #2c2420;
  --muted: #77695f;
  --border: #e7dccb;
  --success: #2e7d32;
  --error: #c62828;
  --info: #1565c0;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Karla', 'Segoe UI', Arial, sans-serif; color: var(--text); background: #fffdf9; line-height: 1.6; }
h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; line-height: 1.15; margin: 0 0 .4em; letter-spacing: -.01em; color: var(--brand-dark); }
.container { width: 85%; max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.home-container { width: 85%; max-width: 1600px; margin: 0 auto; padding: 0 20px; }
p { text-align: justify; text-justify: inter-word; hyphens: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header { background: #fff; border-bottom: 1px solid var(--border); padding: 14px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { font-size: 22px; font-weight: bold; color: var(--brand-dark); display: inline-flex; align-items: center; }
.trademark-mark { font-size: 11px; font-weight: 700; margin-left: 1px; align-self: flex-start; position: relative; top: -1px; line-height: 1; }
.main-nav a { margin: 0 12px; color: var(--text); font-weight: 500; }
.main-nav a:hover { color: var(--brand); }
.nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown > a { cursor: pointer; }
.nav-dropdown-caret { font-size: 9px; margin-left: 3px; opacity: .6; }
.nav-dropdown-panel { display: none; position: absolute; top: 100%; left: 12px; background: #fff; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 4px 16px rgba(44,27,18,.12); padding: 8px 0; min-width: 210px; z-index: 50; }
.nav-dropdown:hover .nav-dropdown-panel, .nav-dropdown:focus-within .nav-dropdown-panel { display: block; }
.nav-dropdown-panel a { display: block; margin: 0; padding: 9px 16px; font-size: 14px; white-space: nowrap; font-weight: 500; }
.nav-dropdown-panel a:hover { background: var(--cream); }
.cart-link { background: var(--brand); color: #fff; padding: 8px 16px; border-radius: 20px; }
.cart-link:hover { background: var(--brand-dark); text-decoration: none; }
.account-link { margin-left: 10px; padding: 8px 16px; border-radius: 20px; border: 1px solid var(--brand); color: var(--brand); }
.account-link:hover { background: var(--brand); color: #fff; text-decoration: none; }

.hero-editorial { padding: 56px 0 48px; }
.hero-editorial-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-editorial-copy h1 { font-size: 46px; max-width: 12ch; }
.hero-lede { font-size: 18px; color: var(--muted); max-width: 46ch; text-align: left; }
.hero-editorial-ctas { display: flex; gap: 14px; margin-top: 26px; }
.hero-editorial-visual { display: flex; align-items: center; justify-content: center; }
.hero-editorial-visual svg { width: 100%; max-width: 360px; height: auto; }
.hero-editorial-photo { width: 100%; max-width: 360px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 40px; box-shadow: 0 8px 24px rgba(44,27,18,.18); }

.value-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; margin: 8px 0 40px; }
.value-strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.value-strip-item { padding: 0 28px; }
.value-strip-item + .value-strip-item { border-left: 1px solid var(--border); }
.value-strip-item p { text-align: left; font-size: 15px; color: var(--muted); margin: 0; }
.value-strip-item strong { display: block; font-family: 'Fraunces', Georgia, serif; font-size: 19px; color: var(--brand-dark); margin-bottom: 6px; font-weight: 600; }

.hyperlocal-band { background: var(--coffee); color: #f3e9dd; padding: 64px 0; margin: 20px 0; }
.hyperlocal-band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hyperlocal-band h2 { color: #fff; font-size: 34px; max-width: 14ch; }
.hyperlocal-band p { color: #e4d6c6; text-align: left; font-size: 16px; }
.hyperlocal-band-stats { display: flex; gap: 36px; margin-top: 4px; }
.hyperlocal-stat strong { display: block; font-family: 'Fraunces', Georgia, serif; font-size: 34px; color: var(--turmeric); font-weight: 600; }
.hyperlocal-stat span { font-size: 13px; color: #c9b7a4; }
.hyperlocal-band .btn-outline { border-color: #f3e9dd; color: #f3e9dd; background: transparent; }
.hyperlocal-band .btn-outline:hover { background: #f3e9dd; color: var(--coffee); }

.home-section { padding: 44px 0; }
.home-section-head { max-width: 62ch; margin: 0 0 28px; }
.home-section-head h2 { font-size: 30px; }
.home-section-head p { color: var(--muted); font-size: 16px; }
.home-section-alt { background: var(--cream); }

.menu-preview-scroller { display: flex; gap: 22px; overflow-x: auto; padding: 6px 2px 18px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.menu-preview-item { flex: 0 0 118px; text-align: center; scroll-snap-align: start; }
.menu-preview-item-img { width: 108px; height: 108px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; display: block; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(44,27,18,.12); }
.menu-preview-item-noimg { width: 108px; height: 108px; border-radius: 50%; margin: 0 auto 10px; background: #fff; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(44,27,18,.12); display: flex; align-items: center; justify-content: center; text-align: center; padding: 8px; font-size: 12px; font-weight: 600; color: var(--muted); box-sizing: border-box; }
.menu-preview-item h4 { font-size: 13px; margin: 0; color: var(--text); font-family: 'Karla', sans-serif; font-weight: 600; }
.menu-preview-categories { display: flex; flex-wrap: wrap; gap: 8px; }
.menu-preview-category-pill { background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; font-size: 12px; color: var(--muted); font-weight: 600; }

.detail-card { background: #fff; padding: 20px; border-radius: 10px; border: 1px solid var(--border); box-shadow: 0 1px 3px rgba(44,27,18,.06); }
.detail-card h2, .detail-card h3 { margin-top: 0; }
.careers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; margin-top: 16px; }

.shop-teaser { padding: 32px 0 44px; }
.shop-teaser-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; flex-wrap: wrap; gap: 8px; }
.shop-teaser-head h2 { font-size: 20px; color: var(--brand-dark); margin: 0; }
.shop-teaser-head a { font-size: 14px; font-weight: 600; }
.shop-teaser .category-grid, .shop-teaser .product-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.shop-teaser .product-card h3 { font-size: 14px; }
.shop-teaser .product-card img, .shop-teaser .product-card-noimg { height: 110px; }
.shop-teaser .category-card img { height: 70px; }

.hero { background: linear-gradient(135deg, var(--cream), #fff); padding: 70px 0; text-align: center; }
.hero h1 { font-size: 42px; margin-bottom: 10px; }
.hero p { font-size: 18px; color: var(--muted); margin-bottom: 24px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; }

.banner-carousel { position: relative; height: 420px; overflow: hidden; }
.banner-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .6s ease; }
.banner-slide.is-active { opacity: 1; }
.banner-slide-overlay { height: 100%; display: flex; align-items: center; background: linear-gradient(90deg, rgba(44,36,32,.75) 0%, rgba(44,36,32,.35) 55%, rgba(44,36,32,.1) 100%); }
.banner-slide-title { color: #fff; font-size: 40px; margin-bottom: 10px; font-weight: 700; }
.banner-slide-overlay p { color: #f0e6da; font-size: 18px; margin-bottom: 20px; max-width: 520px; }
.banner-dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.banner-dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; }
.banner-dot.is-active { background: #fff; }
@media (max-width: 768px) {
  .banner-carousel { height: 320px; }
  .banner-slide-title { font-size: 28px; }
}

.btn { display: inline-block; padding: 11px 22px; border-radius: 6px; font-weight: 600; border: 2px solid transparent; cursor: pointer; font-size: 15px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); text-decoration: none; }
.btn-outline { border-color: var(--brand); color: var(--brand); background: #fff; }
.btn-outline:hover { background: var(--brand); color: #fff; text-decoration: none; }
.btn-secondary { background: #ece3d5; color: var(--text); }

section.container { padding: 40px 20px; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.category-card { background: var(--cream); border-radius: 10px; padding: 18px; text-align: center; display: block; }
.category-card img { width: 100%; height: 90px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.category-card span { font-weight: 600; color: var(--text); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.product-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 14px; display: block; position: relative; }
.product-card > a:first-child { color: inherit; text-decoration: none; display: block; }
.product-card-seller-link { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); }
a.product-card-seller-link:hover { color: var(--brand); text-decoration: underline; }
.product-card img { width: 100%; height: 160px; object-fit: cover; border-radius: 8px; margin-bottom: 10px; }
.product-card h3 { font-size: 16px; margin: 6px 0; color: var(--text); }
.product-card .price { color: var(--brand); font-weight: 700; }
.product-card-noimg { width: 100%; height: 160px; border-radius: 8px; margin-bottom: 10px; background: var(--cream); display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px; color: var(--muted); font-weight: 600; font-size: 14px; box-sizing: border-box; }

.store-banner { height: 220px; background-size: cover; background-position: center; }
.store-banner-default { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); display: flex; align-items: center; justify-content: center; }
.store-banner-default span { color: #fff; font-size: 32px; font-weight: 800; text-align: center; padding: 0 20px; }
@media (max-width: 600px) { .store-banner { height: 140px; } .store-banner-default span { font-size: 22px; } }
.discount-badge { position: absolute; top: 10px; left: 10px; background: #c62828; color: #fff; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 12px; z-index: 1; }
.discount-badge-large { display: inline-block; background: #c62828; color: #fff; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 14px; margin-left: 10px; vertical-align: middle; }
.star-rating { color: #f5a623; font-size: 14px; letter-spacing: 1px; }

.cta-band { padding: 8px 0 56px; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cta-panel { background: var(--cream); border-radius: 4px; padding: 32px 30px; border-top: 3px solid var(--brand); }
.cta-panel:nth-child(2) { border-top-color: var(--leaf); }
.cta-panel p { color: var(--muted); }

.shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: 30px; }
.category-list { list-style: none; padding: 0; }
.category-list li a { display: block; padding: 8px 0; color: var(--text); }
.category-list li a.active, .category-list li a:hover { color: var(--brand); font-weight: 600; }
.category-sublist { list-style: none; padding-left: 16px; margin: 0; }
.category-sublist li a { padding: 5px 0; font-size: 14px; color: var(--muted); }
.category-sublist li a.active, .category-sublist li a:hover { color: var(--brand); }

.filter-sidebar-section { border-bottom: 1px solid var(--border); padding: 16px 0; }
.filter-sidebar-section:first-child { padding-top: 0; }
.filter-sidebar-section h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 12px; color: var(--brand-dark); font-family: 'Karla', sans-serif; font-weight: 700; }
.filter-price-range { display: flex; align-items: center; gap: 8px; }
.filter-price-range input[type="number"] { width: 0; flex: 1; min-width: 0; padding: 7px 8px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; }
.filter-option-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.filter-option-list label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); cursor: pointer; }
.filter-option-list input[type="checkbox"], .filter-option-list input[type="radio"] { accent-color: var(--brand); width: 15px; height: 15px; flex-shrink: 0; }
.filter-option-count { color: var(--muted); font-size: 12px; margin-left: auto; }
.filter-rating-stars { color: var(--turmeric); letter-spacing: 1px; }
.filter-sidebar-actions { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; }
.filter-sidebar-actions .btn { width: 100%; text-align: center; }
.filter-clear-link { text-align: center; font-size: 13px; color: var(--muted); }
.active-filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.active-filter-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--cream); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; font-size: 12px; color: var(--brand-dark); font-weight: 600; }
.active-filter-chip a { color: var(--muted); font-weight: 700; text-decoration: none; }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px 20px; }
.product-main-image { width: 100%; border-radius: 12px; }
.thumb-row { display: flex; gap: 8px; margin-top: 10px; }
.thumb { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; }
/* Visually hidden but present in the DOM — readable by screen readers and
   search engine crawlers, unlike display:none which crawlers can treat as
   cloaking. Use for a real page H1 that a visual design doesn't have room
   to show without looking redundant (e.g. a banner carousel already
   showing prominent text) — the page still needs exactly one real H1. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.breadcrumb { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumb-sep { margin: 0 4px; color: var(--border); }
.breadcrumb [aria-current="page"] { color: var(--text); font-weight: 500; }
.price-large { font-size: 26px; color: var(--brand); font-weight: 700; }
.price-strike { text-decoration: line-through; color: var(--muted); font-size: 16px; margin-left: 8px; }
.attribute-select { margin: 14px 0; }
.attribute-select label { display: block; margin-bottom: 4px; }
.checkbox-inline { display: inline-flex; align-items: center; gap: 6px; margin-right: 16px; font-weight: normal; }
.qty-input { width: 80px; padding: 8px; border: 1px solid var(--border); border-radius: 6px; }

.admin-form label { display: block; margin: 14px 0 6px; font-weight: 600; }
.admin-form input[type=text], .admin-form input[type=email], .admin-form input[type=tel], .admin-form input[type=number], .admin-form select, .admin-form textarea {
  width: 100%; padding: 10px; border: 1px solid var(--border); border-radius: 6px; font-size: 15px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

.cart-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.cart-table th, .cart-table td { padding: 10px; border-bottom: 1px solid var(--border); text-align: left; }
.cart-summary { text-align: right; margin-top: 20px; }
.checkout-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.order-summary-box { background: var(--cream); border-radius: 10px; padding: 20px; }
.summary-line { display: flex; justify-content: space-between; padding: 6px 0; }
.summary-line.total { font-weight: 700; border-top: 1px solid var(--border); margin-top: 8px; padding-top: 10px; }

.form-page { max-width: 700px; }
.order-success { text-align: center; padding: 60px 20px; }

.dash-welcome { display: flex; justify-content: space-between; align-items: flex-start; padding: 20px 0; }
.dash-welcome h1 { margin: 0 0 4px; }
.dash-quicklinks { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.dash-quicklinks a { background: var(--cream); padding: 10px 16px; border-radius: 8px; color: var(--text); font-weight: 600; font-size: 14px; }
.dash-quicklinks a:hover { background: #f0e2cf; text-decoration: none; }
.dash-search { display: flex; gap: 10px; margin: 14px 0; max-width: 480px; }
.dash-search input { flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-radius: 20px; }
.category-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.category-pills a { padding: 6px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--border); font-size: 13px; color: var(--text); }
.category-pills a:hover { background: var(--brand); color: #fff; text-decoration: none; }

/* Account hub layout — persistent left nav + content, Myntra-style */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
.account-sidebar-card { background: #fff; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.06); overflow: hidden; position: sticky; top: 20px; }
.account-user-strip { display: flex; align-items: center; gap: 10px; padding: 18px 16px; background: var(--cream); }
.account-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.account-user-strip .name { font-weight: 700; font-size: 14px; }
.account-user-strip .email { font-size: 12px; color: var(--muted); }
.account-nav a { display: flex; align-items: center; gap: 10px; padding: 13px 16px; color: var(--text); font-size: 14px; font-weight: 500; border-left: 3px solid transparent; }
.account-nav a:hover { background: var(--cream); text-decoration: none; }
.account-nav a.active { background: var(--cream); border-left-color: var(--brand); color: var(--brand); font-weight: 700; }
.account-nav .nav-icon { font-size: 16px; width: 20px; text-align: center; }
.account-nav hr { border: none; border-top: 1px solid var(--border); margin: 6px 0; }

/* Quick stat cards */
.stat-hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat-hero-card { background: #fff; border-radius: 10px; padding: 18px; box-shadow: 0 1px 3px rgba(0,0,0,.06); border-top: 3px solid var(--brand); }
.stat-hero-card .stat-icon { font-size: 20px; margin-bottom: 6px; }
.stat-hero-card .stat-value { display: block; font-size: 24px; font-weight: 800; color: var(--text); }
.stat-hero-card .stat-label { font-size: 12px; color: var(--muted); }

/* Order card with visual stepper */
.order-card { background: #fff; border-radius: 10px; padding: 18px; margin-bottom: 14px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.order-card-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.order-card-top .order-num { font-weight: 700; font-size: 15px; }
.order-card-top .order-date { font-size: 12px; color: var(--muted); }
.order-card-top .order-total { font-weight: 700; color: var(--brand); }
.order-stepper { display: flex; align-items: center; margin: 14px 0; }
.order-step { flex: 1; text-align: center; position: relative; }
.order-step .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--border); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; margin: 0 auto 6px; position: relative; z-index: 1; }
.order-step.done .dot { background: #2e7d32; }
.order-step.current .dot { background: var(--brand); box-shadow: 0 0 0 4px rgba(181,70,31,.2); }
.order-step .step-label { font-size: 11px; color: var(--muted); }
.order-step.done .step-label, .order-step.current .step-label { color: var(--text); font-weight: 600; }
.order-step:not(:last-child)::after { content: ''; position: absolute; top: 11px; left: 50%; width: 100%; height: 2px; background: var(--border); z-index: 0; }
.order-step.done:not(:last-child)::after { background: #2e7d32; }
.order-step.cancelled .dot { background: #c62828; }
.order-card-items { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.order-card-actions { display: flex; gap: 10px; }

/* Simple dependency-free bar chart for sales trend */
.mini-chart { display: flex; align-items: flex-end; gap: 6px; height: 90px; margin: 10px 0; }
.mini-chart-bar { flex: 1; background: var(--brand); border-radius: 3px 3px 0 0; min-height: 3px; position: relative; }
.mini-chart-bar:hover { background: var(--brand-dark); }
.mini-chart-labels { display: flex; gap: 6px; }
.mini-chart-labels span { flex: 1; text-align: center; font-size: 10px; color: var(--muted); }

.alert-widget { background: #fff3e0; border-left: 4px solid #e65100; border-radius: 6px; padding: 12px 16px; margin-bottom: 12px; font-size: 13px; }
.alert-widget a { font-weight: 700; }
.alert-widget.ok { background: #e8f5e9; border-left-color: #2e7d32; }

.quick-action-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 24px; }
.quick-action-card { background: #fff; border-radius: 10px; padding: 16px; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.06); color: var(--text); font-weight: 600; font-size: 13px; }
.quick-action-card:hover { background: var(--cream); text-decoration: none; }
.quick-action-card .qa-icon { font-size: 22px; display: block; margin-bottom: 6px; }

.top-products-list { list-style: none; padding: 0; margin: 0; }
.top-products-list li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.top-products-list li:last-child { border-bottom: none; }
.top-products-list .tp-rank { display: inline-block; width: 22px; height: 22px; background: var(--cream); border-radius: 50%; text-align: center; line-height: 22px; font-weight: 700; font-size: 11px; margin-right: 8px; }

@media (max-width: 768px) {
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar-card { position: static; }
}
@media (max-width: 640px) {
  .dash-welcome { flex-direction: column; }
}

.alert { padding: 12px 16px; border-radius: 6px; margin: 14px 0; }
.alert-success { background: #e8f5e9; color: var(--success); }
.alert-error { background: #ffebee; color: var(--error); }
.alert-info { background: #e3f2fd; color: var(--info); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; background: #eee; }
.badge-success { background: #e8f5e9; color: var(--success); }

.site-footer { background: #2c2420; color: #d8cec2; padding: 40px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 30px; }
.footer-grid h3, .footer-grid h4 { color: #fff; }
.footer-grid a { display: block; color: #d8cec2; margin-bottom: 6px; }
.footer-bottom { text-align: center; padding: 16px 0; margin-top: 20px; border-top: 1px solid #4a4038; font-size: 13px; }
.newsletter-form { display: flex; gap: 8px; margin-top: 10px; }
.footer-newsletter-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 20px 0; margin-top: 24px; border-top: 1px solid #4a4038; }
.footer-newsletter-strip .newsletter-form { margin-top: 0; }
.newsletter-form input[type="email"] { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid #4a4038; border-radius: 6px; background: rgba(255,255,255,.08); color: #fff; }
.newsletter-form input[type="email"]::placeholder { color: #b8ac9c; }

@media (max-width: 768px) {
  .product-detail, .shop-layout, .checkout-layout, .cta-grid, .footer-grid, .form-row, .hero-editorial-grid, .hyperlocal-band-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .hero-editorial-visual { order: -1; max-width: 220px; margin: 0 auto 8px; }
  .hero-editorial-copy h1 { font-size: 32px; max-width: none; }
  .hero-editorial-copy, .hero-lede { text-align: left; }
  .value-strip-grid { grid-template-columns: 1fr; gap: 20px; }
  .value-strip-item { padding: 0; }
  .value-strip-item + .value-strip-item { border-left: none; border-top: 1px solid var(--border); padding-top: 20px; }
  .hyperlocal-band-stats { gap: 24px; }
  .format-card-with-image { grid-template-columns: 1fr; }
  .format-card-image-wrap { order: -1; min-height: 200px; }
  .format-card { padding: 22px; }
  .format-card-badge { position: static; display: inline-flex; margin-bottom: 14px; }
  .format-card h3 { font-size: 26px; }
  .format-stats-grid { grid-template-columns: 1fr; }
  .format-card-divider { display: none; }
}

.page-subtitle { font-size: 17px; color: var(--muted); margin-top: -6px; margin-bottom: 20px; }
.prose { font-size: 16px; line-height: 1.75; max-width: 75ch; }
.home-container .prose { max-width: none; }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }

.offerings-list { margin: 20px 0; display: flex; flex-direction: column; gap: 12px; }
.franchise-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 8px; }
.franchise-hero-ctas .btn { flex: 0 0 auto; }
@media (max-width: 500px) { .franchise-hero-ctas .btn { flex: 1 1 auto; text-align: center; } }

.faq-list { margin: 16px 0; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 4px 18px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--brand-dark); position: relative; padding-right: 24px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 14px; font-size: 18px; font-weight: 400; color: var(--muted); }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin: 0 0 16px; font-size: 14px; color: var(--text); }

.documents-list { margin: 16px 0; display: flex; flex-direction: column; gap: 10px; }
.document-item { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px; text-decoration: none; color: inherit; }
.document-item:hover { border-color: var(--brand); }
.document-item-icon { font-size: 22px; flex-shrink: 0; }
.document-item strong { display: block; font-size: 14px; color: var(--brand-dark); }
.document-item p { margin: 2px 0 0; font-size: 12px; color: var(--muted); }

.provides-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 16px 0; }
.provides-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 16px; text-align: center; }
.provides-card-icon { font-size: 26px; display: block; margin-bottom: 8px; }
.provides-card h4 { margin: 0 0 4px; font-size: 14px; color: var(--brand-dark); }
.provides-card p { margin: 0; font-size: 12px; color: var(--muted); }

.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 16px 0; }
.benefit-item { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 14px; }
.benefit-item-icon { font-size: 22px; flex-shrink: 0; }
.benefit-item strong { display: block; font-size: 14px; color: var(--brand-dark); }
.benefit-item p { margin: 2px 0 0; font-size: 12px; color: var(--muted); }

.process-steps-list { margin: 16px 0; }
.process-step { display: flex; gap: 16px; padding-bottom: 22px; position: relative; }
.process-step:not(:last-child)::before { content: ''; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: var(--border); }
.process-step-number { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; z-index: 1; }
.process-step-body strong { display: block; font-size: 15px; color: var(--brand-dark); margin-top: 6px; }
.process-step-body p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }

.format-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(520px, 1fr)); gap: 20px; margin: 16px 0; }
.format-card { position: relative; background: linear-gradient(180deg, #fffdfa, var(--cream)); border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px; box-shadow: 0 4px 16px rgba(44,27,18,.07); }
.format-card-with-image { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: stretch; }
.format-card-eyebrow { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--turmeric); font-weight: 700; display: flex; align-items: center; gap: 8px; margin: 0; }
.format-card-eyebrow::after { content: ""; display: block; width: 30px; height: 1px; background: var(--turmeric); opacity: .6; }
.format-card-badge { position: absolute; top: 20px; right: 24px; display: inline-flex; align-items: center; gap: 6px; background: var(--cream); border: 1px solid var(--border); color: var(--brand-dark); font-size: 12px; font-weight: 600; padding: 6px 13px; border-radius: 999px; }
.format-card-badge svg { width: 13px; height: 13px; flex-shrink: 0; }
.format-card h3 { margin: 6px 0 5px; color: var(--brand-dark); font-size: 25px; }
.format-card-desc { font-size: 14px; color: var(--muted); margin: 0 0 12px; max-width: 52ch; line-height: 1.45; }
.format-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.format-stat { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.6); border: 1px solid var(--border); border-radius: 9px; padding: 8px 11px; }
.format-stat-icon { flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px; background: var(--cream); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--brand-dark); }
.format-stat-icon svg { width: 15px; height: 15px; }
.format-stat dt { font-size: 9px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 0; }
.format-stat dd { margin: 1px 0 0; font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.2; }
.format-card-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.format-card-cta { display: inline-flex; align-items: center; gap: 7px; background: var(--coffee); color: #fdf6ec; padding: 10px 21px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.format-card-cta:hover { background: var(--brand-dark); color: #fff; text-decoration: none; }
.format-card-divider { width: 1px; align-self: stretch; background: var(--border); }
.format-card-tagline { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 13px; color: var(--leaf); line-height: 1.25; margin: 0; }
.format-card-categories { margin: 12px 0 0; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.format-card-image-wrap { position: relative; border-radius: 12px; overflow: hidden; min-height: 200px; }
.format-card-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.format-card-image-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 16px; background: linear-gradient(0deg, rgba(20,12,7,.75), rgba(20,12,7,0) 70%); }
.format-card-image-overlay p { font-family: 'Fraunces', Georgia, serif; font-style: italic; color: #fdf6ec; font-size: 15px; text-align: right; margin: 0; line-height: 1.25; }

.investment-list { margin: 16px 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: #fff; }
.investment-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.investment-row:last-child { border-bottom: none; }
.investment-row-label p { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.investment-row-amount { font-weight: 700; color: var(--brand-dark); white-space: nowrap; }
.offerings-category { background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.offerings-category summary { list-style: none; cursor: pointer; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 16px; color: var(--brand-dark); }
.offerings-category summary::-webkit-details-marker { display: none; }
.offerings-category summary::after { content: '+'; font-size: 20px; font-weight: 400; color: var(--muted); transition: transform .15s; }
.offerings-category[open] summary::after { content: '\2212'; }
.offerings-count { font-size: 12px; font-weight: 500; color: var(--muted); background: var(--cream); padding: 3px 10px; border-radius: 10px; margin-left: auto; margin-right: 14px; }
.offerings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; padding: 4px 20px 20px; }
.offerings-item { text-align: center; }
.offerings-item img, .offerings-item-noimg { width: 100%; height: 100px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.offerings-item-noimg { background: var(--cream); display: flex; align-items: center; justify-content: center; padding: 8px; box-sizing: border-box; color: var(--muted); font-weight: 600; font-size: 13px; }
.offerings-item h4 { margin: 0 0 4px; font-size: 14px; }
.offerings-item p { margin: 0; font-size: 12px; color: var(--muted); }

.model-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 20px 0; }
.model-card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 1px 3px rgba(0,0,0,.08); border-top: 4px solid var(--brand); text-align: center; transition: transform .15s; }
.model-card:hover { transform: translateY(-3px); text-decoration: none; }
.model-card h3 { margin: 0 0 8px; color: var(--brand-dark); }
.model-card p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.model-card .model-link { font-weight: 700; font-size: 14px; }

.public-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin: 20px 0; }
.public-stat-card { background: linear-gradient(160deg, var(--brand-dark), var(--brand)); color: #fff; border-radius: 12px; padding: 26px 20px; text-align: center; }
.public-stat-card .stat-num { display: block; font-size: 32px; font-weight: 800; }
.public-stat-card .stat-label { font-size: 13px; opacity: .9; }

.review-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 20px 0; }
.review-card { background: #fff; border-radius: 10px; padding: 20px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.review-card .review-name { font-weight: 700; }
.review-card .review-text { color: var(--text); margin: 10px 0; font-size: 14px; line-height: 1.6; }
.review-card .review-date { font-size: 12px; color: var(--muted); }

.terms-box { background: #fff8f0; border: 1px solid #f0dfc4; border-radius: 10px; padding: 24px 28px; margin: 20px 0; }
.terms-box h2 { margin-top: 0; }

/* Franchise page: sticky right sidebar (nav + quick CTA) alongside main content */
.franchise-layout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; margin-top: 28px; }
.franchise-sidebar { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 16px; }
.franchise-nav-card { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.08); overflow: hidden; }
.franchise-nav-card a { display: flex; align-items: center; gap: 10px; padding: 13px 18px; color: var(--text); font-size: 14px; font-weight: 500; border-left: 3px solid transparent; }
.franchise-nav-card a:hover { background: var(--cream); text-decoration: none; }
.franchise-nav-card a.active { background: var(--cream); border-left-color: var(--brand); color: var(--brand); font-weight: 700; }
.franchise-cta-card { background: linear-gradient(160deg, var(--brand-dark), var(--brand)); color: #fff; border-radius: 12px; padding: 24px; text-align: center; }
.franchise-cta-card h3 { margin: 0 0 8px; font-size: 18px; }
.franchise-cta-card p { font-size: 13px; opacity: .9; margin-bottom: 16px; }
.franchise-cta-card .btn { width: 100%; box-sizing: border-box; background: #fff; color: var(--brand-dark); border: none; }
.franchise-facts-card { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.08); padding: 20px; }
.franchise-facts-card h4 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

.store-offers-card { background: linear-gradient(180deg, #fff8f0 0%, #fff 100%); border: 1px dashed #e0b876; border-radius: 12px; padding: 18px; }
.store-offers-card h4 { margin: 0 0 12px; font-size: 14px; }
.store-offer-item { padding: 10px 0; border-top: 1px dashed #e7dccb; }
.store-offer-item:first-of-type { border-top: none; padding-top: 0; }
.store-offer-item p { margin: 4px 0 0; font-size: 13px; }
.store-offer-code { display: inline-block; background: var(--brand); color: #fff; font-weight: 700; font-size: 13px; padding: 3px 10px; border-radius: 5px; letter-spacing: .03em; }
.franchise-fact-row { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--border); font-size: 13px; }
.franchise-fact-row:first-of-type { border-top: none; }
.franchise-fact-row strong { color: var(--brand-dark); }
.franchise-crosslink-banner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--cream); border-radius: 10px; padding: 18px 22px; margin-bottom: 32px; }
.franchise-crosslink-banner strong { display: block; color: var(--brand-dark); font-size: 15px; }
.franchise-crosslink-banner p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.franchise-crosslink-banner .btn { flex-shrink: 0; }
@media (max-width: 600px) { .franchise-crosslink-banner { flex-direction: column; align-items: flex-start; } .franchise-crosslink-banner .btn { align-self: stretch; text-align: center; } }

.franchise-section { scroll-margin-top: 20px; margin-bottom: 44px; }
.franchise-section:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .franchise-layout { grid-template-columns: 1fr; }
  .franchise-sidebar { position: static; }
  .franchise-nav-card { display: none; }
}
