/* Valentina Shop — regal gold theme */

:root {
  --fn-teal: #c9a227;
  --fn-teal-dark: #a67c1a;
  --fn-yellow: #e8c76a;
  --fn-yellow-dark: #d4af37;
  --fn-ink: #f3e6c0;
  --fn-ink-on-gold: #1a1205;
  --fn-muted: #b5a57a;
  --fn-bg: #0a0806;
  --fn-card: #16110c;
  --fn-line: rgba(212, 175, 55, 0.28);
  --fn-topbar: #050403;
  --fn-radius: 10px;
  --fn-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
  --fn-header-h: 72px;
  --fn-font: "Source Sans 3", "Segoe UI", sans-serif;
  --fn-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --fn-max: 1180px;
  --fn-gold-soft: #f5ecd4;
  --fn-gold-glow: rgba(212, 175, 55, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body.vs-theme {
  margin: 0;
  font-family: var(--fn-font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--fn-ink);
  background:
    radial-gradient(ellipse 70% 40% at 50% -10%, rgba(201, 162, 39, 0.12) 0%, transparent 60%),
    var(--fn-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
}

body.vs-theme.vs-nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.vs-container {
  width: min(100% - 2rem, var(--fn-max));
  margin-inline: auto;
}

/* ——— Top bar (removed from layout; keep hidden if cached HTML) ——— */
.vs-topbar {
  display: none !important;
}

.vs-topbar-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 34px;
  flex-wrap: wrap;
  padding: 0.35rem 0;
}

.vs-topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--fn-gold-soft);
}

.vs-topbar-phone:hover {
  color: var(--fn-yellow);
}

.vs-topbar-loc {
  opacity: 0.85;
}

.vs-topbar-social {
  margin-left: auto;
}

.vs-topbar-muted {
  opacity: 0.7;
}

/* ——— Header ——— */
.vs-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, #1a1510 0%, #120e0a 100%);
  color: var(--fn-ink);
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45), 0 1px 0 rgba(255, 236, 170, 0.08) inset;
}

.vs-header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--fn-header-h);
  position: relative;
  flex-wrap: nowrap;
}

.vs-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 1 auto;
  min-width: 0;
}

.vs-brand-mark-wrap {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  perspective: 140px;
  perspective-origin: 50% 50%;
  display: block;
}

.vs-brand-mark-wrap--footer {
  margin-bottom: 0.75rem;
}

.vs-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: transparent;
  color: var(--fn-ink);
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  transform-style: preserve-3d;
  will-change: transform;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.35));
  animation: vsBrandSpin3d 16s linear infinite;
}

.vs-brand-mark--footer {
  margin-bottom: 0;
}

@keyframes vsBrandSpin3d {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  /* Keep header mark spinning; only skip if user needs zero motion via OS is rare for this brand mark */
}

.vs-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.vs-brand-name {
  font-family: var(--fn-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--fn-yellow);
}

.vs-brand-tag {
  font-size: 0.75rem;
  opacity: 0.8;
  color: var(--fn-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vs-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.vs-nav-list {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.vs-nav-list a {
  display: block;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.vs-nav-list a:hover,
.vs-nav-list .current-menu-item > a {
  background: rgba(212, 175, 55, 0.18);
  color: var(--fn-yellow);
}

.vs-nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.55rem;
  margin: 0 0 0 -0.35rem;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
}

.vs-nav-toggle:focus-visible {
  outline: 2px solid var(--fn-yellow);
  outline-offset: 2px;
}

.vs-nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fn-yellow);
  border-radius: 1px;
}

.vs-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

.vs-search {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.vs-search input[type="search"] {
  border: 0;
  background: transparent;
  color: var(--fn-ink);
  padding: 0.45rem 0.85rem;
  width: 140px;
  outline: none;
}

.vs-search input::placeholder {
  color: rgba(243, 230, 192, 0.55);
}

.vs-search-btn {
  border: 0;
  background: transparent;
  color: var(--fn-yellow);
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}

.vs-cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(180deg, #fff1c2 0%, #e8c76a 35%, #c9a227 70%, #8b6914 100%);
  color: var(--fn-ink-on-gold);
  font-weight: 700;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 232, 170, 0.45);
  transition: background 0.2s ease, transform 0.15s ease, filter 0.15s ease;
  min-height: 44px;
  box-shadow: 0 4px 16px rgba(139, 105, 20, 0.35);
}

.vs-cart-link:hover {
  background: linear-gradient(180deg, #fff8dc 0%, #f0d78c 40%, #d4af37 100%);
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.vs-cart-count {
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--fn-ink-on-gold);
  color: var(--fn-yellow);
  font-size: 0.75rem;
  display: inline-grid;
  place-items: center;
  line-height: 1;
}

.vs-cart-total {
  font-size: 0.8rem;
  font-weight: 600;
}

.vs-cart-label {
  font-size: 0.9rem;
}

/* ——— Buttons ——— */
.vs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-family: var(--fn-display);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.vs-btn:hover {
  transform: translateY(-2px);
}

.vs-btn-yellow {
  background: linear-gradient(180deg, #fff1c2 0%, #e8c76a 35%, #c9a227 70%, #8b6914 100%);
  color: var(--fn-ink-on-gold);
  border-color: rgba(255, 232, 170, 0.4);
  box-shadow: 0 6px 20px rgba(139, 105, 20, 0.35);
}

.vs-btn-yellow:hover {
  background: linear-gradient(180deg, #fff8dc 0%, #f0d78c 45%, #d4af37 100%);
  filter: brightness(1.04);
}

.vs-btn-outline {
  background: transparent;
  border-color: rgba(232, 199, 106, 0.75);
  color: var(--fn-yellow);
}

.vs-btn-outline:hover {
  background: rgba(212, 175, 55, 0.12);
}

.vs-link {
  color: var(--fn-teal);
  font-weight: 600;
}

.vs-link:hover {
  text-decoration: underline;
}

/* ——— Hero ——— */
.vs-hero {
  position: relative;
  background: #0a0806;
  color: var(--fn-ink);
  overflow: hidden;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.vs-hero-slider {
  position: relative;
}

.vs-hero-slide {
  display: none;
  position: relative;
  min-height: clamp(340px, 52vh, 520px);
  background-image: var(--vs-hero-img);
  background-size: cover;
  background-position: center;
  animation: vsFadeIn 0.55s ease;
}

.vs-hero-slide.is-active {
  display: block;
}

.vs-hero-slide--plain {
  background: linear-gradient(135deg, #1a1510 0%, #0a0806 45%, #2a2010 100%);
}

.vs-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 8, 6, 0.92) 0%, rgba(18, 14, 8, 0.72) 48%, rgba(10, 8, 6, 0.35) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.45), transparent 45%),
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(212, 175, 55, 0.18), transparent 60%);
}

.vs-hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  max-width: 36rem;
}

.vs-hero-kicker {
  margin: 0 0 0.6rem;
  font-family: "Great Vibes", Georgia, cursive;
  font-weight: 400;
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  color: var(--fn-yellow);
  letter-spacing: 0.02em;
  text-shadow: 0 0 24px rgba(212, 175, 55, 0.35);
}

.vs-hero-content h1 {
  margin: 0 0 0.75rem;
  font-family: var(--fn-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4.2vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fn-gold-soft);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.vs-hero-lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  opacity: 0.92;
  max-width: 28rem;
}

.vs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.vs-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  z-index: 2;
}

.vs-hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.vs-hero-dot.is-active {
  background: var(--fn-yellow);
  transform: scale(1.2);
}

@keyframes vsFadeIn {
  from {
    opacity: 0.65;
  }
  to {
    opacity: 1;
  }
}

/* ——— Benefits ——— */
.vs-benefits {
  background: var(--fn-card);
  border-bottom: 1px solid var(--fn-line);
}

.vs-benefits-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  padding: 1.15rem 0;
}

.vs-benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.35rem 0.25rem;
}

.vs-benefit-icon {
  width: 12px;
  height: 12px;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: var(--fn-yellow);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.22);
  flex-shrink: 0;
}

.vs-benefit strong {
  display: block;
  font-family: var(--fn-display);
  font-size: 0.9rem;
  font-weight: 700;
}

.vs-benefit span {
  display: block;
  font-size: 0.8rem;
  color: var(--fn-muted);
}

/* ——— Sections ——— */
.vs-section-head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.vs-section-head h2,
.vs-cat-block-head h3,
.vs-page-title {
  font-family: var(--fn-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
  color: var(--fn-yellow);
}

.vs-section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.vs-section-head p {
  margin: 0;
  color: var(--fn-muted);
}

.vs-section-more {
  text-align: center;
  margin-top: 1.25rem;
}

.vs-categories,
.vs-catalog {
  padding: 2.75rem 0 1rem;
}

.vs-catalog {
  padding-bottom: 3rem;
}

/* ——— Category cards ——— */
.vs-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.vs-cat-card {
  position: relative;
  display: block;
  border-radius: var(--fn-radius);
  overflow: hidden;
  background: var(--fn-card);
  box-shadow: var(--fn-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 180px;
}

.vs-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.vs-cat-card-media {
  position: absolute;
  inset: 0;
  background: var(--fn-teal) center / cover no-repeat;
}

.vs-cat-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(0, 0, 0, 0.72) 100%);
}

.vs-cat-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  color: #fff;
  z-index: 1;
}

.vs-cat-card-title {
  display: block;
  font-family: var(--fn-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.vs-cat-card-count {
  font-size: 0.8rem;
  opacity: 0.85;
}

/* ——— Catalog jumps ——— */
.vs-cat-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-bottom: 2rem;
  position: sticky;
  top: calc(var(--fn-header-h) + 4px);
  z-index: 40;
  background: rgba(10, 8, 6, 0.92);
  backdrop-filter: blur(10px);
  padding: 0.65rem 0.25rem;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.18);
}

.vs-cat-jump a {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--fn-card);
  border: 1px solid var(--fn-line);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fn-ink);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.vs-cat-jump a:hover,
.vs-cat-jump a.is-active {
  background: linear-gradient(180deg, #e8c76a, #a67c1a);
  border-color: var(--fn-yellow);
  color: var(--fn-ink-on-gold);
}

.vs-cat-block {
  margin-bottom: 2.5rem;
  scroll-margin-top: calc(var(--fn-header-h) + 64px);
}

.vs-cat-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--fn-teal);
}

.vs-cat-block-head h3 {
  font-size: 1.25rem;
  color: var(--fn-yellow);
}

/* ——— Product cards ——— */
ul.products.vs-products,
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  clear: both;
}

ul.products.vs-products::before,
ul.products.vs-products::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}

.woocommerce ul.products li.product,
ul.products .vs-product-card,
li.vs-product-card {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  background: var(--fn-card);
  border-radius: var(--fn-radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  border: 1px solid var(--fn-line);
}

.woocommerce ul.products li.product:hover,
ul.products .vs-product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--fn-shadow);
}

.vs-product-media {
  display: block;
  aspect-ratio: 1 / 1;
  background: #1a1510;
  overflow: hidden;
}

.vs-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.vs-product-card:hover .vs-product-media img {
  transform: scale(1.05);
}

.vs-product-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2a2010, #1a1510);
}

.vs-product-body {
  padding: 0.85rem 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.vs-product-title {
  font-family: var(--fn-display);
  font-weight: 650;
  font-size: 0.98rem;
  line-height: 1.3;
  color: var(--fn-ink);
}

.vs-product-price {
  color: var(--fn-yellow);
  font-weight: 700;
  font-size: 1.05rem;
}

.vs-product-price del {
  color: var(--fn-muted);
  font-weight: 500;
  font-size: 0.85rem;
  margin-right: 0.25rem;
}

.vs-product-actions {
  margin-top: auto;
  padding-top: 0.35rem;
}

.vs-add-btn,
.woocommerce ul.products li.product .button,
.woocommerce a.button.add_to_cart_button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.65rem 0.75rem !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, #e8c76a 0%, #c9a227 55%, #8b6914 100%) !important;
  color: var(--fn-ink-on-gold) !important;
  border: 1px solid rgba(255, 232, 170, 0.35) !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  text-align: center;
  transition: filter 0.2s ease, background 0.2s ease !important;
  box-shadow: 0 4px 14px rgba(139, 105, 20, 0.3);
}

.vs-add-btn:hover,
.woocommerce ul.products li.product .button:hover,
.woocommerce a.button.add_to_cart_button:hover {
  background: linear-gradient(180deg, #fff1c2 0%, #e8c76a 50%, #c9a227 100%) !important;
  filter: brightness(1.05);
}

.vs-add-btn--choose {
  background: transparent !important;
  color: var(--fn-yellow) !important;
  border: 2px solid var(--fn-teal) !important;
  box-shadow: none;
}

.vs-out-of-stock {
  display: block;
  text-align: center;
  color: var(--fn-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Added feedback */
.vs-add-btn.added::after,
.woocommerce a.added_to_cart {
  margin-left: 0.35rem;
}

.woocommerce a.added_to_cart {
  display: block;
  text-align: center;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--fn-yellow);
  font-weight: 600;
}

/* ——— Woo main / cart / checkout ——— */
.vs-woo-main {
  padding: 2rem 0 3rem;
  min-height: 50vh;
}

.vs-page {
  background: var(--fn-card);
  padding: 1.5rem;
  border-radius: var(--fn-radius);
  box-shadow: var(--fn-shadow);
  border: 1px solid var(--fn-line);
}

.vs-content {
  line-height: 1.65;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top-color: var(--fn-teal) !important;
}

.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce button.button.alt,
.woocommerce a.checkout-button {
  background: linear-gradient(180deg, #e8c76a 0%, #c9a227 55%, #8b6914 100%) !important;
  color: var(--fn-ink-on-gold) !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  border: 1px solid rgba(255, 232, 170, 0.35) !important;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.checkout-button:hover {
  background: linear-gradient(180deg, #fff1c2 0%, #e8c76a 55%, #c9a227 100%) !important;
}

.woocommerce .quantity .qty {
  border: 1px solid var(--fn-line);
  border-radius: 6px;
  padding: 0.4rem;
  background: #0f0c08;
  color: var(--fn-ink);
}

/* ——— Footer ——— */
.vs-footer {
  background: linear-gradient(180deg, #120e0a 0%, #050403 100%);
  color: var(--fn-muted);
  padding-top: 2.5rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.vs-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.vs-footer-brand strong {
  display: block;
  font-family: var(--fn-display);
  font-size: 1.15rem;
  color: var(--fn-yellow);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}

.vs-footer-brand p,
.vs-footer-col p {
  margin: 0.35rem 0;
  font-size: 0.92rem;
}

.vs-footer-col h3 {
  margin: 0 0 0.75rem;
  font-family: var(--fn-display);
  color: var(--fn-yellow);
  font-size: 1rem;
}

.vs-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vs-footer-col li {
  margin-bottom: 0.4rem;
}

.vs-footer a:hover {
  color: var(--fn-yellow);
}

.vs-footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding: 1rem 0;
  font-size: 0.8rem;
  opacity: 0.75;
}

.vs-empty {
  text-align: center;
  padding: 2rem;
  background: var(--fn-card);
  border-radius: var(--fn-radius);
  border: 1px solid var(--fn-line);
}

.vs-all-cats {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--fn-line);
}

.vs-all-cats-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.vs-all-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  background: var(--fn-card);
  border: 1px solid var(--fn-line);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.vs-all-cat-chip span {
  color: var(--fn-muted);
  font-weight: 500;
}

.vs-all-cat-chip:hover {
  background: linear-gradient(180deg, #e8c76a, #a67c1a);
  border-color: var(--fn-yellow);
  color: var(--fn-ink-on-gold);
}

.vs-all-cat-chip:hover span {
  color: rgba(26, 18, 5, 0.75);
}

/* Toast */
.vs-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 9999;
  background: #1a1510;
  color: var(--fn-yellow);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  box-shadow: var(--fn-shadow);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.vs-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.vs-toast.is-error {
  background: #a33;
}

/* Sticky mobile checkout bar */
.vs-sticky-cart {
  display: none;
}

/* ——— Responsive ——— */
@media (max-width: 1100px) {
  .vs-benefits-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .vs-cat-grid,
  ul.products.vs-products,
  .woocommerce ul.products {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  :root {
    --fn-header-h: 60px;
  }

  .vs-container {
    width: min(100% - 1.25rem, var(--fn-max));
  }

  .vs-nav-toggle {
    display: inline-flex;
  }

  .vs-brand {
    flex: 1 1 auto;
  }

  .vs-nav {
    position: static;
    flex: 0 0 0;
    width: 0;
    min-width: 0;
    margin: 0;
    overflow: visible;
  }

  .vs-nav-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #120e0a;
    border-bottom: 1px solid rgba(212, 175, 55, 0.35);
    padding: 0.75rem 1rem 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
    z-index: 120;
  }

  .vs-header.is-nav-open .vs-nav-panel {
    display: block;
  }

  .vs-nav-list {
    flex-direction: column;
  }

  .vs-nav-list a {
    padding: 0.85rem 1rem;
    font-size: 1rem;
    min-height: 44px;
  }

  .vs-brand-mark-wrap {
    width: 36px;
    height: 36px;
  }

  .vs-brand-mark {
    width: 36px;
    height: 36px;
  }

  .vs-brand-name {
    font-size: 0.95rem;
  }

  .vs-search input[type="search"] {
    width: 90px;
  }

  .vs-cart-total,
  .vs-cart-label {
    display: none;
  }

  .vs-hero-slide {
    min-height: clamp(260px, 42vh, 380px);
  }

  .vs-hero-content {
    padding: 1.75rem 0 2.5rem;
    max-width: none;
  }

  .vs-hero-kicker {
    font-size: 1.15rem;
  }

  .vs-hero-content h1 {
    font-size: clamp(1.45rem, 6.2vw, 1.9rem);
  }

  .vs-hero-lead {
    font-size: 0.95rem;
    margin-bottom: 1.15rem;
  }

  .vs-hero-actions {
    gap: 0.55rem;
  }

  .vs-btn {
    padding: 0.75rem 1.15rem;
    font-size: 0.9rem;
    min-height: 44px;
  }

  .vs-benefits-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0.85rem 0;
  }

  .vs-benefit {
    padding: 0.45rem 0.35rem;
  }

  .vs-categories,
  .vs-catalog {
    padding: 1.75rem 0 1rem;
  }

  .vs-cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .vs-cat-card {
    min-height: 140px;
  }

  ul.products.vs-products,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .vs-cat-jump {
    top: calc(var(--fn-header-h) + 2px);
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    padding: 0.55rem 0.25rem;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .vs-cat-jump::-webkit-scrollbar {
    display: none;
  }

  .vs-cat-jump a {
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  .vs-cat-block {
    scroll-margin-top: calc(var(--fn-header-h) + 56px);
  }

  .vs-cat-block-head {
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
  }

  .vs-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .vs-topbar-loc {
    display: none;
  }

  .vs-woo-main {
    padding: 1.25rem 0 5.5rem;
  }

  .vs-page {
    padding: 1rem;
  }

  /* Woo tables → stacked cards on tablet/phone */
  .woocommerce table.shop_table,
  .woocommerce-cart table.cart,
  .woocommerce-checkout table.shop_table {
    display: block;
    width: 100% !important;
  }

  .woocommerce table.shop_table thead {
    display: none;
  }

  .woocommerce table.shop_table tbody,
  .woocommerce table.shop_table tr,
  .woocommerce table.shop_table td {
    display: block;
    width: 100% !important;
  }

  .woocommerce table.shop_table tr {
    margin-bottom: 1rem;
    padding: 0.85rem;
    background: var(--fn-card);
    border: 1px solid var(--fn-line);
    border-radius: var(--fn-radius);
  }

  .woocommerce table.shop_table td {
    border: 0 !important;
    padding: 0.35rem 0 !important;
    text-align: left !important;
  }

  .woocommerce table.shop_table td::before {
    content: attr(data-title);
    display: block;
    font-size: 0.75rem;
    color: var(--fn-muted);
    margin-bottom: 0.15rem;
  }

  .woocommerce-cart .cart-collaterals,
  .woocommerce-checkout .col2-set {
    width: 100% !important;
    float: none !important;
  }

  .woocommerce .col2-set .col-1,
  .woocommerce .col2-set .col-2,
  .woocommerce-page .col2-set .col-1,
  .woocommerce-page .col2-set .col-2 {
    width: 100% !important;
    float: none !important;
  }

  .woocommerce div.product div.images,
  .woocommerce div.product div.summary {
    width: 100% !important;
    float: none !important;
  }

  .woocommerce #content div.product div.images,
  .woocommerce div.product div.images {
    margin-bottom: 1rem;
  }

  .vs-sticky-cart {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, #1a1510 0%, #120e0a 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.45);
  }

  .vs-sticky-cart[hidden] {
    display: none !important;
  }

  .vs-sticky-cart-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .vs-sticky-cart-meta strong {
    font-family: var(--fn-display);
    font-size: 1rem;
    color: var(--fn-yellow);
  }

  .vs-sticky-cart-meta span {
    font-size: 0.8rem;
    color: var(--fn-muted);
  }

  .vs-sticky-cart .vs-btn {
    flex-shrink: 0;
  }
}

@media (max-width: 640px) {
  /* Food-ordering list cards: image left, details right */
  ul.products.vs-products,
  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
  }

  .woocommerce ul.products li.product,
  ul.products .vs-product-card,
  li.vs-product-card {
    flex-direction: row !important;
    align-items: stretch;
    min-height: 0;
  }

  .vs-product-media {
    width: 108px;
    flex: 0 0 108px;
    aspect-ratio: auto;
    align-self: stretch;
    min-height: 108px;
  }

  .vs-product-media img {
    object-fit: cover;
    height: 100%;
  }

  .vs-product-body {
    padding: 0.65rem 0.75rem;
    gap: 0.3rem;
    min-width: 0;
    justify-content: center;
  }

  .vs-product-title {
    font-size: 0.92rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .vs-product-price {
    font-size: 0.98rem;
  }

  .vs-product-actions {
    padding-top: 0.15rem;
  }

  .vs-add-btn,
  .woocommerce ul.products li.product .button,
  .woocommerce a.button.add_to_cart_button {
    padding: 0.55rem 0.65rem !important;
    font-size: 0.82rem !important;
    min-height: 40px;
  }

  .vs-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vs-cat-card-title {
    font-size: 0.92rem;
  }
}

@media (max-width: 520px) {
  .vs-topbar {
    font-size: 0.75rem;
  }

  .vs-topbar-social {
    display: none;
  }

  .vs-brand-tag {
    display: none;
  }

  .vs-search {
    display: none;
  }

  .vs-benefits-row {
    grid-template-columns: 1fr;
  }

  .vs-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .vs-hero-actions .vs-btn {
    width: 100%;
  }

  .vs-hero-content h1 {
    font-size: 1.5rem;
  }

  .vs-section-head h2 {
    font-size: 1.4rem;
  }

  .vs-product-media {
    width: 96px;
    flex-basis: 96px;
    min-height: 96px;
  }

  .vs-all-cats-list {
    justify-content: flex-start;
  }

  .vs-toast {
    left: 1rem;
    right: 1rem;
    bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  }
}

/* Kill WooCommerce float/width leftovers that cause mobile overflow */
.woocommerce .products ul::after,
.woocommerce ul.products::after,
.woocommerce-page ul.products::after {
  display: none !important;
}

.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-result-count {
  float: none !important;
  width: auto !important;
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .woocommerce .woocommerce-ordering,
  .woocommerce .woocommerce-result-count {
    display: block;
    width: 100% !important;
  }
}

/* ——— Variable product: Porție picker (replaces native select) ——— */
.woocommerce div.product form.cart .variations {
  width: 100%;
  margin-bottom: 1rem;
}

.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  text-align: left;
  vertical-align: top;
}

.woocommerce div.product form.cart .variations th.label {
  padding-bottom: 0.45rem;
}

.woocommerce div.product form.cart .variations th.label label {
  font-family: var(--fn-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--fn-ink);
  margin: 0;
}

.woocommerce div.product form.cart .variations td.value {
  position: relative;
}

/* Hide native select so Android WebView never opens the black system picker */
.vs-has-portion-picker .vs-native-variation-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.vs-portion-picker {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
  margin: 0.15rem 0 0.35rem;
}

.vs-portion-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem;
  margin: 0;
  border: 2px solid var(--fn-line);
  border-radius: 10px;
  background: #0f0c08;
  color: var(--fn-ink);
  font-family: var(--fn-font);
  font-size: 0.98rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease,
    color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.vs-portion-option:hover {
  border-color: var(--fn-teal);
  background: rgba(212, 175, 55, 0.08);
}

.vs-portion-option:focus-visible {
  outline: 2px solid var(--fn-yellow);
  outline-offset: 2px;
}

.vs-portion-option.is-selected {
  border-color: var(--fn-teal);
  background: linear-gradient(180deg, rgba(232, 199, 106, 0.18) 0%, rgba(166, 124, 26, 0.12) 100%);
  box-shadow: inset 0 0 0 1px var(--fn-teal);
  color: var(--fn-yellow);
}

.vs-portion-option.is-selected .vs-portion-option__price {
  color: var(--fn-yellow);
}

.vs-portion-option.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.vs-portion-option__label {
  flex: 1 1 auto;
  line-height: 1.3;
}

.vs-portion-option__price {
  flex: 0 0 auto;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--fn-yellow);
  white-space: nowrap;
}

.vs-portion-option__price .woocommerce-Price-amount,
.vs-portion-option__price .amount {
  font-weight: 700;
  color: inherit;
}

.vs-has-portion-picker .reset_variations {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fn-muted);
}

.woocommerce div.product .woocommerce-variation.single_variation {
  margin: 0.5rem 0 0.75rem;
}

.woocommerce div.product .woocommerce-variation .price {
  color: var(--fn-yellow);
  font-weight: 700;
  font-size: 1.25rem;
}

.woocommerce div.product form.cart .quantity .qty {
  min-height: 48px;
  min-width: 64px;
  font-size: 1rem;
  padding: 0.5rem;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
  min-height: 48px;
  padding-inline: 1.25rem !important;
}

@media (min-width: 821px) {
  .vs-portion-picker {
    max-width: 420px;
  }
}


/* ——— Regal forms (cart / checkout / account) ——— */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page .select2-container .select2-selection--single {
  background: #0f0c08 !important;
  color: var(--fn-ink) !important;
  border: 1px solid var(--fn-line) !important;
  border-radius: 8px !important;
}

.woocommerce form .form-row label,
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3,
.woocommerce-cart-form table th,
.woocommerce-cart-form table td,
.cart_totals h2,
.woocommerce-checkout-review-order-table,
.woocommerce .cart-collaterals .cart_totals {
  color: var(--fn-ink);
}

.woocommerce table.shop_table {
  border-color: var(--fn-line) !important;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: var(--fn-line) !important;
}

.woocommerce-message,
.woocommerce-info {
  background: rgba(212, 175, 55, 0.1) !important;
  color: var(--fn-ink) !important;
}

.woocommerce div.product .product_title,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--fn-yellow);
}

.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce div.product .product_meta {
  color: var(--fn-muted);
}

.select2-dropdown {
  background: #16110c !important;
  border-color: var(--fn-line) !important;
  color: var(--fn-ink) !important;
}
