* { box-sizing: border-box; }
:root {
  --layout-gutter: clamp(1rem, 4vw, 3rem);
  --color-text: #1f2937;
  --color-text-muted: #64748b;
  --color-text-subtle: #94a3b8;
  --color-border: #e5e7eb;
  --color-surface: #ffffff;
  --color-surface-muted: #f8fafc;
  --color-surface-subtle: #fafafa;
  --color-sale: #dc2626;
  --primary-color: #2563eb;
  --primary-hover: color-mix(in srgb, var(--primary-color) 86%, #000);
  --primary-soft: color-mix(in srgb, var(--primary-color) 12%, white);
  --header-background: var(--color-surface);
  --footer-background: var(--color-surface-muted);
  --button-primary-text: #ffffff;
  --button-primary-hover-background: color-mix(in srgb, var(--primary-color) 86%, #000);
  --button-primary-hover-text: var(--button-primary-text, #fff);
  --button-outline-background: #ffffff;
  --button-outline-text: var(--color-text);
  --button-outline-border: var(--color-border);
  --button-outline-hover-background: #1f2937;
  --button-outline-hover-text: #ffffff;
  --button-danger-background: #dc2626;
  --button-danger-hover-background: #b91c1c;
  --button-danger-text: #ffffff;
  --button-radius: 8px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 22px rgba(15, 23, 42, 0.1);
  --transition-fast: 0.15s ease;
}
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--color-text); line-height: 1.5; background: var(--color-surface-subtle); }
body.storefront {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body.storefront > .container { flex: 1 0 auto; }
a { color: var(--primary-color); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--primary-hover); }
.container,
.header-inner,
.category-nav,
.footer-main {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--layout-gutter);
}
.container { padding-block: 1.5rem 3rem; }
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--color-border); background: var(--header-background); transition: box-shadow var(--transition-fast); }
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  padding-block: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "logo actions"
    "search search"
    "nav nav";
  gap: 0.75rem 1rem;
  align-items: center;
}
.header-center { display: contents; }
.logo { grid-area: logo; font-weight: 700; font-size: 1.25rem; color: inherit; text-decoration: none; min-width: 0; }
.logo:hover { text-decoration: none; }
.header-actions { grid-area: actions; display: flex; align-items: center; justify-content: flex-end; gap: 0.75rem; }
.header-search {
  grid-area: search;
  position: relative;
  width: 100%;
  min-width: 0;
}
.header-search-form {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.header-search-form:focus-within {
  border-color: color-mix(in srgb, var(--primary-color) 45%, var(--color-border));
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.header-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 0.55rem 0.85rem;
  font: inherit;
  color: inherit;
}
.header-search-input:focus { outline: none; }
.header-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  padding: 0 0.75rem;
  cursor: pointer;
  transition: color var(--transition-fast), background var(--transition-fast);
}
.header-search-submit:hover {
  color: var(--primary-color);
  background: var(--primary-soft);
}
.header-search-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  right: 0;
  z-index: 120;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.header-search-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  max-height: min(20rem, 60vh);
  overflow-y: auto;
}
.header-search-item {
  margin: 0;
}
.header-search-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.header-search-link:hover,
.header-search-link.is-active {
  background: var(--primary-soft);
  color: var(--primary-color);
  text-decoration: none;
}
.header-search-thumb {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--color-surface-muted);
}
.media-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(241, 245, 249, 0.98) 100%);
  color: #64748b;
  border: 1px dashed #cbd5e1;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.15;
  gap: 0.45rem;
  text-align: center;
  overflow: hidden;
}
.media-placeholder-icon {
  width: 2rem;
  height: 2rem;
  opacity: 0.55;
  flex-shrink: 0;
}
.media-placeholder-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
}
.media-placeholder-line { display: block; }
.media-placeholder--compact {
  gap: 0.08rem;
  font-size: 0.48rem;
  letter-spacing: 0.06em;
  border-width: 1px;
}
.header-search-thumb.media-placeholder {
  display: flex;
  font-size: 0.48rem;
  letter-spacing: 0.05em;
  gap: 0.06rem;
  border-radius: 8px;
}
.header-search-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.header-search-name {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header-search-price {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.header-search-status,
.header-search-all {
  display: block;
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  text-align: center;
}
.header-search-all {
  border-top: 1px solid var(--color-border);
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}
.header-search-all:hover {
  background: var(--primary-soft);
  text-decoration: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  cursor: pointer;
}
.nav-toggle-bars {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}
.store-logo { display: block; max-width: 240px; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.checkout-option { margin-bottom: 0.65rem; }
.checkout-option label { margin-bottom: 0.15rem; }
.checkout-option-note { margin: 0 0 0 1.5rem; font-size: 0.85rem; color: #64748b; line-height: 1.35; max-width: 36rem; }
.main-nav {
  grid-area: nav;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  justify-content: flex-end;
  align-items: center;
}
.main-nav > a {
  color: var(--color-text);
  font-weight: 600;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.main-nav > a:hover {
  color: var(--primary-color);
  background: var(--primary-soft);
  text-decoration: none;
}
.lang-switch {
  white-space: nowrap;
  font-size: 0.9rem;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  color: var(--color-text-muted);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.lang-switch:hover {
  color: var(--primary-color);
  background: var(--primary-soft);
  text-decoration: none;
}
.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
  white-space: nowrap;
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}
.nav-cart:hover {
  background: var(--color-surface-muted);
  color: var(--primary-color);
  text-decoration: none;
}
.nav-cart-icon { flex-shrink: 0; }
.nav-cart-label { line-height: 1; }
.nav-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--primary-color);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.nav-cart-badge.is-hidden { display: none; }
.nav-cart-desktop { display: none; }
.nav-cart-mobile {
  margin-top: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e5e7eb;
  width: 100%;
}
.category-nav {
  padding-block: 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.9rem;
}
.category-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
}
.category-nav-link:hover { text-decoration: underline; }
.category-nav-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f3f4f6;
}
.category-nav-thumb.media-placeholder {
  display: flex;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 8px;
  font-size: 0.42rem;
  letter-spacing: 0.08em;
  gap: 0.12rem;
  padding: 0.2rem;
}
.category-nav-thumb.media-placeholder .media-placeholder-icon {
  width: 1rem;
  height: 1rem;
  opacity: 0.55;
}
.category-nav-thumb.media-placeholder .media-placeholder-copy {
  gap: 0.02rem;
}
.category-header {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.category-image {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  object-fit: cover;
  background: #f3f4f6;
  flex-shrink: 0;
}
.category-image.media-placeholder {
  display: flex;
  width: 200px;
  height: 200px;
  font-size: 0.92rem;
  letter-spacing: 0.15em;
  gap: 0.45rem;
}
.category-image.media-placeholder .media-placeholder-icon {
  width: 2.35rem;
  height: 2.35rem;
}
.category-header-text { flex: 1; min-width: min(100%, 16rem); }
.category-header h1 { margin-top: 0; }
.category-description { color: #64748b; line-height: 1.55; }
.site-footer { border-top: 1px solid var(--color-border); background: var(--footer-background); color: var(--color-text-muted); font-size: 0.9rem; }
.footer-main {
  padding-block: 2rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  text-align: left;
  align-items: start;
}
.footer-col p { margin: 0 0 0.35rem; line-height: 1.45; }
.footer-brand .footer-logo { display: inline-block; color: inherit; text-decoration: none; margin-bottom: 0.65rem; }
.footer-brand .footer-logo:hover { text-decoration: none; }
.footer-brand .store-logo { max-height: 56px; }
.footer-description { color: #64748b; font-size: 0.88rem; margin-top: 0.5rem !important; }
.footer-links { display: flex; justify-content: center; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; justify-content: center; }
.footer-nav a { color: #334155; font-size: 0.9rem; }
.footer-nav a:hover { color: var(--primary-color); text-decoration: underline; }
.footer-legal { font-size: 0.85rem; color: #64748b; text-align: right; }
.footer-natural-note { margin: 0; }
.footer-bottom { width: 100%; max-width: none; margin-inline: 0; border-top: 1px solid var(--color-border); padding: 0.85rem var(--layout-gutter); text-align: center; color: var(--color-text-subtle); font-size: 0.82rem; background: var(--color-surface); }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) {
  .footer-main { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-links { justify-content: flex-start; }
  .footer-nav { justify-content: flex-start; flex-direction: column; gap: 0.65rem; }
  .footer-legal { text-align: left; }
}
@media (min-width: 769px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "logo center actions";
    gap: 0.85rem 1.25rem;
  }
  .header-center {
    display: flex;
    grid-area: center;
    align-items: center;
    justify-content: center;
    gap: 0.85rem 1rem;
    flex-wrap: wrap;
    min-width: 0;
  }
  .main-nav {
    justify-content: center;
    align-items: center;
    flex: 0 1 auto;
  }
  .header-search {
    width: min(100%, 18.5rem);
    flex: 0 1 18.5rem;
  }
  .nav-cart-desktop { display: inline-flex; align-items: center; }
  .nav-cart-mobile { display: none; }
  .nav-products-trigger { color: inherit; font-weight: 600; }
  .nav-products:hover .nav-products-dropdown,
  .nav-products:focus-within .nav-products-dropdown {
    display: block;
  }
  .nav-products:hover .nav-products-trigger,
  .nav-products:focus-within .nav-products-trigger {
    color: var(--primary-color);
    background: var(--primary-soft);
    text-decoration: none;
  }
}
@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .header-inner {
    gap: 0.65rem 0.75rem;
  }
  .header-search-panel {
    left: 0;
    right: 0;
  }
  .site-header:not(.is-nav-open) .main-nav { display: none; }
  .site-header.is-nav-open .main-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    width: 100%;
    padding-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
  }
  .nav-products { width: 100%; }
  .nav-products-dropdown {
    position: static;
    display: none;
    width: 100%;
    max-width: none;
    margin-top: 0.35rem;
    box-shadow: none;
  }
  .nav-products.is-open .nav-products-dropdown { display: block; }
}
.hero { margin-bottom: 2rem; }
.hero h1 { margin: 0 0 0.5rem; font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.2; }
.hero .lead { margin: 0; color: var(--color-text-muted); max-width: 42rem; }
.home-hero-slider {
  margin-bottom: 2rem;
  position: relative;
}
.home-hero-slider-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #f3f4f6;
  touch-action: pan-y pinch-zoom;
}
.home-hero-slider-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 6;
  max-height: min(720px, 55vw);
}
.home-hero-slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s;
  pointer-events: none;
}
.home-hero-slider-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.home-hero-slider-link,
.home-hero-slider-image {
  display: block;
  width: 100%;
  height: 100%;
}
.home-hero-slider-link {
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.home-hero-slider-image {
  object-fit: cover;
}
.home-hero-slider-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.home-hero-slider-nav:hover {
  background: rgba(15, 23, 42, 0.75);
}
.home-hero-slider-nav--prev { left: 0.75rem; }
.home-hero-slider-nav--next { right: 0.75rem; }
.home-hero-slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
}
.home-hero-slider-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: #cbd5e1;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.home-hero-slider-dot.is-active {
  background: var(--color-primary, #2563eb);
  transform: scale(1.15);
}
@media (max-width: 768px) {
  .home-hero-slider-track {
    aspect-ratio: 16 / 9;
    max-height: none;
  }
  .home-hero-slider-nav {
    width: 2.15rem;
    height: 2.15rem;
    font-size: 1.05rem;
  }
  .home-hero-slider-nav--prev { left: 0.45rem; }
  .home-hero-slider-nav--next { right: 0.45rem; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero-slider-slide {
    transition: none;
  }
}
.home-hero-slider.is-user-paused .home-hero-slider-slide {
  transition: none;
}
.empty-state { color: var(--color-text-muted); text-align: center; padding: 2rem 1rem; }
.home-block { margin-bottom: 2.5rem; }
.home-block-head h2 { margin: 0 0 1rem; font-size: 1.35rem; }
.home-slider-carousel {
  width: 100%;
}
.home-slider-carousel.is-static,
.home-slider-carousel.is-carousel {
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr) 2.35rem;
  align-items: stretch;
  gap: 1rem;
  overflow: visible;
}
.home-slider-carousel.is-static .home-slider,
.home-slider-carousel.is-carousel .home-slider {
  grid-column: 2;
}
.home-slider-nav--prev {
  grid-column: 1;
  align-self: center;
}
.home-slider-nav--next {
  grid-column: 3;
  align-self: center;
}
.home-slider-carousel.is-static .home-slider {
  overflow: visible;
  padding-bottom: 0;
}
.home-slider-carousel.is-static .home-slider-nav[hidden] {
  display: inline-flex;
  visibility: hidden;
  pointer-events: none;
}
.home-slider-carousel.is-carousel .home-slider {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 1.25rem;
  margin-bottom: -1.25rem;
  min-width: 0;
  scroll-padding-inline: 0.35rem;
}
.home-slider-carousel.is-carousel .home-slider:not(.home-slider-categories) {
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  padding-inline: 0;
}
.home-slider-carousel.is-carousel .home-slider:not(.home-slider-categories) .home-slider-item {
  scroll-snap-align: start;
}
.home-slider-carousel.is-carousel .home-slider:not(.home-slider-categories) .home-slider-track {
  padding-block-end: 0.35rem;
}
.home-slider-carousel.is-carousel .home-slider:not(.home-slider-categories) .home-slider-item > .product-card {
  overflow: visible;
}
.home-slider-carousel.is-carousel .home-slider:not(.home-slider-categories) .home-slider-item .product-card-link {
  overflow: hidden;
  border-radius: inherit;
}
.home-slider-carousel.is-carousel .home-slider:not(.home-slider-categories) .home-slider-item .product-card:hover,
.home-slider-carousel.is-carousel .home-slider:not(.home-slider-categories) .home-slider-item .product-card:focus-within {
  transform: none;
}
.home-slider-carousel.is-carousel .home-slider:not(.home-slider-categories) .home-slider-item .product-card-quick-add {
  bottom: 0.75rem;
  right: 0.75rem;
}
.home-slider-carousel.is-carousel .home-slider::-webkit-scrollbar {
  display: none;
}
.home-slider {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 0.85rem;
}
.home-slider-nav {
  width: 2.35rem;
  height: 2.35rem;
  border: none;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s ease, opacity 0.15s ease;
}
.home-slider-nav[hidden] {
  display: none;
}
.home-slider-nav.is-dormant {
  visibility: hidden;
  pointer-events: none;
}
.home-slider-nav:hover:not(:disabled) {
  background: rgba(15, 23, 42, 0.75);
}
.home-slider-nav:disabled {
  cursor: default;
  background: rgba(15, 23, 42, 0.18);
  color: rgba(255, 255, 255, 0.72);
  opacity: 1;
}
.home-slider-nav:not(:disabled) {
  background: rgba(15, 23, 42, 0.55);
}
.home-block-categories .home-slider-carousel.is-static,
.home-block-categories .home-slider-carousel.is-carousel {
  align-items: start;
  gap: 1.25rem;
}
.home-block-categories .home-slider-carousel.is-carousel .home-slider-track {
  padding-inline-start: 0.15rem;
}
.home-block-categories .home-slider-carousel.is-carousel .home-slider-nav {
  margin-top: 2.5rem;
}
@media (max-width: 640px) {
  .home-slider-carousel.is-static,
  .home-slider-carousel.is-carousel {
    grid-template-columns: 2rem minmax(0, 1fr) 2rem;
    gap: 0.5rem;
  }
  .home-block-categories .home-slider-carousel.is-static,
  .home-block-categories .home-slider-carousel.is-carousel {
    gap: 0.5rem;
  }
  .home-block-categories .home-slider-carousel.is-carousel .home-slider-nav {
    margin-top: 2.15rem;
  }
  .home-slider-nav {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
  }
}
.home-slider-track {
  display: flex;
  gap: 1rem;
  min-width: min-content;
}
.home-slider-item {
  flex: 0 0 min(220px, 72vw);
  max-width: 260px;
  display: flex;
  align-items: stretch;
}
.home-slider-item > .product-card {
  width: 100%;
}
.home-slider-categories .home-slider-item {
  flex-basis: min(180px, 60vw);
  max-width: 200px;
}
.home-category-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.home-category-card:hover { text-decoration: none; box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08); }
.home-category-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: #f3f4f6;
}
.home-category-image.media-placeholder {
  display: flex;
  width: 100%;
  aspect-ratio: 1;
  min-height: 140px;
  font-size: 0.92rem;
  letter-spacing: 0.15em;
  gap: 0.45rem;
}
.home-category-image.media-placeholder .media-placeholder-icon {
  width: 2.35rem;
  height: 2.35rem;
}
.home-category-name {
  padding: 0 0.85rem 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}
.home-view-all-wrap {
  margin: 0 0 1rem;
  text-align: center;
}
.home-view-all { display: inline-block; text-decoration: none; }
.home-view-all:hover { text-decoration: none; }
.home-fallback-grid { margin-bottom: 1.5rem; }
.nav-products { position: relative; }
.nav-products-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--color-text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.nav-products-trigger:hover {
  color: var(--primary-color);
  background: var(--primary-soft);
  text-decoration: none;
}
.nav-products-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 16rem;
  max-width: min(22rem, 90vw);
  padding: 0.75rem;
  padding-top: 0.85rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  z-index: 30;
}
@media (min-width: 769px) {
  .nav-products-dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -0.5rem;
    height: 0.5rem;
  }
}
.nav-products.is-open .nav-products-dropdown { display: block; }
.nav-products-all {
  display: block;
  font-weight: 600;
  margin-bottom: 0.65rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #e5e7eb;
}
.nav-products-categories {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: 18rem;
  overflow-y: auto;
}
.nav-products-category {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
  padding: 0.35rem 0.25rem;
  border-radius: 8px;
}
.nav-products-category:hover {
  background: #f8fafc;
  text-decoration: none;
}
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; align-items: stretch; }
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--primary-color) 25%, var(--color-border));
}
.product-card-link {
  color: inherit;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}
.product-card-link:hover { color: inherit; text-decoration: none; }
.product-card-image { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; flex-shrink: 0; }
.product-card-image.media-placeholder {
  display: flex;
  width: 100%;
  aspect-ratio: 1;
  font-size: 0.92rem;
  letter-spacing: 0.15em;
}
.product-card-image.media-placeholder .media-placeholder-icon {
  width: 2.35rem;
  height: 2.35rem;
}
.product-card--no-image .product-card-body {
  padding-top: 1rem;
}
.product-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 11.75rem;
  padding: 0.75rem 1rem 1rem;
}
.product-card-badge-slot {
  display: flex;
  align-items: flex-end;
  min-height: 1.55rem;
  margin-bottom: 0.35rem;
}
.product-card-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(2 * 1.35 * 1em);
}
.product-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: auto;
}
.product-card-price-slot {
  display: flex;
  align-items: flex-end;
  min-height: 1.45rem;
}
.product-card-hints-slot {
  min-height: 2.55rem;
}
.product-card-hints-slot .qty-hint {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.product-card-hints-slot .qty-hint-main {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  font-weight: 500;
  line-height: 1.3;
}
.product-card-hints-slot .qty-hint-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  min-height: 1rem;
  line-height: 1.25;
}
.product-card-hints-slot .qty-hint-more {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--primary-color);
  white-space: nowrap;
}
.badge.sale { display: inline-block; background: var(--color-sale); color: #fff; font-size: 0.75rem; padding: 0.15rem 0.5rem; border-radius: 999px; font-weight: 600; }
.badge.stock {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  margin: 0 0 1rem;
  border: 1px solid transparent;
  line-height: 1.3;
}
.badge.stock-in {
  color: #166534;
  background: #f0fdf4;
  border-color: #86efac;
}
.badge.stock-out {
  color: #b91c1c;
  background: #fef2f2;
  border-color: #fca5a5;
}
.badge.stock-unavailable {
  color: #111827;
  background: #fff;
  border-color: #111827;
}
.badge.stock-quantity {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #93c5fd;
}
.price-row { display: flex; gap: 0.5rem; align-items: baseline; }
.price.compare { text-decoration: line-through; color: #9ca3af; font-size: 0.9rem; }
.price.current { font-weight: 700; color: var(--primary-color); }
.qty-hint { margin: 0.35rem 0 0; font-size: 0.8rem; color: var(--color-text-muted); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--button-radius, var(--radius-sm));
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: inherit;
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
}
.btn:hover { text-decoration: none; }
.btn.primary,
button[type="submit"]:not(.nav-toggle):not(.qty-stepper-btn):not(.gallery-nav):not(.gallery-thumb):not(.gallery-main-trigger):not(.product-tab-btn):not(.product-lightbox-close):not(.cart-delete-btn):not(.product-card-add-btn) {
  background: var(--primary-color);
  color: var(--button-primary-text, #fff);
  border-color: var(--primary-color);
}
.btn.primary:hover:not(:disabled),
button[type="submit"]:not(.nav-toggle):not(.qty-stepper-btn):not(.gallery-nav):not(.gallery-thumb):not(.gallery-main-trigger):not(.product-tab-btn):not(.product-lightbox-close):hover:not(:disabled) {
  background: var(--button-primary-hover-background, var(--primary-hover));
  border-color: var(--button-primary-hover-background, var(--primary-hover));
  color: var(--button-primary-hover-text, var(--button-primary-text, #fff));
  box-shadow: 0 6px 18px color-mix(in srgb, var(--primary-color) 35%, transparent);
  transform: translateY(-1px);
}
.btn.primary:active:not(:disabled),
button[type="submit"]:not(.nav-toggle):not(.qty-stepper-btn):not(.gallery-nav):not(.gallery-thumb):not(.gallery-main-trigger):not(.product-tab-btn):not(.product-lightbox-close):active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 3px 10px color-mix(in srgb, var(--primary-color) 22%, transparent);
}
.btn.secondary {
  background: var(--button-outline-background, var(--color-surface));
  color: var(--button-outline-text, var(--color-text));
  border-color: var(--button-outline-border, var(--color-border));
}
.btn.secondary:hover:not(:disabled) {
  background: var(--button-outline-hover-background, var(--color-text));
  border-color: var(--button-outline-hover-background, var(--color-text));
  color: var(--button-outline-hover-text, #fff);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--button-outline-hover-background, var(--color-text)) 28%, transparent);
  transform: translateY(-1px);
}
.btn.secondary:active:not(:disabled) {
  transform: translateY(0);
}
.btn.danger {
  background: var(--button-danger-background, #dc2626);
  color: var(--button-danger-text, #fff);
  border-color: var(--button-danger-background, #dc2626);
}
.btn.danger:hover:not(:disabled) {
  background: var(--button-danger-hover-background, #b91c1c);
  border-color: var(--button-danger-hover-background, #b91c1c);
  color: var(--button-danger-text, #fff);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--button-danger-background, #dc2626) 35%, transparent);
  transform: translateY(-1px);
}
.btn.danger:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(220, 38, 38, 0.2);
}
.btn:disabled,
button[type="submit"]:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.cart-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 1rem 0;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.cart-table th,
.cart-table td {
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 0.85rem;
  text-align: left;
  vertical-align: middle;
}
.cart-table th {
  background: var(--color-surface-muted);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.cart-table th:nth-child(2),
.cart-table td.cart-line-qty { text-align: center; }
.cart-table th:nth-child(3),
.cart-table th:nth-child(4),
.cart-table td.cart-line-unit,
.cart-table td.cart-line-total { text-align: right; }
.cart-table th:nth-child(1),
.cart-table td.cart-line-product { width: 38%; }
.cart-table th:nth-child(2),
.cart-table td.cart-line-qty { width: 16%; }
.cart-table th:nth-child(3),
.cart-table td.cart-line-unit { width: 14%; }
.cart-table th:nth-child(4),
.cart-table td.cart-line-total { width: 16%; }
.cart-table th:nth-child(5),
.cart-table td.cart-line-actions { width: 16%; text-align: right; }
.cart-line-form { margin: 0; }
.qty-stepper-cart { max-width: 8.5rem; }
.cart-line-product small {
  display: block;
  margin-top: 0.15rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}
.cart-line-product .issue {
  display: block;
  margin-top: 0.3rem;
  color: #b91c1c;
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 600;
}
.cart-line-total .price.compare {
  display: block;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}
.cart-line-actions { white-space: nowrap; }
.cart-delete-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid #b91c1c;
  border-radius: var(--radius-sm);
  background: #dc2626;
  color: #fff;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
.cart-delete-btn:hover {
  background: #b91c1c;
  border-color: #991b1b;
  color: #fff;
}
.cart-delete-btn svg { flex-shrink: 0; stroke: currentColor; }

.store-dialog {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.store-dialog[hidden] { display: none !important; }
.store-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
}
.store-dialog-panel {
  position: relative;
  width: min(22rem, 100%);
  padding: 1.35rem 1.35rem 1.15rem;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
  text-align: center;
  animation: dialog-in 0.2s ease;
}
.store-dialog-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem;
  border-radius: 999px;
}
.store-dialog-icon-danger {
  background: #fef2f2;
  color: #dc2626;
}
.store-dialog-title {
  margin: 0 0 0.5rem;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1.1rem;
}
.store-dialog-message {
  margin: 0 0 1.15rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.store-dialog-actions {
  display: flex;
  gap: 0.65rem;
  justify-content: center;
}
.store-dialog-actions .btn {
  flex: 1 1 0;
  min-width: 0;
}
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cart-totals {
  margin: 0 0 1.25rem;
  max-width: 20rem;
  margin-left: auto;
}
.cart-totals-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}
.cart-totals-discount { color: #15803d; }
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.75rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
  font-size: 1rem;
}
.cart-grand-total {
  margin: 0 0 1.5rem;
  max-width: 20rem;
  margin-left: auto;
}
.cart-grand-total-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.5rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
  font-size: 1.05rem;
}
.cart-page-footer {
  display: flex;
  justify-content: flex-end;
  margin: 0.5rem 0 1.5rem;
}
.cart-checkout-btn {
  min-width: min(100%, 16rem);
  min-height: 3rem;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}
.cart-shipping-fieldset,
.checkout-payment-fieldset {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  min-width: 0;
}
.cart-shipping-fieldset legend,
.checkout-payment-fieldset legend {
  padding: 0 0.35rem;
  font-weight: 600;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}
.cart-shipping-option-label input[type="radio"],
.checkout-payment-option-label input[type="radio"] {
  width: auto;
  margin: 0.2rem 0 0;
  flex-shrink: 0;
}
.cart-shipping-option,
.checkout-payment-option { margin-bottom: 0.85rem; }
.cart-shipping-option:last-child,
.checkout-payment-option:last-child { margin-bottom: 0; }
.cart-shipping-option-label,
.checkout-payment-option-label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 0;
}
.cart-shipping-option-name,
.checkout-payment-option-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
}
.cart-shipping-option-note,
.cart-shipping-free-hint,
.checkout-payment-option-note {
  margin: 0.2rem 0 0 1.55rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.35;
}
.cart-shipping-free-hint { color: #15803d; }
.checkout-shipping-summary {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-muted);
}
.checkout-section-title {
  margin: 0 0 0.5rem;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1rem;
}
.checkout-shipping-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  margin: 0;
}
.checkout-shipping-change {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}
.checkout-shipping-change a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.address-fields {
  border: 0;
  padding: 0;
  margin: 0 0 0.75rem;
}
.address-fields legend {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.address-grid {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.address-grid-row-1 {
  grid-template-columns: 2fr 1fr 1fr;
}
.address-grid-row-2 {
  grid-template-columns: 1fr 2fr;
}
.address-grid label {
  display: block;
  font-weight: 500;
}
.address-grid input {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border, #d1d5db);
  border-radius: 0.375rem;
}
@media (max-width: 640px) {
  .address-grid-row-1,
  .address-grid-row-2 {
    grid-template-columns: 1fr;
  }
}
.checkout-form > label, .tracking-form > label, .contact-form > label { display: block; margin-bottom: 0.75rem; font-weight: 500; }
.checkout-form input:not([type="radio"]):not([type="checkbox"]),
.checkout-form textarea,
.checkout-form select,
.tracking-form input, .contact-form input, .contact-form textarea {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--color-surface);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.checkout-form input:not([type="radio"]):not([type="checkbox"]):focus,
.checkout-form textarea:focus,
.checkout-form select:focus,
.tracking-form input:focus, .contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.form-hint { font-size: 0.9rem; color: #64748b; margin: 0 0 1rem; }
.store-form-panel {
  max-width: min(100%, 24rem);
  margin: 0 auto;
}
.store-form-panel .form-hint {
  text-align: center;
}
.store-form-panel .form-error,
.store-form-panel .tracking-result {
  margin-top: 1rem;
}
.contact-actions,
.tracking-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}
.contact-submit-btn,
.tracking-submit-btn {
  min-width: min(100%, 14rem);
  min-height: 3rem;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
}

.contact-page-layout {
  margin-top: 1.25rem;
}
.contact-page-layout.has-sidebar {
  display: grid;
  gap: 1rem;
  align-items: start;
  grid-template-columns: 1fr;
  grid-template-areas:
    "form"
    "map"
    "locations";
}
.contact-form-column {
  grid-area: form;
  min-width: 0;
}
.contact-map-column {
  grid-area: map;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}
.contact-locations-grid {
  grid-area: locations;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  min-width: 0;
}
.contact-map-block,
.contact-location-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  overflow: hidden;
}
.contact-map-embed {
  display: block;
  width: 100%;
  height: min(52vw, 280px);
  border: 0;
}
.contact-map-column .contact-map-embed {
  height: min(40vw, 255px);
}
.contact-location-card {
  padding: 1.1rem 1.15rem;
}
.contact-location-title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}
.contact-location-address {
  margin: 0 0 0.85rem;
  color: var(--color-muted, #64748b);
  line-height: 1.5;
}
.contact-location-hours {
  margin: 0 0 0.85rem;
}
.contact-hours-line {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.35rem 0.65rem;
  font-size: 0.92rem;
  line-height: 1.45;
}
.contact-hours-line dt {
  font-weight: 600;
  margin: 0;
}
.contact-hours-line dd {
  margin: 0;
}
.contact-location-phone-first,
.contact-location-phone-more,
.contact-location-email,
.contact-location-maps-link {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
}
.contact-location-phones-block {
  margin: 0.35rem 0 0;
}
.contact-location-phones {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.5rem;
  row-gap: 0.12rem;
  align-items: baseline;
  font-size: 0.95rem;
  margin: 0;
}
.contact-location-phone-label {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  margin: 0;
}
.contact-location-phone-first,
.contact-location-phone-more {
  grid-column: 2;
  margin: 0;
}
.contact-location-maps-link a {
  font-weight: 600;
}
@media (max-width: 767px) {
  .contact-page-layout.has-sidebar .store-form-panel {
    max-width: min(100%, 24rem);
    margin: 0 auto;
  }
}
@media (min-width: 768px) {
  .contact-page-layout.has-sidebar {
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: minmax(300px, 1.35fr) minmax(0, 1.65fr);
    grid-template-areas:
      "form map"
      "locations locations";
    gap: 1rem 1.25rem;
    max-width: min(100%, 76rem);
  }
  .contact-locations-grid {
    display: grid;
    gap: 1rem;
    align-items: stretch;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr));
  }
  .contact-locations-grid[data-count="1"] {
    grid-template-columns: minmax(0, 1fr);
    max-width: calc((100% - 1.25rem) * 1.65 / (1.35 + 1.65));
  }
  .contact-locations-grid[data-count="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-locations-grid[data-count="3"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .contact-locations-grid[data-count="4"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .contact-page-layout.has-sidebar .store-form-panel {
    max-width: none;
    margin: 0;
  }
  .contact-page-layout.has-sidebar .store-form-panel .form-hint {
    text-align: left;
  }
  .contact-page-layout.has-sidebar .contact-actions {
    justify-content: flex-start;
  }
}
@media (min-width: 1200px) {
  .contact-page-layout.has-sidebar {
    max-width: min(100%, 92rem);
  }
}
@media (max-width: 991px) and (min-width: 768px) {
  .contact-locations-grid[data-count="3"],
  .contact-locations-grid[data-count="4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 768px) {
  .contact-page-layout:not(.has-sidebar) .store-form-panel {
    max-width: min(100%, 24rem);
    margin: 0 auto;
  }
}
.checkout-actions {
  display: flex;
  justify-content: center;
  margin: 1.75rem 0 0.5rem;
}
.confirmation-order-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.confirmation-order-value {
  font-weight: 700;
}
.confirmation-order-prefix {
  color: var(--color-muted, #64748b);
  font-weight: 600;
}
.confirmation-copy-btn {
  flex-shrink: 0;
  min-height: 2.25rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.9rem;
}
.confirmation-items-block {
  margin-top: 0.35rem;
}
.confirmation-items {
  margin: 0.15rem 0 0;
  padding-left: 1.15rem;
  line-height: 1.5;
}
.confirmation-items-more {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  color: var(--color-muted, #64748b);
}
.confirmation-page {
  max-width: min(100%, 34rem);
  margin: 0 auto;
  text-align: center;
}
.confirmation-page h1 {
  margin-bottom: 1.25rem;
}
.confirmation-card {
  text-align: left;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  padding: 1.35rem 1.5rem;
}
.confirmation-detail {
  margin: 0 0 0.5rem;
  line-height: 1.55;
}
.confirmation-detail-label {
  font-weight: 600;
}
.confirmation-order-number {
  font-weight: 700;
}
.confirmation-payment-meta {
  color: var(--color-muted, #64748b);
}
.confirmation-hint {
  font-size: 0.9rem;
  color: var(--color-muted, #64748b);
  margin: 0 0 1.1rem;
  line-height: 1.45;
}
.confirmation-note {
  margin: 0.85rem 0 0;
  color: var(--color-muted, #64748b);
  line-height: 1.5;
}
.confirmation-card .bank-transfer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}
.confirmation-card .bank-transfer p {
  margin: 0 0 0.35rem;
}
.confirmation-qr-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}
.confirmation-cod-note {
  margin: -0.15rem 0 0.85rem;
}
.confirmation-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.confirmation-actions .btn {
  min-width: min(100%, 14rem);
  flex: 1 1 14rem;
  max-width: 16rem;
}
.tracking-page {
  max-width: min(100%, 34rem);
  margin: 0 auto;
  text-align: center;
}
.tracking-page h1 {
  margin-bottom: 1.25rem;
}
.tracking-form-panel {
  text-align: left;
  margin-bottom: 1.5rem;
}
.tracking-form-panel .tracking-form-hint {
  text-align: center;
  margin-bottom: 1rem;
}
.tracking-form-error {
  margin-top: 1rem;
}
.tracking-result-section {
  text-align: center;
}
.tracking-result-title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 600;
}
.tracking-result-card {
  text-align: left;
  overflow: visible;
}
.tracking-status-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin: 0 0 0.85rem;
}
.tracking-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.3rem 0.9rem;
  border: 2px solid #ca8a04;
  border-radius: 999px;
  background: #fef9c3;
  color: #854d0e;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
}
.tracking-status-badge--received {
  border-color: #ca8a04;
  background: #fef9c3;
  color: #854d0e;
}
.tracking-status-badge--processing {
  border-color: #ea580c;
  background: #ffedd5;
  color: #9a3412;
}
.tracking-status-badge--packing {
  border-color: #2563eb;
  background: #dbeafe;
  color: #1e40af;
}
.tracking-status-badge--shipped {
  border-color: #7c3aed;
  background: #ede9fe;
  color: #5b21b6;
}
.tracking-status-badge--delivered {
  border-color: #16a34a;
  background: #dcfce7;
  color: #166534;
}
.tracking-status-badge--cancelled {
  border-color: #dc2626;
  background: #fee2e2;
  color: #991b1b;
}
.tracking-result-actions {
  margin-top: 1.25rem;
}
.tracking-pdf-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  margin: 0;
}
.tracking-pdf-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.tracking-pdf-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}
.tracking-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
}
.tracking-pdf-icon {
  flex: 0 0 auto;
}
.col-help {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.col-help:hover,
.col-help:focus-within {
  z-index: 60;
}
.col-help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  border: 1px solid var(--color-border, #e2e8f0);
  color: var(--color-muted, #64748b);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  cursor: help;
  background: #fff;
}
.col-help-tip {
  position: absolute;
  left: 50%;
  top: calc(100% + 0.35rem);
  transform: translateX(-50%);
  z-index: 70;
  width: max-content;
  max-width: 20rem;
  min-width: 17rem;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--color-border, #e2e8f0);
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  color: var(--color-text, #0f172a);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.35;
  white-space: normal;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.col-help:hover .col-help-tip,
.col-help:focus .col-help-tip,
.col-help:focus-within .col-help-tip {
  opacity: 1;
  visibility: visible;
}
.tracking-pdf-row .col-help-tip {
  left: 0;
  transform: none;
  max-width: min(20rem, calc(100vw - 2rem));
}
.checkout-submit-btn {
  min-width: min(100%, 16rem);
  min-height: 3rem;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
}
label .req { color: #dc2626; font-weight: 700; }
.form-error, .alert.error { color: #b91c1c; background: #fee2e2; padding: 0.75rem 1rem; border-radius: 8px; }
.form-error { color: #dc2626; }
.error-page { text-align: center; padding: 3rem 1rem; }

/* Product detail (PDP) */
.product-detail { margin-bottom: 2.5rem; }
.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: start;
}
.product-detail-gallery { min-width: 0; }
.product-gallery-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  min-height: 320px;
  max-height: 520px;
  overflow: hidden;
}
.product-gallery-main .product-detail-image {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  display: block;
  border-radius: 0;
}
.product-gallery-main .product-detail-image.media-placeholder {
  display: flex;
  width: 100%;
  aspect-ratio: 1;
  max-height: 420px;
  min-height: 280px;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
}
.product-gallery-main .product-detail-image.media-placeholder .media-placeholder-icon {
  width: 3rem;
  height: 3rem;
}
.product-detail--no-image .product-detail-grid {
  grid-template-columns: minmax(0, 1fr);
}
.product-detail--no-image .product-detail-info {
  max-width: 42rem;
}
.gallery-main-trigger {
  flex: 1;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.gallery-nav-prev { left: 0.75rem; }
.gallery-nav-next { right: 0.75rem; }
.gallery-nav:hover { background: #fff; }
.product-gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.gallery-thumb {
  width: 4.5rem;
  height: 4.5rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}
.gallery-thumb.is-active { border-color: var(--primary-color, #2563eb); }
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-detail-info { min-width: 0; }
.product-detail-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.2;
}
.product-detail-prices { margin: 0.5rem 0 0.75rem; }
.product-detail-prices .price.current { font-size: 1.65rem; }
.product-detail-prices .price.compare { font-size: 1.1rem; }
.product-qty-discounts {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.product-qty-discounts li {
  margin: 0;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  background: #f3f4f6;
  color: #374151;
  font-size: 0.9rem;
}
.qty-hint-main { display: block; font-weight: 500; }
.qty-hint-label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: #6b7280;
}
.qty-discount-countdown {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: #b45309;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.product-short-description {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #374151;
}
.add-to-cart-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
}
.qty-stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.qty-stepper-btn {
  width: 2.5rem;
  border: 0;
  background: #f9fafb;
  color: #111827;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}
.qty-stepper-btn:hover { background: #f3f4f6; }
.qty-stepper input[type="number"] {
  width: 3.25rem;
  border: 0;
  border-left: 1px solid #d1d5db;
  border-right: 1px solid #d1d5db;
  text-align: center;
  font-size: 1rem;
  padding: 0.65rem 0.25rem;
  -moz-appearance: textfield;
}
.qty-stepper input[type="number"]::-webkit-outer-spin-button,
.qty-stepper input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.add-to-cart-btn {
  flex: 1 1 12rem;
  min-height: 3rem;
  font-size: 1rem;
}
.add-to-cart-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--primary-color) 32%, transparent);
}
.add-to-cart-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--primary-color) 22%, transparent);
}
.product-detail-tabs {
  margin-top: 2.5rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 1.5rem;
}
.product-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.product-tab-btn {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.95rem;
  cursor: pointer;
}
.product-tab-btn.is-active {
  border-color: var(--primary-color, #2563eb);
  background: color-mix(in srgb, var(--primary-color, #2563eb) 10%, white);
  color: var(--primary-color, #2563eb);
  font-weight: 600;
}
.product-tab-panel { display: none; }
.product-tab-panel.is-active { display: block; }
.product-specification {
  font-size: 1rem;
  line-height: 1.65;
  color: #374151;
}
.product-specification p {
  margin: 0 0 1em;
}
.product-specification p:last-child {
  margin-bottom: 0;
}
.product-specification .ql-align-center {
  text-align: center;
}
.product-specification .ql-align-right {
  text-align: right;
}
.product-specification .ql-align-justify {
  text-align: justify;
}
.product-specification ul,
.product-specification ol {
  padding-left: 1.25rem;
}
.product-video {
  position: relative;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}
.product-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.product-lightbox[hidden] { display: none !important; }
.product-lightbox img {
  max-width: min(96vw, 1100px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}
.product-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}
.product-lightbox-close:hover { background: rgba(255, 255, 255, 0.25); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 768px) {
  .product-detail-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .product-gallery-main { min-height: 260px; max-height: 420px; }
  .gallery-main-trigger { min-height: 220px; }
  .add-to-cart-row {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
  }
  .qty-stepper { flex: 0 0 auto; }
  .add-to-cart-btn {
    flex: 1 1 auto;
    width: auto;
    min-height: 3rem;
    padding: 0.7rem 1rem;
  }

  .cart-table {
    display: block;
    margin: 1rem 0;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    table-layout: auto;
  }
  .cart-table thead { display: none; }
  .cart-table tbody { display: block; }
  .cart-table tbody tr.cart-line-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
  }
  .cart-table tbody tr.cart-line-row:last-child { margin-bottom: 0; }
  .cart-table th,
  .cart-table td {
    width: auto !important;
    max-width: none !important;
    text-align: left !important;
  }
  .cart-table td {
    display: block;
    padding: 0;
    border: none;
    min-width: 0;
  }
  .cart-table td[data-label]:not([data-label=""])::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-text-muted);
  }
  .cart-line-product {
    flex: 0 0 100%;
    width: 100%;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.35;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
  }
  .cart-line-qty {
    flex: 0 0 100%;
    width: 100%;
  }
  .cart-line-qty .cart-line-form {
    width: 100%;
    max-width: none;
  }
  .cart-line-unit {
    flex: 1 1 calc(50% - 0.375rem);
    min-width: 0;
    font-weight: 600;
    font-size: 0.98rem;
  }
  .cart-line-total {
    flex: 1 1 calc(50% - 0.375rem);
    min-width: 0;
    text-align: right !important;
    font-weight: 600;
    font-size: 0.98rem;
  }
  .cart-line-total .price.compare {
    display: block;
    margin: 0 0 0.15rem;
    font-size: 0.88rem;
  }
  .cart-line-actions {
    flex: 0 0 100%;
    width: 100%;
    padding-top: 0.25rem;
    white-space: normal;
  }
  .qty-stepper-cart {
    display: flex;
    width: 100%;
    max-width: 12rem;
  }
  .qty-stepper-cart .qty-stepper-btn {
    flex: 0 0 2.5rem;
  }
  .qty-stepper-cart input[type="number"] {
    flex: 1 1 auto;
    min-width: 2.75rem;
    width: auto;
  }
  .cart-delete-btn {
    display: flex;
    width: 100%;
    max-width: none;
    justify-content: center;
    min-height: 2.65rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.9rem;
    white-space: nowrap;
  }
  .cart-totals,
  .cart-grand-total {
    max-width: none;
    margin-left: 0;
  }
}

h1, h2, h3, .logo, .product-card-title, .product-detail-title {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.hero-panel {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--primary-soft) 120%);
  border: 1px solid var(--color-border);
}

.breadcrumbs { margin-bottom: 1rem; }
.breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}
.breadcrumbs-item { display: inline-flex; align-items: center; gap: 0.5rem; }
.breadcrumbs-item:not(:last-child)::after {
  content: "/";
  color: var(--color-text-subtle);
  font-weight: 400;
}
.breadcrumbs-item a { color: var(--color-text-muted); }
.breadcrumbs-item a:hover { color: var(--primary-color); }
.breadcrumbs-item span { color: var(--color-text); font-weight: 600; }

.product-card-body { padding: 1rem 1rem 0.85rem; min-height: 12rem; }
.product-card-title {
  margin: 0 0 0.6rem;
  font-size: 1.02rem;
  line-height: 1.35;
  min-height: calc(2 * 1.35 * 1.02em);
}
.product-card-quick-add {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  margin: 0;
  z-index: 2;
}
.product-card:has(.product-card-quick-add) .product-card-body {
  padding-right: 2.85rem;
}
.product-card-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 2.45rem;
  height: 2.45rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22);
  cursor: pointer;
  opacity: 0;
  transform: scale(0.88);
  pointer-events: none;
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}
.product-card-add-btn svg {
  display: block;
  margin-top: 0.05rem;
}
.product-card-add-plus {
  position: absolute;
  top: -0.1rem;
  right: -0.1rem;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 999px;
  background: #fff;
  color: var(--primary-color);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 0.95rem;
  text-align: center;
}
.product-card:hover .product-card-add-btn,
.product-card:focus-within .product-card-add-btn {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.product-card-add-btn:hover {
  background: var(--button-primary-hover-background, var(--primary-hover));
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.28);
  transform: scale(1.05);
}
.product-card-add-btn:active {
  transform: scale(0.96);
}
@media (hover: none), (pointer: coarse) {
  .product-card-add-btn {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }
}
@media (max-width: 768px) {
  .product-card-add-btn {
    width: 2.35rem;
    height: 2.35rem;
  }
}
.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
}

.empty-state-panel {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}
.empty-state-panel-cart { margin-top: 1rem; }
.empty-state-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: var(--color-text-subtle);
}
.empty-state-title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: var(--color-text-muted);
}
.empty-state-panel .btn { margin-top: 0.25rem; }

.site-footer {
  margin-top: 2.5rem;
  background: var(--footer-background);
}
.footer-main {
  padding-block: 2.5rem 1.5rem;
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 80%, transparent);
}
.footer-brand strong,
.footer-logo strong {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1.05rem;
}

.store-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: var(--color-text);
  color: #fff;
  box-shadow: var(--shadow-md);
  font-size: 0.92rem;
  animation: toast-in 0.25s ease;
}
.store-toast[hidden] { display: none !important; }
.store-toast.is-success { background: #15803d; }
.store-toast.is-error { background: #b91c1c; }
.store-toast-link {
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: underline;
}
.store-toast-link:hover { color: #fff; opacity: 0.9; }
.store-toast-link[hidden] { display: none; }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.ips-payment-page {
  max-width: 36rem;
  margin: 0 auto;
}

.ips-payment-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.ips-payment-detail {
  margin: 0 0 0.75rem;
}

.ips-payment-label {
  color: var(--color-text-muted);
  margin-right: 0.35rem;
}

.ips-payment-hint {
  margin: 1rem 0 0.75rem;
}

.ips-payment-hint-muted {
  margin-top: 1rem;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.ips-payment-qr-wrap {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}

.ips-payment-qr-wrap .ips-qr {
  width: min(100%, 280px);
  height: auto;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
}

.ips-payment-timer {
  margin: 0.75rem 0 0;
  font-size: 1.05rem;
}

.ips-payment-grace {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.ips-payment-note {
  margin: 0.75rem 0 0;
  color: var(--color-text-muted);
}

.ips-payment-phase[hidden] {
  display: none !important;
}

.cookie-consent-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0));
  background: rgba(15, 23, 42, 0.96);
  color: #f8fafc;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.18);
}

.cookie-consent-inner {
  max-width: var(--container-max, 1120px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-consent-text {
  margin: 0;
  flex: 1 1 240px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.cookie-consent-text a {
  color: #bfdbfe;
}

.cookie-consent-accept {
  flex-shrink: 0;
  border: 0;
  background: #2563eb;
  color: #fff;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-weight: 600;
  cursor: pointer;
}

.store-chat-widgets {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.store-chat-widget {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}

.store-chat-widget--whatsapp {
  background: #25d366;
}

.store-chat-widget--viber {
  background: #7360f2;
}

@media (max-width: 640px) {
  .cookie-consent-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent-accept {
    width: 100%;
  }

  .store-chat-widgets {
    bottom: calc(1rem + env(safe-area-inset-bottom, 0));
  }
}

.product-variant-picker {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1rem 0;
}
.product-variant-option-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.product-variant-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.product-variant-btn {
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 999px;
  background: #fff;
  padding: 0.4rem 0.85rem;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.product-variant-btn.is-selected {
  border-color: var(--primary-color);
  background: color-mix(in srgb, var(--primary-color) 12%, #fff);
  color: var(--primary-color);
  font-weight: 600;
}
.product-variant-btn.is-unavailable {
  border-color: #fca5a5;
  background: #fef2f2;
  color: #b91c1c;
  text-decoration: line-through;
}
.product-variant-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.product-variant-select {
  width: 100%;
  max-width: 280px;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: var(--radius-sm, 8px);
  font: inherit;
}
.product-stock-badges {
  margin-bottom: 0.65rem;
}
