/*
Theme Name: Parsa Technology
Theme URI: https://parsatech.ir
Author: Parsa Technology
Author URI: https://parsatech.ir
Description: قالب حرفه‌ای پارسا تکنولوژی - فروش اپل آیدی و تجهیزات شبکه
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: parsa-technology
Tags: rtl-language, dark, woocommerce, e-commerce, custom-logo
*/

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  /* Colors */
  --clr-bg:        #0A0A0A;
  --clr-surface:   #111111;
  --clr-surface2:  #1A1A1A;
  --clr-border:    #242424;
  --clr-primary:   #FF5F1F;
  --clr-primary-h: #FF7A3F;
  --clr-primary-d: #E04800;
  --clr-text:      #F0F0F0;
  --clr-muted:     #888888;
  --clr-subtle:    #555555;
  --clr-white:     #FFFFFF;

  /* Typography */
  --ff-base:    'Vazirmatn', sans-serif;
  --ff-num:     'Inter', sans-serif;

  /* Scale */
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.25rem;
  --fs-2xl:  1.5rem;
  --fs-3xl:  1.875rem;
  --fs-4xl:  2.25rem;
  --fs-5xl:  3rem;
  --fs-6xl:  3.75rem;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Radius */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-full: 9999px;

  /* Shadow */
  --shadow-glow: 0 0 40px rgba(255, 95, 31, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-btn:  0 4px 20px rgba(255, 95, 31, 0.4);

  /* Transition */
  --tr-fast: 150ms ease;
  --tr-base: 250ms ease;
  --tr-slow: 400ms ease;

  /* Layout */
  --container: 1280px;
  --header-h: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ff-base);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.7;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--tr-base);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }

button, input, select, textarea {
  font-family: var(--ff-base);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--clr-white);
}

p { color: var(--clr-muted); }

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

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.section {
  padding: var(--sp-20) 0;
}

.section-sm {
  padding: var(--sp-12) 0;
}

/* Grid */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }

/* Flex helpers */
.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.flex-gap-2  { gap: var(--sp-2); }
.flex-gap-4  { gap: var(--sp-4); }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--clr-border);
  transition: background var(--tr-base), box-shadow var(--tr-base);
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--sp-6);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
  text-decoration: none;
}

.logo-mark {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--clr-primary), #FF8C42);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: var(--fs-xl);
  color: white;
  box-shadow: 0 4px 16px rgba(255, 95, 31, 0.5);
  position: relative;
  overflow: hidden;
}

.logo-mark::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 60%;
  height: 60%;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  filter: blur(8px);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--clr-white);
  letter-spacing: -0.02em;
}

.logo-sub {
  font-size: var(--fs-xs);
  color: var(--clr-primary);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* Main Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.main-nav a {
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--clr-muted);
  border-radius: var(--r-sm);
  transition: all var(--tr-base);
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--clr-white);
  background: var(--clr-surface2);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  right: 50%;
  transform: translateX(50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--clr-primary);
}

/* Dropdown Mega Menu */
.nav-item-dropdown {
  position: relative;
}

.nav-item-dropdown > a::before {
  content: '▾';
  margin-right: var(--sp-1);
  font-size: 0.6em;
  opacity: 0.6;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 220px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: var(--sp-2);
  box-shadow: var(--shadow-card);
  animation: dropIn 200ms ease;
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav-item-dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  color: var(--clr-muted);
  font-size: var(--fs-sm);
}

.dropdown-menu a:hover {
  background: var(--clr-surface2);
  color: var(--clr-white);
}

.dropdown-menu a .icon {
  width: 32px;
  height: 32px;
  background: var(--clr-surface2);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.header-search {
  position: relative;
}

.header-search input {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-full);
  padding: var(--sp-2) var(--sp-4) var(--sp-2) var(--sp-10);
  color: var(--clr-text);
  font-size: var(--fs-sm);
  width: 220px;
  transition: all var(--tr-base);
  outline: none;
}

.header-search input:focus {
  border-color: var(--clr-primary);
  background: var(--clr-surface2);
  width: 280px;
  box-shadow: 0 0 0 3px rgba(255, 95, 31, 0.1);
}

.header-search input::placeholder { color: var(--clr-subtle); }

.search-icon {
  position: absolute;
  left: var(--sp-3);
  top: 50%;
  transform: translateY(-50%);
  color: var(--clr-subtle);
  pointer-events: none;
  font-size: 15px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-muted);
  cursor: pointer;
  transition: all var(--tr-base);
  position: relative;
  font-size: 18px;
}

.icon-btn:hover {
  background: var(--clr-surface2);
  color: var(--clr-white);
  border-color: var(--clr-primary);
}

.badge {
  position: absolute;
  top: -6px;
  left: -6px;
  min-width: 18px;
  height: 18px;
  background: var(--clr-primary);
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Auth Buttons */
.btn-auth-secondary {
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-md);
  border: 1px solid var(--clr-border);
  background: transparent;
  color: var(--clr-muted);
  font-size: var(--fs-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--tr-base);
  font-family: var(--ff-base);
}

.btn-auth-secondary:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
}

.btn-auth-primary {
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--r-md);
  border: none;
  background: var(--clr-primary);
  color: white;
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--tr-base);
  font-family: var(--ff-base);
  box-shadow: var(--shadow-btn);
}

.btn-auth-primary:hover {
  background: var(--clr-primary-h);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255, 95, 31, 0.5);
}

/* Mobile Menu Toggle — هم‌شکل با سایر آیکون‌های هدر */
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  color: var(--clr-muted);
  cursor: pointer;
  transition: all var(--tr-base);
  position: relative;
}

.menu-toggle:hover {
  background: var(--clr-surface2);
  color: var(--clr-white);
  border-color: var(--clr-primary);
}

.menu-toggle .menu-icon-close { display: none; }
.menu-toggle.is-open .menu-icon-open { display: none; }
.menu-toggle.is-open .menu-icon-close { display: inline-block; }
.menu-toggle.is-open {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: white;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 95, 31, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 95, 31, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow-1 {
  position: absolute;
  top: 20%;
  left: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(255, 95, 31, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}

.hero-glow-2 {
  position: absolute;
  bottom: 10%;
  right: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255, 95, 31, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(255, 95, 31, 0.1);
  border: 1px solid rgba(255, 95, 31, 0.25);
  border-radius: var(--r-full);
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--clr-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--sp-6);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--clr-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-size: clamp(var(--fs-3xl), 5vw, var(--fs-6xl));
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-6);
  color: var(--clr-white);
}

.hero-title .accent {
  background: linear-gradient(135deg, var(--clr-primary), #FF8C42);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: var(--fs-lg);
  color: var(--clr-muted);
  max-width: 540px;
  line-height: 1.8;
  margin-bottom: var(--sp-10);
}

.hero-actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-12);
}

.hero-stats {
  display: flex;
  gap: var(--sp-8);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--clr-border);
}

.stat-item .num {
  font-family: var(--ff-num);
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--clr-white);
  letter-spacing: -0.04em;
}

.stat-item .num span {
  color: var(--clr-primary);
}

.stat-item .label {
  font-size: var(--fs-xs);
  color: var(--clr-subtle);
  margin-top: 2px;
}

/* Hero Right Visual */
.hero-visual {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-stack {
  position: relative;
  width: 340px;
  height: 420px;
}

.hero-card {
  position: absolute;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-card);
}

.hero-card-main {
  width: 300px;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  z-index: 3;
}

.hero-card-back {
  width: 280px;
  top: 40%;
  right: 60%;
  transform: translate(50%, -50%) rotate(-6deg);
  z-index: 2;
  opacity: 0.6;
}

.hero-card-front {
  width: 260px;
  top: 60%;
  right: 40%;
  transform: translate(50%, -50%) rotate(4deg);
  z-index: 1;
  opacity: 0.4;
}

.card-icon-lg {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--clr-primary), #FF8C42);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: var(--sp-4);
  box-shadow: 0 8px 24px rgba(255, 95, 31, 0.4);
}

.hero-card h4 {
  font-size: var(--fs-base);
  margin-bottom: var(--sp-2);
}

.hero-card p {
  font-size: var(--fs-xs);
  color: var(--clr-subtle);
}

.card-price {
  margin-top: var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-tag {
  font-family: var(--ff-num);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--clr-primary);
}

.price-unit { font-size: var(--fs-xs); color: var(--clr-subtle); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--r-md);
  font-family: var(--ff-base);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--tr-base);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--clr-primary);
  color: white;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background: var(--clr-primary-h);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 95, 31, 0.5);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
}

.btn-outline:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
  background: rgba(255, 95, 31, 0.05);
}

.btn-ghost {
  background: transparent;
  color: var(--clr-muted);
}

.btn-ghost:hover { color: var(--clr-white); }

.btn-lg {
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--fs-base);
  border-radius: var(--r-lg);
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-primary);
  margin-bottom: var(--sp-4);
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--clr-primary);
  opacity: 0.5;
}

.section-title {
  font-size: clamp(var(--fs-2xl), 3vw, var(--fs-4xl));
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-4);
  color: var(--clr-white);
}

.section-desc {
  font-size: var(--fs-lg);
  color: var(--clr-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================
   CATEGORY CARDS
   ============================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}

.cat-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  cursor: pointer;
  transition: all var(--tr-slow);
  position: relative;
  overflow: hidden;
  display: block;
}

.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 95, 31, 0) 0%, rgba(255, 95, 31, 0.06) 100%);
  opacity: 0;
  transition: opacity var(--tr-slow);
}

.cat-card:hover {
  border-color: rgba(255, 95, 31, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.cat-card:hover::before { opacity: 1; }

.cat-card:hover .cat-icon { transform: scale(1.1); }

.cat-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--sp-5);
  background: var(--clr-surface2);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  transition: transform var(--tr-base);
  border: 1px solid var(--clr-border);
}

.cat-card:hover .cat-icon {
  background: rgba(255, 95, 31, 0.1);
  border-color: rgba(255, 95, 31, 0.3);
}

.cat-name {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: var(--sp-2);
}

.cat-count {
  font-size: var(--fs-xs);
  color: var(--clr-muted);
}

.cat-card.featured {
  background: linear-gradient(135deg, rgba(255, 95, 31, 0.1), rgba(255, 95, 31, 0.03));
  border-color: rgba(255, 95, 31, 0.3);
}

.cat-card.featured .cat-icon {
  background: rgba(255, 95, 31, 0.15);
  border-color: rgba(255, 95, 31, 0.4);
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}

.product-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all var(--tr-slow);
  position: relative;
}

.product-card:hover {
  border-color: rgba(255, 95, 31, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.product-card:hover .product-actions { opacity: 1; }

.product-img-wrap {
  position: relative;
  aspect-ratio: 1;
  background: var(--clr-surface2);
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}

.product-card:hover .product-img-wrap img { transform: scale(1.05); }

.product-badge {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  padding: 4px var(--sp-3);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: 700;
}

.badge-new    { background: rgba(16,185,129,0.15); color: #10B981; border: 1px solid rgba(16,185,129,0.3); }
.badge-hot    { background: rgba(255, 95, 31, 0.15); color: var(--clr-primary); border: 1px solid rgba(255,95,31,0.3); }
.badge-sale   { background: rgba(239,68,68,0.15); color: #EF4444; border: 1px solid rgba(239,68,68,0.3); }
.badge-off    { background: rgba(255, 95, 31, 0.9); color: white; }

.product-actions {
  position: absolute;
  bottom: var(--sp-3);
  left: var(--sp-3);
  right: var(--sp-3);
  display: flex;
  gap: var(--sp-2);
  opacity: 0;
  transition: opacity var(--tr-base);
}

.product-actions .btn {
  flex: 1;
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--fs-xs);
  border-radius: var(--r-md);
}

.wishlist-btn {
  width: 36px;
  height: 36px;
  flex: none;
  background: rgba(10,10,10,0.8);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  color: var(--clr-muted);
  transition: all var(--tr-base);
}

.wishlist-btn:hover {
  color: #EF4444;
  border-color: rgba(239,68,68,0.4);
  background: rgba(239,68,68,0.1);
}

.wishlist-btn.active {
  color: #EF4444;
  border-color: rgba(239,68,68,0.4);
  background: rgba(239,68,68,0.1);
}

.product-info {
  padding: var(--sp-5);
}

.product-brand {
  font-size: var(--fs-xs);
  color: var(--clr-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-2);
}

.product-name {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--clr-white);
  margin-bottom: var(--sp-3);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}

.stars { color: #F59E0B; font-size: 13px; }
.rating-count { font-size: var(--fs-xs); color: var(--clr-subtle); }

.product-price-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.price-new {
  font-family: var(--ff-num);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--clr-primary);
}

.price-old {
  font-family: var(--ff-num);
  font-size: var(--fs-sm);
  color: var(--clr-subtle);
  text-decoration: line-through;
}

.price-unit-sm {
  font-size: var(--fs-xs);
  color: var(--clr-subtle);
}

.product-card .btn-add-cart {
  width: 100%;
  padding: var(--sp-3);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
}

/* ============================================
   FEATURES / WHY US
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}

.feature-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8) var(--sp-6);
  transition: all var(--tr-slow);
}

.feature-card:hover {
  border-color: rgba(255, 95, 31, 0.3);
  transform: translateY(-3px);
}

.feature-icon {
  width: 54px;
  height: 54px;
  background: rgba(255, 95, 31, 0.1);
  border: 1px solid rgba(255, 95, 31, 0.2);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--sp-5);
}

.feature-title {
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: var(--sp-3);
  color: var(--clr-white);
}

.feature-desc {
  font-size: var(--fs-sm);
  color: var(--clr-muted);
  line-height: 1.7;
}

/* ============================================
   BANNER / CTA
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, #1A0E08 0%, #120A05 50%, #0A0A0A 100%);
  border: 1px solid rgba(255, 95, 31, 0.2);
  border-radius: var(--r-xl);
  padding: var(--sp-16) var(--sp-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: 50%;
  transform: translateX(50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(255, 95, 31, 0.15), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(var(--fs-2xl), 3vw, var(--fs-4xl));
  margin-bottom: var(--sp-4);
}

.cta-banner p {
  font-size: var(--fs-lg);
  max-width: 500px;
  margin: 0 auto var(--sp-8);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  padding-top: var(--sp-16);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid var(--clr-border);
}

.footer-brand .site-logo { margin-bottom: var(--sp-5); }

.footer-brand p {
  font-size: var(--fs-sm);
  color: var(--clr-muted);
  line-height: 1.8;
  max-width: 300px;
  margin-bottom: var(--sp-6);
}

.footer-social {
  display: flex;
  gap: var(--sp-3);
}

.social-btn {
  width: 40px;
  height: 40px;
  background: var(--clr-surface2);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--clr-muted);
  transition: all var(--tr-base);
  text-decoration: none;
}

.social-btn:hover {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: white;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-3);
  border-bottom: 2px solid var(--clr-primary);
  display: inline-block;
}

.footer-col ul li {
  margin-bottom: var(--sp-3);
}

.footer-col ul li a {
  font-size: var(--fs-sm);
  color: var(--clr-muted);
  transition: color var(--tr-base);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.footer-col ul li a:hover { color: var(--clr-primary); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.footer-contact-item .ico {
  font-size: 16px;
  color: var(--clr-primary);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: var(--fs-sm);
  color: var(--clr-muted);
  line-height: 1.6;
}

.footer-middle {
  padding: var(--sp-8) 0;
  border-bottom: 1px solid var(--clr-border);
}

.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  background: var(--clr-surface2);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-5);
}

.trust-item .ico { font-size: 22px; }

.trust-item-text strong {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--clr-white);
}

.trust-item-text span {
  font-size: 11px;
  color: var(--clr-subtle);
}

/* اینماد */
.enamad-badge {
  background: var(--clr-surface2);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.enamad-placeholder {
  width: 80px;
  height: 60px;
  background: var(--clr-surface);
  border: 1px dashed var(--clr-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--clr-subtle);
  text-align: center;
}

.footer-bottom {
  padding: var(--sp-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer-bottom p {
  font-size: var(--fs-sm);
  color: var(--clr-subtle);
}

.footer-bottom-links {
  display: flex;
  gap: var(--sp-6);
}

.footer-bottom-links a {
  font-size: var(--fs-sm);
  color: var(--clr-subtle);
  transition: color var(--tr-base);
}

.footer-bottom-links a:hover { color: var(--clr-primary); }

/* ============================================
   WOOCOMMERCE OVERRIDES
   ============================================ */
.woocommerce-notices-wrapper { margin-bottom: var(--sp-5); }

.woocommerce-message,
.woocommerce-error,
.woocommerce-info,
.woocommerce-notices-wrapper ul.woocommerce-error,
.woocommerce-notices-wrapper ul.woocommerce-message,
.woocommerce-notices-wrapper ul.woocommerce-info {
  list-style: none;
  padding: var(--sp-4) var(--sp-5) !important;
  border-radius: var(--r-lg);
  font-size: var(--fs-sm);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin: 0 0 var(--sp-4) 0 !important;
}

.woocommerce-message {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10B981;
}

.woocommerce-error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #EF4444;
}

.woocommerce-info {
  background: rgba(255, 95, 31, 0.08);
  border: 1px solid rgba(255, 95, 31, 0.3);
  color: var(--clr-primary);
}

.woocommerce-error li,
.woocommerce-message li,
.woocommerce-info li {
  list-style: none;
}

.woocommerce-message::before  { content: '✓'; font-weight: 800; flex-shrink: 0; }
.woocommerce-error::before    { content: '!'; font-weight: 800; flex-shrink: 0; }
.woocommerce-info::before     { content: 'ⓘ'; font-weight: 800; flex-shrink: 0; }

.woocommerce-message a.button,
.woocommerce-error a.button {
  background: currentColor;
  color: var(--clr-bg) !important;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-sm);
  font-size: var(--fs-xs);
  margin-right: auto;
}

/* Cart Page */
.woocommerce table.shop_table {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.woocommerce table.shop_table th {
  background: var(--clr-surface2);
  color: var(--clr-muted);
  font-weight: 600;
  font-size: var(--fs-sm);
  padding: var(--sp-4) var(--sp-5);
  text-align: right;
  border-bottom: 1px solid var(--clr-border);
}

.woocommerce table.shop_table th:first-child { border-top-right-radius: var(--r-xl); }
.woocommerce table.shop_table th:last-child { border-top-left-radius: var(--r-xl); }
.woocommerce table.shop_table tr:last-child td:first-child { border-bottom-right-radius: var(--r-xl); }
.woocommerce table.shop_table tr:last-child td:last-child { border-bottom-left-radius: var(--r-xl); }

.woocommerce table.shop_table td {
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--clr-border);
  color: var(--clr-text);
  vertical-align: middle;
}

.woocommerce table.shop_table tr:last-child td { border-bottom: none; }

.woocommerce table.shop_table .product-name a {
  color: var(--clr-white);
  font-weight: 600;
}

.woocommerce table.shop_table .product-price,
.woocommerce table.shop_table .product-subtotal,
.woocommerce table.shop_table .amount {
  color: var(--clr-primary);
  font-family: var(--ff-num);
  font-weight: 700;
  white-space: nowrap;
  padding-left: var(--sp-2);
}

/* تصویر محصول در جدول سبد خرید — بدون این قانون، تصویر به اندازه کل ستون کش می‌آید */
.woocommerce table.shop_table td.product-thumbnail {
  width: 84px;
}

.woocommerce table.shop_table td.product-thumbnail img,
.woocommerce table.shop_table td.product-thumbnail a img {
  width: 72px !important;
  height: 72px !important;
  max-width: 72px !important;
  object-fit: cover;
  border-radius: var(--r-md);
  display: block;
}

/* جدول سبد خرید و راست‌چین بودن اعداد */
.woocommerce table.shop_table td.product-quantity,
.woocommerce table.shop_table td.product-price,
.woocommerce table.shop_table td.product-subtotal {
  text-align: center;
}

/* Checkout */
.woocommerce .woocommerce-checkout .input-text,
.woocommerce form .input-text,
.woocommerce form select {
  background: var(--clr-surface) !important;
  border: 1px solid var(--clr-border) !important;
  border-radius: var(--r-md) !important;
  color: var(--clr-text) !important;
  padding: var(--sp-3) var(--sp-4) !important;
  font-family: var(--ff-base) !important;
  transition: all var(--tr-base) !important;
  width: 100% !important;
}

.woocommerce form .input-text:focus,
.woocommerce form select:focus {
  outline: none !important;
  border-color: var(--clr-primary) !important;
  box-shadow: 0 0 0 3px rgba(255, 95, 31, 0.1) !important;
}

.woocommerce #payment {
  background: var(--clr-surface) !important;
  border-radius: var(--r-xl) !important;
  border: 1px solid var(--clr-border) !important;
}

.woocommerce #payment div.payment_box {
  background: var(--clr-surface2) !important;
  color: var(--clr-muted) !important;
}

.woocommerce .wc-proceed-to-checkout .checkout-button,
.woocommerce #payment #place_order,
.woocommerce button.button.alt {
  background: var(--clr-primary) !important;
  color: white !important;
  border: none !important;
  border-radius: var(--r-md) !important;
  padding: var(--sp-3) var(--sp-6) !important;
  font-family: var(--ff-base) !important;
  font-weight: 600 !important;
  font-size: var(--fs-base) !important;
  cursor: pointer !important;
  transition: all var(--tr-base) !important;
  box-shadow: var(--shadow-btn) !important;
}

.woocommerce button.button.alt:hover {
  background: var(--clr-primary-h) !important;
  transform: translateY(-2px) !important;
}

/* My Account */
.woocommerce-account .woocommerce-MyAccount-navigation {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  padding: var(--sp-4);
  margin-bottom: var(--sp-6);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; }

.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  color: var(--clr-muted);
  transition: all var(--tr-base);
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  background: rgba(255, 95, 31, 0.1);
  color: var(--clr-primary);
}

/* ============================================
   TOAST / NOTIFICATION
   ============================================ */
.pt-toast {
  position: fixed;
  bottom: var(--sp-6);
  left: var(--sp-6);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  box-shadow: var(--shadow-card);
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--tr-base);
  z-index: 9999;
  max-width: 340px;
}

.pt-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.pt-toast .toast-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: rgba(255, 95, 31, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* ============================================
   PAGE BODY OFFSET
   ============================================ */
body { padding-top: var(--header-h); }

/* ============================================
   AUTH PAGE (LOGIN / REGISTER)
   ============================================ */
.auth-page {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: var(--sp-10) 0;
}

.auth-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  max-width: 980px;
  margin: 0 auto;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.auth-brand-panel {
  background: linear-gradient(160deg, #1A0E08 0%, #120A05 60%, #0A0A0A 100%);
  padding: var(--sp-12) var(--sp-10);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-brand-panel::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255, 95, 31, 0.18), transparent 70%);
  filter: blur(30px);
}

.auth-brand-panel .logo-mark {
  width: 56px;
  height: 56px;
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-6);
  position: relative;
  z-index: 1;
}

.auth-brand-panel h2 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-4);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.auth-brand-panel p {
  font-size: var(--fs-sm);
  color: var(--clr-muted);
  margin-bottom: var(--sp-8);
  position: relative;
  z-index: 1;
}

.auth-trust-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  position: relative;
  z-index: 1;
}

.auth-trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--clr-text);
}

.auth-trust-item .ico {
  width: 36px;
  height: 36px;
  background: rgba(255, 95, 31, 0.12);
  border: 1px solid rgba(255, 95, 31, 0.25);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.auth-form-panel {
  padding: var(--sp-10);
}

.auth-tabs {
  display: flex;
  gap: var(--sp-2);
  background: var(--clr-surface2);
  border-radius: var(--r-lg);
  padding: 4px;
  margin-bottom: var(--sp-8);
}

.auth-tab-btn {
  flex: 1;
  padding: var(--sp-3);
  border: none;
  background: transparent;
  border-radius: var(--r-md);
  font-family: var(--ff-base);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-muted);
  cursor: pointer;
  transition: all var(--tr-base);
}

.auth-tab-btn.active {
  background: var(--clr-primary);
  color: white;
  box-shadow: var(--shadow-btn);
}

.auth-panel { display: none; }
.auth-panel.active { display: block; }

.auth-form-row {
  margin-bottom: var(--sp-5);
}

.auth-form-row label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: var(--sp-2);
}

.auth-form-row label .required {
  color: var(--clr-primary);
}

.auth-form-row input[type="text"],
.auth-form-row input[type="email"],
.auth-form-row input[type="password"] {
  width: 100%;
  background: var(--clr-surface2);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  color: var(--clr-text);
  font-family: var(--ff-num);
  font-size: var(--fs-base);
  outline: none;
  transition: all var(--tr-base);
}

.auth-form-row input:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(255, 95, 31, 0.1);
}

.auth-form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-6);
  font-size: var(--fs-sm);
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--clr-muted);
  cursor: pointer;
}

.auth-remember input { accent-color: var(--clr-primary); }

.auth-forgot-link { color: var(--clr-primary); }

.auth-submit-btn {
  width: 100%;
  justify-content: center;
  padding: var(--sp-4);
  font-size: var(--fs-base);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin: var(--sp-6) 0;
  color: var(--clr-subtle);
  font-size: var(--fs-xs);
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--clr-border);
}

.auth-privacy-note {
  font-size: var(--fs-xs);
  color: var(--clr-subtle);
  text-align: center;
  line-height: 1.8;
}

.auth-privacy-note a { color: var(--clr-primary); }

@media (max-width: 900px) {
  .auth-card { grid-template-columns: 1fr; }
  .auth-brand-panel { padding: var(--sp-8) var(--sp-6); }
  .auth-form-panel { padding: var(--sp-8) var(--sp-6); }
}

/* ============================================
   ACCOUNT PAGES (Orders, Addresses, Edit Account)
   ============================================ */
.woocommerce-account .woocommerce-MyAccount-content {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
}

.woocommerce-account table.woocommerce-orders-table {
  background: transparent;
}

.woocommerce-orders-table__cell-order-actions .button,
.woocommerce-account .button {
  background: var(--clr-surface2) !important;
  border: 1px solid var(--clr-border) !important;
  color: var(--clr-text) !important;
  border-radius: var(--r-sm) !important;
  padding: var(--sp-1) var(--sp-3) !important;
  font-size: var(--fs-xs) !important;
}

.woocommerce-account .woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-5);
}

.woocommerce-account address {
  font-size: var(--fs-sm);
  color: var(--clr-muted);
  line-height: 1.9;
}

.woocommerce-account form .form-row label {
  font-size: var(--fs-sm);
  color: var(--clr-text);
  font-weight: 500;
  margin-bottom: var(--sp-2);
  display: block;
}


/* ============================================
   REVIEWS / COMMENTS FORM
   ============================================ */
#reviews #comments { list-style: none; margin-bottom: var(--sp-8); }

#reviews .comment {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  margin-bottom: var(--sp-4);
  list-style: none;
}

#reviews .comment_container { display: flex; gap: var(--sp-4); }
#reviews .comment_container img { border-radius: 50%; flex-shrink: 0; }
#reviews .comment-text { flex: 1; }
#reviews .comment-text .star-rating { margin-bottom: var(--sp-2); float: none; }
#reviews .meta { font-size: var(--fs-xs); color: var(--clr-subtle); margin-bottom: var(--sp-2); }
#reviews .description p { color: var(--clr-muted); font-size: var(--fs-sm); margin-bottom: 0; }

#review_form_wrapper {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
}

#review_form_wrapper #reply-title {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-4);
  color: var(--clr-white);
}

.woocommerce-noreviews { color: var(--clr-muted); font-size: var(--fs-sm); }

.comment-form-rating label,
.comment-form-comment label,
.comment-form-author label,
.comment-form-email label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: var(--sp-2);
}

.comment-form-rating { margin-bottom: var(--sp-4); }

.comment-form-rating p.stars a {
  color: #F59E0B;
  text-decoration: none;
}

#commentform textarea,
#commentform input[type="text"],
#commentform input[type="email"] {
  width: 100%;
  background: var(--clr-surface2) !important;
  border: 1px solid var(--clr-border) !important;
  border-radius: var(--r-md) !important;
  padding: var(--sp-3) var(--sp-4) !important;
  color: var(--clr-text) !important;
  font-family: var(--ff-base) !important;
  outline: none;
  margin-bottom: var(--sp-4);
}

#commentform textarea:focus,
#commentform input:focus {
  border-color: var(--clr-primary) !important;
  box-shadow: 0 0 0 3px rgba(255, 95, 31, 0.1);
}

#commentform .form-submit input#submit {
  background: var(--clr-primary);
  color: white;
  border: none;
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-6);
  font-family: var(--ff-base);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--tr-base);
}

#commentform .form-submit input#submit:hover {
  background: var(--clr-primary-h);
  transform: translateY(-2px);
}

/* ============================================
   WALLET PAYMENT GATEWAY (checkout)
   ============================================ */
.parsa-wallet-payment-box {
  background: var(--clr-surface2);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  margin-top: var(--sp-2);
}

.pwp-balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-sm);
  color: var(--clr-muted);
  margin-bottom: var(--sp-3);
}

.pwp-balance-row strong {
  color: var(--clr-primary);
  font-family: var(--ff-num);
  font-size: var(--fs-base);
}

.pwp-sufficient {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--r-sm);
  padding: var(--sp-3);
  font-size: var(--fs-sm);
  color: #10B981;
}

.pwp-insufficient {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--r-sm);
  padding: var(--sp-4);
  font-size: var(--fs-sm);
  color: #F87171;
  line-height: 1.9;
}

.pwp-topup-btn {
  display: inline-block;
  background: var(--clr-primary);
  color: white !important;
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: 700;
  margin: var(--sp-3) 0;
  text-decoration: none;
}

.pwp-topup-btn:hover { background: var(--clr-primary-h); }

.pwp-hint {
  display: block;
  font-size: var(--fs-xs);
  color: var(--clr-subtle);
  margin-top: var(--sp-2);
  line-height: 1.8;
}

/* ============================================
   CART & CHECKOUT PAGE WIDTH FIX
   ============================================ */
.woocommerce-account .woo-main,
.woocommerce-checkout .woo-main {
  max-width: 1100px;
}

.woocommerce-cart .woo-inner,
.woocommerce-account .woo-inner,
.woocommerce-checkout .woo-inner {
  display: block;
}

.woocommerce-cart table.shop_table td,
.woocommerce-cart table.shop_table th {
  text-align: center;
}

.woocommerce-cart table.shop_table td.product-name {
  text-align: right;
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  margin-bottom: var(--sp-6);
}

.woocommerce-checkout .col2-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}

@media (max-width: 900px) {
  .woocommerce-checkout .col2-set { grid-template-columns: 1fr; }
}

.woocommerce-checkout h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--clr-border);
}

.woocommerce-checkout .form-row { margin-bottom: var(--sp-4); }
.woocommerce-checkout .form-row label {
  display: block;
  font-size: var(--fs-sm);
  color: var(--clr-text);
  margin-bottom: var(--sp-2);
}

/* ============================================
   ICON SYSTEM (SVG via Iconify — consistent across all OS/browsers)
   ============================================ */
.pt-icon {
  display: inline-block;
  vertical-align: middle;
  font-size: 1.2em;
  line-height: 1;
}

.icon-btn .pt-icon,
.social-btn .pt-icon { font-size: 19px; }
.cat-icon .pt-icon { font-size: 30px; color: var(--clr-primary); }
.icon .pt-icon { font-size: 16px; color: var(--clr-primary); }
.feature-icon .pt-icon { font-size: 24px; color: var(--clr-primary); }
.card-icon-lg .pt-icon { font-size: 28px; color: white; }
.trust-item .ico .pt-icon,
.footer-contact-item .ico .pt-icon,
.auth-trust-item .ico .pt-icon { font-size: 18px; color: var(--clr-primary); }
.wishlist-btn .pt-icon { font-size: 15px; }
.quick-view-trigger .pt-icon { font-size: 17px; }
.toast-icon .pt-icon { font-size: 18px; color: var(--clr-primary); }
.stock-urgency .pt-icon { font-size: 15px; }
.scroll-top .pt-icon { font-size: 18px; }
.drawer-close .pt-icon { font-size: 15px; }
.logo-mark .pt-icon { font-size: 22px; }
.phone-gate-icon .pt-icon { font-size: 32px; color: var(--clr-primary); }
.btn .pt-icon { font-size: 16px; vertical-align: -3px; margin-left: 6px; }
.inline-ico { font-size: 13px; vertical-align: -2px; margin-left: 4px; color: var(--clr-primary); }
.cat-icon .cat-svg { font-size: 30px; }

/* ============================================
   QUICK VIEW MODAL
   ============================================ */
.quick-view-trigger {
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-3);
  width: 36px;
  height: 36px;
  background: rgba(10,10,10,0.75);
  backdrop-filter: blur(4px);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all var(--tr-base);
  z-index: 2;
}

.product-card:hover .quick-view-trigger { opacity: 1; }
.quick-view-trigger:hover { background: var(--clr-primary); border-color: var(--clr-primary); }

.quick-view-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
}

.quick-view-overlay.open { display: flex; }

.quick-view-modal {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  padding: var(--sp-8);
  animation: dropIn 250ms ease;
}

.quick-view-close {
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
  width: 36px;
  height: 36px;
  background: var(--clr-surface2);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  color: var(--clr-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.quick-view-close:hover { color: white; border-color: var(--clr-primary); }

.quick-view-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-20) 0;
  color: var(--clr-muted);
  font-size: var(--fs-sm);
}

.qv-spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--clr-border);
  border-top-color: var(--clr-primary);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

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

.qv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
.qv-image {
  aspect-ratio: 1;
  background: var(--clr-surface2);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.qv-image img { width: 100%; height: 100%; object-fit: cover; }
.qv-image-placeholder { font-size: 60px; }
.qv-info h2 { font-size: var(--fs-xl); margin-bottom: var(--sp-3); }
.qv-price { margin: var(--sp-4) 0; display: flex; align-items: center; gap: var(--sp-3); }
.qv-desc { font-size: var(--fs-sm); color: var(--clr-muted); line-height: 1.8; margin-bottom: var(--sp-4); }
.qv-actions { display: flex; gap: var(--sp-2); margin: var(--sp-5) 0; }
.qv-full-link { font-size: var(--fs-sm); color: var(--clr-primary); }

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

/* ============================================
   STOCK URGENCY BADGE (بر اساس موجودی واقعی)
   ============================================ */
.stock-urgency {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  color: #F59E0B;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: var(--r-sm);
  padding: var(--sp-2) var(--sp-3);
  margin: var(--sp-3) 0;
  width: fit-content;
}

/* ============================================
   HONEST EMPTY RATING STATE
   ============================================ */
.product-rating-empty .rating-count {
  color: var(--clr-subtle);
  font-style: italic;
}

/* ============================================
   TESTIMONIALS (فقط نظرات واقعی)
   ============================================ */
.testimonial-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
}

.testimonial-card .stars { color: #F59E0B; font-size: 14px; margin-bottom: var(--sp-3); display: block; }
.testimonial-text { color: var(--clr-text); font-size: var(--fs-sm); line-height: 1.8; margin-bottom: var(--sp-4); }
.testimonial-footer strong { display: block; color: var(--clr-white); font-size: var(--fs-sm); }
.testimonial-footer span { font-size: var(--fs-xs); color: var(--clr-subtle); }

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list { display: flex; flex-direction: column; gap: var(--sp-3); }

.faq-item {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: right;
  background: none;
  border: none;
  padding: var(--sp-5);
  font-family: var(--ff-base);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--clr-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-toggle-icon {
  font-size: 20px;
  color: var(--clr-primary);
  transition: transform var(--tr-base);
  flex-shrink: 0;
}

.faq-item.open .faq-toggle-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--tr-slow);
  padding: 0 var(--sp-5);
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 var(--sp-5) var(--sp-5);
}

.faq-answer p { color: var(--clr-muted); font-size: var(--fs-sm); line-height: 1.8; }

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-banner {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  flex-wrap: wrap;
}

.newsletter-text h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.newsletter-text p { font-size: var(--fs-sm); color: var(--clr-muted); max-width: 420px; }

.newsletter-form {
  display: flex;
  gap: var(--sp-2);
  flex: 1;
  min-width: 300px;
  max-width: 440px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  background: var(--clr-surface2);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  color: var(--clr-text);
  font-family: var(--ff-base);
  outline: none;
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(255,95,31,0.1);
}

@media (max-width: 700px) {
  .newsletter-banner { flex-direction: column; text-align: center; }
  .newsletter-form { width: 100%; max-width: none; }
}

/* ============================================
   STICKY MOBILE ADD-TO-CART BAR
   ============================================ */
.sticky-add-cart-bar {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  padding: var(--sp-3) var(--sp-4);
  display: none;
  align-items: center;
  gap: var(--sp-4);
  z-index: 900;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
  transform: translateY(100%);
  transition: transform var(--tr-base);
}

.sticky-add-cart-bar.show { transform: translateY(0); }

@media (max-width: 900px) {
  .sticky-add-cart-bar { display: flex; }
}

.sticky-bar-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-shrink: 0;
}

/* ============================================
   WISHLIST PAGE
   ============================================ */
.wishlist-empty {
  text-align: center;
  padding: var(--sp-16) 0;
}

.wishlist-empty h3 { margin-bottom: var(--sp-2); }
.wishlist-empty p { color: var(--clr-muted); font-size: var(--fs-sm); }

/* ============================================
   PHONE / OTP AUTH
   ============================================ */
.btn-link-plain {
  background: none;
  border: none;
  color: var(--clr-primary);
  font-family: var(--ff-base);
  font-size: var(--fs-sm);
  cursor: pointer;
  padding: var(--sp-1) 0;
}

.btn-link-plain:disabled {
  color: var(--clr-subtle);
  cursor: not-allowed;
}

.phone-auth-step { margin-bottom: var(--sp-2); }

.phone-auth-msg {
  display: none;
  font-size: var(--fs-sm);
  margin-top: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
}

.phone-auth-msg.show { display: block; }
.phone-auth-msg.is-success { background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.3); color: #10B981; }
.phone-auth-msg.is-error   { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.3); color: #EF4444; }

#phone-auth-number,
#phone-auth-code,
#checkout-phone-input,
#checkout-otp-input {
  width: 100%;
  background: var(--clr-surface2);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  color: var(--clr-text);
  font-family: var(--ff-num);
  font-size: var(--fs-base);
  outline: none;
  transition: all var(--tr-base);
  margin-bottom: var(--sp-4);
}

#phone-auth-number:focus,
#phone-auth-code:focus,
#checkout-phone-input:focus,
#checkout-otp-input:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(255, 95, 31, 0.1);
}

/* ============================================
   CHECKOUT PHONE VERIFICATION GATE
   ============================================ */
.checkout-phone-gate {
  max-width: 480px;
  margin: 0 auto var(--sp-8);
  background: var(--clr-surface);
  border: 1px solid rgba(255, 95, 31, 0.25);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  text-align: center;
}

.checkout-phone-gate h3 { margin-bottom: var(--sp-2); }
.checkout-phone-gate p { font-size: var(--fs-sm); margin-bottom: var(--sp-6); }
.checkout-phone-gate .phone-gate-step { display: flex; flex-direction: column; gap: var(--sp-3); }
.checkout-phone-gate input { text-align: center; }
.checkout-phone-gate .phone-gate-msg {
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  min-height: 1em;
}
.checkout-phone-gate .phone-gate-msg.is-error { color: #EF4444; }
.checkout-phone-gate .phone-gate-msg.is-success { color: #10B981; }

/* ============================================
   PHONE / OTP AUTH (end)
   ============================================ */

.captcha-row {
  display: flex;
  gap: var(--sp-3);
  align-items: center;
}

.captcha-question-box {
  background: var(--clr-surface2);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--ff-num);
  font-weight: 700;
  font-size: var(--fs-base);
  color: var(--clr-white);
  min-width: 76px;
  text-align: center;
  flex-shrink: 0;
}

.captcha-answer-input {
  flex: 1;
  background: var(--clr-surface2);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  color: var(--clr-text);
  font-family: var(--ff-num);
  font-size: var(--fs-base);
  outline: none;
  transition: all var(--tr-base);
}

.captcha-answer-input::placeholder { color: var(--clr-subtle); }

.captcha-answer-input:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(255, 95, 31, 0.1);
}

.captcha-refresh-btn {
  background: var(--clr-surface2);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  width: 44px;
  height: 44px;
  cursor: pointer;
  color: var(--clr-muted);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--tr-base);
}

.captcha-refresh-btn:hover {
  color: var(--clr-primary);
  border-color: var(--clr-primary);
}
/* ============================================
   CHARITY BANNER (صفحه اصلی فروشگاه)
   طراحی سبز، عمداً متفاوت از رنگ اصلی سایت تا به‌عنوان
   محتوای خیرخواهانه (نه تبلیغاتی) شناخته شود
   ============================================ */
.charity-banner-card {
  display: flex;
  align-items: center;
  gap: var(--sp-10);
  background: linear-gradient(135deg, #1B3A1D 0%, #16301A 60%, #0A0A0A 100%);
  border: 1px solid rgba(102, 187, 106, 0.3);
  border-radius: var(--r-xl);
  padding: var(--sp-10);
  position: relative;
  overflow: hidden;
}

.charity-banner-card::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(76, 175, 80, 0.18), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.charity-banner-visual {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.charity-banner-icon {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #2E7D32, #66BB6A);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 40px rgba(46, 125, 50, 0.4);
}

.charity-banner-icon .pt-icon { font-size: 52px; color: #FFD54F; }

.charity-banner-content { position: relative; z-index: 1; flex: 1; }

.charity-banner-eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: #81C784;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-3);
}

.charity-banner-title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: white;
  margin-bottom: var(--sp-4);
}

.charity-banner-desc {
  color: #C8E6C9;
  font-size: var(--fs-base);
  line-height: 1.9;
  margin-bottom: var(--sp-5);
  max-width: 620px;
}

.charity-banner-desc strong { color: #FFD54F; }

.charity-banner-points {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.charity-banner-points span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-full);
  padding: 6px 16px;
  font-size: var(--fs-xs);
  color: #E8F5E9;
}

.charity-banner-btn {
  background: linear-gradient(135deg, #2E7D32, #43A047);
  color: white;
  box-shadow: 0 8px 24px rgba(46, 125, 50, 0.4);
}

.charity-banner-btn:hover {
  background: linear-gradient(135deg, #388E3C, #4CAF50);
  color: white;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .charity-banner-card { flex-direction: column; text-align: center; padding: var(--sp-8) var(--sp-6); }
  .charity-banner-points { justify-content: center; }
  .charity-banner-desc { margin-left: auto; margin-right: auto; }
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .categories-grid,
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .hero-visual { display: none; }
}

@media (max-width: 900px) {
  .main-nav,
  .header-search,
  .btn-auth-secondary,
  .btn-auth-primary,
  .account-icon-btn { display: none; }
  .menu-toggle { display: flex; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  :root { --sp-6: 1rem; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(1, 1fr); }
  .hero-title { font-size: var(--fs-3xl); }
  .hero-stats { flex-wrap: wrap; gap: var(--sp-5); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .trust-badges { flex-direction: column; }

  /* جدول سبد خرید به‌صورت کارت عمودی در موبایل (به‌جای جدول فشرده و نامرتب) */
  .woocommerce-cart table.shop_table thead { display: none; }

  .woocommerce-cart table.shop_table,
  .woocommerce-cart table.shop_table tbody,
  .woocommerce-cart table.shop_table tr {
    display: block;
    width: 100%;
  }

  .woocommerce-cart table.shop_table tr {
    margin-bottom: var(--sp-4);
    border: 1px solid var(--clr-border);
    border-radius: var(--r-lg);
    padding: var(--sp-3);
  }

  .woocommerce-cart table.shop_table tr:last-child { margin-bottom: 0; }

  .woocommerce-cart table.shop_table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: none !important;
    border-radius: 0 !important;
    padding: var(--sp-2) var(--sp-1);
    text-align: left;
  }

  .woocommerce-cart table.shop_table td::before {
    content: attr(data-title);
    font-weight: 600;
    color: var(--clr-muted);
    font-size: var(--fs-xs);
    flex-shrink: 0;
  }

  .woocommerce-cart table.shop_table td.product-thumbnail {
    justify-content: center;
    padding-bottom: var(--sp-3);
    border-bottom: 1px solid var(--clr-border) !important;
    margin-bottom: var(--sp-2);
  }

  .woocommerce-cart table.shop_table td.product-thumbnail::before,
  .woocommerce-cart table.shop_table td.product-remove::before {
    content: none;
  }

  .woocommerce-cart table.shop_table td.product-thumbnail img {
    width: 90px !important;
    height: 90px !important;
    max-width: 90px !important;
  }

  .woocommerce-cart table.shop_table td.product-name {
    justify-content: center;
    text-align: center;
    font-weight: 700;
  }

  .woocommerce-cart table.shop_table td.product-name::before { content: none; }

  /* جدول جمع کل سبد خرید ساختار متفاوتی دارد (هر ردیف: th برچسب + td مقدار) */
  .cart_totals table.shop_table tr,
  .woocommerce-cart .cart_totals tr {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    border: none;
    padding: var(--sp-2) 0;
  }
  .cart_totals table.shop_table th,
  .woocommerce-cart .cart_totals th {
    display: block;
    border: none;
    background: none;
    padding: 0;
    font-weight: 600;
    color: var(--clr-muted);
  }
  .cart_totals table.shop_table td,
  .woocommerce-cart .cart_totals td {
    display: block !important;
    border: none !important;
    padding: 0 !important;
    text-align: left;
  }
  .cart_totals table.shop_table td::before { content: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
