/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

 :root {
  --primary-color: oklch(0.603 0.176 40.5);
  --primary-color-dark: oklch(0.533 0.158 39.1);
  --sidebar-expanded: 210px;
  --sidebar-collapsed: 180px;
  --sidebar-shift: 60px;
}

body, html {
  font-family: "Anuphan", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.txt-highlight {
  color: var(--primary-color);
}

input, button, textarea, select {
  font-family: "Anuphan", sans-serif;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar-brand {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
}

.navbar-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-link {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
  transition: background 0.2s;
}

.nav-link:hover {
  background: #f0f0f0;
}

.homepage-container {
  min-height: 100vh;
  padding-top: 80px;
}

.store-auth-page {
  min-height: 100vh;
  padding: 16px;
  background: linear-gradient(165deg, #fffaf5 0%, #f8fafc 100%);
}

.store-auth-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.store-auth-hero,
.store-auth-card {
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px -26px rgba(15, 23, 42, 0.35);
  padding: 20px;
}

.store-auth-kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c2410c;
  font-weight: 700;
}

.store-auth-hero h1 {
  margin: 10px 0 8px;
  font-size: clamp(24px, 7.6vw, 38px);
  line-height: 1.16;
  color: #0f172a;
}

.store-auth-copy {
  margin: 0;
  color: #334155;
  font-size: 15px;
  line-height: 1.55;
}

.store-auth-tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-auth-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #1e293b;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
}

.store-auth-card h2 {
  margin: 0;
  color: #0f172a;
  font-size: 26px;
}

.store-auth-subtitle {
  margin: 6px 0 0;
  color: #475569;
  font-size: 14px;
}

.store-auth-form {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.store-auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.store-auth-field label {
  color: #1f2937;
  font-size: 14px;
  font-weight: 600;
}

.store-auth-field input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  color: #111827;
  font-size: 16px;
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.store-auth-field input:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
}

.store-auth-submit {
  margin-top: 4px;
  width: 100%;
  border: none;
  border-radius: 12px;
  background: linear-gradient(145deg, #f97316 0%, #ea580c 95%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 14px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.18s ease;
}

.store-auth-submit:hover {
  box-shadow: 0 10px 18px -12px rgba(194, 65, 12, 0.65);
}

.store-auth-submit:active {
  transform: translateY(1px);
}

.store-auth-links {
  margin-top: 16px;
}

.store-auth-links a {
  color: #1d4ed8;
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
}

.store-auth-links a:hover {
  text-decoration: underline;
}

.store-auth-mobile {
  min-height: 100vh;
  padding: 14px;
  background: linear-gradient(180deg, #fffaf5 0%, #f8fafc 100%);
}

.store-auth-mobile-card {
  max-width: 480px;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid #cbd5e1;
  background: rgba(255, 255, 255, 0.95);
  padding: 18px;
  box-shadow: 0 16px 36px -24px rgba(15, 23, 42, 0.45);
}

.store-auth-mobile-kicker {
  margin: 0;
  color: #c2410c;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.store-auth-mobile-card h1 {
  margin: 8px 0 6px;
  color: #0f172a;
  font-size: clamp(24px, 8.8vw, 34px);
  line-height: 1.15;
}

.store-auth-mobile-copy {
  margin: 0;
  color: #334155;
  font-size: 14px;
}

.store-auth-mobile-form {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store-auth-mobile-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.store-auth-mobile-field label {
  color: #1f2937;
  font-size: 14px;
  font-weight: 600;
}

.store-auth-mobile-field input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  color: #111827;
  font-size: 16px;
  padding: 12px 14px;
}

.store-auth-mobile-field input:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

.store-auth-mobile-submit {
  margin-top: 4px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(145deg, #f97316 0%, #ea580c 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 14px;
  cursor: pointer;
}

.store-auth-mobile-link {
  margin: 14px 0 0;
}

.store-auth-mobile-link a {
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.flash-alert {
  color: #d32f2f;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 6px;
  background: #ffebee;
  text-align: center;
}

.flash-notice {
  color: #388e3c;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 6px;
  background: #e8f5e9;
  text-align: center;
}

.anuphan-font {
  font-family: "Anuphan", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

@media (min-width: 920px) {
  .store-auth-page {
    padding: 28px;
    display: grid;
    place-items: center;
  }

  .store-auth-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
  }

  .store-auth-hero,
  .store-auth-card {
    padding: 30px;
  }
}

.storefront-body {
  margin: 0;
  background: linear-gradient(170deg, #f8fafc 0%, #fff7ed 100%);
  color: #1f2937;
}

.storefront-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.95);
  position: sticky;
  top: 0;
  z-index: 10;
}

.storefront-brand {
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  color: #111827;
}

.storefront-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.storefront-nav a {
  text-decoration: none;
  color: #1d4ed8;
  font-weight: 600;
}

.storefront-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px;
}

.storefront-hero {
  margin-bottom: 18px;
}

.storefront-search,
.storefront-inline-form,
.storefront-field {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.storefront-field {
  flex-direction: column;
  align-items: stretch;
  margin-bottom: 10px;
}

.storefront-input,
.storefront-qty {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 15px;
}

.storefront-qty {
  max-width: 72px;
}

.storefront-btn {
  border: 0;
  border-radius: 8px;
  padding: 8px 12px;
  background: #ea580c;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.storefront-btn-secondary {
  background: #334155;
}

.storefront-btn-danger {
  background: #b91c1c;
}

.storefront-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.storefront-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.storefront-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.storefront-card-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
  color: #64748b;
}

.storefront-card-body {
  padding: 12px;
}

.storefront-price {
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0;
}

.product-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.product-cover {
  width: 100%;
  border-radius: 12px;
  min-height: 260px;
  object-fit: cover;
}

.product-cover-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.product-thumb {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
}

.storefront-table {
  width: 100%;
  border-collapse: collapse;
}

.storefront-table th,
.storefront-table td {
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 6px;
}

.storefront-summary {
  text-align: right;
  margin: 14px 0;
}

.storefront-cart-hint {
  margin-top: -6px;
  color: #64748b;
  font-size: 14px;
}

.storefront-checkout-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.storefront-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.storefront-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #e5e7eb;
}

.storefront-payment-instructions {
  padding: 14px;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  background: #fff7ed;
  margin-bottom: 12px;
}

@media (max-width: 800px) {
  .product-page,
  .storefront-checkout-split {
    grid-template-columns: 1fr;
  }
}

/* Storefront redesign: mobile-first minimal */
:root {
  --sf-bg: #f7f7f5;
  --sf-surface: #ffffff;
  --sf-border: #dfdfda;
  --sf-text: #151515;
  --sf-muted: #656565;
  --sf-accent: #1f2937;
}

.storefront-body {
  background: var(--sf-bg);
  color: var(--sf-text);
}

.sf-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 247, 245, 0.95);
  border-bottom: 1px solid var(--sf-border);
  padding: 10px 14px;
  backdrop-filter: blur(8px);
}

.sf-brand {
  display: block;
  color: var(--sf-text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.sf-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.sf-nav::-webkit-scrollbar {
  display: none;
}

.sf-nav a {
  white-space: nowrap;
  text-decoration: none;
  color: var(--sf-text);
  border: 1px solid var(--sf-border);
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--sf-surface);
  font-size: 13px;
}

.sf-badge {
  display: inline-flex;
  min-width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: 999px;
  background: #ededea;
  font-size: 12px;
  margin-left: 4px;
}

.sf-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 14px;
}

.sf-banner {
  margin-top: 0;
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 14px;
  border: 1px solid var(--sf-border);
  background: #f1f1ee;
  color: var(--sf-text);
  padding: 13px;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sf-banner.is-danger {
  border-color: #e1bcbc;
  background: #f7ecec;
  color: #5f2121;
}

.sf-banner-cta {
  flex-shrink: 0;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  color: #15392f;
  background: #e2efe8;
  border: 1px solid #9ebfae;
  border-radius: 999px;
  padding: 6px 10px;
}

.sf-section,
.sf-panel,
.sf-empty,
.sf-summary,
.sf-line-item,
.sf-product-card {
  border: 1px solid var(--sf-border);
  background: var(--sf-surface);
  border-radius: 14px;
}

.sf-section,
.sf-panel,
.sf-empty,
.sf-summary {
  padding: 13px;
  margin-bottom: 12px;
}

.sf-section h1 {
  margin: 0 0 4px;
  font-size: 24px;
  line-height: 1.15;
}

.sf-section h2,
.sf-panel h2 {
  margin: 0 0 10px;
  font-size: 16px;
}

.sf-section p {
  margin: 0;
}

.sf-hint,
.sf-empty p {
  color: var(--sf-muted);
  font-size: 13px;
}

.sf-catalog-head p {
  margin-bottom: 10px;
}

.sf-search,
.sf-inline-form,
.sf-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sf-search {
  flex-wrap: nowrap;
}

.sf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.sf-field label {
  font-size: 13px;
  color: #444;
}

.sf-input,
.sf-qty {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--sf-border);
  border-radius: 10px;
  background: #fff;
  color: var(--sf-text);
  padding: 9px 10px;
  font-size: 16px;
}

.sf-qty {
  width: 80px;
}

.sf-btn {
  box-sizing: border-box;
  border: 1px solid var(--sf-accent);
  border-radius: 10px;
  background: var(--sf-accent);
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  font-size: 14px;
  cursor: pointer;
}

.sf-btn-ghost {
  background: transparent;
  color: var(--sf-text);
  border-color: var(--sf-border);
}

.sf-btn-danger {
  background: #6a2f2f;
  border-color: #6a2f2f;
}

.sf-btn-block {
  width: 100%;
}

.sf-payment-qr-wrap {
  margin-top: 10px;
}

.sf-payment-qr-image {
  width: min(280px, 100%);
  border: 1px solid var(--sf-border);
  border-radius: 12px;
  background: #fff;
  display: block;
  margin-top: 8px;
}

.sf-payment-qr-actions {
  margin-top: 10px;
}

.sf-product-list,
.sf-line-items {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.sf-product-card {
  padding: 10px;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 10px;
}

.sf-product-media-link {
  display: block;
  position: relative;
}

.sf-product-media {
  width: 100%;
  height: 104px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #ecece8;
}

.sf-product-media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sf-muted);
  font-size: 12px;
  background: #f4f4f1;
}

.sf-product-body h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.sf-product-body h2 a {
  color: var(--sf-text);
  text-decoration: none;
}

.sf-price {
  margin: 8px 0;
  font-weight: 700;
  font-size: 17px;
}

.sf-product-page {
  padding: 12px;
}

.sf-product-cover {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid #ecece8;
}

.sf-product-cover-placeholder {
  display: grid;
  place-items: center;
  color: var(--sf-muted);
  background: #f4f4f1;
}

.sf-product-thumbs {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.sf-product-cover-wrap {
  position: relative;
}

.sf-product-cover-button {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 12px;
}

.sf-product-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ecece8;
}

.sf-product-thumb-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  line-height: 0;
}

.sf-product-thumb-button.is-active .sf-product-thumb {
  border-color: #15392f;
  box-shadow: 0 0 0 1px rgba(21, 57, 47, 0.35);
}

.sf-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(14, 31, 26, 0.15);
  background: rgba(255, 255, 255, 0.86);
  color: #15392f;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sf-gallery-nav.is-prev {
  left: 8px;
}

.sf-gallery-nav.is-next {
  right: 8px;
}

.sf-lightbox-open {
  overflow: hidden;
}

.sf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.88);
  display: grid;
  place-items: center;
  padding: 20px;
}

.sf-lightbox[hidden] {
  display: none;
}

.sf-lightbox-image {
  max-width: min(94vw, 1200px);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.sf-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.sf-gallery-nav.is-lightbox {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(20, 20, 20, 0.45);
  color: #fff;
}

.sf-gallery-nav.is-prev.is-lightbox {
  left: 14px;
}

.sf-gallery-nav.is-next.is-lightbox {
  right: 14px;
}

.sf-product-details {
  margin-top: 12px;
}

.sf-product-details h1 {
  margin: 0;
  font-size: 24px;
}

.sf-product-description {
  color: #4b4b4b;
  font-size: 14px;
  line-height: 1.5;
}

.sf-line-item {
  padding: 12px;
}

.sf-line-item h2 {
  margin: 0 0 10px;
  font-size: 16px;
}

.sf-line-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

.sf-line-meta span {
  color: var(--sf-muted);
  font-size: 13px;
}

.sf-line-actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.sf-line-actions .button_to {
  margin: 0;
}

.sf-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}

.sf-list li {
  padding: 8px 0;
  border-bottom: 1px solid #ecece8;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sf-list li:last-child {
  border-bottom: 0;
}

.sf-list small {
  color: #7b7b7b;
}

.sf-payment-instructions {
  border-style: dashed;
}

@media (min-width: 760px) {
  .sf-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .sf-brand {
    margin-bottom: 0;
    font-size: 16px;
  }

  .sf-main {
    padding: 20px;
  }

  .sf-product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sf-product-card {
    grid-template-columns: 1fr;
  }

  .sf-product-media {
    height: 180px;
  }

  .sf-product-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .sf-product-details {
    margin-top: 0;
  }

  .sf-checkout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

/* Storefront visual refresh v2 */
body.storefront-body {
  background:
    radial-gradient(1200px 420px at 50% -300px, #d9efe8 0%, #f6f7f3 60%),
    #f6f7f3;
}

.sf-topbar {
  padding: 10px 14px 12px;
  background: rgba(246, 247, 243, 0.92);
  border-bottom: 1px solid #d7ddd7;
}

.sf-brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  margin-bottom: 10px;
}

.sf-logo-placeholder {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #10362c;
  border: 1px solid #b9d5ca;
  background: linear-gradient(160deg, #ebf6f1 0%, #d5ebdf 100%);
  flex-shrink: 0;
}

.sf-logo-image {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #b9d5ca;
  background: #fff;
  flex-shrink: 0;
}

.sf-brand {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.sf-nav a {
  border-color: #d7ddd7;
  background: #fff;
}

.sf-main {
  max-width: 920px;
  padding: 12px;
}

.sf-banner {
  border-color: #d7ddd7;
  background: #f0f2ed;
}

.sf-section,
.sf-panel,
.sf-empty,
.sf-summary,
.sf-line-item,
.sf-product-card {
  border-color: #d7ddd7;
  box-shadow: 0 8px 24px -20px rgba(12, 29, 25, 0.45);
}

.sf-section h1 {
  font-size: 26px;
}

.sf-catalog-head {
  background:
    linear-gradient(180deg, rgba(228, 241, 235, 0.55), rgba(255, 255, 255, 0));
}

.sf-category-bar {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.sf-category-bar::-webkit-scrollbar {
  display: none;
}

.sf-category-pill {
  white-space: nowrap;
  text-decoration: none;
  font-size: 13px;
  color: #39443f;
  background: #eef1ed;
  border: 1px solid #d7ddd7;
  border-radius: 999px;
  padding: 7px 11px;
}

.sf-category-pill.is-active {
  background: #e2efe8;
  border-color: #9ebfae;
  color: #10362c;
}

.sf-input,
.sf-qty {
  border-color: #d7ddd7;
}

.sf-btn {
  background: #15392f;
  border-color: #15392f;
}

.sf-btn-ghost {
  color: #2f3a35;
  background: #f2f4ef;
  border-color: #d7ddd7;
}

.sf-product-card {
  padding: 11px;
}

.sf-product-media {
  border-color: #e3e8e2;
}

.sf-price {
  font-size: 18px;
}

.sf-line-item h2,
.sf-product-body h2 {
  letter-spacing: -0.01em;
}

@media (min-width: 760px) {
  .sf-main {
    padding: 18px;
  }

  .sf-topbar {
    padding: 12px 20px;
  }

  .sf-brand-wrap {
    margin-bottom: 0;
  }

  .sf-product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

.landing-home {
  min-height: 100dvh;
  margin: 0;
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background: linear-gradient(165deg, #fffbf7 0%, #f8fafc 100%);
}

.landing-card {
  width: min(100%, 660px);
  padding: clamp(20px, 5vw, 36px);
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 40px -28px rgba(15, 23, 42, 0.45);
  text-align: left;
}

.landing-kicker {
  margin: 0;
  color: #c2410c;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 12px;
}

.landing-card h1 {
  margin: 8px 0 10px;
  color: #0f172a;
  font-size: clamp(34px, 8vw, 54px);
  line-height: 1.05;
}

.landing-copy {
  margin: 0;
  color: #334155;
  font-size: clamp(15px, 2.8vw, 18px);
  line-height: 1.6;
}

.landing-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 10px 14px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

.landing-btn-primary {
  background: #ea580c;
  color: #fff;
}

.landing-btn-ghost {
  border: 1px solid #cbd5e1;
  color: #1f2937;
  background: #fff;
}

.landing-footer {
  width: min(100%, 660px);
  padding: 0 4px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  color: #64748b;
  font-size: 14px;
  text-align: center;
}

.landing-footer p {
  margin: 0;
}
