:root {
  --orange: #f97316;
  --orange-dark: #ea580c;
  --orange-soft: #fff1e7;
  --ink: #2b170f;
  --muted: #74645e;
  --cream: #fffaf5;
  --line: #eadfd7;
  --green: #159947;
  --blue: #2563eb;
  --red: #dc2626;
  --shadow: 0 18px 50px rgba(72, 42, 24, .10);
  --shadow-sm: 0 8px 24px rgba(72, 42, 24, .08);
  --radius: 22px;
  color-scheme: light;
}

.auth-links { display:flex; justify-content:space-between; gap:16px; font-size:.9rem; }
.checkbox-row { display:flex !important; align-items:flex-start; gap:10px; line-height:1.45; }
.checkbox-row input { width:auto !important; margin-top:4px; }
.legal-content { max-width:820px; margin:80px auto; padding:0 24px 80px; }
.legal-content h1 { font-size:clamp(2rem,5vw,4rem); margin:12px 0 28px; }
.legal-content h2 { margin-top:36px; }
.legal-content p { font-size:1.05rem; line-height:1.8; color:var(--muted); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font: 15px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.page-width { width: min(1180px, calc(100% - 36px)); margin-inline: auto; }
.eyebrow { color: var(--orange-dark); font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow.light { color: #ffc49b; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 42px; padding: 0 18px; border: 1px solid transparent; border-radius: 13px; font-weight: 800; cursor: pointer; transition: .2s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--orange); color: white; box-shadow: 0 8px 18px rgba(249,115,22,.24); }
.button.primary:hover { background: var(--orange-dark); }
.button.secondary { background: white; border-color: var(--line); }
.button.danger { color: var(--red); background: #fff1f2; }
.button.small { min-height: 36px; padding: 0 14px; font-size: 13px; }
.button.large { width: 100%; min-height: 52px; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 13px; background: white; cursor: pointer; }
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 19px; }
.brand-lockup.light { color: white; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: white; background: linear-gradient(145deg, #ff8a32, #ed5a00); box-shadow: 0 7px 18px rgba(249,115,22,.28); font-weight: 950; }
.form-error { min-height: 22px; color: var(--red); font-weight: 650; }
.toast-root { position: fixed; z-index: 1000; right: 20px; bottom: 20px; display: grid; gap: 10px; }
.toast { max-width: 360px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: var(--shadow); animation: toast-in .25s ease both; }
.toast.success { border-color: #b7e8c8; }
.toast.error { border-color: #fecaca; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

.skeleton-block, .skeleton-line, .skeleton-grid > * { background: linear-gradient(90deg,#f4eae2 25%,#fff7f1 50%,#f4eae2 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.skeleton-line { width: 220px; height: 22px; border-radius: 8px; }
.skeleton-line.wide { width: 60%; height: 36px; }
.skeleton-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 24px; }
.skeleton-grid::before,.skeleton-grid::after,.skeleton-grid { min-height: 160px; border-radius: 18px; content: ""; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Storefront */
.store-hero { min-height: 244px; background: var(--ink); color: white; position: relative; overflow: hidden; }
.store-hero::after { content: ""; position: absolute; width: 430px; height: 430px; right: -90px; top: -210px; border-radius: 50%; background: radial-gradient(circle at 35% 65%, var(--store-color,var(--orange)), transparent 62%); opacity: .7; }
.store-header { position: relative; z-index: 1; padding: 28px 0 44px; }
.store-topline { display: flex; justify-content: space-between; align-items: center; }
.store-logo { display: flex; align-items: center; gap: 12px; }
.store-logo-badge { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 17px; color: var(--ink); background: #fff6ea; font-size: 27px; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.store-top-actions { display: flex; gap: 10px; }
.store-top-actions a { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; background: rgba(255,255,255,.08); }
.store-intro { margin-top: 42px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.store-intro h1 { margin: 0 0 6px; font-size: clamp(34px,5vw,58px); line-height: 1; letter-spacing: -.05em; }
.store-intro p { max-width: 580px; margin: 0; color: #d7cbc5; font-size: 16px; }
.store-meta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.status-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 13px; border-radius: 999px; color: #e7fcec; background: rgba(21,153,71,.18); border: 1px solid rgba(73,216,122,.25); white-space: nowrap; font-weight: 750; }
.status-chip.closed { color: #ffe1e1; background: rgba(220,38,38,.15); border-color: rgba(255,130,130,.2); }
.status-chip i { width: 8px; height: 8px; border-radius: 50%; background: #43d67b; }
.menu-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 30px; padding-block: 30px 90px; }
.category-nav { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 18px; scrollbar-width: none; position: sticky; top: 0; z-index: 20; background: rgba(255,250,245,.95); backdrop-filter: blur(12px); }
.category-nav::-webkit-scrollbar { display: none; }
.category-button { min-height: 42px; padding: 0 17px; border: 1px solid var(--line); border-radius: 999px; background: white; white-space: nowrap; font-weight: 750; cursor: pointer; }
.category-button.active { color: white; background: var(--store-color,var(--orange)); border-color: transparent; }
.menu-section { scroll-margin-top: 76px; }
.menu-section h2 { margin: 18px 0 14px; font-size: 24px; letter-spacing: -.03em; }
.product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.product-card { display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 14px; min-height: 148px; padding: 12px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 7px 26px rgba(74,48,31,.055); cursor: pointer; transition: .2s ease; text-align: left; }
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: #e9cdb9; }
.product-visual { display: grid; place-items: center; min-height: 122px; border-radius: 15px; background: radial-gradient(circle at 65% 25%,#ffe0a8,#f1a54f 35%,#7f391b 100%); font-size: 57px; overflow: hidden; }
.product-visual img { width: 100%; height: 100%; object-fit: cover; }
.product-info { display: flex; flex-direction: column; min-width: 0; padding: 4px 2px; }
.product-info h3 { margin: 0 0 5px; font-size: 16px; letter-spacing: -.02em; }
.product-info p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.product-price-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.product-price { color: var(--orange-dark); font-weight: 900; }
.add-circle { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: white; background: var(--store-color,var(--orange)); font-size: 20px; }
.desktop-cart { position: sticky; top: 22px; align-self: start; min-height: 230px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }
.cart-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.cart-title h2 { margin: 0; font-size: 19px; }
.cart-count { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; color: white; background: var(--orange); font-weight: 850; }
.empty-cart { display: grid; place-items: center; min-height: 165px; color: var(--muted); text-align: center; }
.empty-cart span { display: block; font-size: 35px; filter: grayscale(1); opacity: .45; }
.cart-list { display: grid; gap: 14px; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.cart-item strong { font-size: 13px; }
.cart-item small { display: block; color: var(--muted); }
.cart-item button { padding: 0; border: 0; color: var(--red); background: none; cursor: pointer; font-size: 12px; }
.cart-total { display: flex; justify-content: space-between; padding: 17px 0; font-size: 17px; font-weight: 900; }
.mobile-cart-bar { display: none; position: fixed; z-index: 40; left: 14px; right: 14px; bottom: max(14px,env(safe-area-inset-bottom)); }

/* Modals and forms */
.modal-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(43,23,15,.62); backdrop-filter: blur(5px); }
.modal-card { width: min(590px,100%); max-height: min(840px,calc(100vh - 30px)); overflow-y: auto; border-radius: 25px; background: var(--cream); box-shadow: 0 30px 80px rgba(0,0,0,.28); animation: modal-up .25s ease both; }
.modal-card.wide { width: min(850px,100%); }
@keyframes modal-up { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.modal-head { position: sticky; z-index: 2; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 19px 22px; border-bottom: 1px solid var(--line); background: rgba(255,250,245,.95); backdrop-filter: blur(12px); }
.modal-head h2 { margin: 0; font-size: 21px; }
.modal-body { padding: 22px; }
.modal-footer { position: sticky; bottom: 0; display: flex; gap: 12px; padding: 16px 22px; border-top: 1px solid var(--line); background: white; }
.product-modal-hero { display: grid; grid-template-columns: 145px 1fr; gap: 18px; align-items: center; margin-bottom: 22px; }
.product-modal-hero .product-visual { min-height: 140px; }
.product-modal-hero h3 { margin: 0 0 7px; font-size: 24px; }
.product-modal-hero p { color: var(--muted); }
.option-group { margin: 20px 0; }
.option-group header { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.option-group header span { color: var(--muted); font-size: 12px; }
.option-list { display: grid; gap: 8px; }
.option-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 13px; background: white; cursor: pointer; }
.option-row:has(input:checked) { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
.option-row input { accent-color: var(--orange); }
.quantity-control { display: inline-flex; align-items: center; gap: 15px; }
.quantity-control button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 12px; background: white; font-size: 20px; cursor: pointer; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.form-grid .full { grid-column: 1/-1; }
label { display: grid; gap: 7px; font-size: 13px; font-weight: 750; }
input, select, textarea { width: 100%; min-height: 45px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: white; outline: none; }
textarea { min-height: 86px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249,115,22,.12); }
.choice-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.choice-card { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: white; cursor: pointer; }
.choice-card:has(input:checked) { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
.choice-card input { width: auto; min-height: 0; margin-right: 6px; accent-color: var(--orange); }
.checkout-summary { margin-top: 20px; padding: 16px; border-radius: 16px; background: white; }
.summary-row { display: flex; justify-content: space-between; gap: 15px; padding: 5px 0; }
.summary-row.total { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 18px; font-weight: 900; }
.success-panel { text-align: center; padding: 12px 0 5px; }
.success-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; color: white; background: var(--green); font-size: 34px; }
.success-panel h2 { margin-bottom: 6px; font-size: 27px; }
.success-actions { display: grid; gap: 10px; margin-top: 24px; }

/* Auth */
.auth-page { background: white; }
.auth-layout { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.auth-showcase { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 42px max(42px,8vw); color: white; background: radial-gradient(circle at 80% 80%,#803515 0,transparent 36%),linear-gradient(140deg,#2b170f,#160b07); }
.auth-showcase::after { content: ""; position: absolute; width: 460px; height: 460px; right: -180px; bottom: -190px; border: 80px solid var(--orange); border-radius: 50%; opacity: .88; }
.auth-copy { position: relative; z-index: 1; max-width: 590px; margin: auto 0; }
.auth-copy h1 { margin: 14px 0 22px; font-size: clamp(45px,6vw,78px); line-height: .98; letter-spacing: -.06em; }
.auth-copy h1 em,.pricing-hero h1 em { color: var(--orange); font-style: normal; }
.auth-copy > p { max-width: 510px; color: #d9cbc5; font-size: 18px; }
.auth-metric { display: flex; align-items: center; gap: 15px; margin-top: 46px; }
.auth-metric strong { color: var(--orange); font-size: 45px; line-height: 1; }
.auth-metric span { color: #d9cbc5; }
.auth-form-wrap { display: grid; place-items: center; align-content: center; padding: 50px; }
.auth-form { width: min(430px,100%); display: grid; gap: 20px; }
.auth-form h2 { margin: 8px 0 3px; font-size: 34px; letter-spacing: -.04em; }
.auth-form p { margin: 0; color: var(--muted); }
.auth-footer-link { margin-top: 28px; color: var(--orange-dark); font-weight: 750; }
.demo-access { padding: 13px 15px; border: 1px dashed #e2c7b5; border-radius: 13px; color: var(--muted); }
.demo-access summary { cursor: pointer; font-weight: 750; }
.demo-access button { margin: 10px 8px 0 0; padding: 7px 10px; border: 0; border-radius: 9px; color: var(--orange-dark); background: var(--orange-soft); cursor: pointer; }

/* App dashboard */
.app-page { background: #f8f5f2; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 238px 1fr; }
.app-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 24px 17px; color: #f8eee9; background: #29150e; }
.sidebar-brand { display: flex; gap: 10px; align-items: center; padding: 4px 8px 30px; font-weight: 900; font-size: 17px; }
.sidebar-brand small { display: block; color: #f49b65; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.app-sidebar nav { display: grid; gap: 6px; }
.nav-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 45px; padding: 0 13px; border: 0; border-radius: 12px; color: #d7c5bd; background: transparent; cursor: pointer; text-align: left; font-weight: 700; }
.nav-item span { width: 22px; text-align: center; font-size: 18px; }
.nav-item:hover { color: white; background: rgba(255,255,255,.06); }
.nav-item.active { color: white; background: linear-gradient(135deg,var(--orange),#ff5b08); box-shadow: 0 10px 22px rgba(249,115,22,.22); }
.sidebar-bottom { margin-top: auto; display: grid; gap: 10px; }
.store-state { display: flex; align-items: center; gap: 9px; padding: 13px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; color: #e8d9d2; font-size: 12px; }
.store-state i { width: 9px; height: 9px; border-radius: 50%; background: #1fbd5a; box-shadow: 0 0 0 5px rgba(31,189,90,.12); }
.app-main { min-width: 0; }
.app-topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 105px; padding: 22px 32px; border-bottom: 1px solid #ebe3de; background: rgba(255,255,255,.86); backdrop-filter: blur(15px); }
.app-topbar h1 { margin: 3px 0 0; font-size: 28px; letter-spacing: -.04em; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.plan-pill { padding: 7px 12px; border-radius: 999px; color: var(--orange-dark); background: var(--orange-soft); font-size: 12px; font-weight: 850; }
.avatar-button { width: 43px; height: 43px; border: 0; border-radius: 50%; color: white; background: var(--ink); font-weight: 850; cursor: pointer; }
.mobile-menu { display: none; border: 0; background: none; font-size: 23px; }
.app-content { padding: 27px 32px 50px; }
.billing-banner { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 18px 32px 0; padding: 14px 18px; border: 1px solid #f2c78f; border-radius: 14px; background: #fff8e8; }
.metric-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.metric-card { min-height: 124px; padding: 18px; border: 1px solid #e9e1dc; border-radius: 18px; background: white; box-shadow: 0 4px 20px rgba(52,31,20,.035); }
.metric-card .metric-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 750; }
.metric-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--orange-soft); font-size: 18px; }
.metric-card strong { display: block; margin-top: 13px; font-size: 25px; letter-spacing: -.04em; }
.metric-card small { color: var(--green); }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(270px,.8fr); gap: 18px; margin-top: 18px; }
.panel-card { border: 1px solid #e9e1dc; border-radius: 18px; background: white; box-shadow: 0 4px 20px rgba(52,31,20,.035); }
.panel-card-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; border-bottom: 1px solid #eee7e2; }
.panel-card-head h2 { margin: 0; font-size: 17px; }
.panel-card-body { padding: 18px 20px; }
.order-table { width: 100%; border-collapse: collapse; }
.order-table th { color: var(--muted); font-size: 11px; text-align: left; text-transform: uppercase; letter-spacing: .06em; }
.order-table td,.order-table th { padding: 13px 9px; border-bottom: 1px solid #f0ebe8; }
.order-table tr:last-child td { border: 0; }
.order-table strong { font-size: 13px; }
.order-table small { display: block; color: var(--muted); }
.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; color: #9a4a16; background: #fff1e4; font-size: 11px; font-weight: 850; white-space: nowrap; }
.status-badge.NEW { color: #1d4ed8; background: #eaf2ff; }
.status-badge.PREPARING,.status-badge.CONFIRMED { color: #b45309; background: #fff4d6; }
.status-badge.READY,.status-badge.COMPLETED,.status-badge.ACTIVE { color: #087c36; background: #e7f8ed; }
.status-badge.CANCELLED,.status-badge.SUSPENDED { color: #b91c1c; background: #feecec; }
.status-badge.PAST_DUE { color: #9a5d05; background: #fff3cf; }
.status-badge.PENDING_WHATSAPP,.status-badge.PENDING_PAYMENT,.status-badge.DRAFT { color:#6b4f00; background:#fff6cf; }
.status-badge.EXPIRED,.status-badge.RETENTION { color:#6b7280; background:#f1f3f5; }
.status-select { min-height: 34px; padding: 5px 8px; font-size: 12px; }
.mini-list { display: grid; gap: 13px; }
.mini-list-item { display: flex; justify-content: space-between; gap: 15px; }
.mini-list-item span { color: var(--muted); }
.progress { height: 8px; overflow: hidden; border-radius: 999px; background: #f0e8e2; }
.progress i { display: block; height: 100%; border-radius: inherit; background: var(--orange); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 13px; margin-bottom: 17px; }
.toolbar h2 { margin: 0; font-size: 21px; }
.toolbar-actions { display: flex; gap: 10px; }
.search-input { max-width: 280px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.catalog-card { overflow: hidden; border: 1px solid #e9e1dc; border-radius: 17px; background: white; }
.catalog-card .product-visual { min-height: 135px; border-radius: 0; }
.catalog-card-body { padding: 14px; }
.catalog-card h3 { margin: 0 0 4px; }
.catalog-card p { min-height: 38px; margin: 0; color: var(--muted); font-size: 12px; }
.catalog-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.toggle { position: relative; width: 42px; height: 24px; border: 0; border-radius: 99px; background: #d8cec8; cursor: pointer; }
.toggle::after { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; border-radius: 50%; background: white; transition: .2s; }
.toggle.on { background: var(--green); }
.toggle.on::after { transform: translateX(18px); }
.team-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.member-card { padding: 19px; border: 1px solid #e9e1dc; border-radius: 17px; background: white; }
.member-avatar { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 15px; border-radius: 15px; color: var(--orange-dark); background: var(--orange-soft); font-weight: 900; }
.member-card h3 { margin: 0; }
.member-card p { margin: 3px 0 12px; color: var(--muted); font-size: 12px; }
.settings-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.subscription-hero { display: grid; grid-template-columns: 1.4fr .6fr; gap: 20px; align-items: center; overflow: hidden; padding: 30px; color: white; border-radius: 23px; background: radial-gradient(circle at 90% 30%,#7f3515,transparent 35%),var(--ink); }
.subscription-hero h2 { margin: 8px 0; font-size: 34px; }
.subscription-hero p { max-width: 600px; color: #d9c9c1; }
.subscription-price { text-align: center; }
.subscription-price strong { display: block; color: var(--orange); font-size: 43px; }
.subscription-features { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 18px; }
.subscription-features div { padding: 16px; border: 1px solid #e9e1dc; border-radius: 15px; background: white; }
.temp-password { margin-top: 15px; padding: 13px; border-radius: 12px; background: #fff3d9; font-family: ui-monospace,monospace; }

/* Platform */
.platform-page .app-sidebar { background: #21130e; }
.store-list-row { display: grid; grid-template-columns: 1.4fr .8fr .8fr .8fr auto; align-items: center; gap: 15px; padding: 15px 20px; border-bottom: 1px solid #eee7e2; }
.store-list-row.header { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.store-identity { display: flex; align-items: center; gap: 11px; }
.store-mini-logo { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: white; background: var(--orange); font-weight: 900; }

/* Pricing */
.pricing-page { background: #fffaf5; }
.marketing-header { display: flex; align-items: center; justify-content: space-between; width: min(1120px,calc(100% - 36px)); margin: auto; padding: 24px 0; }
.marketing-header nav { display: flex; align-items: center; gap: 24px; font-weight: 700; }
.pricing-hero { max-width: 830px; margin: 80px auto 45px; padding: 0 20px; text-align: center; }
.pricing-hero h1 { margin: 13px 0 18px; font-size: clamp(48px,7vw,82px); line-height: .98; letter-spacing: -.06em; }
.pricing-hero > p { max-width: 660px; margin: auto; color: var(--muted); font-size: 18px; }
.billing-toggle { display: inline-flex; align-items: center; gap: 13px; margin-top: 26px; padding: 7px 8px 7px 16px; border: 1px solid var(--line); border-radius: 99px; background: white; }
.billing-toggle strong { padding: 7px 11px; border-radius: 99px; color: var(--green); background: #e8f8ed; font-size: 12px; }
.pricing-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; width: min(850px,calc(100% - 36px)); margin: 0 auto 38px; }
.pricing-card { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 23px; background: white; box-shadow: var(--shadow-sm); }
.pricing-card.featured { border: 2px solid var(--orange); }
.popular-label { position: absolute; top: -14px; right: 22px; padding: 6px 12px; border-radius: 999px; color: white; background: var(--orange); font-size: 11px; font-weight: 850; }
.plan-name { color: var(--orange-dark); font-weight: 900; }
.pricing-card h2 { margin: 8px 0 0; font-size: 40px; }
.pricing-card h2 small { color: var(--muted); font-size: 13px; }
.pricing-card > p { color: var(--muted); }
.pricing-card ul { min-height: 240px; margin: 25px 0; padding: 0; list-style: none; }
.pricing-card li { padding: 8px 0; border-bottom: 1px solid #f2ece8; }
.pricing-card li.muted { color: var(--muted); }
.pricing-note { width: min(850px,calc(100% - 36px)); margin: 0 auto 80px; padding: 19px 24px; border-radius: 18px; color: #76510d; background: #fff1cc; }
.pricing-note p { margin: 4px 0 0; }
.marketing-footer { display: flex; justify-content: space-between; padding: 28px max(20px,calc((100% - 1120px)/2)); color: #ccbab1; background: var(--ink); }

/* Tracking */
.tracking-page { min-height: 100vh; background: radial-gradient(circle at 50% 0,#fff0e3,transparent 42%),var(--cream); }
.tracking-shell { width: min(590px,calc(100% - 30px)); margin: auto; padding: 32px 0 70px; }
.tracking-card { min-height: 430px; margin-top: 35px; padding: 25px; border: 1px solid var(--line); border-radius: 25px; background: white; box-shadow: var(--shadow); }
.tracking-head { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.tracking-head h1 { margin: 4px 0; font-size: 28px; }
.tracking-timeline { margin: 25px 0 10px 10px; }
.timeline-event { position: relative; min-height: 72px; padding-left: 42px; }
.timeline-event::before { content: ""; position: absolute; left: 12px; top: 25px; bottom: -5px; width: 2px; background: #e7ddd7; }
.timeline-event:last-child::before { display: none; }
.timeline-dot { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: white; background: #d4c8c1; font-size: 12px; }
.timeline-event.done .timeline-dot { background: var(--green); }
.timeline-event strong { display: block; }
.timeline-event small { color: var(--muted); }

@media (max-width: 1050px) {
  .menu-layout { grid-template-columns: minmax(0,1fr); }
  .menu-content { min-width: 0; }
  .desktop-cart { display: none; }
  .mobile-cart-bar { display: block; }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .catalog-grid,.team-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 800px) {
  .auth-layout { grid-template-columns: 1fr; }
  .auth-showcase { min-height: 330px; padding: 28px; }
  .auth-copy h1 { font-size: 47px; }
  .auth-copy > p,.auth-metric { display: none; }
  .auth-form-wrap { padding: 38px 25px; }
  .app-shell { display: block; }
  .app-sidebar { position: fixed; z-index: 80; left: 0; top: 0; width: 238px; transform: translateX(-105%); transition: .25s; }
  .app-shell.menu-open .app-sidebar { transform: none; }
  .mobile-menu { display: block; }
  .app-topbar { padding: 18px; min-height: 90px; }
  .app-content { padding: 20px 16px 45px; }
  .billing-banner { margin: 14px 16px 0; }
  .dashboard-grid,.settings-layout { grid-template-columns: 1fr; }
  .store-list-row { grid-template-columns: 1.3fr .8fr .8fr auto; }
  .store-list-row > :nth-child(4) { display: none; }
  .subscription-hero { grid-template-columns: 1fr; }
  .subscription-features { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .store-hero { min-height: 280px; }
  .store-header { padding-top: 20px; }
  .store-top-actions a span { display: none; }
  .store-intro { display: block; margin-top: 36px; }
  .store-intro p { font-size: 14px; }
  .store-meta { justify-content: flex-start; margin-top: 17px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 104px minmax(0,1fr); }
  .product-visual { min-height: 112px; }
  .modal-backdrop { align-items: end; padding: 0; }
  .modal-card { max-height: 93vh; border-radius: 24px 24px 0 0; }
  .product-modal-hero { grid-template-columns: 100px 1fr; }
  .product-modal-hero .product-visual { min-height: 105px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .metric-grid,.catalog-grid,.team-grid { grid-template-columns: 1fr; }
  .metric-card { min-height: 100px; }
  .topbar-actions .plan-pill,.topbar-actions .button { display: none; }
  .toolbar { align-items: flex-start; flex-direction: column; }
  .toolbar-actions { width: 100%; }
  .toolbar-actions > * { flex: 1; }
  .order-table th:nth-child(3),.order-table td:nth-child(3) { display: none; }
  .pricing-cards { grid-template-columns: 1fr; }
  .marketing-header nav > a:not(.button) { display: none; }
  .pricing-hero { margin-top: 45px; }
  .marketing-footer { display: grid; gap: 7px; }
  .store-list-row { grid-template-columns: 1fr auto; }
  .store-list-row > :not(:first-child):not(:last-child) { display: none; }
}
