:root {
  --text-xs: 12px;
  --text-sm: 14px;
  --text-md: 16px;
  --text-lg: 20px;
  --text-xl: 24px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-st: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-1: var(--space-xs);
  --space-2: var(--space-sm);
  --space-3: var(--space-st);
  --space-4: var(--space-md);
  --space-5: 20px;
  --space-6: var(--space-lg);
  --space-8: var(--space-xl);
  --space-10: 40px;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-snug: 1.35;
  --header-h: 64px;
  --bottom-bar-padding: 64px;
  --container: min(1200px, 100% - 2rem);
  --max-header-inner: 1200px;
  --max-search-width: 480px;
  --z-header: 100;
  --z-drawer: 10000;
  --z-mobile-search: 200;
  --drawer-width: 400px;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;

  /* Component overlay defaults — themes override these when their bg is dark */
  --color-overlay-scrim: rgba(17, 24, 39, 0.45);
  --color-cat-label-scrim-end: rgba(17, 24, 39, 0.75);
  --color-pill-accent-bg: rgba(37, 99, 235, 0.10);
  --color-option-selected-bg: rgba(37, 99, 235, 0.08);
  --color-pcard-wishlist-bg: rgba(255, 255, 255, 0.92);
  --backdrop-blur-floating: 6px;
  --size-touch: 44px;
  --size-icon: 22px;
  --size-icon-sm: 16px;
  --size-icon-lg: 24px;
  --size-logo-img: 40px;
  --size-pcard-wishlist: 40px;
  --size-thumb: 72px;
  --size-hero-dot: 8px;
  --size-drawer-close: 36px;
  --size-qty-row: 32px;
  --size-qty-col: 28px;

  --color-whatsapp:#25d366;
  --color-whatsapp-on:#fff;
}



*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--text-md);
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
}

/* Heading font — applied from --font-heading token; falls back to --font-family when themes share them */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading, var(--font-family));
}

button.is-loading,
.sf-btn.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  vertical-align: middle;
}

.sf-main img,
.product-detail-main img,
.gallery-main img {
  object-fit: cover;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-primary-hover);
}

button,
input,
select,
textarea {
  font: inherit;
}

.sf-container {
  width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}


.sf-theme-preview-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding: var(--space-2) var(--space-4);
  font-size: 0.8125rem;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-muted);
}

.sf-theme-preview-bar a {
  font-weight: 600;
  color: var(--color-primary);
}

.sf-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--color-header-bg, var(--color-bg));
  border-bottom: 1px solid var(--color-header-border, var(--color-border));
  box-shadow: var(--shadow-header);
}

.sf-header__logo-row {
  display: flex;
  align-items: center;
  min-width: 0;
}

.sf-logo__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 42vw;
}

.sf-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-4);
  min-height: var(--header-h);
  max-width: var(--max-header-inner);
  margin: 0 auto;
  padding: var(--space-3) var(--space-4);
}

@media (max-width: 767px) {

  /* Desktop search is removed from the grid (display:none); use two columns so
     logo stays left and actions sit in a tight column flush to the padded edge. */
  .sf-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-2);
  }

  .sf-header__logo-row {
    grid-column: 1;
    min-width: 0;
  }

  .sf-header__actions {
    grid-column: 2;
    justify-self: end;
  }
}

.sf-desktop-search {
  max-width: var(--max-search-width);
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .sf-desktop-search {
    display: none !important;
  }
}

.sf-mobile-only {
  display: none !important;
}

@media (max-width: 767px) {
  .sf-mobile-only {
    display: inline-flex !important;
  }

  .sf-hide-mobile {
    display: none !important;
  }
}

.sf-mobile-search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-mobile-search);
  background: var(--color-bg);
  padding: var(--space-4);
  flex-direction: column;
  gap: var(--space-4);
}

.sf-mobile-search-overlay__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sf-mobile-search-overlay__title {
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

.sf-mobile-search-overlay.is-open {
  display: flex;
}

.sf-mobile-search-overlay .sf-header__search {
  max-width: none;
}

.sf-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text);
  font-weight: 600;
  font-size: 1.05rem;
}

.sf-logo img {
  height: var(--size-logo-img);
  width: auto;
  object-fit: contain;
}

/* Header-scoped color tokens — override in theme for dark/custom headers */
.sf-header .sf-logo {
  color: var(--color-header-logo, var(--color-text));
}

.sf-header .sf-icon-btn {
  color: var(--color-header-icon, var(--color-text));
}

.sf-header .sf-icon-btn:hover {
  background: var(--color-header-icon-hover-bg, var(--color-surface));
}

.sf-header .sf-header__search {
  border-color: var(--color-header-search-border, var(--color-border));
  background: var(--color-header-search-bg, var(--color-surface));
}

.sf-header .sf-header__search input {
  color: var(--color-header-search-text, var(--color-text));
}

.sf-header .sf-header__search input::placeholder {
  color: var(--color-header-search-placeholder, var(--color-muted));
}

/* Footer-scoped color tokens */
.sf-footer .sf-logo {
  color: var(--color-footer-logo, var(--color-text));
}

.sf-footer .sf-social a {
  color: var(--color-footer-link, var(--color-muted));
}

.sf-footer .sf-social a:hover {
  color: var(--color-footer-link-hover, var(--color-primary));
}

.sf-header__search {
  display: flex;
  align-items: center;
  max-width: var(--max-search-width);
  width: 100%;
  margin: 0 auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  padding: 0 var(--space-3);
}

.sf-header__search svg {
  flex-shrink: 0;
  opacity: var(--opacity-muted-icon);
  width: 20px;
  height: 20px;
}

.sf-header__search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: var(--space-3);
  min-width: 0;
  outline: none;
  color: var(--color-text);
}

.sf-header__search input::placeholder {
  color: var(--color-muted);
}

.sf-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.sf-icon-btn--badge-host {
  position: relative;
}

.sf-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--size-touch);
  height: var(--size-touch);
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
}

.sf-icon-btn:hover {
  background: var(--color-surface);
}

.sf-icon-btn svg {
  width: var(--size-icon);
  height: var(--size-icon);
}

.sf-badge {
  position: absolute;
  top: var(--space-xs);
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  line-height: 18px;
  text-align: center;
  border-radius: 9px;
  background: var(--color-primary);
  color: var(--color-on-primary);
}

.is-hidden {
  display: none !important;
}

.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.is-loading {
  opacity: 0.72;
  pointer-events: none;
}


body[data-debug-theme="true"] .sf-header {
  outline: 2px dashed var(--color-accent);
  outline-offset: 2px;
}

body[data-debug-theme="true"] .sf-main {
  outline: 1px dotted var(--color-border);
}

.no-scroll {
  overflow: hidden;
}

.sf-toast-stack {
  position: fixed;
  top: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: calc(var(--z-drawer) + 1);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  pointer-events: none;
}

.sf-toast {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-toast);
  white-space: nowrap;
  max-width: 90vw;
  transition: opacity 0.25s ease;
}

.sf-toast--success {
  background: var(--color-text);
  color: var(--color-on-primary);
}

.sf-toast--error {
  background: var(--color-danger);
  color: var(--color-on-primary);
}

.sf-toast.is-leaving {
  opacity: 0;
}

.wl-card.wl-card--removing,
.wishlist-item.wl-card--removing {
  transition: opacity 0.28s ease, transform 0.28s ease;
  opacity: 0;
  transform: scale(0.88);
}

.sf-nav-desktop {
  display: none;
  gap: var(--space-4);
  margin-left: var(--space-6);
}

@media (min-width: 992px) {
  .sf-nav-desktop {
    display: flex;
    align-items: center;
  }
}

.sf-nav-desktop a {
  font-size: var(--nav-font-size, var(--nav-link-size, 0.8125rem));
  font-weight: var(--nav-font-weight, var(--nav-link-weight, 600));
  letter-spacing: var(--nav-letter-spacing, 0.04em);
  text-transform: var(--nav-text-transform, uppercase);
  color: var(--color-header-nav, var(--color-muted));
}

.sf-nav-desktop a:hover,
.sf-nav-desktop a.is-active {
  color: var(--color-header-nav-active, var(--color-text));
}

.sf-mobile-menu {
  display: none;
  border-top: 1px solid var(--color-header-border, var(--color-border));
  padding: var(--space-3) var(--space-4);
  background: var(--color-header-bg, var(--color-bg));
}

.sf-mobile-menu.is-open {
  display: block;
}

.sf-mobile-menu a {
  display: block;
  padding: var(--space-3);
  color: var(--color-header-nav, var(--color-text));
  border-bottom: 1px solid var(--color-header-border, var(--color-border));
  font-weight: 500;
}

@media (min-width: 992px) {
  .sf-mobile-menu {
    display: none !important;
  }
}


.sf-main {
  min-height: 40vh;
  padding-top: var(--space-4);
  /* breathing room between sticky nav and page content */
}


.sf-footer {
  margin-top: var(--space-8);
  padding: var(--space-8) 0 var(--space-6);
  border-top: 1px solid var(--color-footer-border, var(--color-border));
  background: var(--color-footer-bg, var(--color-surface));
  color: var(--color-footer-text, var(--color-muted));
  font-size: 0.875rem;
}

.sf-footer__grid {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .sf-footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.sf-footer__brand p {
  margin: var(--space-3) 0 0;
  max-width: 36ch;
  line-height: 1.6;
}

.sf-footer h3 {
  margin: 0 0 var(--space-3);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-footer-heading, var(--color-text));
}

.sf-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sf-footer li {
  margin-bottom: var(--space-2);
}

.sf-footer a {
  color: var(--color-footer-link, var(--color-muted));
}

.sf-footer a:hover {
  color: var(--color-footer-link-hover, var(--color-primary));
}

.sf-footer__bottom {
  margin-top: var(--space-8);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-footer-border, var(--color-border));
  text-align: center;
  font-size: 0.8125rem;
}

.sf-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
  flex-wrap: wrap;
}

.sf-social a {
  display: inline-flex;
  color: var(--color-muted);
}

.sf-social a:hover {
  color: var(--color-primary);
}

.sf-social svg {
  width: 20px;
  height: 20px;
}


body.has-bottom-bar {
  padding-bottom: var(--bottom-bar-padding);
}

.sf-whatsapp-fab {
  position: fixed;
  right: max(var(--space-4), env(safe-area-inset-right));
  bottom: calc(var(--bottom-bar-padding) + var(--space-5));
  z-index: 95;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--color-whatsapp);
  color: var(--color-whatsapp-on);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transition: transform 0.18s ease, filter var(--transition-base), box-shadow var(--transition-base);
}

.sf-whatsapp-fab:hover {
  color: var(--color-whatsapp-on);
  filter: brightness(var(--interaction-brightness-hover));
  transform: translateY(-2px);
}

.sf-whatsapp-fab:focus-visible {
  outline: 2px solid var(--color-whatsapp);
  outline-offset: 3px;
}

.sf-whatsapp-fab svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  display: block;
}

.sf-bottom-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  box-shadow: var(--shadow-bottom-bar);
  justify-content: space-around;
  align-items: stretch;
  padding: var(--space-2) 0;
  padding-bottom: max(var(--space-2), env(safe-area-inset-bottom));
}

@media (min-width: 992px) {
  .sf-bottom-bar {
    display: none;
  }

  body.has-bottom-bar {
    padding-bottom: 0;
  }

  .sf-whatsapp-fab {
    bottom: var(--space-5);
  }
}

.sf-bottom-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: var(--space-2);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.sf-bottom-bar a.is-active {
  color: var(--color-primary);
}

.sf-bottom-bar svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sf-bottom-bar__wrap {
  position: relative;
  display: inline-flex;
}

.sf-bottom-bar .sf-badge {
  position: absolute;
  top: -4px;
  right: -8px;
}


.sf-messages {
  padding: var(--space-4) var(--space-4) 0;
  max-width: 1200px;
  margin: 0 auto;
}

.sf-alert {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-2);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.sf-alert--success {
  border-color: var(--color-success-border);
  background: var(--color-success-bg);
  color: var(--color-success-fg);
}

.sf-alert--error,
.sf-alert--danger {
  border-color: var(--color-danger-border);
  background: var(--color-danger-bg);
  color: var(--color-danger-fg);
}

.sf-alert--warning {
  border-color: var(--color-warning-border);
  background: var(--color-warning-bg);
  color: var(--color-warning-fg);
}

.sf-alert--info {
  border-color: var(--color-info-border);
  background: var(--color-info-bg);
  color: var(--color-info-fg);
}

.sf-alert--dismiss {
  transition: opacity 0.3s ease;
}

.sf-alert--dismiss.is-leaving {
  opacity: 0;
}


.sf-hero {
  position: relative;
  background: var(--color-surface);
}

/* Inset banner to match .sf-container horizontal rhythm; radius from theme --hero-shell-radius */
.sf-hero__shell {
  width: var(--container);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

/* Must not use overflow:hidden here — it overrides .sf-hero__track { overflow-x:auto }
   with higher specificity and breaks horizontal slide carousels (market/circuit/default). */
.sf-hero__shell .sf-hero__track {
  border-radius: var(--hero-shell-radius, 0);
  overflow-x: auto;
  overflow-y: hidden;
}

.sf-hero__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

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

.sf-hero__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
}

.sf-hero__slide img {
  width: 100%;
  display: block;
  max-height: var(--hero-max-height, min(70vh, 520px));
  object-fit: cover;
}

.sf-hero__dots {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3);
}

.sf-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--hero-dot-color, var(--color-border));
  cursor: pointer;
}

.sf-hero__dot.is-active {
  background: var(--hero-dot-active-color, var(--color-primary));
}

/* Hero overlay — full-slide color scrim; present when banner slides include .sf-hero__overlay */
.sf-hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay, rgba(0, 0, 0, 0.3));
  pointer-events: none;
}

/* Hero caption — text+CTA layer positioned over banner imagery */
.sf-hero__caption {
  text-align: var(--hero-text-align, left);
}

.sf-hero__caption h2,
.sf-hero__caption .sf-hero__title {
  font-family: var(--hero-title-font, var(--font-heading, var(--font-family)));
  font-size: var(--hero-title-size, clamp(1.8rem, 4vw, 3rem));
  font-weight: var(--hero-title-weight, 700);
  text-transform: var(--hero-title-transform, none);
}



.sf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--btn-padding-y, var(--space-3)) var(--btn-padding-x, var(--space-6));
  min-height: 44px;
  border-radius: var(--btn-radius, var(--radius-md));
  font-size: var(--btn-font-size, 0.875rem);
  font-weight: var(--btn-font-weight, 600);
  letter-spacing: var(--btn-letter-spacing, 0);
  text-transform: var(--btn-text-transform, none);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.sf-btn--primary {
  background: var(--color-primary);
  color: var(--color-on-primary);
  border-color: var(--color-primary);
}

.sf-btn--primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: var(--color-on-primary);
}

.sf-btn--secondary {
  background: var(--color-bg);
  color: var(--color-text);
  border-color: var(--color-border);
}

.sf-btn--secondary:hover {
  background: var(--color-surface);
}

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

.sf-btn--ghost:hover {
  background: var(--color-surface);
}

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

.sf-btn--outline:hover {
  background: var(--color-surface);
  color: var(--color-text);
}

.sf-btn--inverse {
  background: var(--color-text);
  color: var(--color-on-primary);
  border-color: var(--color-text);
}

.sf-btn--inverse:hover {
  opacity: 0.92;
  color: var(--color-on-primary);
}

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

.sf-btn--surface:hover {
  background: var(--color-surface-elevated);
}

.sf-btn--whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-whatsapp-on);
  border-color: var(--color-whatsapp);
}

.sf-btn--whatsapp:hover {
  filter: brightness(var(--interaction-brightness-hover));
  color: var(--color-whatsapp-on);
}

.sf-btn--sm {
  padding: var(--space-2) var(--space-3);
  min-height: 36px;
  font-size: var(--text-sm);
}

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

.sf-btn--link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  min-height: auto;
  border: 0;
  background: transparent;
  color: var(--color-primary);
  font-weight: 500;
  font-size: var(--text-sm);
  text-decoration: underline;
  cursor: pointer;
}

.sf-btn--link:hover {
  color: var(--color-primary-hover);
}

.sf-btn--nowrap {
  white-space: nowrap;
}

.sf-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


.sf-input,
.sf-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--input-border, var(--color-border));
  border-radius: var(--input-radius, var(--radius-sm));
  background: var(--input-bg, var(--color-bg));
  color: var(--color-text);
}

.sf-input:focus,
.sf-select:focus {
  outline: 2px solid var(--input-focus-ring, var(--color-primary));
  outline-offset: 1px;
}

.sf-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}


.sf-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}


.sf-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--badge-radius, var(--radius-sm));
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.sf-pill--accent {
  background: var(--color-pill-accent-bg);
  color: var(--color-primary);
  border-color: transparent;
}


.sf-section {
  padding: var(--section-pad-y, var(--space-8)) 0;
}

.sf-section__head {
  display: flex;
  align-items: var(--section-head-align, flex-end);
  justify-content: var(--section-head-justify, space-between);
  flex-direction: var(--section-head-direction, row);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.sf-section__title {
  margin: 0;
  font-family: var(--section-title-font, var(--font-heading, var(--font-family)));
  font-size: var(--section-title-size, 1.25rem);
  font-weight: var(--section-title-weight, 700);
  color: var(--section-title-color, var(--color-text));
  text-transform: var(--section-title-transform, none);
  letter-spacing: var(--section-title-spacing, 0);
  text-align: var(--section-title-align, left);
}

.sf-section__subtitle {
  color: var(--section-subtitle-color, var(--color-muted));
}

.sf-section__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}

.sf-section__head--stack {
  flex-direction: column;
  align-items: flex-start;
}

.sf-breadcrumb--start {
  justify-content: flex-start;
  margin-top: 0;
}

.sf-wishlist-count {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.sf-wishlist-count strong {
  color: var(--color-text);
}

.sf-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.sf-breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
}

.sf-breadcrumb a:hover {
  text-decoration: underline;
}


/* Legacy containers only; storefront listing grids use .sf-grid (+ optional .sf-product-grid modifiers). */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--product-grid-min, 220px), 1fr));
  gap: var(--product-grid-gap, var(--space-md));
  align-items: stretch;
}

.sf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: stretch;
}

@media (min-width: 768px) {
  .sf-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Infinite-scroll response wraps cards; flatten so each .sf-pcard is a grid item (equal-height rows). */
.js-collection-fragment {
  display: contents;
}

/* Equal-height grid cells; card content stacks from the top (no stretched gap above the CTA). */
.product-grid .sf-pcard,
.sf-product-grid .sf-pcard,
.sf-grid .sf-pcard {
  height: 100%;
}

.product-grid--compact,
.sf-product-grid.grid-compact {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

@media (min-width: 640px) {

  .product-grid--compact,
  .sf-product-grid.grid-compact {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {

  .product-grid--compact,
  .sf-product-grid.grid-compact {
    grid-template-columns: repeat(5, 1fr);
  }
}

.sf-pcard {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--pcard-border-color, var(--color-border));
  border-radius: var(--pcard-radius, var(--radius-md));
  background: var(--pcard-bg, var(--color-bg));
  box-shadow: var(--pcard-shadow, none);
  overflow: hidden;
  transition: box-shadow 0.15s;
}

.sf-pcard:hover {
  box-shadow: var(--pcard-shadow-hover, var(--pcard-hover-shadow, var(--shadow-pcard-hover)));
}

.sf-pcard__gallery {
  position: relative;
  aspect-ratio: var(--pcard-aspect-ratio, 1 / 1);
  background: var(--pcard-gallery-bg, var(--color-surface));
  overflow: hidden;
  flex-shrink: 0;
}

.sf-pcard__gallery a,
.sf-pcard__img-link {
  display: block;
  height: 100%;
  position: relative;
}

.sf-pcard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.sf-pcard__img.card-slider-img.is-faded {
  opacity: 0;
}

.sf-pcard__badge {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 1;
}

.sf-pcard__wishlist {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--color-pcard-wishlist-bg);
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.sf-pcard__wishlist.in-wishlist {
  color: var(--color-danger);
}

.sf-pcard__wishlist.in-wishlist svg {
  fill: currentColor;
}

.sf-pcard__wishlist svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.sf-pcard__body {
  padding: var(--pcard-body-pad, var(--space-3));
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--pcard-body-gap, var(--space-1));
  flex: 1 1 auto;
}

.sf-pcard__name {
  margin: 0;
  font-family: var(--pcard-title-font, var(--font-heading, var(--font-family)));
  font-size: var(--pcard-title-size, var(--pcard-name-size, 0.875rem));
  font-weight: var(--pcard-title-weight, var(--pcard-name-weight, 600));
  color: var(--pcard-name-color, var(--color-text));
  text-transform: var(--pcard-name-transform, none);
  letter-spacing: var(--pcard-name-spacing, 0);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sf-pcard__name a {
  color: inherit;
}

.sf-pcard__name a:hover {
  color: var(--color-primary);
}

.sf-pcard__price {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--pcard-price-color, var(--color-text));
  line-height: 1.25;
}

.sf-pcard__price-old {
  font-weight: 500;
  text-decoration: line-through;
  color: var(--color-muted);
  font-size: 0.8125rem;
  margin-left: var(--space-2);
}

.sf-pcard__rating {
  margin: 0;
  font-size: 0.75rem;
  color: var(--color-muted);
  line-height: 1.3;
}

.sf-pcard__actions {
  margin-top: auto;
  padding-top: var(--pcard-actions-margin-top, var(--space-2));
  width: 100%;
}

.sf-pcard__actions .product-add-form {
  margin: 0;
  width: 100%;
  display: block;
}

.sf-pcard__btn {
  width: 100%;
  min-height: var(--pcard-btn-height, 40px);
  border: 0;
  border-radius: var(--pcard-btn-radius, var(--radius-sm));
  background: var(--pcard-btn-bg, var(--color-primary));
  color: var(--pcard-btn-color, var(--color-on-primary));
  font-size: var(--pcard-btn-size, 0.8125rem);
  font-weight: var(--pcard-btn-weight, 600);
  text-transform: var(--pcard-btn-transform, none);
  letter-spacing: var(--pcard-btn-spacing, 0);
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sf-pcard__btn:hover {
  background: var(--pcard-btn-hover-bg, var(--color-primary-hover));
  color: var(--pcard-btn-color, var(--color-on-primary));
}

/* Outline ("View cart") hover — keep text and border visible; must come after the base :hover rule */
.sf-pcard__btn.sf-pcard__btn--outline:hover {
  background: var(--color-surface-elevated, var(--color-surface));
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.sf-pcard__btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-border);
}

.sf-pcard__btn--outline:hover {
  background: var(--color-surface);
  color: var(--color-primary);
  border-color: var(--color-primary);
}


.sf-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .sf-cat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sf-cat-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 1;
}

.sf-cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-cat-card__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-3);
  background: linear-gradient(transparent, var(--color-cat-label-scrim-end));
  color: var(--color-on-primary);
  font-size: 0.875rem;
  font-weight: 600;
}


.sf-shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.sf-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
}

.sf-sort-select {
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
}

.sf-grid-toggle {
  display: inline-flex;
  gap: 2px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.sf-grid-toggle button {
  border: 0;
  background: transparent;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--color-muted);
}

.sf-grid-toggle button.is-active {
  background: var(--color-surface);
  color: var(--color-primary);
}

.sf-grid-toggle svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* for mobile devices */
@media (max-width: 767px) {
  
  /* When btnGrid is active (Normal Grid) -> Show 1 Card */
  #shopProductGrid.sf-product-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: var(--space-4);
  }
  #shopProductGrid.sf-product-grid.grid-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--space-2);
  }
  .grid-compact .sf-product-card__title {
    font-size: 0.875rem;
  }
}


.sf-offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 100vw);
  background: var(--color-bg);
  z-index: 200;
  padding: var(--space-6);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  border-left: 1px solid var(--color-border);
  box-shadow: var(--shadow-offcanvas);
}

.sf-offcanvas.is-open {
  transform: translateX(0);
}

.sf-offcanvas-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-overlay-scrim);
  z-index: 199;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.sf-offcanvas-overlay.is-open {
  opacity: 1;
  visibility: visible;
}


.sf-pdp {
  padding: var(--space-6) 0 var(--space-8);
}

.sf-pdp__grid {
  display: grid;
  gap: var(--space-8);
}

@media (min-width: 992px) {
  .sf-pdp__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.sf-pdp__gallery-main {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
}

.sf-pdp__gallery-main img {
  width: 100%;
  display: block;
  aspect-ratio: 1;
  object-fit: contain;
}

.sf-pdp__thumbs {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: var(--space-3);
}

.sf-pdp__thumb {
  width: 72px;
  height: 72px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: var(--color-surface);
}

.sf-pdp__thumb.is-active {
  border-color: var(--color-primary);
}

.sf-pdp__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-pdp__title {
  font-family: var(--font-heading, var(--font-family));
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 var(--space-4);
  line-height: 1.25;
}

.attribute-value-btn.disabled-option {
  opacity: 0.45;
  cursor: not-allowed;
  text-decoration: line-through;
}

.sf-option-btn {
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  cursor: pointer;
  font-size: 0.875rem;
  margin: var(--space-1);
}

.sf-option-btn.is-selected {
  border-color: var(--color-primary);
  background: var(--color-option-selected-bg);
  color: var(--color-primary);
  font-weight: 600;
}


.sf-trust-strip {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-trust-bg, var(--color-surface));
  padding: var(--space-6) 0;
  margin-top: var(--space-8);
}

.sf-trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

@media (min-width: 768px) {
  .sf-trust-strip__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sf-trust-strip strong {
  display: block;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}


.sf-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  list-style: none;
  margin: var(--space-8) 0 0;
  padding: 0;
}

.sf-pagination a,
.sf-pagination span {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--color-text);
  padding: 0 var(--space-3);
}

.sf-pagination .is-current {
  background: var(--color-primary);
  color: var(--color-on-primary);
  border-color: var(--color-primary);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}




.cd-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-overlay-scrim);
  backdrop-filter: blur(var(--backdrop-blur-overlay));
  z-index: calc(var(--z-drawer) - 1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-standard), visibility 0.3s var(--ease-standard);
}

.cd-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.cd-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--drawer-width);
  max-width: 100vw;
  background: var(--color-bg);
  z-index: var(--z-drawer);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s var(--ease-standard);
  box-shadow: var(--shadow-drawer);
  border-left: 1px solid var(--color-border);
}

.cd-drawer.is-open {
  transform: translateX(0);
}

.cd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-4) var(--space-3);
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.cd-title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
}

.cd-badge {
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.cd-close {
  width: var(--size-drawer-close);
  height: var(--size-drawer-close);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
}

.cd-close:hover {
  background: var(--color-surface);
  color: var(--color-text);
}

.cd-items {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-2) var(--space-4) 0;
  scrollbar-width: thin;
}

.cd-item {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
  align-items: flex-start;
}

.cd-item:last-child {
  border-bottom: none;
}

.cd-item__thumb {
  width: var(--size-thumb);
  height: var(--size-thumb);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
  flex-shrink: 0;
  border: 1px solid var(--color-border);
}

.cd-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cd-item__thumb-placeholder {
  width: 100%;
  height: 100%;
  min-height: 1px;
  background: var(--color-surface);
}

.cd-item__info {
  flex: 1;
  min-width: 0;
}

.cd-item__name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cd-item__variant {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin: 2px 0 0;
}

.cd-item__price {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin: var(--space-2) 0;
}

.cd-item__controls {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.cd-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  height: var(--size-qty-row);
  overflow: hidden;
}

.cd-qty__btn {
  width: var(--size-qty-col);
  height: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--color-text);
}

.cd-qty__btn:hover:not(:disabled) {
  background: var(--color-surface);
}

.cd-qty__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.cd-qty__val {
  width: var(--size-qty-col);
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 500;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
}

.cd-remove {
  border: 0;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
}

.cd-remove:hover {
  color: var(--color-danger);
  background: var(--color-danger-bg);
}

.cd-footer {
  padding: var(--space-4);
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
  background: var(--color-bg);
}

.cd-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-2);
}

.cd-total-label {
  font-size: 0.875rem;
  color: var(--color-muted);
}

.cd-total-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}

.cd-tax-note {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin: 0 0 var(--space-4);
}

.cd-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.cd-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: var(--size-touch);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}

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

.cd-btn-ghost:hover {
  background: var(--color-surface);
}

.cd-btn-solid {
  background: var(--color-primary);
  color: var(--color-on-primary);
  border-color: var(--color-primary);
}

.cd-btn-solid:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: var(--color-on-primary);
}

.cd-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-8);
  text-align: center;
  color: var(--color-muted);
}

.cd-empty__cta {
  width: auto;
  min-width: 160px;
}

.cd-skeleton {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
}

.cd-skel-thumb {
  width: var(--size-thumb);
  height: var(--size-thumb);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.cd-skel-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-top: var(--space-2);
}

.cd-skel-line {
  height: 10px;
  border-radius: var(--radius-sm);
  background: var(--color-border);
}

.cd-skel-line:nth-child(2) {
  width: 70%;
}

.cd-skel-line:nth-child(3) {
  width: 40%;
}

@media (max-width: 480px) {
  :root {
    --drawer-width: 100vw;
  }
}



.product-detail-main {
  padding: var(--space-6) 0 var(--space-8);
  background: var(--color-bg);
}

.product-detail-main .container,
.product-detail-main .sf-container {
  width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.product-detail-main .row {
  display: grid;
  gap: var(--space-8);
}

@media (min-width: 992px) {
  .product-detail-main .row {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.product-detail-main .col-lg-6,
.product-detail-main .col-12,
.product-detail-main .col-lg-8 {
  min-width: 0;
}


.form-control,
.form-select {
  display: block;
  width: 100%;
  height: 50px;
  padding: 0 var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: var(--text-sm);
  box-sizing: border-box;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

textarea.form-control {
  height: auto;
  padding: var(--space-3) var(--space-4);
  resize: vertical;
}

.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-pill-accent-bg);
}

.form-control::placeholder,
.form-select::placeholder {
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  display: block;
  margin-bottom: var(--space-2);
}


.d-block {
  display: block;
}

.d-flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-2 {
  gap: var(--space-2);
}

.gap-3 {
  gap: var(--space-3);
}

.mt-1 {
  margin-top: var(--space-2);
}

.mt-2 {
  margin-top: var(--space-2);
}

.mt-3 {
  margin-top: var(--space-4);
}

.mt-4 {
  margin-top: var(--space-6);
}

.mt-5 {
  margin-top: var(--space-8);
}

.mb-0 {
  margin-bottom: 0;
}

.mb-2 {
  margin-bottom: var(--space-2);
}

.mb-3 {
  margin-bottom: var(--space-4);
}

.mb-4 {
  margin-bottom: var(--space-6);
}

.p-3 {
  padding: var(--space-4);
}

.px-3 {
  padding-left: var(--space-3);
  padding-right: var(--space-3);
}

.px-4 {
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.rounded {
  border-radius: var(--radius-md);
}

.border {
  border: 1px solid var(--color-border);
}

.text-muted {
  color: var(--color-muted);
}

.text-danger {
  color: var(--color-danger);
}

.small {
  font-size: 0.8125rem;
}

.fw-bold {
  font-weight: 700;
}

.fw-semibold {
  font-weight: 600;
}


.sf-details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0;
  background: var(--color-bg);
}

.sf-details summary {
  padding: var(--space-4);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  background: var(--color-surface);
}

.sf-details summary::-webkit-details-marker {
  display: none;
}

.sf-details .sf-details__body {
  padding: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.gallery-main {
  transition: opacity 0.15s ease;
}

.spec-table td,
.spec-table th {
  padding: var(--space-st) var(--space-md);
  font-size: 0.875rem;
}

.spec-table th {
  font-weight: 700;
  background: var(--color-surface);
  width: 38%;
}

.attribute-value-btn.disabled-option {
  opacity: 0.45;
  cursor: not-allowed;
  text-decoration: line-through;
}


@media (min-width: 992px) {
  .product-detail-info {
    padding: var(--space-4) var(--space-4) var(--space-4) var(--space-6) !important;
  }
}


.p-xs {
  padding: var(--space-xs);
}

.p-sm {
  padding: var(--space-sm);
}

.p-md {
  padding: var(--space-md);
}

.p-lg {
  padding: var(--space-lg);
}

.mt-sm {
  margin-top: var(--space-sm);
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.pt-md {
  padding-top: var(--space-md);
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.bg-surface {
  background: var(--color-surface);
}

.text-center {
  text-align: center;
}

.w-full {
  width: 100%;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-between {
  justify-content: space-between;
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

.sf-section--tight-top {
  padding-top: var(--space-lg);
}

.sf-section__title--page {
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
  margin-top: 0;
}

.sf-shop-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.sf-shop-sort-form {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.sf-shop-count {
  font-size: 0.875rem;
  color: var(--color-muted);
}

.sf-shop-count strong {
  color: var(--color-text);
}

.sf-empty-state {
  text-align: center;
  padding: var(--space-xl);
  color: var(--color-muted);
}

.sf-offcanvas__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.sf-offcanvas__title {
  margin: 0;
  font-size: 1.125rem;
  color: var(--color-text);
}

.sf-offcanvas__close-lg {
  font-size: 1.5rem;
  line-height: 1;
}

.sf-form-field-stack {
  margin-bottom: var(--space-lg);
}

.sf-input--spaced-bottom {
  margin-bottom: var(--space-sm);
}

.sf-hero__placeholder-img {
  object-fit: cover;
  opacity: 0.35;
  max-height: 280px;
}

.sf-banner-static-wrap {
  padding: 0;
  overflow: hidden;
}

.sf-banner-static-wrap img,
.sf-banner-static img {
  display: block;
  width: 100%;
  height: auto;
}

.sf-card--cta {
  text-align: center;
  padding: var(--space-xl);
}

.sf-card--cta .sf-section__title {
  margin-bottom: var(--space-3);
}

.sf-card--cta__lead {
  color: var(--color-muted);
  margin: 0 0 var(--space-lg);
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}


.price-mrp-line {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0.35rem;
}

.price-mrp-strike {
  text-decoration: line-through;
}

.pdp-label {
  font-size: 0.8125rem;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  color: var(--color-text);
}

.pdp-variant-btn {
  min-height: 38px;
}

.qty-input--narrow {
  width: 50px;
  text-align: center;
}

.qty-input--cart {
  width: 44px;
  text-align: center;
}

.cart-checkout-cta {
  min-height: 52px;
  font-weight: var(--font-weight-bold);
}

.stock-indicator {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.pdp-stock-icon {
  margin-right: 0.25rem;
}

.pdp-stock-icon--ok {
  color: var(--color-text);
}

.pdp-stock-icon--bad {
  color: var(--color-danger);
}

.pdp-stock-icon--info {
  color: var(--color-text);
}

.link-see-all {
  font-size: 0.8rem;
  margin-left: var(--space-sm);
}

.star-rating-row {
  display: flex;
  gap: var(--space-xs);
  margin-top: var(--space-st);
}

.star-btn {
  background: none;
  border: none;
  font-size: 36px;
  color: var(--color-border);
  cursor: pointer;
  padding: 0 var(--space-xs);
  line-height: 1;
  transition: color 0.1s;
}

.star-btn.is-selected,
.star-btn.is-hover {
  color: var(--color-warning-fg);
}

.review-msg--error {
  color: var(--color-danger);
}

.review-msg--success {
  color: var(--color-success-fg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-md);
  min-height: var(--size-touch);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: var(--font-weight-semibold);
  border: 1px solid var(--color-primary);
  background: var(--color-primary);
  color: var(--color-on-primary);
  cursor: pointer;
  text-decoration: none;
}

.button:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: var(--color-on-primary);
}

.sf-card__header {
  padding: var(--space-md);
  border-bottom: 1px solid var(--color-border);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

.sf-card__body {
  padding: var(--space-md);
  color: var(--color-text);
}

.sf-callout {
  margin-top: var(--space-xl);
  padding: var(--space-md);
  background: var(--color-surface);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
}

.sf-callout__title {
  margin: 0;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

.sf-callout__body {
  margin: var(--space-sm) 0 0;
  color: var(--color-muted);
}

.sf-static-narrow {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}


.sf-cart-layout {
  display: grid;
  gap: var(--space-xl);
  align-items: start;
}

@media (min-width: 992px) {
  .sf-cart-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  }
}

.sf-cart-layout__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.sf-checkout-layout {
  display: grid;
  gap: var(--space-xl);
  align-items: start;
}

@media (min-width: 992px) {
  .sf-checkout-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  }
}

.sf-form-grid-2 {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .sf-form-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sf-form-grid-2__full {
  grid-column: 1 / -1;
}

.sf-flex-row-gap {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

.sf-flex-row-gap--stretch {
  align-items: stretch;
}

.sf-stack-sm {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.sf-stack-sm.gap-md {
  gap: var(--space-md);
}

.sf-align-start {
  align-items: flex-start;
}

.sf-grow {
  flex: 1 1 auto;
  min-width: 0;
}

.sf-checkout-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

@media (max-width: 576px) {
  .sf-btn-full-mobile {
    width: 100%;
    justify-content: center;
  }
}

.sf-success-layout {
  display: grid;
  gap: var(--space-lg);
  align-items: start;
}

@media (min-width: 992px) {
  .sf-success-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.85fr);
  }
}

.sf-success-details {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .sf-success-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sf-success-track-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .sf-success-track-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sf-success-narrow {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: 1fr !important;
}

.sf-contact-layout {
  display: grid;
  gap: var(--space-xl);
  align-items: start;
}

@media (min-width: 992px) {
  .sf-contact-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  }
}

.wl-continue-link {
  color: var(--color-muted);
  text-decoration: none;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wl-continue-link:hover {
  color: var(--color-primary);
}


.orders-num {
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
}

.orders-date {
  font-size: var(--text-sm);
  margin-top: var(--space-xs);
}

.orders-total {
  font-weight: var(--font-weight-bold);
  font-size: 1.125rem;
}

.orders-status {
  font-size: var(--text-sm);
}

.orders-items-wrap {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-sm);
}

.orders-line-price {
  font-weight: var(--font-weight-semibold);
}

.orders-empty-note {
  color: var(--color-muted);
}

.track-msg-mb {
  margin-bottom: var(--space-md);
}

.track-actions-mt {
  margin-top: var(--space-lg);
}

.order-section-title--sm {
  font-size: 0.9rem;
}

.retry-pay-section {
  padding-top: var(--space-xl);
}

.retry-pay-card {
  max-width: 520px;
  margin: 0 auto;
}

.retry-pay-title {
  margin-bottom: var(--space-sm);
}

.retry-pay-meta {
  margin-bottom: var(--space-md);
}

.retry-pay-status {
  margin-bottom: var(--space-st);
}

.retry-pay-back {
  margin-top: var(--space-md);
}

.vendor-page-title {
  font-weight: 400;
  font-size: var(--text-xl);
  color: var(--color-text);
}

.vendor-page-prose {
  line-height: 1.75;
  color: var(--color-muted);
}

.mt-lg-rem {
  margin-top: var(--space-lg);
}

.btn-loader {
  display: none;
  align-items: center;
}

.btn-loader.is-visible {
  display: inline-flex;
}

.contact-prose {
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.contact-link-muted {
  color: var(--color-muted);
}

.contact-form-lead {
  color: var(--color-muted);
  font-size: 0.9375rem;
  margin-bottom: var(--space-lg);
}

.textarea-contact {
  resize: vertical;
  min-height: 120px;
}

.contact-submit-btn {
  min-height: 52px;
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
}

.success-row-mt {
  margin-top: var(--space-lg);
}

.success-btn-mt {
  margin-top: var(--space-st);
}


.collection-product-grid.product-grid,
#product-container.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--product-grid-min, 220px), 1fr));
  gap: var(--product-grid-gap, var(--space-md));
}



.section-pad--checkout-top {
  padding-top: var(--space-xl);
}

.checkout-shipping-strong {
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
}

.checkout-trust-block {
  border-top: 1px solid var(--color-border);
}

.checkout-trust-line {
  font-size: var(--text-sm);
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.checkout-trust-line i {
  color: var(--color-text);
}

.address-card-label-block {
  cursor: pointer;
  display: block;
  margin-bottom: var(--space-st);
}

.checkout-radio-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.textarea-checkout {
  min-height: 80px;
  resize: vertical;
}

.btn-minw-80 {
  min-width: 80px;
}

.checkout-openbox-divider {
  border-top: 1px solid var(--color-border);
}

.checkout-openbox-label {
  cursor: pointer;
}

.checkout-openbox-title {
  font-size: var(--text-sm);
}

.checkout-openbox-help {
  font-size: var(--text-xs);
  color: var(--color-muted);
  margin: 2px 0 0;
}

#codChargeDisplay.is-hidden,
#shippingInfo.is-hidden,
#openBoxWarning.is-hidden,
#checkoutErrorMessage.is-hidden {
  display: none !important;
}

#codChargeDisplay:not(.is-hidden) {
  display: block;
}

#savedAddresses.is-hidden {
  display: none !important;
}

#newAddressSection.is-hidden {
  display: none !important;
}

.section-header-inline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-5);
}

.section-header-inline h3 {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

.saved-addresses {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.address-card.selectable {
  position: relative;
  cursor: pointer;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.address-card.selectable:hover {
  border-color: var(--color-muted);
  box-shadow: var(--shadow-sm);
}

.address-card.selectable.selected {
  border-color: var(--color-text);
  background: var(--color-bg);
  box-shadow: var(--shadow-md);
}

.address-card.selectable input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.address-card-content {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.address-card .address-info {
  flex: 1;
}

.address-card .address-info strong {
  display: block;
  font-size: var(--text-md);
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.address-card .address-info p {
  margin: 2px 0;
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.5;
}

.address-checkmark {
  width: var(--space-lg);
  height: var(--space-lg);
  border: 2px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color var(--transition-base), background var(--transition-base);
}

.address-checkmark svg {
  width: 14px;
  height: 14px;
  color: var(--color-on-primary);
  opacity: 0;
  transform: scale(0);
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.address-card.selectable.selected .address-checkmark {
  background: var(--color-text);
  border-color: var(--color-text);
}

.address-card.selectable.selected .address-checkmark svg {
  opacity: 1;
  transform: scale(1);
}

.checkout-form .form-row,
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}

.form-section {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.form-section:last-of-type {
  border-bottom: none;
}

.form-section h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-5);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-sm);
  color: var(--color-text);
  font-size: var(--text-sm);
}

.form-label-bw {
  display: block;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-sm);
  color: var(--color-text);
  font-size: var(--text-sm);
}

.form-control-bw {
  width: 100%;
  padding: var(--space-st) var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: var(--text-md);
}

.form-control-bw:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
}

.payment-option {
  position: relative;
  cursor: pointer;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.payment-option:hover {
  border-color: var(--color-muted);
  box-shadow: var(--shadow-sm);
}

.payment-option.selected {
  border-color: var(--color-text);
  background: var(--color-bg);
  box-shadow: var(--shadow-md);
}

.payment-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-option-content {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.payment-checkbox {
  width: var(--space-lg);
  height: var(--space-lg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition-base), border-color var(--transition-base);
}

.payment-checkbox .checkmark {
  width: var(--space-md);
  height: var(--space-md);
  color: var(--color-on-primary);
  opacity: 0;
  transform: scale(0);
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.payment-option.selected .payment-checkbox {
  background: var(--color-text);
  border-color: var(--color-text);
}

.payment-option.selected .payment-checkbox .checkmark {
  opacity: 1;
  transform: scale(1);
}

.payment-details {
  flex: 1;
}

.payment-option strong {
  display: block;
  font-size: var(--text-md);
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.payment-option p {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.4;
}

.sf-checkout-summary,
.order-summary-card {
  position: sticky;
  top: calc(var(--header-h) + var(--space-md));
}

.sf-checkout-summary h5,
.order-summary-card h5 {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  margin: 0 0 var(--space-5);
  color: var(--color-text);
}

.order-items {
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: var(--space-5);
  padding-right: var(--space-sm);
}

.order-items::-webkit-scrollbar {
  width: 6px;
}

.order-items::-webkit-scrollbar-track {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
}

.order-items::-webkit-scrollbar-thumb {
  background: var(--color-muted);
  border-radius: var(--radius-lg);
}

.order-line {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-st) 0;
  border-bottom: 1px solid var(--color-surface);
}

.order-line:last-child {
  border-bottom: none;
}

.order-line img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
}

.order-line .line-info {
  flex: 1;
  min-width: 0;
}

.order-line .line-info h6 {
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin: 0 0 var(--space-xs);
  font-size: var(--text-sm);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.order-line .line-info small {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.order-line .line-price {
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  font-size: var(--text-sm);
  white-space: nowrap;
}

.order-total-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-st) 0;
  font-size: var(--text-md);
  color: var(--color-text);
}

.order-total-row.is-hidden {
  display: none !important;
}

.order-grand-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 2px solid var(--color-border);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
}

.btn-remove-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  transition: color var(--transition-base), background var(--transition-base);
}

.btn-remove-item:hover {
  color: var(--color-text);
  background: var(--color-surface);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-st) 0;
  font-size: var(--text-md);
  color: var(--color-text);
}

.summary-row.total-row {
  border-top: 2px solid var(--color-border);
  margin-top: var(--space-st);
  padding-top: var(--space-md);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
}

.notification {
  padding: var(--space-md) var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}

.notification.error {
  background: var(--color-danger-bg);
  border: 1px solid var(--color-danger-border);
  color: var(--color-danger-fg);
}

.checkout-primary-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-st);
}

.checkout-primary-actions .sf-btn {
  width: 100%;
  border-radius: var(--radius-pill) !important;
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-height: 50px;
}

.checkout-primary-actions .sf-btn--outline {
  background: var(--color-surface) !important;
  border-color: var(--color-border) !important;
  color: var(--color-text) !important;
}

.checkout-primary-actions .sf-btn--outline:hover {
  background: var(--color-surface-elevated) !important;
  border-color: var(--color-border) !important;
}

.checkout-primary-actions .sf-btn--primary {
  background: var(--color-text) !important;
  border-color: var(--color-text) !important;
  color: var(--color-on-primary) !important;
}

.checkout-primary-actions .sf-btn--primary:hover {
  opacity: 0.92;
  border-color: var(--color-text) !important;
  color: var(--color-on-primary) !important;
}

@media (min-width: 576px) {
  .checkout-primary-actions {
    flex-direction: row;
  }
}

@media (max-width: 768px) {

  .sf-checkout-layout .order-summary-card,
  .sf-checkout-layout .sf-checkout-summary {
    order: -1;
    position: static;
    margin-bottom: var(--space-xl);
  }
}


.collection-page-header {
  padding: var(--space-md) 0 var(--space-st);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.collection-page-title {
  font-family: var(--font-sans);
  font-size: clamp(22px, 5vw, 28px);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin: 0 0 var(--space-xs);
}

.collection-page-description {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin: 0;
}

.collection-container {
  padding-top: var(--space-st);
  padding-bottom: var(--space-8);
}

.collection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-st) 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-st);
}

.toolbar-sort {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.toolbar-label {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin: 0;
}

.toolbar-sort-select {
  padding: var(--space-sm) var(--space-st);
  font-size: var(--text-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
  cursor: pointer;
  min-width: 140px;
}

.toolbar-divider {
  width: 1px;
  height: var(--space-lg);
  background: var(--color-border);
  flex-shrink: 0;
}

.toolbar-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  position: relative;
}

.toolbar-filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.toolbar-filter-icon {
  width: 18px;
  height: 18px;
}

.toolbar-filter-dot {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
}

.filter-chips-wrap {
  margin-bottom: var(--space-md);
  -webkit-overflow-scrolling: touch;
}

.filter-chips {
  display: flex;
  gap: var(--space-sm);
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: var(--space-sm);
}

.filter-chips::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  font-size: 0.8125rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.filter-chip:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.filter-chip.active {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary-hover);
}

.collection-product-count {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin: 0 0 var(--space-md);
}

.product-grid.collection-product-grid,
#product-container.collection-product-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

@media (min-width: 640px) {

  .product-grid.collection-product-grid,
  #product-container.collection-product-grid {
    gap: var(--space-5);
  }
}

@media (min-width: 1024px) {

  .product-grid.collection-product-grid,
  #product-container.collection-product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
  }
}

.collection-product-card {
  position: relative;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
  display: flex;
  flex-direction: column;
}

.collection-product-card:hover {
  border-color: var(--color-muted);
  box-shadow: var(--shadow-md);
}

.collection-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.collection-card-image {
  position: relative;
  width: 100%;
  padding-top: 125%;
  background: var(--color-surface);
  overflow: hidden;
}

.collection-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.collection-product-card:hover .collection-card-image img {
  transform: scale(1.04);
}

.collection-card-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  padding: var(--space-xs) var(--space-sm);
  font-size: 10px;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-radius: var(--radius-sm);
  z-index: 2;
}

.collection-card-badge-bestseller {
  background: var(--color-success-fg);
  color: var(--color-on-primary);
}

.collection-card-badge-discount {
  background: var(--color-primary-hover);
  color: var(--color-on-primary);
}

.collection-product-card .product-card-wishlist {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  z-index: 2;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.collection-card-info {
  padding: var(--space-st);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.collection-card-category {
  font-size: 11px;
  color: var(--color-muted);
  margin: 0 0 var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.collection-card-name {
  font-size: 0.8125rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  line-height: var(--line-height-snug);
  margin: 0 0 var(--space-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.collection-card-price-block {
  margin-top: auto;
}

.collection-card-discount-pct {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-success-fg);
  display: inline-block;
  margin-bottom: 2px;
}

.collection-card-prices {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.collection-card-prices .current-price {
  font-size: var(--text-md);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
}

.collection-card-prices .original-price {
  font-size: var(--text-xs);
  color: var(--color-muted);
  text-decoration: line-through;
}

.collection-empty {
  text-align: center;
  padding: var(--space-10) var(--space-md);
}

.collection-empty-icon {
  font-size: 48px;
  margin-bottom: var(--space-md);
  opacity: 0.5;
}

.collection-empty h2 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.collection-empty p {
  color: var(--color-muted);
  margin-bottom: var(--space-5);
}

.collection-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-8);
  flex-wrap: wrap;
}

.pagination-link {
  padding: var(--space-sm) var(--space-md);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary-hover);
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.pagination-link:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
}

.pagination-current {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.filter-sheet-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-overlay-scrim);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.filter-sheet-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.filter-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 85vh;
  background: var(--color-bg);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: var(--shadow-offcanvas);
  z-index: 1001;
  transform: translateY(100%);
  transition: transform var(--transition-base);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.filter-sheet.is-open {
  transform: translateY(0);
}

.filter-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md);
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.filter-sheet-title {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin: 0;
}

.filter-sheet-close {
  width: var(--size-touch);
  height: var(--size-touch);
  padding: 0;
  border: none;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  font-size: var(--text-xl);
  line-height: 1;
  color: var(--color-text);
  cursor: pointer;
}

.filter-sheet-close:hover {
  background: var(--color-border);
}

.filter-sheet-form {
  padding: var(--space-md);
  overflow-y: auto;
  flex: 1;
}

.filter-sheet-group {
  margin-bottom: var(--space-md);
}

.filter-sheet-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.filter-sheet-group select,
.filter-sheet-group input {
  width: 100%;
  padding: var(--space-st);
  font-size: var(--text-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
}

.filter-sheet-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.filter-sheet-actions {
  display: flex;
  gap: var(--space-st);
  margin-top: var(--space-lg);
}

.filter-sheet-actions .sf-btn {
  flex: 1;
}

.filter-sheet-reset {
  text-align: center;
}

@media (min-width: 769px) {
  .filter-sheet {
    left: 50%;
    right: auto;
    width: 400px;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    transform: translate(-50%, 100%);
  }

  .filter-sheet.is-open {
    transform: translate(-50%, 0);
  }
}

.collection-scroll-sentinel {
  height: 1px;
  width: 100%;
  visibility: hidden;
  pointer-events: none;
  margin: 0;
  padding: 0;
}

.collection-loading-spinner {
  display: none;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-lg) 0;
  min-height: 48px;
}

.collection-loading-spinner.is-active {
  display: flex;
}

.collection-loading-spinner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-muted);
  animation: collection-spinner-bounce 0.6s ease-in-out infinite alternate;
}

.collection-loading-spinner-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.collection-loading-spinner-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes collection-spinner-bounce {
  from {
    transform: scale(0.8);
    opacity: 0.6;
  }

  to {
    transform: scale(1.2);
    opacity: 1;
  }
}


.auth-page .sf-btn .btn-text {
  display: inline-block;
}

.auth-page .sf-btn .btn-loader {
  display: none;
}

.auth-page .sf-btn .btn-loader.is-visible {
  display: inline-flex;
  align-items: center;
}

.auth-page .sf-btn .btn-text.is-hidden {
  display: none;
}

#resendOtpBtn.sf-btn--link:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  text-decoration: none;
}

.auth-page .sf-btn--primary,
.auth-page .sf-btn--secondary {
  min-height: 52px;
}

.btn-action,
.sf-btn-action {
  display: inline-flex;
  align-items: center;
  gap: var(--space-st);
  padding: var(--space-sm) 14px;
  border: none;
  background: var(--color-surface);
  color: var(--color-text);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: background var(--transition-base);
}

.btn-action svg,
.sf-btn-action svg {
  width: var(--size-icon-sm);
  height: var(--size-icon-sm);
}

.btn-action:hover,
.sf-btn-action:hover {
  background: var(--color-surface-elevated);
}

.btn-action.danger,
.sf-btn-action--danger {
  color: var(--color-danger);
}

.btn-action.danger:hover,
.sf-btn-action--danger:hover {
  background: var(--color-danger-bg);
}

.form-input:focus,
.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-pill-accent-bg);
}

.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
  border-color: var(--color-danger) !important;
  background-color: var(--color-danger-bg);
}

.form-group.has-error input:focus,
.form-group.has-error textarea:focus,
.form-group.has-error select:focus {
  border-color: var(--color-danger) !important;
  box-shadow: 0 0 0 3px var(--color-danger-border) !important;
}

.spinner {
  width: var(--space-lg);
  height: var(--space-lg);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-st);
}

.order-item-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.orders-list .order-item {
  border-radius: var(--radius-lg);
  padding: var(--space-st) 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-st);
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

.order-item-link:hover .order-item {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  border-color: var(--color-border);
}

.profile-page {
  padding: var(--space-8) 0;
  min-height: calc(100vh - 400px);
}

.profile-container {
  max-width: 600px;
  margin: 0 auto;
}

.profile-page .breadcrumb {
  margin-bottom: var(--space-md);
}

.profile-page .breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
  font-size: var(--text-sm);
}

.profile-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.profile-card h1 {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-lg);
}

.profile-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.profile-page .form-group {
  display: flex;
  flex-direction: column;
}

.profile-page .form-group label {
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
}

.profile-page .form-help {
  margin-top: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.profile-page .form-actions {
  display: flex;
  gap: var(--space-st);
  margin-top: var(--space-md);
}

.address-form-page {
  padding: var(--space-8) 0;
  min-height: calc(100vh - 400px);
}

.address-form-container {
  max-width: 700px;
  margin: 0 auto;
}

.address-form-page .breadcrumb {
  margin-bottom: var(--space-md);
}

.address-form-page .breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
  font-size: var(--text-sm);
}

.address-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.address-form-page .form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}

.address-form-page .form-group {
  display: flex;
  flex-direction: column;
}

.address-form-page .form-group label {
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
}

.address-form-page .checkbox-group {
  margin-top: var(--space-sm);
}

.address-form-page .checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
}

.address-form-page .checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.address-form-page .form-actions {
  display: flex;
  gap: var(--space-st);
  margin-top: var(--space-md);
}

.auth-page {
  min-height: calc(100vh - 400px);
  display: flex;
  align-items: center;
  padding: var(--space-2xl) 0;
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-surface) 100%);
}

.auth-container {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.auth-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.auth-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.auth-title {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.auth-subtitle {
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.auth-form {
  margin-bottom: var(--space-md);
}

.auth-page .form-group {
  margin-bottom: var(--space-5);
}

.auth-page .form-group input {
  display: block;
  width: 100%;
  height: 50px;
  padding: 0 var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--color-text);
  background: var(--color-bg);
  box-sizing: border-box;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.auth-page .form-group input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-pill-accent-bg);
}

.auth-page .form-group input::placeholder {
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.auth-page .form-label {
  display: block;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-sm);
  color: var(--color-text);
  font-size: var(--text-sm);
}

.otp-sent-notice {
  background: var(--color-success-bg);
  border: 1px solid var(--color-success-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.otp-sent-notice .check-icon {
  width: var(--space-2xl);
  height: var(--space-2xl);
  color: var(--color-success-fg);
  margin-bottom: var(--space-st);
}

.text-small {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-top: var(--space-xs);
}

.otp-input-group {
  display: flex;
  gap: var(--space-st);
  justify-content: center;
  margin: var(--space-md) 0;
}

.otp-digit {
  width: 56px;
  height: 56px;
  text-align: center;
  font-size: var(--text-xl);
  font-weight: var(--font-weight-semibold);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  background: var(--color-bg);
  color: var(--color-text);
}

.otp-digit:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-pill-accent-bg);
}

.otp-timer {
  text-align: center;
  margin-bottom: var(--space-md);
  font-size: var(--text-sm);
}

.auth-footer {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.security-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.lock-icon {
  width: var(--size-icon-sm);
  height: var(--size-icon-sm);
}

@media (max-width: 768px) {
  .auth-card {
    padding: var(--space-lg);
  }

  .otp-digit {
    width: 48px;
    height: 48px;
    font-size: var(--text-lg);
  }

  .profile-card {
    padding: var(--space-lg);
  }

  .profile-page .form-actions {
    flex-direction: column;
  }

  .address-form-page {
    padding: var(--space-md) 0;
  }

  .address-form-page .form-row {
    grid-template-columns: 1fr;
    gap: var(--space-st);
  }

  .address-form-page .form-actions {
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-st);
  }
}


.success-page {
  background: linear-gradient(180deg, var(--color-surface), var(--color-bg));
}

@media (max-width: 575px) {
  .success-page {
    padding-top: var(--space-xl);
  }
}

.success-main-card {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--color-text);
  animation: successCardIn 0.45s ease-out;
}

.success-main-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0% 0%, var(--color-overlay-scrim), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}

.success-main-card>* {
  position: relative;
  z-index: 1;
}

.success-header {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-5);
}

@media (max-width: 575px) {
  .success-header {
    align-items: flex-start;
  }
}

.success-icon-badge {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-pill);
  background: radial-gradient(circle at 30% 0%, var(--color-bg), var(--color-text));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-on-primary);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
  animation: successIconPop 0.45s ease-out, successIconPulse 1.6s ease-out 0.6s infinite;
}

.success-icon-check {
  font-size: var(--space-xl);
  font-weight: var(--font-weight-bold);
}

.success-header-text {
  flex: 1;
}

.success-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-st);
  padding: var(--space-xs) var(--space-st);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--color-surface);
  color: var(--color-muted);
  margin-bottom: var(--space-st);
}

.success-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 26px);
  font-weight: var(--font-weight-bold);
  margin: 0 0 var(--space-xs);
  color: var(--color-text);
}

.success-subtitle {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.success-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-st);
  margin: var(--space-5) 0 var(--space-lg);
}

@media (max-width: 767.98px) {
  .success-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .success-meta-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.success-meta-item {
  padding: var(--space-st) var(--space-st);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
}

.success-meta-item .label {
  display: block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  margin-bottom: var(--space-xs);
}

.success-meta-item .value {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

.success-detail-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  padding: 14px var(--space-md);
}

.success-detail-card h3 {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  margin: 0 0 var(--space-st);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
}

.success-detail-card .detail-line {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.success-detail-card .detail-line+.detail-line {
  margin-top: 2px;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-st);
  align-items: center;
  margin-top: var(--space-sm);
}

@media (max-width: 575px) {
  .success-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.success-actions .sf-btn {
  min-height: 46px;
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-pill);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.success-actions .sf-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.success-actions .sf-btn--whatsapp svg {
  width: var(--size-icon-sm);
  height: var(--size-icon-sm);
}

.success-link {
  padding: 0;
  font-size: var(--text-sm);
  color: var(--color-muted) !important;
}

.success-link:hover {
  color: var(--color-text) !important;
  text-decoration: underline !important;
}

.success-footer-note {
  margin-top: 14px;
  font-size: var(--text-xs);
  color: var(--color-muted);
}

.success-summary-card {
  box-shadow: var(--shadow-sm);
  background: var(--color-bg);
  position: static;
}

.success-items-list {
  max-height: 260px;
  overflow-y: auto;
  margin-bottom: var(--space-st);
}

.success-item-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-st);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
}

.success-item-row:last-child {
  border-bottom: none;
}

.success-item-row .item-title {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: 2px;
}

.success-item-row .item-meta {
  font-size: var(--text-xs);
  color: var(--color-muted);
}

.success-item-row .item-price {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  white-space: nowrap;
}

@keyframes successCardIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes successIconPop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }

  70% {
    transform: scale(1.05);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes successIconPulse {
  0% {
    box-shadow: 0 0 0 0 var(--color-overlay-scrim);
  }

  70% {
    box-shadow: 0 0 0 10px transparent;
  }

  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}


.product-detail-main {
  background: var(--color-bg);
  padding: var(--space-lg) 0 var(--space-2xl);
}

.gallery-section .gallery-main {
  border: none !important;
  border-radius: var(--radius-xl) !important;
  background: var(--color-surface) !important;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: default;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.gallery-section .gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  display: block;
}

.gallery-section .gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-pcard-wishlist-bg);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text);
  font-size: 1rem;
  transition: background var(--transition-base);
  z-index: 5;
  box-shadow: var(--shadow-sm);
}

.gallery-section .gallery-arrow:hover {
  background: var(--color-bg);
}

.gallery-section .gallery-arrow-prev {
  left: 14px;
}

.gallery-section .gallery-arrow-next {
  right: 14px;
}

.gallery-section .gallery-thumbs {
  display: flex !important;
  flex-direction: row;
  justify-content: center !important;
  align-items: center;
  gap: var(--space-st);
  margin-top: var(--space-md) !important;
  overflow-x: auto;
  padding-bottom: var(--space-xs);
  scrollbar-width: none;
}

.gallery-section .gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.gallery-section .gallery-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  border: 2px solid transparent !important;
  overflow: hidden;
  cursor: pointer;
  background: var(--color-surface);
  flex-shrink: 0;
  transition: border-color var(--transition-base);
}

.gallery-section .gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.gallery-section .gallery-thumb.active,
.gallery-section .gallery-thumb:hover {
  border-color: var(--color-text) !important;
}

.product-detail-info {
  padding: var(--space-lg) clamp(var(--space-md), 12vw, 90px) var(--space-lg) clamp(var(--space-md), 18vw, 172px);
}

.product-detail-info .product-category {
  font-size: 0.75rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-st);
  display: block;
}

.product-detail-info .product-detail-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: normal;
  color: var(--color-text) !important;
  margin-bottom: var(--space-md) !important;
}

@media (max-width: 1199px) {
  .product-detail-info .product-detail-title {
    font-size: 42px !important;
  }
}

@media (max-width: 767px) {
  .product-detail-info .product-detail-title {
    font-size: 32px !important;
    line-height: 1.1 !important;
  }

  .product-detail-info {
    padding-left: 0;
    padding-right: 0;
  }
}

.product-detail-info .product-detail-rating {
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.product-detail-info .product-detail-rating .stars {
  color: var(--color-star-rating);
  font-size: 0.9rem;
}

.product-detail-info .product-detail-rating .rating-count {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.product-detail-info .product-detail-price {
  display: flex !important;
  align-items: baseline !important;
  gap: var(--space-st) !important;
  padding: var(--space-5) 0 !important;
  border-top: 1px solid var(--color-border) !important;
  border-bottom: none !important;
  margin-bottom: 0 !important;
}

.product-detail-info .product-detail-price .price-main {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  line-height: 28px;
  color: var(--color-text) !important;
}

.product-detail-info .price-breakdown {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-detail-info .price-breakdown>div {
  font-size: var(--text-sm);
  color: var(--color-text);
}

.product-detail-info .price-breakdown .price-total-line {
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-md);
  margin-top: var(--space-xs);
}

.product-detail-info .price-breakdown .price-gst {
  color: var(--color-muted);
}

.product-detail-info .product-detail-price .price-was {
  font-size: 0.9rem;
  color: var(--color-muted);
  text-decoration: line-through;
}

.product-detail-info .product-detail-price .price-save {
  font-size: 0.72rem;
  background: var(--color-text);
  color: var(--color-on-primary);
  padding: 2px var(--space-st);
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
  font-weight: var(--font-weight-medium);
  align-self: center;
}

.product-detail-info .pd-divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  margin: var(--space-sm) 0 var(--space-5);
}

#variantAttributeGroups {
  margin-bottom: var(--space-5);
}

#variantAttributeGroups>.mb-2>span {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text);
  display: block;
  margin-bottom: var(--space-st);
}

.product-cta-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: var(--space-st) !important;
  margin: 0 0 var(--space-st) !important;
  width: 100%;
}

.qty-selector {
  width: 126px !important;
  height: 52px !important;
  border-radius: var(--radius-lg) !important;
  border: 1.5px solid var(--color-border) !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  background: var(--color-bg);
}

.qty-selector button {
  width: 40px !important;
  height: 52px !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem !important;
  color: var(--color-text);
  transition: background var(--transition-fast);
  border-radius: 0 !important;
}

.qty-selector button:hover {
  background: var(--color-surface) !important;
}

.qty-selector input {
  width: 46px !important;
  height: 52px !important;
  border: none !important;
  border-left: 1px solid var(--color-border) !important;
  border-right: 1px solid var(--color-border) !important;
  text-align: center;
  font-size: 0.9375rem !important;
  font-weight: var(--font-weight-medium) !important;
  color: var(--color-text) !important;
  background: transparent !important;
  outline: none !important;
  -moz-appearance: textfield;
  padding: 0 !important;
}

.qty-selector input::-webkit-outer-spin-button,
.qty-selector input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.btn-add-cart {
  flex: 1 !important;
  height: 52px !important;
  border-radius: var(--radius-lg) !important;
  background: var(--color-bg) !important;
  color: var(--color-text) !important;
  border: 1.5px solid var(--color-text) !important;
  font-size: var(--text-sm) !important;
  font-weight: var(--font-weight-medium) !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--space-sm) !important;
  cursor: pointer;
  transition: background var(--transition-base), border-color var(--transition-base) !important;
  min-height: unset !important;
  padding: 0 var(--space-5) !important;
}

.btn-add-cart:hover:not(:disabled),
.btn-add-cart:focus:not(:disabled) {
  background: var(--color-surface) !important;
  color: var(--color-text) !important;
  border-color: var(--color-text) !important;
  box-shadow: none !important;
}

.btn-add-cart:disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
}

.btn-buy-now {
  width: 100% !important;
  height: 52px !important;
  border-radius: var(--radius-lg) !important;
  background: var(--color-text) !important;
  color: var(--color-on-primary) !important;
  border: none !important;
  font-size: 0.9375rem !important;
  font-weight: var(--font-weight-medium) !important;
  letter-spacing: 0.03em !important;
  text-transform: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  transition: opacity var(--transition-base), background var(--transition-base) !important;
  min-height: unset !important;
  padding: 0 !important;
}

.btn-buy-now:hover:not(:disabled) {
  opacity: 0.88;
  color: var(--color-on-primary) !important;
}

.btn-buy-now:disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
}

.stock-indicator {
  font-size: 0.8125rem;
  color: var(--color-muted);
  display: flex;
  align-items: center;
}

.trust-badge {
  font-size: 0.75rem;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: var(--space-st);
  letter-spacing: 0.02em;
}

.trust-badge i {
  color: var(--color-trust-accent);
  font-size: 0.85rem;
}

.product-wishlist {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8125rem;
  color: var(--color-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--space-st);
  transition: color var(--transition-base);
  margin-top: var(--space-st);
}

.product-wishlist:hover,
.product-wishlist.in-wishlist {
  color: var(--color-danger);
}

.gallery-main-wrap {
  position: relative;
}

.pdp-wishlist-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: var(--size-touch);
  height: var(--size-touch);
  border-radius: 50%;
  background: var(--color-pcard-wishlist-bg);
  backdrop-filter: blur(var(--backdrop-blur-floating));
  -webkit-backdrop-filter: blur(var(--backdrop-blur-floating));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: var(--shadow-md);
  transition: background var(--transition-base), transform 0.18s ease, box-shadow var(--transition-base);
}

.pdp-wishlist-btn:hover {
  background: var(--color-bg);
  transform: scale(1.06);
}

.pdp-wishlist-btn svg {
  width: var(--space-lg);
  height: var(--space-lg);
  stroke: var(--color-text);
  fill: none;
  transition: stroke var(--transition-base), fill var(--transition-base);
  pointer-events: none;
  display: block;
}

.pdp-wishlist-btn:hover svg {
  stroke: var(--color-danger);
}

.pdp-wishlist-btn.in-wishlist svg {
  fill: var(--color-danger);
  stroke: var(--color-danger);
}

.row.mt-5.pt-4 h3,
.row.mt-5.pt-4 h3.mb-4 {
  font-family: var(--font-heading);
  font-size: var(--text-xl) !important;
  font-weight: 400 !important;
  color: var(--color-text) !important;
  margin-bottom: var(--space-xl) !important;
}

.product-grid .product-card:not(.sf-pcard) {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0;
  overflow: visible;
}

.product-grid .product-card:not(.sf-pcard) .product-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  display: block;
  flex-shrink: 0;
}

.product-grid .product-card:not(.sf-pcard) .product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
  transition: transform var(--transition-slow);
}

.product-grid .product-card:not(.sf-pcard):hover .product-img-wrap img {
  transform: scale(1.04);
}

.product-grid .product-card:not(.sf-pcard) .product-body {
  padding: var(--space-st) 2px 0;
}

.product-grid .product-card:not(.sf-pcard) .product-category {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-xs);
}

.product-grid .product-card:not(.sf-pcard) .product-name {
  font-size: var(--text-sm) !important;
  font-weight: 400 !important;
  color: var(--color-text) !important;
  line-height: var(--line-height-snug) !important;
  margin: 0 0 var(--space-st) !important;
}

.product-grid .product-card:not(.sf-pcard) .product-price .price-current {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--color-text);
}

.product-grid .product-card:not(.sf-pcard) .product-cta {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-muted);
  letter-spacing: 0.06em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--transition-base), border-color var(--transition-base);
  padding-bottom: 1px;
}

.product-grid .product-card:not(.sf-pcard) .product-cta:hover {
  color: var(--color-text);
  border-bottom-color: var(--color-text);
}

.review-card {
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-md) !important;
  background: var(--color-surface);
}

.reviewer {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

.review-date {
  color: var(--color-muted) !important;
  font-size: 0.75rem !important;
}

.review-stars {
  color: var(--color-star-rating);
  font-size: 1rem;
  margin: var(--space-xs) 0;
}

.review-title {
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-sm);
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.review-card p {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.65;
}

.row.mt-4 h4,
.row#reviews h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl) !important;
  font-weight: 400 !important;
  color: var(--color-text) !important;
}

.btn-add-cart.btn-added,
.product-add-form .btn-added {
  pointer-events: none;
  background: var(--color-success-strong) !important;
  border-color: var(--color-success-strong) !important;
  color: var(--color-on-primary) !important;
}

.btn-add-cart.btn-adding,
.product-add-form .btn-adding {
  pointer-events: none;
  opacity: 0.9;
}

@media (max-width: 991px) {
  .product-detail-main {
    padding: var(--space-lg) 0 var(--space-2xl);
  }

  .product-detail-info {
    padding: var(--space-lg) 0 0 0 !important;
    margin-top: var(--space-sm);
  }
}

@media (max-width: 575px) {
  .gallery-section .gallery-thumb {
    width: 52px;
    height: 52px;
  }

  .pdp-wishlist-btn {
    top: var(--space-st);
    right: var(--space-st);
    width: 38px;
    height: 38px;
  }
}


.sf-account-shell {
  padding: var(--space-xl) 0 var(--space-2xl);
  min-height: 60vh;
}

.sf-account-shell .sf-container {
  width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.sf-account-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.sf-account-header h1 {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  margin: 0 0 var(--space-sm);
}

.sf-account-header p {
  margin: 0;
  color: var(--color-muted);
}

.sf-account-header .sf-breadcrumb {
  justify-content: center;
  margin-top: var(--space-sm);
}

.sf-account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.sf-account-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.sf-account-card--full {
  grid-column: 1 / -1;
}

.sf-account-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.sf-account-card__head h2 {
  margin: 0;
  font-size: var(--text-md);
  font-weight: var(--font-weight-semibold);
}

.sf-account-card__body {
  padding: var(--space-lg);
}

.sf-info-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-st) 0;
  border-bottom: 1px solid var(--color-border);
}

.sf-info-row:last-child {
  border-bottom: none;
}

.sf-info-label {
  font-weight: var(--font-weight-semibold);
  color: var(--color-muted);
}

.sf-orders-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-st);
}

.sf-order-item-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.sf-order-item {
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-st);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  background: var(--color-surface);
}

.sf-order-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.sf-order-info {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--space-st);
  align-items: center;
  min-width: 0;
}

.sf-order-number {
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  font-size: var(--text-xs);
  white-space: nowrap;
}

.sf-order-status {
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  white-space: nowrap;
  width: fit-content;
}

.sf-payment-status {
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  white-space: nowrap;
  width: fit-content;
}

.sf-order-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-xs);
  white-space: nowrap;
}

.sf-order-date {
  font-size: var(--text-xs);
  color: var(--color-muted);
}

.sf-order-total {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
}

.sf-order-progress {
  width: 100%;
  margin-top: var(--space-sm);
}

.sf-order-progress-track {
  height: var(--space-xs);
  background: var(--color-border);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.sf-order-progress-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: var(--radius-pill);
  width: 0;
}

.sf-order-progress-fill.step-placed,
.sf-order-progress-fill.step-confirmed {
  width: 33%;
}

.sf-order-progress-fill.step-shipped {
  width: 66%;
}

.sf-order-progress-fill.step-delivered {
  width: 100%;
}

.sf-addresses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-md);
}

.sf-address-card {
  position: relative;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  background: var(--color-bg);
}

.sf-address-card.is-default {
  border-color: var(--color-primary);
}

.sf-address-badge {
  position: absolute;
  top: var(--space-st);
  right: var(--space-st);
  background: var(--color-primary);
  color: var(--color-on-primary);
  padding: var(--space-xs) var(--space-st);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
}

.sf-address-card p {
  margin: var(--space-xs) 0;
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.sf-address-actions {
  display: flex;
  gap: var(--space-md);
  padding-top: var(--space-md);
  margin-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.sf-quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-md);
}

.sf-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-text);
  transition: border-color var(--transition-base), background var(--transition-base);
}

.sf-action-btn:hover {
  border-color: var(--color-primary);
  background: var(--color-bg);
}

.sf-action-btn--danger:hover {
  border-color: var(--color-danger);
  background: var(--color-danger-bg);
  color: var(--color-danger);
}

.sf-action-btn svg {
  width: 32px;
  height: 32px;
}

.sf-account-empty {
  text-align: center;
  color: var(--color-muted);
  padding: var(--space-md);
}

.sf-account-empty a {
  color: var(--color-primary);
  text-decoration: underline;
}

.sf-account-card__head .sf-btn--compact {
  padding: var(--space-xs) var(--space-md);
  min-height: auto;
  font-size: var(--text-sm);
}

.sf-link-action {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  color: var(--color-primary);
  text-decoration: underline;
}

.sf-link-action:hover {
  color: var(--color-primary-hover);
}

.sf-link-action--danger {
  color: var(--color-danger);
}

.sf-link-action--danger:hover {
  color: var(--color-danger-fg);
}

.sf-addresses-page {
  padding: var(--space-xl) 0 var(--space-2xl);
  min-height: 50vh;
}

.sf-addresses-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.sf-addresses-toolbar h2 {
  margin: 0;
  font-size: var(--text-lg);
}

.sf-back-link {
  display: inline-block;
  margin-bottom: var(--space-md);
  color: var(--color-primary);
  text-decoration: none;
  font-size: var(--text-sm);
}

.sf-back-link:hover {
  text-decoration: underline;
}

.sf-empty-state--boxed {
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
}

.sf-empty-state--boxed .sf-empty-icon {
  width: 80px;
  height: 80px;
  color: var(--color-muted);
  margin: 0 auto var(--space-md);
}

.sf-empty-state--boxed h3 {
  font-size: var(--text-xl);
  margin: 0 0 var(--space-sm);
}

.sf-empty-state--boxed p {
  color: var(--color-muted);
  margin: 0 0 var(--space-lg);
}

@media (max-width: 768px) {
  .sf-account-grid {
    grid-template-columns: 1fr;
  }

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

  .sf-quick-actions {
    grid-template-columns: repeat(2, 1fr);
  }
}


.sf-static-hero--contact {
  background: linear-gradient(var(--color-overlay-scrim), var(--color-overlay-scrim)),
    linear-gradient(135deg, var(--color-surface) 0%, var(--color-border) 100%);
  padding: var(--space-2xl) 0 var(--space-xl);
  text-align: center;
}

.sf-static-hero--contact .sf-static-hero__title,
.sf-static-hero--contact .page-header-title {
  color: var(--color-text);
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
}

/* Breadcrumb (storefront-native; do not rely on Bootstrap) */
.sf-breadcrumb__list {
  list-style: none;
  margin: var(--space-md) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.sf-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.sf-breadcrumb__item:not(:last-child)::after {
  content: '/';
  color: var(--color-border);
  font-weight: 400;
  pointer-events: none;
}

.sf-breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.sf-breadcrumb a:hover {
  text-decoration: underline;
}

.sf-breadcrumb__item--current {
  color: var(--color-text);
  font-weight: 600;
}

/* Contact page */
.sf-contact-page .sf-contact-layout {
  align-items: start;
}

.sf-contact-col {
  min-width: 0;
}

.sf-contact-intro {
  margin-bottom: var(--space-xl);
}

.sf-contact-kicker {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.sf-contact-title {
  margin: 0 0 var(--space-st);
  font-size: clamp(1.375rem, 3.5vw, 1.875rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  line-height: 1.25;
  text-align: left;
}

.sf-contact-divider {
  width: 40px;
  height: 3px;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  margin-bottom: var(--space-md);
}

.sf-contact-prose {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 38rem;
  text-align: left;
}

.sf-contact-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.sf-contact-info {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.sf-contact-info__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.sf-contact-info__icon svg {
  width: 20px;
  height: 20px;
}

.sf-contact-info__body h3 {
  margin: 0 0 var(--space-1);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  text-transform: capitalize;
}

.sf-contact-info__body p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.sf-contact-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.sf-contact-link:hover {
  text-decoration: underline;
}

.sf-contact-form-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  padding: var(--space-lg);
}

@media (min-width: 992px) {
  .sf-contact-form-card {
    padding: var(--space-xl);
  }
}

.sf-contact-form-title {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  line-height: 1.25;
  text-align: left;
}

.sf-contact-form-lead {
  margin: 0 0 var(--space-lg);
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.5;
  text-align: left;
}

.sf-contact-form .sf-form-field {
  margin: 0;
}

.sf-input--textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.sf-field-error {
  margin: var(--space-1) 0 0;
  font-size: var(--text-sm);
  color: var(--color-danger);
}

.sf-contact-form-actions {
  margin-top: var(--space-2);
  padding-top: var(--space-st);
}

.sf-contact-submit {
  min-height: 48px;
  font-weight: var(--font-weight-semibold);
}


.about-page {
  --about-ink: var(--color-text);
  --about-muted: var(--color-muted);
  --about-surface: var(--color-surface);
  --about-surface-2: var(--color-border);
  --about-accent-soft: var(--color-muted);
  --about-inverse-bg: var(--color-text);
  --about-inverse-fg: var(--color-on-primary);
}

.about-page__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.about-page__hero {
  text-align: center;
  margin-bottom: clamp(2rem, 8vw, 4rem);
}

.about-page__kicker {
  color: var(--about-muted);
  font-size: clamp(0.7rem, 2vw, 0.8125rem);
}

.about-page__title {
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 300;
  color: var(--about-ink);
  letter-spacing: 0.04em;
  margin: 0 0 var(--space-md);
  line-height: 1.2;
}

.about-page__divider {
  background: var(--color-border);
  width: clamp(30px, 8vw, 36px);
  height: 3px;
  border-radius: var(--radius-sm);
  margin: 0 auto;
}

.about-page__lead {
  font-size: clamp(1rem, 3vw, 1.0625rem);
  line-height: 1.8;
  color: var(--about-muted);
  text-align: center;
  max-width: 800px;
  margin: 0 auto clamp(2rem, 6vw, 3rem);
  padding: 0 var(--space-sm);
}

.about-page__values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1rem, 3vw, 1.5rem);
  margin: clamp(2rem, 6vw, 3rem) 0;
}

.about-page__value-card {
  background: var(--about-surface);
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: var(--radius-md);
  border: 1px solid var(--about-surface-2);
  text-align: center;
  height: 100%;
}

.about-page__icon-ring {
  width: clamp(40px, 8vw, 48px);
  height: clamp(40px, 8vw, 48px);
  background: var(--about-inverse-bg);
  color: var(--about-inverse-fg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto clamp(0.75rem, 2vw, 1rem);
}

.about-page__icon-ring svg {
  width: clamp(16px, 4vw, 20px);
  height: clamp(16px, 4vw, 20px);
  stroke: var(--about-inverse-fg);
}

.about-page__value-title {
  font-size: clamp(1rem, 3vw, 1.125rem);
  font-weight: 400;
  color: var(--about-ink);
  margin: 0 0 0.75rem;
}

.about-page__value-text {
  color: var(--about-muted);
  font-size: clamp(0.8125rem, 2.5vw, 0.875rem);
  line-height: 1.6;
  margin: 0;
}

.about-page__collection {
  text-align: center;
  margin: clamp(2rem, 6vw, 3rem) 0;
}

.about-page__collection-title {
  font-size: clamp(1.5rem, 5vw, 1.95rem);
  font-weight: 300;
  color: var(--about-ink);
  margin: 0 0 0.75rem;
}

.about-page__collection-list {
  color: var(--about-muted);
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  margin: 0 auto 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
}

.about-page__collection-dot {
  color: var(--about-accent-soft);
}

.about-page__collection-tagline {
  color: var(--about-muted);
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  font-style: italic;
  margin: 0;
}

.about-page__quote {
  background: var(--about-inverse-bg);
  padding: clamp(2rem, 6vw, 3rem) clamp(1.5rem, 4vw, 2rem);
  border-radius: var(--radius-md);
  margin: clamp(2rem, 6vw, 3rem) 0;
  text-align: center;
  color: var(--about-inverse-fg);
}

.about-page__quote p {
  font-size: clamp(1.125rem, 4vw, 1.25rem);
  font-weight: 300;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.about-page__strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem) clamp(1.5rem, 4vw, 3rem);
  margin: clamp(2rem, 6vw, 3rem) 0;
  padding: clamp(1.5rem, 4vw, 2rem) 0;
  border-top: 1px solid var(--about-surface-2);
  border-bottom: 1px solid var(--about-surface-2);
}

.about-page__strip-item {
  text-align: center;
  flex: 0 1 auto;
}

.about-page__strip-label {
  color: var(--about-muted);
  font-weight: 500;
  font-size: clamp(0.8125rem, 2.5vw, 0.9375rem);
  white-space: nowrap;
}

.about-page__connect-title {
  margin-top: clamp(3rem, 8vw, 4rem);
  text-align: center;
  font-size: clamp(1.5rem, 5vw, 2rem);
  color: var(--about-ink);
}

.about-page__social-row {
  display: flex;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  flex-wrap: wrap;
  margin-top: clamp(1.5rem, 4vw, 2rem);
}

.about-page__social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: clamp(0.6rem, 2vw, 0.75rem) clamp(1rem, 3vw, 1.5rem);
  color: var(--color-on-primary);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 500;
  transition: transform var(--transition-base);
  font-size: clamp(0.8125rem, 2.5vw, 0.9375rem);
}

.about-page__social-link:hover {
  transform: translateY(-2px);
}

.about-page__social-link--ig {
  background: var(--gradient-social-instagram);
}

.about-page__social-link--fb {
  background: var(--color-social-facebook);
}

.about-page__social-link--yt {
  background: var(--color-social-youtube);
}

.about-page__social-link--wa {
  background: var(--color-whatsapp);
}

.about-page__social-link svg {
  width: clamp(18px, 4vw, 20px);
  height: clamp(18px, 4vw, 20px);
}

.about-page__connect-box {
  margin-top: clamp(1.5rem, 4vw, 2rem);
  text-align: center;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: var(--about-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--about-surface-2);
}

@media (max-width: 480px) {
  .about-page__inner {
    padding: 0 var(--space-sm);
  }

  .about-page__values {
    gap: var(--space-md);
  }

  .about-page__collection-list {
    flex-direction: column;
    gap: 0.25rem;
  }

  .about-page__collection-dot {
    display: none;
  }
}

@media (max-width: 380px) {
  .about-page__social-row {
    flex-direction: column;
    align-items: center;
  }

  .about-page__social-link {
    width: 100%;
    justify-content: center;
  }
}


.sf-error-shell {
  padding: var(--space-2xl) 0 var(--space-3xl);
  min-height: 50vh;
  display: flex;
  align-items: center;
}

.sf-error-shell__inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.sf-error-shell__icon {
  margin-bottom: var(--space-lg);
  color: var(--color-primary);
}

.sf-error-shell__icon svg {
  display: block;
  margin: 0 auto;
  stroke: currentColor;
}

.sf-error-shell__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin: 0 0 var(--space-md);
}

.sf-error-shell__message {
  font-size: var(--text-md);
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0 0 var(--space-xl);
}

.sf-error-shell__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}


.checkout-card-title,
h2.checkout-card-title {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  margin: 0 0 var(--space-md);
  color: var(--color-text);
}

.sf-card.success-main-card {
  overflow: visible;
}

.nav-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #e74c3c;
  color: white;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  pointer-events: none;
}

.nav-badge.is-hidden {
  display: none;
}

/* ── Contact Form ── */
.untree_co-section .form-group {
  margin-bottom: var(--space-5);
}

.untree_co-section .form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.02em;
}

.untree_co-section .form-control {
  height: 52px;
  padding: 0 var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: var(--text-sm);
  width: 100%;
  box-sizing: border-box;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.untree_co-section textarea.form-control {
  height: auto;
  padding: var(--space-4);
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.untree_co-section .form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-bg);
  box-shadow: 0 0 0 3px var(--color-pill-accent-bg);
}

.untree_co-section .form-control::placeholder {
  color: var(--color-muted);
}

.untree_co-section .btn-primary-hover-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-8);
  min-height: 52px;
  background: var(--color-primary);
  color: var(--color-on-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
  text-decoration: none;
}

.untree_co-section .btn-primary-hover-outline:hover {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* service icon boxes */
.untree_co-section .service-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: var(--color-on-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: var(--space-4);
  margin-bottom: 0 !important;
}

.untree_co-section .service.horizontal {
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.untree_co-section .service-contents p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.untree_co-section .service-contents a {
  color: var(--color-muted);
  text-decoration: none;
}

.untree_co-section .service-contents a:hover {
  color: var(--color-primary);
}

/* ── Mobile nav: Shop by Category alignment fix ── */
@media (max-width: 768px) {
  .sf-mobile-menu .nav-category-dropdown {
    padding: 0;
  }

  .sf-mobile-menu .nav-category-trigger {
    width: 100%;
    display: flex;
    padding: var(--space-3);
    font-size: inherit;
    color: var(--color-header-nav, var(--color-text)) !important;
    opacity: 1;
    font-weight: 500;
    border-bottom: 1px solid var(--color-header-border, var(--color-border));
  }
}

.sf-checkout-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

@media (max-width: 768px) {
  .sf-checkout-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .sf-checkout-layout>div {
    width: 100%;
    min-width: 0;
  }

  /* Summary card goes on top */
  .sf-checkout-layout>div:first-child {
    order: -1;
  }

  .order-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }

  .order-line img {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    object-fit: cover;
  }

  .order-line .line-info {
    flex: 1 1 0;
    min-width: 0;
  }

  .order-line .line-info h6 {
    white-space: normal;
    word-break: break-word;
    margin: 0;
    font-size: 0.85rem;
  }

  .order-line .line-price {
    flex-shrink: 0;
    white-space: nowrap;
  }
}

html.akf-root,
html.akf-root body {
  overflow-x: hidden;
  max-width: 100%;
}

.search-suggest-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-surface, #ffffff);
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  margin-top: 2px;
}

.sf-header__search {
  position: relative;
}

.search-suggest-dropdown.is-open {
  display: block;
}

.search-suggest-item {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  text-decoration: none;
  color: var(--color-text, #111827);
  border-bottom: 1px solid var(--color-border, #e5e7eb);
  transition: background 0.2s ease;
}

.search-suggest-item:last-child {
  border-bottom: none;
}

.search-suggest-item:hover {
  background: var(--color-bg, #f3f4f6);
  color: var(--color-primary, #2563eb);
}

.search-suggest-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 15px;
  flex-shrink: 0;
}

.search-suggest-info {
  flex-grow: 1;
  min-width: 0;
}

.search-suggest-title {
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.search-suggest-category {
  font-size: 0.75rem;
  color: var(--color-muted, #6b7280);
}

.search-suggest-price {
  font-weight: 600;
  font-size: 0.9rem;
  margin-left: 15px;
  white-space: nowrap;
  color: var(--color-text, #111827);
}