:root {
    --hb-bg: #f5f5f8;
    --hb-panel: #ffffff;
    --hb-soft: #f8f5ff;
    --hb-border: #e6e8ef;
    --hb-text: #080a16;
    --hb-muted: #4b5573;
    --hb-purple: #4b12db;
    --hb-purple-2: #6417f3;
    --hb-magenta: #f20b6a;
    --hb-green: #11a767;
    --hb-yellow: #ffbe22;
    --hb-red: #ef3b2d;
    --hb-blue: #2877f0;
    --hb-sidebar: #071522;
    --hb-shadow: 0 16px 42px rgba(20, 23, 42, .08);
    --hb-radius: 18px;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: 'Plus Jakarta Sans', sans-serif; color: var(--hb-text); background: var(--hb-bg); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.hb-public-body, .hb-auth-body, .hb-storefront-body { min-height: 100vh; padding: 8px; background: #eeeeef; }
.hb-page, .hb-auth-shell, .hb-storefront-shell { max-width: 1240px; margin: 0 auto; padding: 28px 36px 44px; background: #fff; border: 1px solid #dddfe6; border-radius: 8px; min-height: calc(100vh - 16px); box-shadow: 0 2px 16px rgba(0,0,0,.06); position: relative; overflow: hidden; }
.hb-page::after, .hb-auth-shell::after, .hb-storefront-shell::after { content: ''; position: absolute; right: -84px; bottom: -120px; width: 280px; height: 280px; background: linear-gradient(145deg, var(--hb-magenta), var(--hb-purple)); border-radius: 70% 0 0 0; z-index: 0; }
.hb-page > *, .hb-auth-shell > *, .hb-storefront-shell > * { position: relative; z-index: 1; }
.hb-topbar, .hb-auth-topbar, .hb-storefront-topbar { display: none; }

.hb-brand-mark, .hb-admin-logo span { font-weight: 800; color: var(--hb-purple); letter-spacing: 0; }
.hb-brand-mark span, .hb-admin-logo span span, .hb-brand-word span { color: var(--hb-magenta); }
.hb-brand-word { display: inline-block; font-size: 54px; font-weight: 800; color: var(--hb-purple); line-height: .85; }
.hb-brand-word small { display: block; color: #0b1020; font-size: 16px; font-weight: 700; margin-left: 154px; margin-top: 8px; }

.hb-slide-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin: 22px 0 28px; }
.hb-slide-title h1 { display: inline; margin: 0; font-size: 58px; line-height: 1.05; font-weight: 800; letter-spacing: 0; }
.hb-slide-title p { margin: 12px 0 0; color: #303a5f; font-size: 21px; }
.hb-slide-number { font-size: 58px; font-weight: 800; color: var(--hb-purple); margin-right: 14px; }
.hb-gradient-word { background: linear-gradient(90deg, var(--hb-purple), var(--hb-magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hb-alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 16px; border: 1px solid transparent; display: flex; justify-content: space-between; gap: 12px; }
.hb-alert-success { background: #ecfff6; border-color: #bcebd5; color: #086c45; }
.hb-alert-danger { background: #fff1f1; border-color: #ffc9c9; color: #a51f16; }
.hb-alert-warning, .hb-expired-strip { background: #fff8df; border-color: #ffd76a; color: #5c4100; }

.hb-btn, .hb-pay-button { border: 0; border-radius: 8px; padding: 13px 20px; color: #fff; background: linear-gradient(180deg, #6417f3, #3b08c7); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 10px 20px rgba(75,18,219,.15); }
.hb-pay-button { background: linear-gradient(180deg, #ffd548, #ffad12); color: #111; min-height: 58px; font-size: 20px; }
.hb-btn-secondary { background: #fff; color: var(--hb-purple); border: 1px solid #d9d6ea; box-shadow: none; }
.hb-btn-ghost { background: transparent; color: var(--hb-purple); border: 1px solid #d9d6ea; box-shadow: none; }
.hb-btn-full { width: 100%; }
.hb-icon-btn { border: 1px solid #dfe2ea; background: #fff; color: var(--hb-purple); border-radius: 8px; padding: 9px 12px; font-weight: 800; }

.hb-auth-grid { display: grid; grid-template-columns: 280px 1fr 300px; gap: 28px; align-items: center; }
.hb-auth-aside, .hb-auth-card, .hb-auth-phone, .hb-verify-card, .hb-plan-config, .hb-plan-card, .hb-admin-card, .hb-checkout-panel, .hb-public-store-frame, .hb-product-modal-demo { background: #fff; border: 1px solid var(--hb-border); border-radius: var(--hb-radius); box-shadow: var(--hb-shadow); }
.hb-auth-aside { padding: 34px 22px; text-align: center; border: 0; box-shadow: none; }
.hb-auth-card { padding: 26px; }
.hb-auth-phone { padding: 22px; border-radius: 34px; border: 8px solid #111; min-height: 560px; }
.hb-store-icon { width: 130px; height: 130px; margin: 24px auto; border-radius: 50%; background: #f2eaff; display: grid; place-items: center; color: var(--hb-purple); font-size: 64px; }
.hb-card-head h1, .hb-card-head h2 { margin: 0 0 8px; font-size: 28px; }
.hb-card-head p, .hb-auth-aside p, .hb-muted, .hb-foot-note { color: var(--hb-muted); line-height: 1.6; }
.hb-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hb-form-stack { display: grid; gap: 14px; }
.hb-field { display: grid; gap: 7px; font-weight: 700; }
.hb-field.full { grid-column: 1 / -1; }
.hb-field input, .hb-field textarea, .hb-field select, .hb-variant-row input { width: 100%; border: 1px solid #dfe3ed; border-radius: 7px; padding: 13px 14px; color: #17213a; background: #fff; }
.hb-field textarea { min-height: 92px; resize: vertical; }
.hb-inline-field { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px; border: 1px solid #dfe3ed; border-radius: 7px; padding-left: 12px; color: var(--hb-muted); }
.hb-inline-field input { border: 0; padding-left: 0; }
.hb-feature-band, .hb-info-band { margin-top: 30px; padding: 22px; border: 1px solid #e4d7ff; background: #fbf8ff; border-radius: 12px; font-size: 22px; font-weight: 700; display: flex; align-items: center; gap: 18px; }
.hb-feature-cards { margin-top: 28px; display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.hb-feature-card { border: 1px solid var(--hb-border); border-radius: 14px; padding: 24px; text-align: center; background: #fff; box-shadow: var(--hb-shadow); }
.hb-feature-card b { display: block; font-size: 40px; color: var(--hb-purple); margin-bottom: 12px; }

.hb-verify-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 42px; align-items: start; }
.hb-verify-card { padding: 34px; display: grid; grid-template-columns: 230px 1fr; align-items: center; gap: 28px; margin-bottom: 28px; }
.hb-envelope { width: 210px; height: 150px; border-radius: 14px; background: linear-gradient(145deg,#f2ecff,#fff); border: 1px solid #d8d2ea; display: grid; place-items: center; font-size: 74px; color: var(--hb-purple); position: relative; }
.hb-envelope::after { content: '✓'; position: absolute; right: -18px; bottom: -18px; width: 70px; height: 70px; border-radius: 50%; background: var(--hb-green); color: #fff; display: grid; place-items: center; font-size: 38px; font-weight: 800; }
.hb-success-circle { width: 120px; height: 120px; border-radius: 50%; background: var(--hb-green); color: #fff; display: grid; place-items: center; font-size: 72px; font-weight: 800; }
.hb-phone-preview { border: 9px solid #111; border-radius: 38px; padding: 24px; min-height: 570px; background: #fff; }
.hb-progress-row { margin-top: 30px; border: 1px solid var(--hb-border); border-radius: 14px; padding: 22px; display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; text-align: center; }
.hb-progress-row strong { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%; background: var(--hb-purple); color: #fff; display: grid; place-items: center; font-size: 28px; }

.hb-plan-layout { display: grid; grid-template-columns: 1fr .9fr; gap: 30px; }
.hb-plan-config { padding: 24px; }
.hb-slider-line { margin: 24px 20px 34px; height: 5px; background: #d4d6df; position: relative; display: flex; justify-content: space-between; align-items: center; }
.hb-slider-line span { width: 20px; height: 20px; border-radius: 50%; background: #bfc2ce; position: relative; }
.hb-slider-line span:first-child { width: 34px; height: 34px; background: var(--hb-purple); }
.hb-plan-summary { border: 1px solid var(--hb-border); border-radius: 14px; padding: 22px; display: grid; gap: 16px; margin-top: 28px; }
.hb-plan-summary div { display: flex; justify-content: space-between; align-items: center; color: var(--hb-muted); }
.hb-plan-summary strong { color: var(--hb-purple); font-size: 28px; }
.hb-plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.hb-plan-card { padding: 34px; text-align: center; position: relative; }
.hb-plan-card.selected { border: 2px solid var(--hb-purple); }
.hb-plan-card h2 { font-size: 30px; margin: 18px 0 8px; }
.hb-plan-card strong { display: block; color: var(--hb-purple); font-size: 34px; margin: 16px 0; }
.hb-plan-icon { width: 110px; height: 110px; border-radius: 50%; background: #f1e9ff; display: grid; place-items: center; margin: 0 auto; font-size: 48px; color: var(--hb-purple); }

.hb-storefront-topbar { display: flex; max-width: 1180px; margin: 0 auto 18px; justify-content: space-between; align-items: center; }
.hb-storefront-shell { padding-top: 24px; }
.hb-store-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.hb-store-links { display: flex; gap: 12px; margin: 18px 0; }
.hb-url-pill { border: 1px solid var(--hb-purple); border-radius: 8px; padding: 10px 14px; color: var(--hb-purple); font-weight: 800; background: #fff; }
.hb-public-store-frame { padding: 18px; }
.hb-store-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.hb-store-tabs { display: flex; gap: 10px; margin-bottom: 14px; }
.hb-store-tabs span { padding: 8px 13px; border: 1px solid #e2e4ec; border-radius: 7px; font-weight: 700; }
.hb-store-tabs span:first-child { color: var(--hb-purple); background: #f2eaff; }
.hb-product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.hb-product-card { border: 1px solid #e8eaf0; border-radius: 9px; overflow: hidden; background: #fff; }
.hb-product-visual, .hb-product-thumb { min-height: 134px; background: linear-gradient(145deg,#eadfff,#f9f1ec); display: grid; place-items: center; color: var(--hb-purple); font-weight: 800; font-size: 34px; }
.hb-product-copy { padding: 12px; }
.hb-product-copy h3 { margin: 4px 0; font-size: 15px; }
.hb-product-copy p { display: none; }
.hb-product-copy strong { color: var(--hb-purple); font-size: 15px; }
.hb-product-card .hb-btn { margin: 0 12px 12px; padding: 9px; font-size: 13px; }
.hb-product-modal-demo, .hb-modal-card { padding: 28px; border-radius: 14px; }
.hb-modal[hidden], .hb-admin-modal[hidden] { display: none; }
.hb-modal, .hb-admin-modal { position: fixed; inset: 0; z-index: 50; }
.hb-modal-backdrop, .hb-admin-modal-backdrop { position: absolute; inset: 0; background: rgba(10,12,24,.55); }
.hb-modal-card, .hb-admin-modal-panel { position: relative; z-index: 1; max-width: 980px; margin: 5vh auto; background: #fff; border-radius: 14px; padding: 28px; box-shadow: 0 28px 80px rgba(0,0,0,.22); }
.hb-admin-modal-wide { max-width: 1080px; }
.hb-modal-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; }
.hb-product-visual-large { min-height: 280px; border-radius: 12px; }
.hb-modal-x, .hb-modal-close { position: absolute; right: 16px; top: 14px; border: 0; background: #fff; font-size: 32px; }
.hb-modal-price { color: var(--hb-purple); font-size: 24px; font-weight: 800; }
.hb-option-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 18px; }
.hb-option-btn { border: 1px solid #dfe3ed; background: #fff; border-radius: 8px; padding: 10px 12px; font-weight: 700; }
.hb-option-btn.active { border-color: var(--hb-purple); color: var(--hb-purple); background: #f4edff; }

.hb-storefront-topbar { display: none; }
.hb-storefront-shell { padding-top: 32px; }
.hb-storefront-hero-modern { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 22px; align-items: stretch; margin-bottom: 26px; }
.hb-storefront-copy { padding: 28px; border: 1px solid var(--hb-border); border-radius: 24px; background: radial-gradient(circle at top left, #fff 0%, #f9f6ff 45%, #ffffff 100%); box-shadow: var(--hb-shadow); }
.hb-storefront-copy h1 { margin: 12px 0 10px; font-size: clamp(34px, 5vw, 56px); line-height: 1.02; }
.hb-storefront-copy p { margin: 0; color: var(--hb-muted); font-size: 18px; line-height: 1.65; max-width: 56ch; }
.hb-storefront-badge { display: inline-flex; align-items: center; padding: 10px 14px; border-radius: 999px; background: #f3eaff; color: var(--hb-purple); font-weight: 800; font-size: 13px; letter-spacing: .02em; }
.hb-storefront-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hb-storefront-spotlight { display: grid; gap: 16px; }
.hb-spotlight-card { min-height: 132px; border-radius: 22px; padding: 24px; background: linear-gradient(160deg, #0b1523, #0f2032); color: #fff; box-shadow: var(--hb-shadow); display: grid; align-content: end; }
.hb-spotlight-card strong { font-size: 42px; line-height: 1; }
.hb-spotlight-card span { margin-top: 8px; color: rgba(255,255,255,.78); font-weight: 600; }
.hb-customer-toolbar { display: grid; gap: 14px; margin-bottom: 22px; }
.hb-store-search { display: grid; gap: 8px; font-weight: 700; }
.hb-store-search input { width: 100%; border: 1px solid #dfe3ed; border-radius: 14px; padding: 15px 16px; background: #fff; }
.hb-customer-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.hb-filter-chip { border: 1px solid #e1e4ef; background: #fff; color: var(--hb-text); border-radius: 999px; padding: 10px 16px; font-weight: 700; }
.hb-filter-chip.active { border-color: var(--hb-purple); background: #f3eaff; color: var(--hb-purple); }
.hb-customer-catalog { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.hb-customer-product-card { display: grid; grid-template-rows: auto 1fr auto; border: 1px solid #e8eaf0; border-radius: 22px; background: #fff; box-shadow: 0 12px 30px rgba(20, 23, 42, .06); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.hb-customer-product-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(20, 23, 42, .11); }
.hb-customer-product-visual { min-height: 220px; border: 0; background: linear-gradient(145deg, #f5ebff, #fff2e8); color: var(--hb-purple); display: grid; place-items: center; position: relative; font-size: 58px; font-weight: 800; }
.hb-customer-product-visual small { position: absolute; left: 16px; top: 16px; padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.95); color: var(--hb-purple); font-size: 12px; font-weight: 800; }
.hb-customer-product-copy { padding: 18px 18px 10px; }
.hb-customer-product-copy h3 { margin: 0 0 8px; font-size: 20px; }
.hb-customer-product-copy p { margin: 0; color: var(--hb-muted); line-height: 1.6; min-height: 50px; }
.hb-customer-product-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; }
.hb-customer-product-meta strong { color: var(--hb-purple); font-size: 22px; }
.hb-customer-product-meta span { border-radius: 999px; padding: 7px 11px; font-size: 12px; font-weight: 800; }
.hb-customer-product-meta .in-stock { background: #eaf8ef; color: var(--hb-green); }
.hb-customer-product-meta .sold-out { background: #ffe9ed; color: var(--hb-red); }
.hb-customer-product-actions { padding: 0 18px 18px; }
.hb-customer-empty { border: 1px dashed #d7dcec; border-radius: 20px; padding: 34px 22px; text-align: center; background: #fff; }
.hb-customer-empty h2 { margin: 0 0 8px; font-size: 24px; }
.hb-customer-empty p { margin: 0; color: var(--hb-muted); }
.hb-modal-card-customer { max-width: 1120px; padding: 30px; }
.hb-modal-grid-customer { grid-template-columns: minmax(0, 1fr) minmax(320px, .92fr); align-items: start; }
.hb-customer-gallery-main { min-height: 380px; border-radius: 24px; background: linear-gradient(145deg, #f5ebff, #fff1e8); display: grid; place-items: center; color: var(--hb-purple); font-size: 92px; font-weight: 800; }
.hb-customer-gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.hb-customer-gallery-thumbs button { min-height: 78px; border: 1px solid #e1e4ef; border-radius: 16px; background: #fff; color: var(--hb-purple); font-weight: 800; }
.hb-customer-gallery-thumbs button.active { border-color: var(--hb-purple); background: #f3eaff; }
.hb-customer-modal-copy h2 { margin: 0 0 10px; font-size: clamp(28px, 3vw, 40px); }
.hb-customer-modal-copy p { color: var(--hb-muted); line-height: 1.7; }
.hb-customer-qty-block { display: grid; gap: 10px; margin: 12px 0 18px; font-weight: 700; }
.hb-customer-qty-control { display: grid; grid-template-columns: 52px 1fr 52px; gap: 8px; align-items: center; }
.hb-customer-qty-control input { width: 100%; text-align: center; border: 1px solid #dfe3ed; border-radius: 12px; padding: 12px; }
.hb-customer-modal-actions { display: grid; gap: 10px; }
.hb-checkout-grid { display: grid; grid-template-columns: .95fr 1.05fr .85fr; gap: 24px; align-items: start; }
.hb-checkout-panel { padding: 22px; }
.hb-checkout-panel h2 { margin-top: 0; }
.hb-cart-item { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid #eceef4; }
.hb-cart-actions { display: flex; gap: 8px; align-items: center; }
.hb-qty-form { display: flex; gap: 8px; }
.hb-qty-form input { width: 70px; }
.hb-radio-card { border: 1px solid #e1e4ee; border-radius: 9px; padding: 15px; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin-bottom: 12px; }
.hb-radio-card:has(input:checked) { border-color: var(--hb-purple); background: #fbf8ff; }
.hb-summary-rows { display: grid; gap: 12px; }
.hb-summary-rows div { display: flex; justify-content: space-between; }
.hb-summary-total { border-top: 1px solid #e5e7ef; padding-top: 14px; font-size: 24px; color: var(--hb-purple); }
.hb-note-box, .hb-confirm-card { margin-top: 20px; border-radius: 12px; padding: 20px; background: #f2fff7; border: 1px solid #bdebd3; }

.hb-dashboard-body { min-height: 100vh; background: #f6f7fb; }
.hb-admin-shell { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; max-width: 1260px; margin: 0 auto; background: #fff; position: relative; }
.hb-admin-sidebar { margin: 22px 0 22px 20px; border-radius: 16px; background: linear-gradient(180deg,#071522,#081827); color: #fff; padding: 22px 12px; display: flex; flex-direction: column; gap: 20px; }
.hb-admin-menu-toggle, .hb-admin-menu-close { display: none; }
.hb-admin-menu-toggle { position: sticky; top: 14px; z-index: 30; width: fit-content; border: 1px solid #d7daea; background: #fff; color: var(--hb-purple); border-radius: 10px; padding: 10px 14px; font-weight: 800; box-shadow: 0 8px 18px rgba(8, 10, 22, .08); }
.hb-admin-menu-close { margin-left: auto; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; width: 42px; height: 42px; border-radius: 10px; font-size: 28px; line-height: 1; }
.hb-admin-overlay { display: none; }
.hb-admin-logo { padding: 0 10px; display: grid; gap: 4px; }
.hb-admin-logo span { color: #fff; font-size: 16px; }
.hb-admin-logo span span { color: var(--hb-magenta); }
.hb-admin-store { display: flex; gap: 10px; align-items: center; padding: 0 10px; }
.hb-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(180deg,var(--hb-purple),var(--hb-purple-2)); display: grid; place-items: center; font-weight: 800; }
.hb-admin-store a { display: block; color: #d9d3ff; font-size: 12px; margin-top: 4px; }
.hb-admin-nav { display: grid; gap: 8px; }
.hb-admin-nav a { padding: 13px 12px; border-radius: 7px; color: #fff; display: flex; gap: 10px; align-items: center; font-weight: 700; }
.hb-admin-nav a.active { background: linear-gradient(90deg,var(--hb-purple),var(--hb-purple-2)); }
.hb-admin-plan { margin-top: auto; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 14px; display: grid; gap: 8px; }
.hb-admin-plan small { color: #d4dcff; }
.hb-admin-plan a, .hb-admin-logout { border: 1px solid rgba(255,255,255,.2); border-radius: 7px; padding: 10px; color: #fff; text-align: center; background: transparent; }
.hb-admin-main { padding: 28px 28px 40px; }
.hb-admin-title { margin-top: 0; }
.hb-admin-title h1 { font-size: 54px; }
.hb-admin-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-bottom: 18px; }
.hb-admin-kpis article { border: 1px solid var(--hb-border); border-radius: 10px; padding: 20px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
.hb-admin-kpis strong { font-size: 26px; }
.hb-admin-kpis small, .hb-admin-kpis em { color: var(--hb-muted); font-style: normal; }
.hb-admin-kpis em { color: var(--hb-green); font-size: 12px; }
.hb-kpi-icon { grid-row: span 3; width: 46px; height: 46px; border-radius: 50%; background: var(--hb-purple); color: #fff; display: grid; place-items: center; font-weight: 800; }
.hb-kpi-icon.pink { background: var(--hb-magenta); } .hb-kpi-icon.green { background: var(--hb-green); } .hb-kpi-icon.blue { background: var(--hb-blue); }
.hb-admin-grid { display: grid; grid-template-columns: .9fr 1.25fr; gap: 16px; }
.hb-admin-card { padding: 18px; }
.hb-admin-card-wide, .hb-admin-page-card { grid-column: 1 / -1; }
.hb-card-title { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; }
.hb-card-title span { color: var(--hb-purple); font-weight: 800; font-size: 22px; }
.hb-card-title h2 { margin: 0; font-size: 22px; }
.hb-store-summary { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.hb-store-summary div { border: 1px solid #eef0f5; border-radius: 8px; padding: 14px; }
.hb-store-summary small { color: var(--hb-muted); display: block; }
.hb-purple-link { color: var(--hb-purple); font-weight: 800; display: inline-block; margin-top: 14px; }
.hb-mini-product-table { display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: center; }
.hb-mini-product-art { width: 120px; height: 140px; border-radius: 10px; background: #f5e8df; display: grid; place-items: center; color: var(--hb-purple); font-weight: 800; }
.hb-mini-variants { display: grid; gap: 6px; }
.hb-mini-variants div { display: grid; grid-template-columns: 30px 40px 1fr; gap: 8px; align-items: center; }
.ok { color: var(--hb-green); } .bad { color: var(--hb-red); }
.hb-mini-variants em, .hb-order-status { border-radius: 6px; padding: 6px 9px; font-style: normal; font-size: 12px; background: #eaf8ef; color: var(--hb-green); text-align: center; }
.hb-mini-variants .bad + em, .hb-order-status.cancelled { background: #ffe9ed; color: var(--hb-red); }
.hb-order-status.new { background: #fff3da; color: #a76600; } .hb-order-status.processing { background: #eaf1ff; color: #245bc7; } .hb-order-status.completed { background: #eaf8ef; color: var(--hb-green); }
.hb-clean-table { width: 100%; border-collapse: collapse; }
.hb-clean-table th, .hb-clean-table td { padding: 13px 10px; border-bottom: 1px solid #edf0f5; text-align: left; }
.hb-clean-table th { color: var(--hb-muted); font-size: 12px; }
.hb-shipping-preview, .hb-shipping-list-page { display: grid; gap: 10px; }
.hb-shipping-preview div, .hb-shipping-row-card { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; border: 1px solid #edf0f5; border-radius: 8px; padding: 12px; }
.hb-shipping-preview span { color: var(--hb-purple); font-weight: 800; }
.hb-admin-highlight { border: 1px solid #d5bdff; border-radius: 14px; padding: 34px; display: grid; grid-template-columns: 120px 1fr; align-items: center; background: linear-gradient(135deg,#fff,#fbf7ff); }
.hb-highlight-icon { width: 90px; height: 90px; border-radius: 50%; background: var(--hb-purple); color: #fff; display: grid; place-items: center; font-size: 44px; }
.hb-admin-highlight h2 { font-size: 32px; line-height: 1.25; margin: 0; }
.hb-admin-highlight span { color: var(--hb-magenta); }
.hb-list-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 18px; }
.hb-product-admin-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.hb-product-admin-card { border: 1px solid #e7e9f1; border-radius: 12px; padding: 14px; display: grid; gap: 12px; }
.hb-product-admin-copy h3 { margin: 4px 0; }
.hb-product-admin-copy span, .hb-product-admin-copy p { color: var(--hb-muted); }
.hb-product-admin-copy strong { color: var(--hb-purple); }
.hb-product-variant-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.hb-product-variant-pills span { border-radius: 999px; background: #eaf8ef; padding: 6px 8px; font-size: 12px; font-weight: 800; }
.hb-product-variant-pills span.bad { background: #ffe9ed; }
.hb-modal-subhead { display: flex; justify-content: space-between; align-items: center; margin: 16px 0 10px; }
.hb-variant-block { display: grid; gap: 8px; margin-bottom: 18px; }
.hb-variant-row { display: grid; grid-template-columns: 1.2fr repeat(6,1fr); gap: 8px; }
.hb-variant-row.compact input { padding: 10px; font-size: 13px; }
.hb-toggle { display: flex; gap: 8px; align-items: center; font-weight: 800; color: var(--hb-muted); margin: 8px 0; }
.hb-expired-strip { border: 1px solid; border-radius: 12px; padding: 18px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }

@media (max-width: 1080px) {
    .hb-storefront-hero-modern { grid-template-columns: 1fr; }
    .hb-modal-grid-customer { grid-template-columns: 1fr; }
    .hb-customer-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hb-auth-grid, .hb-verify-layout, .hb-plan-layout, .hb-store-hero, .hb-checkout-grid, .hb-admin-grid, .hb-admin-kpis, .hb-product-admin-grid { grid-template-columns: 1fr; }
    .hb-admin-shell { grid-template-columns: 1fr; }
    .hb-admin-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(320px, calc(100vw - 40px));
        margin: 0;
        border-radius: 0 18px 18px 0;
        z-index: 45;
        transform: translateX(-110%);
        transition: transform .24s ease;
        overflow-y: auto;
        box-shadow: 0 18px 44px rgba(0,0,0,.22);
    }
    .hb-admin-main { padding: 22px 18px 34px; }
    .hb-admin-menu-toggle, .hb-admin-menu-close { display: inline-flex; align-items: center; justify-content: center; }
    .hb-dashboard-body.hb-admin-menu-open .hb-admin-sidebar { transform: translateX(0); }
    .hb-dashboard-body.hb-admin-menu-open .hb-admin-overlay { display: block; position: fixed; inset: 0; background: rgba(7, 13, 24, .5); z-index: 40; }
    .hb-feature-cards, .hb-product-grid, .hb-plan-grid { grid-template-columns: repeat(2,1fr); }
    .hb-slide-title h1, .hb-admin-title h1 { font-size: 40px; }
    .hb-slide-number { font-size: 40px; }
}

@media (max-width: 720px) {
    .hb-customer-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .hb-customer-product-visual { min-height: 168px; font-size: 42px; }
    .hb-customer-product-copy { padding: 14px 14px 8px; }
    .hb-customer-product-copy h3 { font-size: 17px; }
    .hb-customer-product-copy p { min-height: 0; font-size: 14px; }
    .hb-customer-product-meta { flex-direction: column; align-items: flex-start; }
    .hb-storefront-actions { display: grid; grid-template-columns: 1fr; }
    .hb-customer-gallery-main { min-height: 260px; font-size: 72px; }
    .hb-customer-gallery-thumbs { grid-template-columns: repeat(2, 1fr); }
    .hb-modal-card-customer { padding: 20px; margin: 2vh auto; }
    .hb-page, .hb-auth-shell, .hb-storefront-shell { padding: 18px; }
    .hb-page::after, .hb-auth-shell::after, .hb-storefront-shell::after { display: none; }
    .hb-brand-word { font-size: 34px; }
    .hb-brand-word small { margin-left: 96px; font-size: 12px; }
    .hb-slide-title { flex-direction: column; }
    .hb-slide-title h1, .hb-admin-title h1 { font-size: 30px; }
    .hb-slide-number { font-size: 30px; }
    .hb-form-grid, .hb-feature-cards, .hb-product-grid, .hb-plan-grid, .hb-progress-row, .hb-store-summary, .hb-modal-grid { grid-template-columns: 1fr; }
    .hb-auth-phone { display: none; }
    .hb-verify-card { grid-template-columns: 1fr; text-align: center; }
    .hb-variant-row, .hb-variant-row.compact { grid-template-columns: 1fr 1fr; }
    .hb-admin-highlight { grid-template-columns: 1fr; gap: 16px; }
    .hb-list-head, .hb-expired-strip { flex-direction: column; align-items: stretch; }
    .hb-admin-menu-toggle { top: 10px; }
}

.hb-flow-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 18px; margin-top: 32px; }
.hb-flow-grid article { border: 1px solid var(--hb-border); border-radius: 14px; padding: 18px; text-align: center; background: #fff; box-shadow: var(--hb-shadow); position: relative; }
.hb-flow-grid article > strong { position: absolute; top: -24px; left: 50%; transform: translateX(-50%); width: 48px; height: 48px; border-radius: 50%; background: var(--hb-purple); color: #fff; display: grid; place-items: center; font-size: 24px; }
.hb-flow-grid h3 { min-height: 48px; font-size: 15px; margin: 18px 0 12px; }
.hb-flow-phone { min-height: 260px; border: 1px solid #e1e4ec; border-radius: 12px; padding: 14px; display: grid; gap: 10px; align-content: center; background: #fff; }
.hb-flow-phone input { border: 1px solid #e1e4ec; border-radius: 6px; padding: 9px; width: 100%; }
.hb-flow-phone button, .hb-pay-mini { border: 0; border-radius: 7px; padding: 10px; color: #fff; background: var(--hb-purple); font-weight: 800; }
.hb-flow-phone.dark { background: var(--hb-sidebar); color: #fff; text-align: left; }
.hb-product-grid.mini { grid-template-columns: 1fr 1fr; }
.hb-product-grid.mini span { height: 64px; border-radius: 8px; background: linear-gradient(145deg,#e9ddff,#f9ede8); }
.hb-flow-band { display: grid; grid-template-columns: repeat(5,1fr); font-size: 15px; }
.hb-auth-single { max-width: 560px; margin: 0 auto; }
.hb-auth-card-narrow { max-width: 520px; margin: 0 auto; }

@media (max-width: 1080px) {
    .hb-storefront-hero-modern { grid-template-columns: 1fr; }
    .hb-modal-grid-customer { grid-template-columns: 1fr; }
    .hb-customer-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hb-flow-grid { grid-template-columns: repeat(3,1fr); } .hb-flow-band { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) {
    .hb-customer-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .hb-customer-product-visual { min-height: 168px; font-size: 42px; }
    .hb-customer-product-copy { padding: 14px 14px 8px; }
    .hb-customer-product-copy h3 { font-size: 17px; }
    .hb-customer-product-copy p { min-height: 0; font-size: 14px; }
    .hb-customer-product-meta { flex-direction: column; align-items: flex-start; }
    .hb-storefront-actions { display: grid; grid-template-columns: 1fr; }
    .hb-customer-gallery-main { min-height: 260px; font-size: 72px; }
    .hb-customer-gallery-thumbs { grid-template-columns: repeat(2, 1fr); }
    .hb-modal-card-customer { padding: 20px; margin: 2vh auto; } .hb-flow-grid { grid-template-columns: 1fr; } .hb-flow-band { grid-template-columns: 1fr; } }

/* Storefront mobile-first refresh */
html { scroll-behavior: smooth; }
.hb-storefront-shell {
    max-width: 1320px;
    padding-top: 20px;
}
.hb-customer-appbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}
.hb-customer-brand-word {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    color: var(--hb-purple);
}
.hb-customer-brand-word span { color: var(--hb-magenta); }
.hb-customer-brand-word small {
    color: #111827;
    font-size: 16px;
    font-weight: 700;
    margin-left: 2px;
}
.hb-customer-appbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.hb-customer-appbar-link {
    color: #16a34a;
    font-weight: 800;
}
.hb-customer-cart-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #e4e7f2;
    border-radius: 999px;
    box-shadow: 0 10px 20px rgba(20, 23, 42, .05);
    font-weight: 800;
}
.hb-customer-cart-chip strong {
    display: inline-grid;
    place-items: center;
    min-width: 26px;
    height: 26px;
    padding: 0 7px;
    background: linear-gradient(180deg, #6417f3, #3b08c7);
    color: #fff;
    border-radius: 999px;
    font-size: 12px;
}
.hb-storefront-hero-modern {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: 20px;
    margin-bottom: 18px;
}
.hb-storefront-copy {
    padding: 24px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, #fff 0%, #f8f2ff 40%, #ffffff 100%),
        linear-gradient(135deg, rgba(100, 23, 243, .06), rgba(242, 11, 106, .04));
}
.hb-storefront-copy p {
    font-size: 17px;
    max-width: 46ch;
}
.hb-storefront-actions { margin-top: 18px; }
.hb-storefront-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}
.hb-storefront-stat {
    padding: 14px 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #ece8f6;
}
.hb-storefront-stat strong {
    display: block;
    font-size: 24px;
    color: var(--hb-purple);
    line-height: 1.05;
}
.hb-storefront-stat span {
    color: var(--hb-muted);
    font-size: 13px;
    font-weight: 700;
}
.hb-storefront-showcase {
    display: grid;
    gap: 14px;
}
.hb-showcase-card {
    border-radius: 28px;
    border: 1px solid #ece8f6;
    box-shadow: var(--hb-shadow);
}
.hb-showcase-primary {
    min-height: 220px;
    padding: 24px;
    color: #fff;
    background: linear-gradient(135deg, #1a1d40 0%, #5b19e4 65%, #f20b6a 100%);
    display: grid;
    align-content: end;
    gap: 10px;
}
.hb-showcase-kicker {
    display: inline-flex;
    width: max-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    font-size: 12px;
    font-weight: 800;
}
.hb-showcase-primary strong {
    font-size: 34px;
    line-height: 1.05;
}
.hb-showcase-primary p {
    margin: 0;
    color: rgba(255,255,255,.88);
}
.hb-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.hb-showcase-mini {
    min-height: 110px;
    padding: 14px;
    border-radius: 20px;
    background: linear-gradient(145deg, #f5ebff, #fff2e8);
    border: 1px solid #efe5fa;
    display: grid;
    align-content: space-between;
}
.hb-showcase-mini span {
    font-size: 28px;
    font-weight: 800;
    color: var(--hb-purple);
}
.hb-showcase-mini small {
    color: var(--hb-muted);
    font-weight: 700;
}
.hb-customer-toolbar {
    gap: 12px;
    margin-bottom: 14px;
}
.hb-store-search span {
    display: none;
}
.hb-store-search input {
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 8px 18px rgba(20, 23, 42, .04);
}
.hb-customer-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}
.hb-customer-filters::-webkit-scrollbar { display: none; }
.hb-filter-chip {
    white-space: nowrap;
    padding: 11px 16px;
    border-radius: 14px;
}
.hb-customer-catalog-wrap {
    padding-bottom: 8px;
}
.hb-customer-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 14px;
}
.hb-customer-section-head h2 {
    margin: 0;
    font-size: 26px;
}
.hb-customer-section-head p {
    margin: 6px 0 0;
    color: var(--hb-muted);
}
.hb-customer-section-head a {
    color: var(--hb-purple);
    font-weight: 800;
    white-space: nowrap;
}
.hb-customer-catalog {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.hb-customer-product-card {
    border-radius: 20px;
}
.hb-customer-product-visual {
    min-height: 188px;
    font-size: 50px;
}
.hb-customer-product-copy {
    padding: 16px 16px 8px;
}
.hb-customer-product-copy h3 {
    font-size: 18px;
}
.hb-customer-product-copy p {
    min-height: 42px;
    font-size: 14px;
}
.hb-customer-product-meta {
    margin-top: 12px;
}
.hb-customer-product-meta strong {
    font-size: 20px;
}
.hb-customer-product-actions {
    padding: 0 16px 16px;
}
.hb-customer-product-actions .hb-btn {
    min-height: 48px;
}
.hb-customer-empty {
    margin-bottom: 90px;
}
.hb-modal-card-customer {
    max-width: 1040px;
    padding: 24px;
    border-radius: 26px;
}
.hb-customer-gallery-main {
    min-height: 340px;
    border-radius: 22px;
}
.hb-customer-gallery-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hb-customer-bottom-nav {
    display: none;
}

@media (max-width: 1080px) {
    .hb-storefront-shell {
        padding: 18px 18px 94px;
    }
    .hb-storefront-hero-modern {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .hb-storefront-copy,
    .hb-showcase-primary {
        padding: 20px;
    }
    .hb-showcase-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .hb-customer-section-head {
        align-items: center;
    }
    .hb-customer-catalog {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
    .hb-modal-grid-customer {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .hb-customer-bottom-nav {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 40;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        padding: 10px;
        background: rgba(255, 255, 255, .94);
        border: 1px solid rgba(226, 230, 240, .95);
        border-radius: 20px;
        box-shadow: 0 18px 40px rgba(20, 23, 42, .12);
        backdrop-filter: blur(14px);
    }
    .hb-customer-bottom-nav a {
        position: relative;
        min-height: 54px;
        padding: 8px 6px;
        border-radius: 14px;
        display: grid;
        place-items: center;
        text-align: center;
        color: var(--hb-muted);
        font-size: 12px;
        font-weight: 800;
        background: transparent;
    }
    .hb-customer-bottom-nav a.active {
        color: var(--hb-purple);
        background: #f3eaff;
    }
    .hb-customer-bottom-nav a strong {
        position: absolute;
        top: 5px;
        right: 8px;
        min-width: 20px;
        height: 20px;
        padding: 0 5px;
        border-radius: 999px;
        background: linear-gradient(180deg, #6417f3, #3b08c7);
        color: #fff;
        font-size: 11px;
        display: inline-grid;
        place-items: center;
    }
}

@media (max-width: 720px) {
    .hb-public-body, .hb-storefront-body {
        padding: 0;
        background: #f3f4f8;
    }
    .hb-page, .hb-auth-shell, .hb-storefront-shell {
        min-height: 100vh;
        border-radius: 0;
        border: 0;
        box-shadow: none;
        padding: 14px 14px 96px;
    }
    .hb-storefront-shell::after {
        display: none;
    }
    .hb-customer-appbar {
        gap: 10px;
        margin-bottom: 14px;
    }
    .hb-customer-brand-word {
        font-size: 28px;
    }
    .hb-customer-brand-word small {
        font-size: 13px;
    }
    .hb-customer-appbar-actions {
        gap: 8px;
    }
    .hb-customer-appbar-link {
        font-size: 13px;
    }
    .hb-customer-cart-chip {
        padding: 8px 10px;
        font-size: 13px;
    }
    .hb-customer-cart-chip span {
        display: none;
    }
    .hb-storefront-copy {
        padding: 18px;
        border-radius: 22px;
    }
    .hb-storefront-copy h1 {
        font-size: 34px;
    }
    .hb-storefront-copy p {
        font-size: 15px;
        line-height: 1.55;
    }
    .hb-storefront-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .hb-storefront-actions .hb-btn {
        min-height: 46px;
        padding: 12px;
        font-size: 14px;
    }
    .hb-storefront-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }
    .hb-storefront-stat {
        padding: 12px;
        border-radius: 16px;
    }
    .hb-storefront-stat strong {
        font-size: 18px;
    }
    .hb-storefront-stat span {
        font-size: 11px;
    }
    .hb-showcase-primary {
        min-height: 150px;
        padding: 18px;
        border-radius: 22px;
    }
    .hb-showcase-primary strong {
        font-size: 26px;
    }
    .hb-showcase-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }
    .hb-showcase-mini {
        min-height: 84px;
        padding: 10px;
        border-radius: 16px;
    }
    .hb-showcase-mini span {
        font-size: 20px;
    }
    .hb-showcase-mini small {
        font-size: 10px;
        line-height: 1.2;
    }
    .hb-store-search input {
        padding: 12px 14px;
        border-radius: 14px;
    }
    .hb-filter-chip {
        padding: 9px 14px;
        border-radius: 12px;
        font-size: 13px;
    }
    .hb-customer-section-head {
        margin-bottom: 12px;
    }
    .hb-customer-section-head h2 {
        font-size: 22px;
    }
    .hb-customer-section-head p,
    .hb-customer-section-head a {
        display: none;
    }
    .hb-customer-catalog {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .hb-customer-product-card {
        border-radius: 16px;
    }
    .hb-customer-product-visual {
        min-height: 130px;
        font-size: 34px;
    }
    .hb-customer-product-visual small {
        top: 10px;
        left: 10px;
        padding: 5px 8px;
        font-size: 10px;
    }
    .hb-customer-product-copy {
        padding: 12px 12px 6px;
    }
    .hb-customer-product-copy h3 {
        font-size: 15px;
        line-height: 1.25;
    }
    .hb-customer-product-copy p {
        display: none;
    }
    .hb-customer-product-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-top: 10px;
    }
    .hb-customer-product-meta strong {
        font-size: 17px;
    }
    .hb-customer-product-meta span {
        font-size: 10px;
        padding: 6px 8px;
    }
    .hb-customer-product-actions {
        padding: 0 12px 12px;
    }
    .hb-customer-product-actions .hb-btn {
        min-height: 42px;
        padding: 10px;
        font-size: 13px;
        border-radius: 12px;
    }
    .hb-modal-card-customer {
        padding: 16px;
        margin: 1.2vh auto;
        border-radius: 22px;
    }
    .hb-customer-gallery-main {
        min-height: 220px;
        font-size: 64px;
        border-radius: 18px;
    }
    .hb-customer-gallery-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }
    .hb-customer-gallery-thumbs button {
        min-height: 62px;
        border-radius: 12px;
    }
}

@media (max-width: 520px) {
    .hb-storefront-actions {
        grid-template-columns: 1fr;
    }
    .hb-storefront-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .hb-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hb-customer-catalog {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .hb-customer-bottom-nav {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 8px;
    }
    .hb-customer-bottom-nav a {
        min-height: 50px;
        font-size: 11px;
    }
}
.hb-product-thumb-real {
    overflow: hidden;
    display: grid;
    place-items: center;
    background: #f6f7fb;
}
.hb-product-thumb-real img,
.hb-customer-product-visual img,
.hb-showcase-mini img,
.hb-showcase-primary-image,
.hb-customer-gallery-main img,
.hb-customer-gallery-thumbs img,
.hb-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hb-customer-product-visual {
    overflow: hidden;
}
.hb-customer-gallery-main {
    overflow: hidden;
}
.hb-customer-gallery-thumbs button {
    overflow: hidden;
    padding: 0;
}
.hb-showcase-primary {
    position: relative;
    overflow: hidden;
}
.hb-showcase-primary-image {
    position: absolute;
    right: 18px;
    bottom: 0;
    width: 42%;
    height: 88%;
    object-fit: contain;
    filter: drop-shadow(0 16px 34px rgba(10, 14, 30, .24));
}
.hb-showcase-primary strong,
.hb-showcase-primary p,
.hb-showcase-primary .hb-showcase-kicker {
    position: relative;
    z-index: 1;
    max-width: 58%;
}
.hb-showcase-mini {
    overflow: hidden;
}
.hb-showcase-mini img {
    border-radius: 12px;
    height: 64px;
}
.hb-product-image-stack {
    display: grid;
    gap: 14px;
    margin: 18px 0 22px;
}
.hb-product-image-stack small {
    color: var(--hb-muted);
}
.hb-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
}
.hb-image-card {
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid #e5e8f1;
    border-radius: 14px;
    background: #fff;
}
.hb-image-card img {
    height: 124px;
    border-radius: 10px;
}
.hb-image-card small {
    font-size: 12px;
    line-height: 1.35;
    word-break: break-word;
}
.hb-image-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
}
.hb-image-card-meta.danger {
    color: var(--hb-red);
}
.hb-image-card.is-disabled {
    opacity: .55;
}
@media (max-width: 720px) {
    .hb-showcase-primary-image {
        width: 38%;
        height: 70%;
        right: 10px;
    }
    .hb-showcase-primary strong,
    .hb-showcase-primary p,
    .hb-showcase-primary .hb-showcase-kicker {
        max-width: 64%;
    }
    .hb-image-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hb-image-card img {
        height: 96px;
    }
}

/* 2026-07 storefront, orders, proof and full-width overrides */
.hb-public-body,
.hb-auth-body,
.hb-storefront-body {
    background: #f4f5f7;
}

.hb-storefront-body {
    padding: 0;
}

.hb-storefront-topbar {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 16px clamp(16px, 3vw, 40px);
    border-bottom: 1px solid #e7e8ec;
    background: rgba(255,255,255,.96);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
}

.hb-storefront-shell {
    max-width: none;
    width: 100%;
    min-height: calc(100vh - 73px);
    margin: 0;
    padding: 24px clamp(16px, 3vw, 40px) 108px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #f4f5f7;
}

.hb-storefront-shell::after,
.hb-page::after,
.hb-auth-shell::after {
    display: none;
}

.hb-storefront-hero-modern {
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, .9fr);
    gap: 20px;
}

.hb-storefront-copy,
.hb-showcase-card,
.hb-showcase-mini,
.hb-customer-toolbar,
.hb-customer-catalog-wrap,
.hb-checkout-panel,
.hb-confirm-card,
.hb-order-tracking-page .hb-proof-upload-panel,
.hb-admin-card,
.hb-admin-kpis article,
.hb-radio-card {
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid #e7e8ec;
    box-shadow: 0 12px 30px rgba(19, 24, 35, .06);
}

.hb-storefront-copy h1,
.hb-page-heading h1,
.hb-admin-titlebar h1 {
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.02;
}

.hb-storefront-badge,
.hb-filter-chip.active,
.hb-nav-badge,
.hb-info-pill,
.hb-proof-badge,
.hb-order-status,
.hb-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    font-weight: 700;
}

.hb-storefront-badge,
.hb-filter-chip.active,
.hb-nav-badge,
.hb-kicker {
    background: #efe8ff;
    color: #5a28d9;
}

.hb-nav-badge {
    padding: 2px 8px;
    font-size: 12px;
}

.hb-proof-badge {
    padding: 7px 12px;
    font-size: 12px;
    background: #fff4d9;
    color: #8a5900;
}

.hb-proof-badge.submitted,
.hb-proof-badge.approved {
    background: #eaf8ef;
    color: #1d7a44;
}

.hb-proof-badge.requested,
.hb-proof-badge.rejected {
    background: #ffe8ec;
    color: #b23652;
}

.hb-order-status {
    padding: 7px 12px;
    background: #fff4d9;
    color: #8a5900;
}

.hb-order-status.accepted,
.hb-order-status.processing {
    background: #eaf0ff;
    color: #2d58c6;
}

.hb-order-status.shipping {
    background: #e6f7fb;
    color: #06698b;
}

.hb-order-status.delivered,
.hb-order-status.completed {
    background: #eaf8ef;
    color: #1d7a44;
}

.hb-order-status.cancelled {
    background: #ffe8ec;
    color: #b23652;
}

.hb-customer-catalog {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.hb-customer-product-card {
    border-radius: 18px;
}

.hb-customer-product-visual {
    min-height: 260px;
    background: #f6f7f9;
}

.hb-customer-product-visual img,
.hb-showcase-primary-image,
.hb-showcase-mini img,
.hb-customer-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hb-checkout-page,
.hb-order-tracking-page {
    display: grid;
    gap: 20px;
}

.hb-page-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 6px;
}

.hb-page-heading p {
    margin: 8px 0 0;
    color: #5d6473;
    max-width: 62ch;
}

.hb-checkout-grid-3 {
    grid-template-columns: minmax(300px, .95fr) minmax(340px, 1.15fr) minmax(300px, .9fr);
    gap: 18px;
}

.hb-confirm-card-wide {
    padding: 28px;
    border-radius: 22px;
}

.hb-order-status-hero,
.hb-checkout-review-grid,
.hb-proof-actions,
.hb-orders-head-stats,
.hb-order-actions,
.hb-admin-form-grid,
.hb-admin-titlebar {
    display: grid;
    gap: 14px;
}

.hb-order-status-hero {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 22px 0;
}

.hb-checkout-review-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .9fr);
    margin-top: 10px;
}

.hb-proof-upload-panel {
    margin-top: 18px;
    padding: 22px;
    border-radius: 18px;
}

.hb-proof-ok {
    border-color: #caebd5;
}

.hb-proof-actions {
    grid-template-columns: repeat(auto-fit, minmax(180px, max-content));
    align-items: center;
    margin-top: 14px;
}

.hb-cart-item-static {
    align-items: center;
}

.hb-cart-item-amounts {
    text-align: right;
}

.hb-admin-titlebar {
    grid-template-columns: 1fr auto;
    align-items: center;
    margin-bottom: 18px;
}

.hb-admin-titlebar p {
    margin: 8px 0 0;
    color: #5d6473;
}

.hb-admin-alert-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    margin-bottom: 18px;
    border-radius: 14px;
    border: 1px solid #e8ddff;
    background: #faf8ff;
}

.hb-orders-head-stats {
    grid-auto-flow: column;
    align-items: center;
}

.hb-info-pill {
    padding: 9px 12px;
    background: #f3f4f7;
    color: #202530;
}

.hb-inline-form,
.hb-order-actions {
    display: grid;
    gap: 8px;
}

.hb-inline-form select,
.hb-field select,
.hb-inline-form button,
.hb-inline-form input {
    min-height: 42px;
}

.hb-order-actions .hb-btn,
.hb-order-actions form {
    width: 100%;
}

.hb-order-actions form .hb-btn {
    width: 100%;
}

.hb-store-settings-form {
    gap: 18px;
}

.hb-admin-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hb-field-full {
    grid-column: 1 / -1;
}

.hb-customer-bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 25;
    width: min(520px, calc(100vw - 24px));
    background: rgba(255,255,255,.96);
    border: 1px solid #e5e8ee;
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(19, 24, 35, .12);
}

@media (max-width: 1180px) {
    .hb-checkout-grid-3,
    .hb-checkout-review-grid,
    .hb-order-status-hero,
    .hb-admin-form-grid,
    .hb-storefront-hero-modern,
    .hb-admin-titlebar {
        grid-template-columns: 1fr;
    }

    .hb-orders-head-stats {
        grid-auto-flow: row;
    }
}

@media (max-width: 860px) {
    .hb-storefront-shell {
        padding: 18px 14px 96px;
    }

    .hb-customer-catalog {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .hb-customer-product-visual {
        min-height: 170px;
    }

    .hb-orders-table th:nth-child(4),
    .hb-orders-table td:nth-child(4),
    .hb-orders-table th:nth-child(6),
    .hb-orders-table td:nth-child(6) {
        display: none;
    }
}

@media (max-width: 640px) {
    .hb-storefront-topbar {
        padding: 14px;
    }

    .hb-storefront-nav {
        display: none;
    }

    .hb-customer-catalog {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hb-customer-product-copy h3 {
        font-size: 16px;
    }

    .hb-proof-actions,
    .hb-order-actions,
    .hb-admin-form-grid {
        grid-template-columns: 1fr;
    }

    .hb-clean-table,
    .hb-clean-table thead,
    .hb-clean-table tbody,
    .hb-clean-table tr,
    .hb-clean-table th,
    .hb-clean-table td {
        display: block;
        width: 100%;
    }

    .hb-clean-table thead {
        display: none;
    }

    .hb-clean-table tr {
        padding: 14px 0;
        border-bottom: 1px solid #edf0f5;
    }

    .hb-clean-table td {
        border: 0;
        padding: 6px 0;
    }
}
.hb-showcase-primary-fallback {
    min-height: 220px;
    margin-top: 18px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: #f4f6fa;
    color: #5a28d9;
    font-size: clamp(56px, 9vw, 104px);
    font-weight: 800;
}
.hb-order-tracking-compact {
    min-height: calc(100vh - 150px);
    align-items: start;
}

.hb-confirm-card-compact {
    display: grid;
    gap: 18px;
    max-height: calc(100vh - 170px);
    overflow: hidden;
}

.hb-order-status-hero-compact {
    margin: 0;
}

.hb-tracking-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hb-track-card {
    border: 1px solid #e7e8ec;
    border-radius: 18px;
    background: #fff;
    padding: 18px;
    text-align: left;
    display: grid;
    gap: 6px;
    box-shadow: 0 10px 26px rgba(19, 24, 35, .06);
}

.hb-track-card small {
    color: #6a7281;
    font-weight: 700;
}

.hb-track-card strong {
    font-size: 20px;
    color: #141823;
}

.hb-track-card span {
    color: #5d6473;
    font-size: 14px;
}

.hb-track-card.is-pending {
    border-color: #f0d9a4;
    background: #fffaf0;
}

.hb-track-card.is-ready {
    border-color: #cde8d7;
    background: #f5fff8;
}

.hb-proof-actions-inline {
    margin-top: 0;
}

.hb-modal-card-compact {
    max-width: 820px;
    max-height: 84vh;
    overflow: auto;
}

.hb-store-summary-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hb-proof-upload-panel-modal {
    margin-top: 0;
    border: 0;
    box-shadow: none;
    padding: 0;
}

@media (max-width: 980px) {
    .hb-confirm-card-compact {
        max-height: none;
        overflow: visible;
    }

    .hb-tracking-actions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hb-store-summary-compact {
        grid-template-columns: 1fr;
    }
}
