/*
Theme Name: TE E-Commerce Skin
Theme URI: https://termimal.com
Author: TERMIMAL
Author URI: https://termimal.com
Description: Modern minimal WooCommerce skin by TERMIMAL — RTL, Vazirmatn, modular homepage, lightweight.
Version: 2.4.3
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vazirshop
Tags: e-commerce, woocommerce, rtl-language-support, custom-menu, featured-images, custom-logo, custom-colors
*/


/* ==========================================================================
   Design tokens — Quiet Luxury / Calm Minimal (2026)
   ========================================================================== */
:root {
  --color-primary: #0f766e;
  --color-primary-hover: #0d9488;
  --color-secondary: #0f172a;
  --color-accent: #f59e0b;
  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --color-surface: #ffffff;
  --color-surface-alt: #f8fafc;
  --color-sale: #e11d48;
  --color-success: #059669;

  --font: 'Vazirmatn', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.1);
  --header-h: 72px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition: 0.25s var(--ease);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-surface);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary); }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section { padding-block: 4rem; }
.section-title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-secondary);
  margin-bottom: 0.35rem;
}
.section-subtitle {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  max-width: 36rem;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin-inline: auto; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.35rem; }
.mb-3 { margin-bottom: 1.75rem; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.15s ease, box-shadow var(--transition);
  line-height: 1.2;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.25);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.35);
}
.btn-outline {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(15, 118, 110, 0.04);
}
.btn-sm { padding: 0.45rem 1rem; font-size: 0.8rem; }
.btn-lg { padding: 0.9rem 1.85rem; font-size: 1rem; }

/* ==========================================================================
   Top bar
   ========================================================================== */
.vs-topbar {
  background: var(--color-secondary);
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  letter-spacing: 0.01em;
}
.vs-topbar a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   Header — sticky glass
   ========================================================================== */
.site-header {
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
.site-header.is-sticky {
  position: sticky;
  top: 0;
}
.site-header.is-static {
  position: relative;
}
.header-search-panel {
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 0.85rem 0;
  box-shadow: var(--shadow-sm);
}
.header-search-panel[hidden] { display: none !important; }
.header-search-inner { display: block; }
.header-search-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-search-form input[type="search"] {
  flex: 1;
  padding: 0.7rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface-alt);
  outline: none;
}
.header-search-form input[type="search"]:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}
.header-search-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.35rem;
  color: var(--color-text-muted);
  line-height: 1;
}
.header-search-close:hover { background: var(--color-surface-alt); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}
.site-branding { flex-shrink: 0; }
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}
.brand-link:hover { color: inherit; }
.header-logo { display: block; height: auto; max-width: 180px; object-fit: contain; }
.site-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-secondary);
}
.site-branding img { max-height: 40px; width: auto; }

.main-navigation { flex: 1; display: flex; justify-content: center; }
.primary-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.primary-menu > li > a {
  display: block;
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a {
  color: var(--color-primary);
  background: rgba(15, 118, 110, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.header-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--color-text);
  transition: background var(--transition), color var(--transition);
}
.header-icon-btn:hover {
  background: var(--color-surface-alt);
  color: var(--color-primary);
}
.header-icon-btn .wishlist-count,
.header-icon-btn .compare-count,
.header-icon-btn .cart-count {
  position: absolute;
  top: 4px;
  left: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  background: var(--color-primary);
  color: #fff;
  border-radius: 999px;
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--color-text);
}

/* Mobile nav */
@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .main-navigation {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s var(--ease), opacity 0.25s ease;
    justify-content: flex-start;
    z-index: 999;
  }
  .main-navigation.is-open {
    max-height: 70vh;
    opacity: 1;
    overflow-y: auto;
  }
  .primary-menu {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .primary-menu > li > a {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
  }
}

/* ==========================================================================
   Hero — classic
   ========================================================================== */
.hero {
  padding-block: 3.5rem 2.5rem;
  background: linear-gradient(180deg, var(--color-surface-alt) 0%, var(--color-surface) 100%);
}
.hero-content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}
.hero-text p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
  max-width: 28rem;
  line-height: 1.7;
}
.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: var(--color-surface-alt);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 2rem; }
  .hero-image { order: -1; max-height: 280px; aspect-ratio: 16/10; }
}

/* ==========================================================================
   Hero — full-width slider
   ========================================================================== */
.hero-slider-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.hero-slider {
  position: relative;
  min-height: 420px;
  height: min(68vh, 640px);
}
.hero-slider-track { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
  display: flex;
  align-items: center;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.hero-slide-bg { position: absolute; inset: 0; }
.hero-slide-bg img,
.hero-slide-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide-placeholder {
  background: linear-gradient(135deg, #0f766e 0%, #134e4a 50%, #0f172a 100%);
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%);
}
.hero-slide-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 560px;
  padding-block: 2rem;
}
.hero-slide-content h1 {
  color: #fff;
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}
.hero-slide-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  max-width: 420px;
}
.hero-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: background var(--transition), color var(--transition);
}
.hero-slider-nav:hover { background: #fff; color: var(--color-primary); }
.hero-slider-prev { right: 1.25rem; }
.hero-slider-next { left: 1.25rem; }
.hero-slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.45rem;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  padding: 0;
  transition: width 0.3s ease, background 0.3s ease;
}
.hero-dot.is-active {
  width: 24px;
  background: #fff;
}

@media (max-width: 768px) {
  .hero-slider { min-height: 360px; height: 52vh; }
  .hero-slider-nav { width: 40px; height: 40px; }
  .hero-slider-prev { right: 0.65rem; }
  .hero-slider-next { left: 0.65rem; }
}

/* ==========================================================================
   Promo banners
   ========================================================================== */
.promo-banners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.promo-banner-card {
  display: block;
  min-height: 160px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-primary), #134e4a);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 1.5rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.promo-banner-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: #fff;
}
.promo-banner-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.45), transparent 60%);
}
.promo-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
  justify-content: flex-end;
}
.promo-banner-inner strong { font-size: 1.15rem; font-weight: 700; }
.promo-banner-inner span { font-size: 0.9rem; opacity: 0.9; }

@media (max-width: 900px) {
  .promo-banners-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Categories
   ========================================================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
  color: var(--color-text);
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.category-card:hover { background: var(--color-surface-alt); color: var(--color-primary); }
.category-card img,
.category-placeholder {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.category-card:hover img {
  transform: scale(1.05);
  box-shadow: var(--shadow);
}
.category-card span { font-size: 0.875rem; font-weight: 600; }

@media (max-width: 900px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card img, .category-placeholder { width: 72px; height: 72px; }
}

/* ==========================================================================
   Product grid & cards
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.products li.product {
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
  padding: 0 !important;
}

.product-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.product-card-image {
  position: relative;
  aspect-ratio: 1;
  background: var(--color-surface-alt);
  overflow: hidden;
}
.product-card-image a { display: block; height: 100%; }
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.product-card:hover .product-card-image img { transform: scale(1.04); }

.product-card-actions {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 2;
}
.product-card:hover .product-card-actions {
  opacity: 1;
  transform: translateX(0);
}
.product-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), color var(--transition);
}
.product-action-btn:hover,
.product-action-btn.is-active {
  background: var(--color-primary);
  color: #fff;
}

.product-badges {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  z-index: 2;
}
.product-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  line-height: 1.2;
}
.badge-sale { background: var(--color-sale); color: #fff; }
.badge-new { background: var(--color-primary); color: #fff; }
.badge-featured { background: var(--color-accent); color: #0f172a; }
.badge-out { background: var(--color-secondary); color: #fff; }

.product-card-body {
  padding: 1rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}
.product-card-title {
  font-size: 0.925rem;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-title a:hover { color: var(--color-primary); }
.product-card-price {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-secondary);
  margin-top: auto;
}
.product-card-price del {
  color: var(--color-text-muted);
  font-weight: 400;
  font-size: 0.85rem;
  margin-left: 0.35rem;
}
.product-card-price ins { text-decoration: none; color: var(--color-sale); }
.product-card-body .btn { margin-top: 0.5rem; width: 100%; }

@media (max-width: 1100px) {
  .products-grid, ul.products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .products-grid, ul.products { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .product-card-actions { opacity: 1; transform: none; }
}
@media (max-width: 420px) {
  .products-grid, ul.products { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Carousel
   ========================================================================== */
.carousel-wrapper { overflow: hidden; margin-inline: -0.25rem; }
.carousel-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0.25rem 0.25rem 0.75rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-item {
  flex: 0 0 calc(25% - 0.95rem);
  min-width: 220px;
}
.carousel-item .product-card { height: 100%; }
.carousel-nav { display: flex; gap: 0.4rem; }
.carousel-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.carousel-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(15, 118, 110, 0.04);
}

@media (max-width: 900px) {
  .carousel-item { flex: 0 0 calc(50% - 0.65rem); min-width: 180px; }
}
@media (max-width: 520px) {
  .carousel-item { flex: 0 0 78%; }
}

/* ==========================================================================
   Promo / CTA blocks
   ========================================================================== */
.promo-box {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0d9488 50%, #134e4a 100%);
  color: #fff;
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
}
.promo-box h2 { color: #fff; font-size: 1.75rem; font-weight: 800; margin-bottom: 0.65rem; }
.promo-box p { color: rgba(255, 255, 255, 0.9); margin-bottom: 1.5rem; max-width: 32rem; margin-inline: auto; }
.promo-box .btn-primary {
  background: #fff;
  color: var(--color-primary);
  box-shadow: none;
}
.promo-box .btn-primary:hover { background: var(--color-surface-alt); color: var(--color-primary); }

.cta-section {
  background: var(--color-secondary);
  color: #fff;
  padding: 4rem 0;
}
.cta-section h2 { color: #fff; font-size: 1.85rem; font-weight: 800; margin-bottom: 0.65rem; }
.cta-section p { color: rgba(255, 255, 255, 0.8); margin-bottom: 1.5rem; max-width: 28rem; margin-inline: auto; }
.cta-section .btn-primary {
  background: var(--color-primary);
}

/* ==========================================================================
   Blog
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.post-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition), transform var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.post-thumbnail {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--color-surface-alt);
}
.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.post-card:hover .post-thumbnail img { transform: scale(1.04); }
.post-body { padding: 1.15rem; flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
.post-meta { font-size: 0.8rem; color: var(--color-text-muted); }
.post-title { font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
.post-excerpt {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-surface-alt);
  border-top: 1px solid var(--color-border);
  padding-block: 3.5rem 1.5rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(var(--footer-cols, 4), 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
  align-items: start;
}
.footer-col p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 16rem;
}
.footer-col .widget-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--color-secondary);
}
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr !important; }
}
.footer-col { min-width: 0; }
.footer-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.footer-trust { width: 100%; clear: both; }


/* ==========================================================================
   Pages / content
   ========================================================================== */
.site-main { min-height: 50vh; }
.page-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--color-secondary);
}
.entry-content { line-height: 1.8; max-width: 720px; }
.entry-content p { margin-bottom: 1rem; }

/* ==========================================================================
   WooCommerce
   ========================================================================== */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: var(--radius-sm);
  border-top: none;
  border-right: 3px solid var(--color-primary);
  padding: 1rem 1.25rem;
  background: var(--color-surface-alt);
  margin-bottom: 1.25rem;
}
.woocommerce-error { border-right-color: var(--color-sale); }

.woocommerce .quantity .qty {
  width: 4rem;
  padding: 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  text-align: center;
}
.woocommerce div.product form.cart .button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--color-primary) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: none !important;
  transition: background var(--transition);
}
.woocommerce div.product form.cart .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: var(--color-primary-hover) !important;
}

.vs-single-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) {
  .vs-single-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
.vs-single-summary .product_title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.vs-single-summary .price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}
.woocommerce-tabs {
  margin-top: 3rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}
.woocommerce-tabs ul.tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.25rem;
  padding: 0;
}
.woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 0.75rem 1.1rem !important;
  font-weight: 600;
  color: var(--color-text-muted);
  border-bottom: 2px solid transparent;
}
.woocommerce-tabs ul.tabs li.active a {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.woocommerce-cart table.shop_table,
.woocommerce-checkout table.shop_table {
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.woocommerce-cart table.shop_table th,
.woocommerce-checkout table.shop_table th {
  background: var(--color-surface-alt);
}

/* ==========================================================================
   Mini cart & Quick View
   ========================================================================== */
.vs-mini-cart-overlay,
.vs-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  backdrop-filter: blur(2px);
}
.vs-mini-cart-overlay.is-open,
.vs-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.vs-mini-cart {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  width: min(380px, 100%);
  height: 100%;
  background: #fff;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
  padding: 1.25rem;
  overflow: auto;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}
.vs-mini-cart.is-open { transform: translateX(0); }
.vs-mini-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--color-border);
}
.vs-mini-cart-header strong { font-size: 1.1rem; }
.vs-mini-cart-close,
.vs-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--color-text-muted);
  transition: background var(--transition);
}
.vs-mini-cart-close:hover,
.vs-modal-close:hover { background: var(--color-surface-alt); }
.vs-mini-cart-item {
  display: flex;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border);
}
.vs-mini-cart-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--color-surface-alt);
}
.vs-mini-cart-item a { font-weight: 600; font-size: 0.9rem; }
.vs-mini-cart-item span {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}
.vs-mini-cart-total {
  margin: 1.25rem 0;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
}
.vs-mini-cart-body .btn { margin-top: 0.5rem; width: 100%; }

.vs-modal {
  position: relative;
  background: #fff;
  max-width: 840px;
  margin: 5vh auto;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  max-height: 90vh;
  overflow: auto;
  box-shadow: var(--shadow-lg);
}
.vs-modal-close {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
}
.vs-qv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}
.vs-qv-image img { border-radius: var(--radius); width: 100%; }
.vs-qv-info h2 { font-size: 1.35rem; font-weight: 800; margin-bottom: 0.5rem; }
.vs-qv-info .price { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.75rem; }
.vs-qv-info .desc { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: 1.25rem; }

@media (max-width: 640px) {
  .vs-qv { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Compare table
   ========================================================================== */
.vs-compare-table-wrap { overflow-x: auto; }
.vs-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.vs-compare-table th,
.vs-compare-table td {
  border: 1px solid var(--color-border);
  padding: 1rem;
  text-align: center;
  vertical-align: top;
}
.vs-compare-table thead th { background: var(--color-surface-alt); }
.vs-compare-table img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin: 0 auto 0.5rem;
}

/* ==========================================================================
   Swatches
   ========================================================================== */
.vs-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}
.vs-swatch {
  padding: 0.4rem 0.85rem;
  border: 1.5px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.vs-swatch:hover { border-color: var(--color-primary); }
.vs-swatch.is-active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}
/* Hide native select when swatches present — keep accessible */
.vs-swatches + select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

/* ==========================================================================
   Forms (checkout / account)
   ========================================================================== */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
  outline: none;
}

/* ==========================================================================
   Utility / spacing rhythm
   ========================================================================== */
.woocommerce-result-count,
.woocommerce-ordering {
  margin-bottom: 1.25rem;
}
.woocommerce-ordering select {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  background: #fff;
}

/* Hide empty Woo wrappers that break layout */
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none !important; content: none !important; }

@media (max-width: 768px) {
  .section { padding-block: 2.5rem; }
  :root { --header-h: 64px; }
}

/* Hide WooCommerce "View cart" link under product after AJAX add */
a.added_to_cart,
.woocommerce a.added_to_cart,
.product-card a.added_to_cart {
  display: none !important;
}

/* Add-to-cart success feedback on product card */
.product-card {
  position: relative;
}
.product-card-added-feedback {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 118, 110, 0.92);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.product-card-added-feedback.is-visible {
  opacity: 1;
  transform: scale(1);
}
.product-card-added-feedback svg {
  margin-left: 0.4rem;
  flex-shrink: 0;
}
.add_to_cart_button.loading {
  opacity: 0.7;
  pointer-events: none;
}
.add_to_cart_button.added {
  background: var(--color-success, #059669) !important;
}

/* Footer lists & social */
.footer-list { margin: 0; padding: 0; list-style: none; }
.footer-list li { margin-bottom: 0.45rem; font-size: 0.9rem; color: var(--color-text-muted); }
.footer-list a:hover { color: var(--color-primary); }
.footer-brand { margin-bottom: 0.75rem; }
.footer-logo { display: block; max-width: 160px; }
.footer-site-name { font-size: 1.1rem; font-weight: 800; }
.footer-about-text { font-size: 0.9rem; color: var(--color-text-muted); margin-top: 0.5rem; }
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}
.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.footer-social-link:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.footer-trust {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}
.footer-trust-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-secondary);
}
.footer-trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-trust-list img {
  max-height: 72px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  padding: 4px;
  border: 1px solid var(--color-border);
}

/* Hero text alignment & direction */
.hero-text.hero-align-start,
.hero-slide-content.hero-align-start {
  text-align: start;
  align-items: flex-start;
  margin-inline-start: 0;
  margin-inline-end: auto;
}
.hero-text.hero-align-center,
.hero-slide-content.hero-align-center {
  text-align: center;
  align-items: center;
  margin-inline: auto;
}
.hero-text.hero-align-end,
.hero-slide-content.hero-align-end {
  text-align: end;
  align-items: flex-end;
  margin-inline-start: auto;
  margin-inline-end: 0;
}
.hero-text {
  display: flex;
  flex-direction: column;
}
.hero-slide-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 560px;
}
.hero-slide-content.hero-align-center {
  max-width: 640px;
}
.hero-content.hero-align-center {
  grid-template-columns: 1fr;
  text-align: center;
}
.hero-content.hero-align-center .hero-image {
  max-width: 640px;
  margin-inline: auto;
}
.hero-content.hero-align-end {
  direction: inherit;
}
.hero-content.hero-align-end .hero-text { order: 2; }
.hero-content.hero-align-end .hero-image { order: 1; }

/* Vertical align for slider */
.hero-slider-section.hero-valign-top .hero-slide { align-items: flex-start; }
.hero-slider-section.hero-valign-center .hero-slide { align-items: center; }
.hero-slider-section.hero-valign-bottom .hero-slide { align-items: flex-end; }
.hero-slider-section.hero-valign-top .hero-slide-content { padding-top: 3rem; }
.hero-slider-section.hero-valign-bottom .hero-slide-content { padding-bottom: 3.5rem; }

/* Categories responsive columns via CSS variable */
.categories-grid {
  grid-template-columns: repeat(var(--cat-cols, 6), 1fr);
}
.categories-cols-2 { --cat-cols: 2; }
.categories-cols-3 { --cat-cols: 3; }
.categories-cols-4 { --cat-cols: 4; }
.categories-cols-5 { --cat-cols: 5; }
.categories-cols-6 { --cat-cols: 6; }
@media (max-width: 900px) {
  .categories-grid { grid-template-columns: repeat(min(var(--cat-cols, 4), 3), 1fr) !important; }
}
@media (max-width: 520px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
.categories-carousel .category-card { width: 100%; }

/* ========== Shop UX: listing ========== */
.vs-shop-header { margin-bottom: 1.5rem; }
.vs-shop-header .page-title { margin-bottom: 0.5rem; }
.vs-shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}
.vs-product-listing ul.products {
  display: grid;
  grid-template-columns: repeat(var(--shop-cols, 4), minmax(0, 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.vs-product-listing ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}
@media (max-width: 1024px) {
  .vs-product-listing ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .vs-product-listing ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 400px) {
  .vs-product-listing ul.products { grid-template-columns: 1fr; }
}

/* ========== Recently viewed ========== */
.vs-recently-viewed { padding-block: 2.5rem; border-top: 1px solid var(--color-border); }

/* ========== Sticky ATC ========== */
.vs-sticky-atc {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 90;
  background: var(--color-surface, #fff);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -8px 30px rgba(0,0,0,.06);
  padding: 0.65rem 0;
  transform: translateY(110%);
  transition: transform .28s ease;
}
.vs-sticky-atc.is-visible {
  transform: translateY(0);
}
.vs-sticky-atc[hidden] { display: none !important; }
.vs-sticky-atc-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.vs-sticky-atc-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.vs-sticky-atc-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.vs-sticky-atc-meta { min-width: 0; }
.vs-sticky-atc-title {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 42vw;
}
.vs-sticky-atc-price { font-size: 0.85rem; color: var(--color-text-muted); }
.vs-sticky-atc-actions { flex-shrink: 0; }
.vs-sticky-atc-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}
.vs-sticky-atc-form .qty {
  width: 3.25rem;
  padding: 0.4rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  text-align: center;
}
@media (max-width: 560px) {
  .vs-sticky-atc-title { max-width: 28vw; }
  .vs-sticky-atc-form .qty { display: none; }
}

/* ========== Mini-cart enhanced ========== */
.vs-mini-cart-list { list-style: none; margin: 0 0 1rem; padding: 0; max-height: 45vh; overflow: auto; }
.vs-mini-cart-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--color-border);
}
.vs-mini-cart-thumb img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.vs-mini-cart-item-info { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.9rem; }
.vs-mini-cart-qty { color: var(--color-text-muted); font-size: 0.8rem; }
.vs-mini-cart-coupons { list-style: none; margin: 0 0 0.75rem; padding: 0; font-size: 0.85rem; }
.vs-mini-cart-coupons li { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: 0.35rem; }
.vs-coupon-code {
  background: var(--color-surface-alt, #f3f4f6);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-family: ui-monospace, monospace;
}
.vs-remove-coupon {
  border: 0;
  background: none;
  color: var(--color-primary);
  cursor: pointer;
  font-size: 0.8rem;
  text-decoration: underline;
}
.vs-mini-cart-coupon {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.vs-mini-cart-coupon input {
  flex: 1;
  min-width: 0;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}
.vs-mini-cart-coupon-msg {
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}
.vs-mini-cart-coupon-msg.is-error { color: #b91c1c; }
.vs-mini-cart-coupon-msg.is-ok { color: #047857; }
.vs-mini-cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.vs-mini-cart-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.vs-mini-cart-actions .btn { flex: 1; text-align: center; }
.vs-mini-cart-empty { color: var(--color-text-muted); text-align: center; padding: 2rem 0; }

/* ==========================================================================
   Product Detail Page (PDP) — wireframe layout
   ========================================================================== */
.vs-pdp-page .section { padding-top: 1.25rem; }

.vs-pdp-breadcrumb { margin-bottom: 1.25rem; }
.vs-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.vs-breadcrumb a { color: var(--color-text-muted); }
.vs-breadcrumb a:hover { color: var(--color-primary); }
.vs-bc-sep { opacity: 0.5; margin-inline: 0.15rem; }

.vs-pdp-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 2rem;
  align-items: start;
}
@media (max-width: 960px) {
  .vs-pdp-main { grid-template-columns: 1fr; }
}

/* Gallery */
.vs-pdp-gallery {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 600px) {
  .vs-pdp-gallery {
    grid-template-columns: 1fr;
  }
  .vs-pdp-thumbs {
    flex-direction: row !important;
    overflow-x: auto;
  }
}
.vs-pdp-thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 480px;
  overflow-y: auto;
}
.vs-pdp-thumb {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 0;
  background: var(--color-surface);
  cursor: pointer;
  overflow: hidden;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  transition: border-color .15s ease;
}
.vs-pdp-thumb.is-active,
.vs-pdp-thumb:hover { border-color: var(--color-primary); }
.vs-pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vs-pdp-main-image {
  position: relative;
  background: var(--color-surface-alt, #f8fafc);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vs-pdp-main-image .vs-pdp-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  display: block;
}
.vs-pdp-badge-sale {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background: #ef4444;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  z-index: 2;
}
.vs-pdp-zoom {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  cursor: pointer;
  color: var(--color-secondary);
}

/* Cards */
.vs-pdp-card {
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.25rem;
}
.vs-pdp-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--color-secondary);
}

/* Bundle / cheaper */
.vs-pdp-bundle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.vs-pdp-bundle-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.vs-pdp-bundle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 110px;
  text-decoration: none;
  color: inherit;
  font-size: 0.75rem;
}
.vs-pdp-bundle-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  margin-bottom: 0.35rem;
}
.vs-pdp-bundle-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}
.vs-pdp-bundle-price { font-weight: 600; margin-top: 0.2rem; color: var(--color-secondary); }
.vs-pdp-bundle-plus {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-muted);
  padding: 0 0.15rem;
}
.vs-pdp-bundle-summary {
  text-align: end;
  min-width: 140px;
}
.vs-pdp-bundle-label { display: block; font-size: 0.8rem; color: var(--color-text-muted); }
.vs-pdp-bundle-total { display: block; font-size: 1.15rem; font-weight: 800; margin: 0.2rem 0; }
.vs-pdp-bundle-save { display: block; font-size: 0.8rem; color: #059669; }

/* Features grid */
.vs-pdp-attr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1.5rem;
  margin: 0;
}
@media (max-width: 520px) {
  .vs-pdp-attr-grid { grid-template-columns: 1fr; }
}
.vs-pdp-attr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.88rem;
}
.vs-pdp-attr dt { color: var(--color-text-muted); margin: 0; font-weight: 500; }
.vs-pdp-attr dd { margin: 0; font-weight: 600; text-align: end; color: var(--color-secondary); }

.vs-pdp-desc-content { font-size: 0.95rem; line-height: 1.75; color: var(--color-text); }
.vs-pdp-included { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--color-border); }
.vs-pdp-included h3 { font-size: 0.95rem; margin: 0 0 0.5rem; }
.vs-pdp-included-body ul { margin: 0; padding-inline-start: 1.2rem; }
.vs-pdp-no-reviews {
  text-align: center;
  padding: 1.5rem;
  background: var(--color-surface-alt);
  border-radius: 10px;
  color: var(--color-text-muted);
}
.vs-pdp-review-cta { text-align: center; margin-top: 1rem; font-size: 0.9rem; }

/* Buy box */
.vs-pdp-right {
  position: sticky;
  top: 5.5rem;
}
.vs-pdp-buybox {
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.35rem;
  margin-bottom: 1rem;
}
.vs-pdp-title {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 0.75rem;
  color: var(--color-secondary);
}
.vs-pdp-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}
.vs-pdp-rating { display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; }
.vs-pdp-rating .star-rating { font-size: 0.85rem; }
.vs-pdp-rating-text { font-weight: 600; }
.vs-pdp-review-count { color: var(--color-text-muted); }
.vs-pdp-sku { color: var(--color-text-muted); font-size: 0.8rem; }

.vs-pdp-price-box {
  background: var(--color-surface-alt, #f8fafc);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
}
.vs-pdp-price-row { display: flex; align-items: baseline; gap: 0.65rem; flex-wrap: wrap; }
.vs-pdp-price { font-size: 1.5rem; font-weight: 800; color: var(--color-secondary); }
.vs-pdp-price del { font-size: 1rem; color: var(--color-text-muted); font-weight: 500; }
.vs-pdp-discount {
  background: #fef2f2;
  color: #dc2626;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.vs-pdp-stock {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}
.vs-pdp-stock.is-instock { color: #059669; }
.vs-pdp-stock.is-outofstock { color: #dc2626; }

.vs-pdp-cart {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
  margin-bottom: 0.65rem !important;
}
.vs-pdp-cart .quantity { margin: 0 !important; }
.vs-pdp-cart .qty {
  width: 4rem;
  height: 100%;
  border-radius: 10px !important;
  border: 1px solid var(--color-border) !important;
  text-align: center;
}
.vs-pdp-atc {
  flex: 1;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 10px !important;
  padding: 0.85rem 1rem !important;
  font-weight: 700 !important;
}
.vs-pdp-buynow {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 10px !important;
  padding: 0.75rem !important;
}

.vs-pdp-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}
.vs-pdp-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  cursor: pointer;
}
.vs-pdp-action:hover { color: var(--color-primary); }

.vs-pdp-shipping-box {
  background: var(--color-surface-alt);
  border-radius: 10px;
  padding: 0.85rem;
  font-size: 0.85rem;
}
.vs-pdp-ship-line { margin: 0 0 0.5rem; }
.vs-pdp-ship-note {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

/* Side cards */
.vs-pdp-side-card {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin-bottom: 0.85rem;
  background: var(--color-surface);
}
.vs-pdp-side-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.vs-pdp-side-head h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}
.vs-pdp-delivery-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.vs-pdp-delivery-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: start;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.85rem;
}
.vs-pdp-delivery-list li:last-child { border-bottom: 0; }
.vs-pdp-delivery-list strong { display: block; }
.vs-pdp-delivery-list small { color: var(--color-text-muted); }
.vs-pdp-del-price { font-weight: 600; white-space: nowrap; font-size: 0.8rem; }
.vs-pdp-pay-icons { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 0.5rem; }
.vs-pay-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-secondary);
  background: var(--color-surface-alt);
}
.vs-pdp-pay-note,
.vs-pdp-warranty-text {
  margin: 0;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Interested tabs */
.vs-pdp-interested { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.vs-pdp-interested-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.vs-pdp-interested .section-title { margin: 0; }
.vs-pdp-tabs { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.vs-pdp-tab {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--color-text-muted);
}
.vs-pdp-tab.is-active {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-secondary);
}
.vs-pdp-empty-tab { color: var(--color-text-muted); padding: 2rem; text-align: center; }

/* Trust bar */
.vs-pdp-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border);
}
@media (max-width: 900px) {
  .vs-pdp-trust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .vs-pdp-trust { grid-template-columns: 1fr; }
}
.vs-pdp-trust-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.vs-pdp-trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.vs-pdp-trust-item strong { display: block; font-size: 0.9rem; margin-bottom: 0.15rem; }
.vs-pdp-trust-item small { color: var(--color-text-muted); font-size: 0.8rem; line-height: 1.4; }

/* Variable product form inside buybox */
.vs-pdp-buybox .variations {
  width: 100%;
  margin-bottom: 1rem;
}
.vs-pdp-buybox .variations td,
.vs-pdp-buybox .variations th {
  padding: 0.35rem 0;
  border: 0;
  display: block;
  text-align: start;
}
.vs-pdp-buybox .variations select {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  padding: 0.5rem;
}

/* Lightbox simple */
.vs-pdp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15,23,42,.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.vs-pdp-lightbox img {
  max-width: min(960px, 100%);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
}
.vs-pdp-lightbox-close {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  background: #fff;
  border: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
}

/* ==========================================================================
   Shop archive — wireframe layout
   ========================================================================== */
.vs-shop-breadcrumb { margin-bottom: 0.75rem; }
.vs-shop-header { margin-bottom: 1.25rem; }
.vs-shop-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
  color: var(--color-secondary);
}

.vs-shop-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}
@media (max-width: 960px) {
  .vs-shop-layout { grid-template-columns: 1fr; }
}

/* Sidebar */
.vs-shop-sidebar {
  position: sticky;
  top: 5.5rem;
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
  padding-bottom: 1rem;
}
@media (max-width: 960px) {
  .vs-shop-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(320px, 92vw);
    max-height: none;
    z-index: 10001;
    background: var(--color-surface, #fff);
    padding: 1.25rem;
    box-shadow: 8px 0 30px rgba(0,0,0,.12);
    transform: translateX(-105%);
    transition: transform .28s ease;
  }
  [dir="rtl"] .vs-shop-sidebar {
    inset: 0 0 0 auto;
    transform: translateX(105%);
    box-shadow: -8px 0 30px rgba(0,0,0,.12);
  }
  .vs-shop-sidebar.is-open { transform: translateX(0); }
  .vs-shop-sidebar-close {
    display: block !important;
    position: absolute;
    top: 0.75rem;
    inset-inline-end: 0.75rem;
    border: 0;
    background: var(--color-surface-alt);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
  }
}
.vs-shop-sidebar-close { display: none; }

.vs-shop-widget {
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  margin-bottom: 1rem;
  overflow: hidden;
}
.vs-shop-widget-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1rem;
  border: 0;
  background: transparent;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  color: var(--color-secondary);
  text-align: start;
}
.vs-shop-widget-body {
  padding: 0 1rem 1rem;
  border-top: 1px solid var(--color-border);
}
.vs-shop-widget.is-collapsed .vs-shop-widget-body { display: none; }
.vs-shop-widget.is-collapsed .vs-shop-chevron { transform: rotate(180deg); }

.vs-shop-cat-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}
.vs-shop-cat-list li { margin: 0; }
.vs-shop-cat-list a {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0;
  font-size: 0.88rem;
  color: var(--color-text);
  text-decoration: none;
}
.vs-shop-cat-list a:hover,
.vs-shop-cat-list li.is-active a { color: var(--color-primary); font-weight: 600; }
.vs-shop-cat-list em {
  font-style: normal;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.vs-filter-group { margin-top: 1rem; }
.vs-filter-title {
  margin: 0 0 0.55rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-secondary);
}
.vs-price-inputs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}
.vs-price-inputs input {
  width: 100%;
  min-width: 0;
  padding: 0.4rem 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.85rem;
}
.vs-filter-apply { width: 100%; }

.vs-rating-filter,
.vs-offer-filter,
.vs-attr-filter {
  list-style: none;
  margin: 0;
  padding: 0;
}
.vs-rating-filter a,
.vs-offer-filter a,
.vs-attr-filter a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--color-text);
}
.vs-rating-filter li.is-active a,
.vs-offer-filter li.is-active a,
.vs-attr-filter li.is-active a {
  color: var(--color-primary);
  font-weight: 600;
}
.vs-check {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 4px;
  flex-shrink: 0;
  display: inline-block;
}
.vs-attr-filter li.is-active .vs-check,
.vs-offer-filter li.is-active .vs-check {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: inset 0 0 0 2px #fff;
}
.vs-clear-filter { font-size: 0.8rem !important; color: var(--color-text-muted) !important; }

/* Chips */
.vs-shop-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  margin-bottom: 1rem;
  scrollbar-width: thin;
}
.vs-shop-chip {
  flex-shrink: 0;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  white-space: nowrap;
}
.vs-shop-chip:hover { border-color: var(--color-primary); color: var(--color-primary); }
.vs-shop-chip.is-active {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #fff;
}

/* Toolbar */
.vs-shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--color-border);
}
.vs-shop-toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-inline-start: auto;
}
.vs-shop-filter-toggle { display: none; }
@media (max-width: 960px) {
  .vs-shop-filter-toggle { display: inline-flex; }
}
.vs-shop-view-toggle {
  display: inline-flex;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
}
.vs-view-btn {
  border: 0;
  background: var(--color-surface);
  padding: 0.4rem 0.55rem;
  cursor: pointer;
  color: var(--color-text-muted);
}
.vs-view-btn.is-active {
  background: var(--color-surface-alt);
  color: var(--color-secondary);
}
.vs-shop-toolbar .woocommerce-ordering {
  margin: 0 !important;
}
.vs-shop-toolbar .woocommerce-ordering select {
  border-radius: 8px;
  border: 1px solid var(--color-border);
  padding: 0.4rem 0.6rem;
  font-size: 0.85rem;
}
/* Hide default result count/order duplicate if WC still prints above */
.vs-shop-main > .woocommerce-result-count,
.vs-shop-main > .woocommerce-ordering {
  display: none;
}
.vs-shop-toolbar .woocommerce-result-count { display: none; }

/* Product grid inside shop */
.vs-shop-products ul.products {
  display: grid;
  grid-template-columns: repeat(var(--shop-cols, 4), minmax(0, 1fr));
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.vs-shop-products ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}
.vs-shop-products[data-view="list"] ul.products {
  grid-template-columns: 1fr;
}
.vs-shop-products[data-view="list"] .vs-shop-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  align-items: stretch;
}
.vs-shop-products[data-view="list"] .product-card-image {
  min-height: 140px;
}
@media (max-width: 1100px) {
  .vs-shop-products ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .vs-shop-products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vs-shop-products[data-view="list"] .vs-shop-card {
    grid-template-columns: 110px 1fr;
  }
}

/* Card refinements */
.vs-shop-card {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--color-surface);
  transition: box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.vs-shop-card:hover {
  border-color: color-mix(in srgb, var(--color-primary) 35%, var(--color-border));
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}
.vs-shop-card .product-card-image {
  position: relative;
  background: var(--color-surface-alt, #f8fafc);
  aspect-ratio: 1;
  overflow: hidden;
}
.vs-shop-card .product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vs-shop-wish {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: rgba(255,255,255,.95);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text-muted);
  padding: 0;
}
.vs-shop-wish:hover { color: #e11d48; }
.vs-shop-card .product-badges {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.vs-shop-card .product-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: #0f172a;
  color: #fff;
}
.vs-shop-card .badge-sale { background: #ef4444; }
.vs-shop-card .badge-new { background: #0ea5e9; }
.vs-shop-card .product-card-body { padding: 0.85rem 0.95rem 1rem; }
.vs-shop-card .product-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-secondary);
  text-decoration: none;
  margin-bottom: 0.35rem;
}
.vs-shop-card-rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
}
.vs-shop-card-count { color: var(--color-text-muted); }
.vs-shop-card .product-card-price {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.vs-shop-card .product-card-price del {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.8rem;
}
.vs-shop-card-atc .button {
  width: 100%;
  text-align: center;
  border-radius: 10px !important;
  padding: 0.55rem !important;
  font-size: 0.85rem !important;
}

/* Trust strip */
.vs-shop-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2.5rem 0 1rem;
  padding: 1.25rem;
  border-radius: 14px;
  background: var(--color-surface-alt, #f1f5f9);
}
@media (max-width: 800px) {
  .vs-shop-trust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .vs-shop-trust { grid-template-columns: 1fr; }
}
.vs-shop-trust-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.5rem;
}
.vs-shop-trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vs-shop-trust-item strong { display: block; font-size: 0.88rem; margin-bottom: 0.15rem; }
.vs-shop-trust-item small { color: var(--color-text-muted); font-size: 0.78rem; }

.vs-shop-bestsellers { margin-top: 1rem; padding-top: 0.5rem; }

/* Pagination polish */
.woocommerce-pagination {
  margin-top: 2rem;
  text-align: center;
}
.woocommerce-pagination ul {
  display: inline-flex !important;
  gap: 0.35rem;
  border: 0 !important;
  list-style: none;
  padding: 0;
}
.woocommerce-pagination ul li { border: 0 !important; }
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.5rem !important;
  border-radius: 8px !important;
  border: 1px solid var(--color-border) !important;
  background: var(--color-surface) !important;
  color: var(--color-secondary) !important;
  font-weight: 600;
}
.woocommerce-pagination ul li span.current {
  background: var(--color-secondary) !important;
  color: #fff !important;
  border-color: var(--color-secondary) !important;
}

/* Overlay when mobile filters open */
.vs-shop-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.4);
  z-index: 10000;
}
.vs-shop-sidebar-overlay.is-open { display: block; }

/* ==========================================================================
   Homepage wireframe
   ========================================================================== */
.vs-home-hero {
  position: relative;
  overflow: hidden;
  background: #0f172a;
  min-height: clamp(480px, 72vh, 780px);
  margin-bottom: 0;
}
.vs-home-hero-track { position: relative; min-height: inherit; }
.vs-home-hero-slide {
  display: none;
  position: relative;
  min-height: clamp(480px, 72vh, 780px);
  padding: 0;
}
.vs-home-hero-slide.is-active { display: block; }
.vs-home-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.vs-home-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  display: block;
}
.vs-home-hero-placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 70% 40%, #334155 0%, #0f172a 55%, #020617 100%);
}
.vs-home-hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 4rem 0;
  min-height: clamp(480px, 72vh, 780px);
  justify-content: center;
}
.vs-home-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(15,23,42,.55) 0%, rgba(15,23,42,.25) 45%, transparent 70%);
}
[dir="rtl"] .vs-home-hero-slide::after {
  background: linear-gradient(270deg, rgba(15,23,42,.55) 0%, rgba(15,23,42,.25) 45%, transparent 70%);
}
.vs-home-hero-content.hero-align-center { margin-inline: auto; text-align: center; align-items: center; }
.vs-home-hero-content.hero-align-end { margin-inline-start: auto; text-align: end; align-items: flex-end; }
.vs-home-hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.vs-home-hero-content p {
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: 1.1rem;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.vs-home-hero-btn {
  align-self: flex-start;
  border-radius: 10px !important;
  padding: 0.75rem 1.4rem !important;
}
.vs-home-hero-content.hero-align-center .vs-home-hero-btn { align-self: center; }
.vs-home-hero-content.hero-align-end .vs-home-hero-btn { align-self: flex-end; }
.vs-home-hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: rgba(255,255,255,.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-secondary);
}
.vs-home-hero-prev { inset-inline-start: 1rem; }
.vs-home-hero-next { inset-inline-end: 1rem; }
.vs-home-hero-dots {
  position: absolute;
  bottom: 1rem;
  inset-inline: 0;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  z-index: 2;
}
.vs-home-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(15,23,42,.25);
  cursor: pointer;
  padding: 0;
}
.vs-home-hero-dot.is-active { background: var(--color-secondary); width: 20px; border-radius: 999px; }

/* Category icon grid */
.vs-home-cats { padding-block: 2rem 1rem; }
.vs-home-cats-grid {
  display: grid;
  grid-template-columns: repeat(var(--cat-cols, 4), minmax(0, 1fr));
  gap: 0.85rem;
}
@media (max-width: 800px) {
  .vs-home-cats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.vs-home-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 1.15rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface);
  text-decoration: none;
  color: var(--color-secondary);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.vs-home-cat-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(15,23,42,.05);
}
.vs-home-cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--color-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.vs-home-cat-icon img { width: 100%; height: 100%; object-fit: cover; }
.vs-home-cat-placeholder {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #cbd5e1;
}
.vs-home-cat-name { font-size: 0.88rem; font-weight: 600; text-align: center; }

/* Section heads */
.vs-home-sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}
.vs-home-sec-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.vs-home-viewall {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
}
.vs-home-viewall:hover { color: var(--color-primary); }
.vs-home-products { padding-block: 1.25rem; }

/* Seasonal bento */
.vs-seasonal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}
@media (max-width: 900px) {
  .vs-seasonal-grid { grid-template-columns: 1fr; }
}
.vs-seasonal-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-surface);
}
@media (max-width: 640px) {
  .vs-seasonal-feature { grid-template-columns: 1fr; }
}
.vs-seasonal-feature-img {
  position: relative;
  display: block;
  background: var(--color-surface-alt);
  min-height: 240px;
}
.vs-seasonal-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vs-seasonal-badge {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background: #ef4444;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
}
.vs-seasonal-feature-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
}
.vs-seasonal-feature-body h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.3;
}
.vs-seasonal-feature-body h3 a { color: inherit; text-decoration: none; }
.vs-seasonal-price { font-size: 1.25rem; font-weight: 800; }
.vs-seasonal-excerpt { margin: 0; color: var(--color-text-muted); font-size: 0.9rem; }
.vs-seasonal-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.vs-seasonal-mini {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--color-surface);
}
.vs-seasonal-mini.is-wide { grid-column: 1 / -1; flex-direction: row; }
.vs-seasonal-mini-img {
  display: block;
  background: var(--color-surface-alt);
  aspect-ratio: 4/3;
}
.vs-seasonal-mini.is-wide .vs-seasonal-mini-img {
  width: 45%;
  aspect-ratio: auto;
  min-height: 120px;
}
.vs-seasonal-mini-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vs-seasonal-mini-body { padding: 0.75rem; display: flex; flex-direction: column; gap: 0.25rem; justify-content: center; }
.vs-seasonal-mini-title {
  font-size: 0.85rem;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vs-seasonal-mini-price { font-weight: 700; font-size: 0.9rem; }

/* Campaigns */
.vs-home-campaigns-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}
@media (max-width: 900px) {
  .vs-home-campaigns-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .vs-home-campaigns-grid { grid-template-columns: 1fr; }
}
.vs-home-campaign {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 160px;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: #fff;
  background: #94a3b8;
}
.vs-home-campaign-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #cbd5e1, #64748b 60%, #334155);
}
.vs-home-campaign-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.vs-home-campaign-body {
  position: relative;
  z-index: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: linear-gradient(transparent, rgba(15,23,42,.65));
  width: 100%;
}
.vs-home-campaign-body strong { font-size: 1rem; }
.vs-home-campaign-body small { opacity: 0.9; font-size: 0.8rem; }
.vs-home-campaign-cta {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: underline;
}

/* Deals strip */
.vs-home-deals-box {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1rem;
  background: #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem;
  align-items: center;
}
@media (max-width: 800px) {
  .vs-home-deals-box { grid-template-columns: 1fr; }
}
.vs-home-deals-intro h2 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
  font-weight: 800;
}
.vs-home-deals-intro p {
  margin: 0 0 0.85rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
.vs-home-deals-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (max-width: 1100px) {
  .vs-home-deals-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .vs-home-deals-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.vs-home-deal-card .product-card {
  height: 100%;
  background: #fff;
  border-radius: 12px;
}

/* Promotions */
.vs-home-promos-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}
@media (max-width: 900px) {
  .vs-home-promos-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .vs-home-promos-grid { grid-template-columns: 1fr 1fr; }
}
.vs-home-promo-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
}
.vs-home-promo-media {
  display: block;
  aspect-ratio: 16/10;
  background: linear-gradient(145deg, #e2e8f0, #94a3b8);
}
.vs-home-promo-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vs-home-promo-label {
  padding: 0.75rem 0.85rem 0.25rem;
  font-weight: 700;
  font-size: 0.9rem;
}
.vs-home-promo-cta {
  padding: 0 0.85rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* News */
.vs-home-news-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
}
@media (max-width: 900px) {
  .vs-home-news-grid { grid-template-columns: 1fr; }
}
.vs-home-news-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-surface);
}
@media (max-width: 640px) {
  .vs-home-news-feature { grid-template-columns: 1fr; }
}
.vs-home-news-feature-img {
  display: block;
  background: var(--color-surface-alt);
  min-height: 200px;
}
.vs-home-news-feature-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vs-home-news-feature-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
}
.vs-home-news-feature-body h3 { margin: 0; font-size: 1.15rem; }
.vs-home-news-feature-body h3 a { color: inherit; text-decoration: none; }
.vs-home-news-feature-body p { margin: 0; color: var(--color-text-muted); font-size: 0.9rem; }
.vs-home-news-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-primary);
}
.vs-home-news-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
@media (max-width: 560px) {
  .vs-home-news-list { grid-template-columns: 1fr; }
}
.vs-home-news-card {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
}
.vs-home-news-card-img {
  display: block;
  aspect-ratio: 16/10;
  background: var(--color-surface-alt);
}
.vs-home-news-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vs-home-news-card-body { padding: 0.85rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.vs-home-news-card-body h4 { margin: 0; font-size: 0.92rem; }
.vs-home-news-card-body h4 a { color: inherit; text-decoration: none; }
.vs-home-news-card-body p { margin: 0; font-size: 0.82rem; color: var(--color-text-muted); flex: 1; }
.vs-home-news-more { font-size: 0.8rem; font-weight: 600; color: var(--color-primary); text-decoration: none; }

/* Bottom trust + newsletter */
.vs-home-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}
@media (max-width: 900px) {
  .vs-home-trust-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .vs-home-trust-grid { grid-template-columns: 1fr; }
}
.vs-home-trust-card {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.15rem;
  background: var(--color-surface);
}
.vs-home-trust-ico {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--color-surface-alt);
  margin-bottom: 0.65rem;
}
.vs-home-trust-card strong { display: block; margin-bottom: 0.35rem; font-size: 0.95rem; }
.vs-home-trust-card p { margin: 0; font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.5; }

.vs-home-nl-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.85rem;
}
@media (max-width: 800px) {
  .vs-home-nl-row { grid-template-columns: 1fr; }
}
.vs-home-nl-card,
.vs-home-social-card {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.25rem;
  background: var(--color-surface-alt);
}
.vs-home-nl-card strong,
.vs-home-social-card strong { display: block; margin-bottom: 0.35rem; }
.vs-home-nl-card p,
.vs-home-social-card p {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}
.vs-home-nl-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.vs-home-nl-form input {
  flex: 1;
  min-width: 180px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
}
.vs-home-social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.vs-home-social-list a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
}
.vs-home-social-list a:hover { color: var(--color-primary); border-color: var(--color-primary); }


/* ==========================================================================
   Custom content blocks (full / boxed)
   ========================================================================== */
.vs-content-block {
  margin: 0;
  padding: 0;
}
.vs-content-block-bg {
  position: relative;
  display: flex;
  align-items: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.vs-content-block--boxed {
  padding: 1.25rem 0;
}
.vs-content-block--boxed .vs-content-block-bg {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.vs-content-block--full .vs-content-block-bg {
  width: 100%;
}
.vs-content-block-inner {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1.5rem;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.vs-content-align-center .vs-content-block-inner {
  margin-inline: auto;
  text-align: center;
  align-items: center;
}
.vs-content-align-end .vs-content-block-inner {
  margin-inline-start: auto;
  text-align: end;
  align-items: flex-end;
}
.vs-content-block-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.vs-content-block-text {
  font-size: 1rem;
  line-height: 1.65;
  opacity: 0.95;
}
.vs-content-block-text p { margin: 0 0 0.5rem; }
.vs-content-block-text p:last-child { margin-bottom: 0; }
.vs-content-block-btn {
  align-self: flex-start;
  border-radius: 10px !important;
}
.vs-content-align-center .vs-content-block-btn { align-self: center; }
.vs-content-align-end .vs-content-block-btn { align-self: flex-end; }
.vs-content-block.has-bg .vs-content-block-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,23,42,.45), rgba(15,23,42,.15) 55%, transparent);
  pointer-events: none;
  z-index: 0;
}
[dir="rtl"] .vs-content-block.has-bg .vs-content-block-bg::before {
  background: linear-gradient(270deg, rgba(15,23,42,.45), rgba(15,23,42,.15) 55%, transparent);
}
