/* Customer storefront. Shared administrator styles are unchanged. */
body.storefront {
  --sf-bg-light: #f5f7fa;
  --sf-surface-light: #fff;
  --sf-text-light: #202b3c;
  --sf-muted-light: #657387;
  --sf-border-light: #e5eaf0;
  --sf-primary-light: #007f79;
  --sf-primary-hover-light: #006b65;
  --sf-soft: #e7f5f3;
  --text-primary: var(--sf-text-light);
  --text-secondary: var(--sf-muted-light);
  --text-muted: var(--sf-muted-light);
  --bg-primary: var(--sf-bg-light);
  --bg-surface: var(--sf-surface-light);
  --bg-elevated: var(--sf-bg-light);
  --bg-hover: var(--sf-soft);
  --border-subtle: var(--sf-border-light);
  --border-strong: var(--sf-border-light);
  --border-focus: var(--sf-primary-light);
  --accent-brand: var(--sf-primary-light);
  --accent-brand-hover: var(--sf-primary-hover-light);
  --accent-brand-text: var(--sf-primary-light);
  --accent-brand-light: var(--sf-soft);
  background: var(--bg-primary);
  color: var(--text-primary);
}
[data-theme="dark"] body.storefront {
  --sf-bg-light: #111821;
  --sf-surface-light: #19222e;
  --sf-text-light: #e9eff6;
  --sf-muted-light: #a4b3c5;
  --sf-border-light: #2c3949;
  --sf-primary-light: #6dd7c9;
  --sf-primary-hover-light: #92e3d9;
  --sf-soft: #203b3c;
}
body.storefront [hidden] {display:none!important}
body.storefront a[aria-disabled="true"] {opacity:.6;cursor:not-allowed;pointer-events:none}
body.storefront a[aria-disabled="false"] {opacity:1;cursor:pointer;pointer-events:auto}
body.storefront :is(a,button,input,summary):focus-visible {outline:3px solid var(--accent-brand);outline-offset:3px}
body.storefront .navbar {
  padding:16px max(24px,calc((100% - 1200px)/2));
  min-height:72px;gap:24px;box-shadow:none;background:var(--bg-surface);
  border-bottom:1px solid var(--border-subtle);
}
body.storefront .nav-brand {font-size:18px;gap:10px;color:var(--text-primary);white-space:nowrap}
body.storefront .nav-brand-logo {
  width:36px;height:36px;border-radius:10px;background:var(--sf-soft);color:var(--accent-brand);
  font-size:15px;font-weight:800;
}
body.storefront .nav-links {gap:8px}
body.storefront .nav-link {padding:9px 14px;border-radius:8px;color:var(--text-secondary)}
body.storefront .nav-link.active,body.storefront .nav-link:hover {background:var(--sf-soft);color:var(--accent-brand)}
body.storefront .theme-toggle-btn {border-radius:8px;background:var(--bg-surface);min-height:36px;white-space:nowrap}
body.storefront .mobile-sub-nav {background:var(--bg-surface);border-color:var(--border-subtle)}
body.storefront .mobile-sub-nav a {padding:8px;color:var(--text-secondary)}
body.storefront .mobile-sub-nav a.active {color:var(--accent-brand);background:var(--sf-soft);border-radius:6px}
body.storefront .main-container {max-width:1240px;padding:26px 20px 40px}
body.storefront #channelNotice {
  background:transparent;border:0;border-radius:0;box-shadow:none;
  padding:0;margin:0 0 18px;font-size:12px;line-height:1.6;color:var(--text-secondary);
}
body.storefront .sf-load-status {display:flex;align-items:center;gap:12px;margin-bottom:18px;font-size:13px;color:var(--text-secondary)}
body.storefront .sf-load-status .btn {padding:6px 12px;font-size:12px}
body.storefront .card {border:1px solid var(--border-subtle);border-radius:12px;box-shadow:none;background:var(--bg-surface)}
body.storefront .btn {border-radius:8px;box-shadow:none;font-weight:600}
body.storefront .btn-primary {background:var(--accent-brand);border:1px solid var(--accent-brand);color:white}
body.storefront .btn-primary:hover {background:var(--accent-brand-hover);border-color:var(--accent-brand-hover);box-shadow:none}
[data-theme="dark"] body.storefront .btn-primary {color:#102723}
body.storefront .btn-secondary {background:var(--bg-surface);border:1px solid var(--border-subtle);color:var(--text-secondary)}
body.storefront .btn-secondary:hover {background:var(--sf-soft);border-color:var(--accent-brand);color:var(--accent-brand)}
body.storefront .form-control {background:var(--bg-surface);border:1px solid var(--border-subtle);color:var(--text-primary);border-radius:8px}
body.storefront .form-control:focus {border-color:var(--accent-brand);box-shadow:0 0 0 2px var(--sf-soft)}
body.storefront .badge-brand {background:var(--sf-soft);color:var(--accent-brand)}
body.storefront .price-currency,body.storefront .price-num {color:var(--accent-brand)}
body.storefront .sf-text-link {font-size:13px;color:var(--accent-brand);text-decoration:none}
body.storefront .sf-text-link:hover {text-decoration:underline}
body.storefront .footer {padding:20px;background:var(--bg-surface);border-top:1px solid var(--border-subtle);font-size:12px;color:var(--text-secondary)}
.sf-catalog-heading {display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px}
.sf-session-orders {max-width:680px;margin:0 auto 20px;align-items:center;gap:12px;font-size:13px;color:var(--text-secondary)}
.sf-session-orders select {max-width:100%;margin-top:8px}
.sf-catalog-heading h1 {font-size:22px;font-weight:700}
.sf-search {display:flex;align-items:center;gap:8px;width:360px;max-width:100%}
.sf-search .form-control {min-width:0;flex:1;height:40px;font-size:13px}
.sf-search .btn {padding:9px 16px;white-space:nowrap;font-size:13px}
.category-tabs {display:flex;gap:8px;margin-bottom:24px;flex-wrap:wrap}
body.storefront .category-tab {padding:8px 16px;border:1px solid var(--border-subtle);border-radius:8px;background:var(--bg-surface);color:var(--text-secondary);font:inherit;font-size:13px;cursor:pointer}
body.storefront .category-tab.active {border-color:var(--accent-brand);background:var(--sf-soft);color:var(--accent-brand);font-weight:600}
.product-grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px;align-items:start}
body.storefront .sf-catalog-page {width:100%}
body.storefront .product-pricing-card {padding:0;overflow:hidden}
body.storefront .sf-product-art {display:flex;align-items:center;justify-content:center;height:150px;background:var(--sf-soft);text-decoration:none}
.sf-product-mark {display:grid;place-items:center;width:64px;height:64px;border-radius:16px;background:var(--bg-surface);color:var(--accent-brand);font-size:26px;font-weight:800}
.sf-product-info {padding:18px}
.sf-product-title {font-size:16px;line-height:1.6;font-weight:700;overflow-wrap:anywhere}
.sf-product-subtitle {margin-top:6px;font-size:12px;color:var(--text-secondary);line-height:1.6;overflow-wrap:anywhere}
.sf-price {display:flex;align-items:baseline;flex-wrap:wrap;gap:3px;margin:16px 0}
body.storefront .sf-price .price-currency {font-size:14px}
body.storefront .sf-price .price-num {font-size:26px;line-height:1.3}
.sf-period {font-size:12px;color:var(--text-secondary);margin-left:4px}
body.storefront .sf-product-info .action-grid {gap:8px}
body.storefront .sf-product-info .btn {padding:9px 8px;font-size:12px}
.empty-state {padding:60px 16px;text-align:center;color:var(--text-secondary)}
.empty-state h3 {font-size:16px;margin-bottom:8px;font-weight:600}
.empty-state p {font-size:13px}
body.storefront.sf-detail-page .main-container {max-width:940px}
.sf-back {display:inline-block;margin-bottom:20px;font-size:13px;color:var(--text-secondary);text-decoration:none}
body.storefront .sf-detail-card {display:grid;grid-template-columns:260px minmax(0,1fr);gap:32px;padding:28px;align-items:center}
.sf-detail-art {display:grid;place-items:center;height:240px;border-radius:10px;background:var(--sf-soft)}
.sf-detail-art .sf-product-mark {width:88px;height:88px;font-size:36px;border-radius:22px}
.sf-detail-info {min-width:0}
.sf-detail-info h1 {font-size:24px;line-height:1.5;margin:10px 0 6px;overflow-wrap:anywhere}
.sf-detail-subtitle {font-size:13px;line-height:1.7;color:var(--text-secondary);overflow-wrap:anywhere}
.sf-detail-price {display:flex;align-items:baseline;flex-wrap:wrap;gap:4px;margin-top:20px}
body.storefront .sf-detail-price .price-num {font-size:34px}
body.storefront .sf-detail-price .price-currency {font-size:18px}
.sf-detail-info .price-orig {display:block;margin-bottom:20px;font-size:12px}
.sf-detail-info>.btn {display:block;width:100%;text-align:center}
.sf-detail-info>.sf-text-link {display:inline-block;margin-top:14px}
body.storefront .sf-product-description {margin-top:20px;padding:26px}
.sf-product-description h2 {font-size:17px;margin-bottom:20px}
.sf-product-description dl>div {display:grid;grid-template-columns:80px minmax(0,1fr);gap:16px;margin-bottom:16px;font-size:13px;line-height:1.8}
.sf-product-description dt {color:var(--text-secondary)}
.sf-product-description dd {margin:0;overflow-wrap:anywhere}
body.storefront.sf-guide-page .main-container {max-width:820px}
body.storefront .sf-guide {padding:32px}
.sf-guide h1 {font-size:24px;margin-bottom:28px}
.sf-guide-steps {list-style:none;counter-reset:guide}
.sf-guide-steps li {position:relative;padding:0 0 24px 42px;counter-increment:guide}
.sf-guide-steps li:last-child {padding-bottom:0}
.sf-guide-steps li::before {content:counter(guide);position:absolute;left:0;top:0;width:28px;height:28px;display:grid;place-items:center;background:var(--sf-soft);color:var(--accent-brand);border-radius:8px;font-size:13px;font-weight:700}
.sf-guide-steps h2 {font-size:15px;margin-bottom:8px}
.sf-guide-steps p {font-size:13px;color:var(--text-secondary);line-height:1.9}
.sf-guide-steps a {color:var(--accent-brand)}
@media(max-width:768px) {
  body.storefront .navbar {padding:14px 20px;gap:12px}
  body.storefront .nav-links {display:none}
  body.storefront .mobile-sub-nav {display:flex;gap:10px;padding:4px 12px}
}
@media(max-width:640px) {
  body.storefront .main-container {padding:20px 16px 32px}
  .sf-catalog-heading {flex-direction:column;align-items:stretch;gap:16px}
  .sf-search {width:100%}
  .product-grid {grid-template-columns:minmax(0,1fr)}
  body.storefront .sf-product-art {height:140px}
  .sf-product-info {padding:18px}
  body.storefront .sf-detail-card {grid-template-columns:minmax(0,1fr);padding:20px;gap:20px}
  .sf-detail-art {height:150px}
  .sf-detail-art .sf-product-mark {width:68px;height:68px;font-size:28px}
  .sf-detail-info h1 {font-size:22px}
  body.storefront .sf-product-description,body.storefront .sf-guide {padding:22px}
  .sf-product-description dl>div {grid-template-columns:68px minmax(0,1fr);gap:10px}
  .sf-load-status {flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce) {body.storefront *,body.storefront *::before {animation:none!important;transition:none!important}}

/* Catalog: primary navigation, category sidebar and product variants. */
body.sf-catalog-page .main-container {max-width:1400px;padding-top:38px;min-height:calc(100vh - 150px)}
.sf-catalog-page .sf-eyebrow {font-size:10px;font-weight:800;letter-spacing:1.5px;color:var(--accent-brand);margin:0 0 8px;line-height:1.5}
.sf-catalog-page .sf-catalog-heading {align-items:flex-end;margin-bottom:26px}
.sf-catalog-page .sf-catalog-heading h1 {font-size:36px;line-height:1.25;letter-spacing:-1px}
.sf-catalog-caption {font-size:13px;color:var(--text-secondary);margin-top:9px}
.sf-catalog-page .sf-search {width:440px}
.sf-catalog-page .sf-search .form-control {height:48px;border-radius:13px;padding:12px 16px;box-shadow:0 6px 24px rgb(22 40 65 / 4%)}
.sf-catalog-page .sf-search .btn {height:48px;padding:10px 18px;border-radius:12px}
.sf-catalog-layout {display:grid;grid-template-columns:244px minmax(0,1fr);gap:24px;align-items:start}
.sf-category-panel {position:sticky;top:96px;border:1px solid var(--border-subtle);border-radius:18px;background:var(--bg-surface);box-shadow:0 8px 32px rgb(22 40 65 / 3%);overflow:hidden}
.sf-category-heading {padding:24px 22px 20px;border-bottom:1px solid var(--border-subtle)}
.sf-category-heading h2 {font-size:20px;line-height:1.4}
.sf-catalog-page .category-tabs {display:flex;flex-direction:column;gap:6px;padding:12px;margin:0}
body.sf-catalog-page .category-tab {display:flex;align-items:center;gap:12px;text-align:left;padding:12px 10px;min-height:56px;border:1px solid transparent;border-radius:12px;background:transparent;font-size:13px}
body.sf-catalog-page .category-tab:hover {background:var(--sf-soft)}
body.sf-catalog-page .category-tab.active {border-color:var(--accent-brand);background:var(--sf-soft);color:var(--text-primary)}
.sf-category-icon {display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border-radius:10px;background:var(--bg-primary);font-size:16px;font-weight:700;color:var(--accent-brand)}
.sf-category-label {flex:1;white-space:nowrap}
.sf-category-count {display:grid;place-items:center;min-width:25px;padding:2px 7px;border-radius:20px;background:var(--bg-primary);color:var(--text-secondary);font-size:10px}
.sf-catalog-results {min-width:0}
.sf-results-heading {display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 20px;min-height:64px}
.sf-results-heading h2 {font-size:22px;line-height:1.3}
.sf-catalog-count {font-size:12px;color:var(--text-secondary);white-space:nowrap}
.sf-catalog-page .product-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body.sf-catalog-page .product-pricing-card {border-radius:17px;transition:border-color .18s,box-shadow .18s}
body.sf-catalog-page .product-pricing-card:hover {border-color:var(--accent-brand);box-shadow:0 12px 32px rgb(22 40 65 / 7%)}
body.sf-catalog-page .sf-product-art {position:relative;height:132px;justify-content:flex-start;padding:24px;background:linear-gradient(120deg,var(--sf-soft),var(--bg-surface))}
.sf-catalog-page .sf-product-mark {width:62px;height:62px;border-radius:17px;font-size:20px;border:1px solid var(--border-subtle)}
.sf-product-plan {position:absolute;right:18px;top:20px;font-size:10px;font-weight:700;letter-spacing:1px;color:var(--accent-brand)}
.sf-catalog-page .sf-product-info {padding:20px}
.sf-catalog-page .sf-product-title {font-size:17px}
.sf-catalog-page .sf-product-subtitle {min-height:38px}
.sf-catalog-page .sf-price {margin:18px 0}
.sf-catalog-page .sf-product-info .action-grid {display:grid;grid-template-columns:1fr 1fr}
.sf-catalog-page .sf-product-info .action-grid .btn:first-child {grid-column:1/-1;padding:11px 8px;font-size:13px}
.sf-catalog-page .empty-state {padding:64px 20px}
.sf-empty-icon {font-size:48px;line-height:1;margin-bottom:20px;color:var(--accent-brand)}
.sf-catalog-page .empty-state .btn {margin-top:24px}
body.sf-catalog-page .store-icon-btn {border-color:var(--border-subtle)}

@media(max-width:1150px){.sf-catalog-page .product-grid {grid-template-columns:repeat(2,minmax(0,1fr))}.sf-catalog-layout {grid-template-columns:220px minmax(0,1fr);gap:20px}}
@media(max-width:768px){body.sf-catalog-page .main-container {padding-top:24px}.sf-catalog-layout {grid-template-columns:minmax(0,1fr);gap:18px}.sf-category-panel {position:static;border-radius:14px}.sf-category-heading {padding:14px 16px;border-bottom:0}.sf-category-heading .sf-eyebrow {display:none}.sf-category-heading h2 {font-size:14px}.sf-catalog-page .category-tabs {flex-direction:row;flex-wrap:nowrap;overflow-x:auto;padding:0 12px 12px;gap:8px}.sf-catalog-page .category-tab {flex-shrink:0;min-height:44px;padding:6px 10px;gap:8px}.sf-category-icon {width:28px;height:28px;font-size:14px}.sf-results-heading {min-height:48px;margin-bottom:16px}.sf-results-heading .sf-eyebrow {display:none}.sf-results-heading h2 {font-size:20px}.sf-catalog-page .sf-catalog-heading h1 {font-size:30px}}
@media(max-width:640px){.sf-catalog-page .sf-catalog-heading {align-items:stretch}.sf-catalog-page .sf-search {width:100%}.sf-catalog-page .product-grid {grid-template-columns:minmax(0,1fr)}body.sf-catalog-page .sf-product-art {height:112px}.sf-catalog-page .sf-product-subtitle {min-height:0}}
@media(max-width:640px){.sf-catalog-page .sf-catalog-heading .sf-eyebrow {display:none}.sf-catalog-page .sf-catalog-heading {margin-bottom:18px;gap:12px}.sf-category-heading {display:none}.sf-catalog-page .category-tabs {padding:10px 12px}.sf-results-heading {margin-bottom:12px}.sf-catalog-layout {gap:12px}body.sf-catalog-page .sf-product-art {height:96px}}
@media(min-width:641px) and (max-width:768px){.sf-category-heading {display:none}.sf-catalog-page .category-tabs {padding:10px 12px}body.sf-catalog-page .sf-product-art {height:112px}.sf-catalog-page .sf-catalog-heading {gap:18px}.sf-catalog-page .sf-search {width:360px}}

.sf-chatgpt-icon {display:block;width:40px;height:40px;object-fit:contain}
.sf-category-icon .sf-chatgpt-icon {width:23px;height:23px}
.sf-detail-art .sf-chatgpt-icon {width:54px;height:54px}
[data-theme="dark"] .sf-chatgpt-icon {filter:invert(1)}

body.storefront .payment-methods-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:480px){body.storefront .payment-methods-grid {grid-template-columns:minmax(0,1fr)}}

.sf-order-page-container{max-width:900px;margin:0 auto}.sf-orders-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.sf-orders-heading h1{font-size:26px}.sf-orders-heading p,.sf-orders-message{font-size:13px;color:var(--text-secondary);line-height:1.8;margin-top:8px}.sf-orders-message:empty{display:none}.sf-order-summaries{display:grid;gap:14px;margin-bottom:24px}body.storefront .sf-order-summary{padding:22px}.sf-order-summary-top,.sf-order-summary-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px}.sf-order-summary-top h2{font-size:16px;line-height:1.6;overflow-wrap:anywhere}.sf-order-summary-status{font-size:12px;color:var(--accent-brand);flex-shrink:0;padding:4px 10px;border-radius:20px;background:var(--sf-soft)}.sf-order-summary-meta{font-size:12px;color:var(--text-secondary);line-height:1.7;overflow-wrap:anywhere;margin:10px 0 16px}.sf-order-summary-bottom strong{color:var(--accent-brand);font-size:19px}.sf-order-summary-bottom .btn{padding:9px 16px;font-size:13px}.sf-orders-overview[hidden]{display:none!important}.sf-credential-query{margin-top:24px}@media(max-width:640px){.sf-orders-heading h1{font-size:22px}.sf-order-summary-top{align-items:flex-start;flex-direction:column;gap:8px}body.storefront .sf-order-summary{padding:18px}}

.payment-brand-icon{width:36px;height:36px;margin:0 auto 8px;line-height:0}.payment-brand-icon svg{display:block;width:100%;height:100%;overflow:hidden}
