/*
Theme Name: NiaCPS - Mobile Parts Shop
Theme URI: https://niacps.shop
Author: NiaCPS Team
Author URI: https://niacps.shop
Description: قالب حرفه‌ای فروشگاه قطعات موبایل با پشتیبانی کامل از ووکامرس، سیستم تبدیل ارز، عمده‌فروشی و پنل مدیریت پیشرفته
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: niacps
Tags: woocommerce, rtl-language-support, custom-logo, custom-menu, featured-images, theme-options
WooCommerce: 8.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
*/

/* ===== VARIABLES ===== */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --secondary: #0ea5e9;
  --accent: #06b6d4;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --font-primary: 'Vazirmatn', sans-serif;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
}

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

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

body {
  font-family: var(--font-primary);
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.8;
  direction: rtl;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ===== UTILITIES ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.section-heading {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--gray-500);
  max-width: 32rem;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gray-200);
  color: var(--gray-700);
}

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

.card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  color: white;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: 1.5rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-text h1 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
}

.logo-text span {
  font-size: 0.625rem;
  color: var(--gray-500);
}

.main-nav {
  display: none;
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
}

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

.header-search {
  display: none;
  align-items: center;
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  width: 16rem;
}

@media (min-width: 1024px) {
  .header-search {
    display: flex;
  }
}

.header-search input {
  border: none;
  background: transparent;
  font-size: 0.875rem;
  width: 100%;
  outline: none;
  font-family: inherit;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-btn {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  transition: all 0.3s ease;
}

.header-btn:hover {
  background: var(--gray-100);
}

.cart-count {
  position: absolute;
  top: -4px;
  left: -4px;
  background: var(--danger);
  color: white;
  font-size: 0.625rem;
  font-weight: 700;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
}

.login-btn:hover {
  background: var(--primary-dark);
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #1e3a5f, #164e63);
}

.hero-particles {
  position: absolute;
  inset: 0;
  opacity: 0.2;
}

.hero-particle {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.2); }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 5rem 0;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.typing-container {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.typing-text {
  color: #67e8f9;
  font-size: 1rem;
  font-weight: 500;
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1.25rem;
  background: #67e8f9;
  margin-right: 0.25rem;
  animation: blink 0.75s step-end infinite;
}

@keyframes blink {
  from, to { opacity: 1; }
  50% { opacity: 0; }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.hero-btn-primary {
  background: white;
  color: var(--primary);
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
}

.hero-btn-primary:hover {
  background: var(--gray-100);
  transform: scale(1.05);
}

.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 48rem;
  margin: 0 auto;
}

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

.hero-stat {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1rem;
}

.hero-stat-value {
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
}

/* ===== STORIES ===== */
.stories-section {
  padding: 1.5rem 0;
}

.stories-container {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.stories-container::-webkit-scrollbar {
  display: none;
}

.story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 5rem;
  cursor: pointer;
}

.story-ring {
  background: conic-gradient(from 0deg, var(--primary), var(--accent), var(--success), var(--warning), var(--danger), var(--primary));
  padding: 3px;
  border-radius: 50%;
}

.story-inner {
  background: white;
  padding: 2px;
  border-radius: 50%;
}

.story-img {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.story-item:hover .story-img {
  transform: scale(1.05);
}

.story-title {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-700);
  white-space: nowrap;
}

/* Story Modal */
.story-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
}

.story-modal.active {
  display: flex;
}

.story-viewer {
  position: relative;
  width: 100%;
  max-width: 28rem;
  height: 80vh;
  max-height: 700px;
  background: var(--gray-900);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.story-progress-bar {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  gap: 0.25rem;
  z-index: 10;
}

.story-progress-item {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  overflow: hidden;
}

.story-progress-fill {
  height: 100%;
  background: white;
  border-radius: 9999px;
  transition: width 0.1s linear;
}

.story-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 1.5rem;
}

.story-modal-title {
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
}

.story-close {
  position: absolute;
  top: 2rem;
  left: 0.75rem;
  width: 2rem;
  height: 2rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.story-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-nav-prev {
  right: 0.5rem;
}

.story-nav-next {
  left: 0.5rem;
}

/* ===== PRODUCTS ===== */
.products-section {
  background: var(--gray-50);
}

.category-filter {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  scrollbar-width: none;
}

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

.category-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  background: white;
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.product-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.product-image {
  position: relative;
  height: 13rem;
  overflow: hidden;
  background: var(--gray-100);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--success);
  color: white;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.product-brand {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  color: var(--gray-700);
  font-size: 0.625rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
}

.product-content {
  padding: 1rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.product-rating svg {
  width: 0.875rem;
  height: 0.875rem;
  color: #facc15;
  fill: #facc15;
}

.product-rating span {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.product-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-desc {
  font-size: 0.6875rem;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.product-price-usd {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--gray-400);
}

.product-price {
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--primary);
}

.product-price small {
  font-size: 0.625rem;
  font-weight: 400;
  color: var(--gray-400);
  margin-right: 0.25rem;
}

.product-stock {
  font-size: 0.625rem;
  text-align: left;
}

.product-stock.in-stock {
  color: var(--success);
}

.product-stock.out-of-stock {
  color: var(--danger);
}

.wholesale-price {
  background: rgba(16, 185, 129, 0.1);
  border-radius: 0.5rem;
  padding: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.6875rem;
}

.wholesale-price strong {
  color: var(--success);
}

.add-to-cart-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem;
  background: var(--primary);
  color: white;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
  background: var(--primary-dark);
}

.add-to-cart-btn:disabled {
  background: var(--gray-100);
  color: var(--gray-400);
  cursor: not-allowed;
}

/* ===== PHONE PARTS ===== */
.phone-parts-section {
  background: white;
}

.parts-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .parts-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.parts-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.part-btn {
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-100);
  background: white;
  text-align: right;
  transition: all 0.3s ease;
}

.part-btn:hover,
.part-btn.active {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.05);
  box-shadow: var(--shadow-lg);
}

.part-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  color: white;
}

.part-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-900);
}

.part-name-en {
  font-size: 0.625rem;
  color: var(--gray-400);
  margin-top: 0.125rem;
}

/* Phone Visual */
.phone-visual {
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: 16rem;
  height: 31rem;
}

.phone-outer {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--gray-800), var(--gray-900));
  border-radius: 3rem;
  border: 4px solid var(--gray-700);
  box-shadow: var(--shadow-xl);
}

.phone-screen {
  position: absolute;
  top: 1rem;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 1rem;
  background: linear-gradient(to bottom, var(--gray-100), var(--gray-200));
  border-radius: 2.2rem;
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 7rem;
  height: 1.75rem;
  background: var(--gray-800);
  border-radius: 0 0 1rem 1rem;
  z-index: 10;
}

.phone-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.active-part-icon {
  width: 5rem;
  height: 5rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: white;
  box-shadow: var(--shadow-lg);
}

.active-part-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-800);
  text-align: center;
}

.active-part-name-en {
  font-size: 0.625rem;
  color: var(--gray-500);
  text-align: center;
  margin-top: 0.25rem;
}

.active-part-specs {
  margin-top: 1rem;
  width: 100%;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
}

.spec-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
}

.spec-text {
  font-size: 0.6875rem;
  color: var(--gray-600);
}

/* Phone hotspots */
.phone-hotspot {
  position: absolute;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.phone-hotspot:hover,
.phone-hotspot.active {
  transform: scale(1.25);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 5px rgba(37, 99, 235, 0.3); }
  50% { box-shadow: 0 0 20px rgba(37, 99, 235, 0.6); }
}

/* Part Details */
.part-details {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
}

.part-details-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.part-details-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.part-details-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
}

.part-details-title-en {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.part-details-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.part-specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.part-spec-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.6);
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-700);
}

.part-spec-check {
  font-size: 1rem;
}

.part-price-box {
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
}

.part-price-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: 0.25rem;
}

.part-price-value {
  font-size: 1.125rem;
  font-weight: 900;
}

.part-view-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.75rem;
  border-radius: var(--radius);
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  transition: opacity 0.3s ease;
}

.part-view-btn:hover {
  opacity: 0.9;
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(37, 99, 235, 0.05);
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

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

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.8;
}

/* ===== BRANDS ===== */
.brands-section {
  background: var(--gray-50);
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.brand-item {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  border: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.brand-item:hover {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--shadow-lg);
}

.brand-emoji {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.brand-item:hover .brand-emoji {
  transform: scale(1.25);
}

.brand-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-700);
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  background: linear-gradient(135deg, #0f172a, #1e3a5f, #164e63);
  color: white;
}

.testimonials-grid {
  display: grid;
  gap: 1.5rem;
}

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

.testimonial-quote {
  width: 2rem;
  height: 2rem;
  color: rgba(37, 99, 235, 0.6);
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-rating svg {
  width: 1rem;
  height: 1rem;
}

.testimonial-rating svg.filled {
  color: #facc15;
  fill: #facc15;
}

.testimonial-rating svg.empty {
  color: rgba(255, 255, 255, 0.2);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  font-size: 1.5rem;
}

.testimonial-name {
  font-size: 0.875rem;
  font-weight: 700;
}

.testimonial-role {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-content {
  text-align: right;
}

.about-text {
  color: var(--gray-600);
  line-height: 2;
  margin-bottom: 1.5rem;
}

.about-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-check-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-check-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--success);
  flex-shrink: 0;
}

.about-check-text {
  font-size: 0.875rem;
  color: var(--gray-700);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.about-stat {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.about-stat:hover {
  box-shadow: var(--shadow-lg);
}

.about-stat-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin: 0 auto 0.75rem;
}

.about-stat-value {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--gray-900);
}

.about-stat-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

/* ===== CTA ===== */
.cta-section {
  background: var(--gray-50);
}

.cta-box {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

@media (min-width: 640px) {
  .cta-box {
    padding: 3rem;
  }
}

.cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(circle, rgba(255,255,255,0.3) 1px, transparent 1px);
  background-size: 20px 20px;
}

.cta-content {
  position: relative;
  z-index: 10;
}

.cta-title {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .cta-title {
    font-size: 1.875rem;
  }
}

.cta-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  max-width: 32rem;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.cta-btn-primary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: var(--primary);
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: var(--shadow-xl);
}

.cta-btn-primary:hover {
  background: var(--gray-100);
}

.cta-btn-secondary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 700;
}

.cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--gray-900);
  color: white;
}

.footer-main {
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.footer-about .site-logo {
  margin-bottom: 1rem;
}

.footer-about-text {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.8;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--gray-400);
}

.footer-links a:hover {
  color: white;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.footer-contact-icon {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.footer-contact-text {
  font-size: 0.875rem;
  color: var(--gray-400);
}

.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--gray-800);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--primary);
  color: white;
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding: 1rem 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.footer-copyright svg {
  width: 0.75rem;
  height: 0.75rem;
  color: var(--danger);
  fill: var(--danger);
}

/* ===== SCROLL TO TOP ===== */
.scroll-to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 50;
  width: 3rem;
  height: 3rem;
  background: var(--primary);
  color: white;
  border-radius: var(--radius);
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
}

.scroll-to-top.visible {
  display: flex;
}

.scroll-to-top:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

/* ===== CART SIDEBAR ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
}

.cart-overlay.active {
  display: block;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.cart-sidebar {
  position: absolute;
  top: 0;
  bottom: 0;
  right: auto;
  left: 0;
  width: 100%;
  max-width: 28rem;
  background: white;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  animation: slideInLeft 0.3s ease-out;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--gray-100);
}

.cart-header-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-header-title svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.cart-header-title h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
}

.cart-count-badge {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
}

.cart-close {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: all 0.3s ease;
}

.cart-close:hover {
  background: var(--gray-100);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.cart-empty svg {
  width: 4rem;
  height: 4rem;
  color: var(--gray-200);
  margin-bottom: 1rem;
}

.cart-empty p {
  color: var(--gray-400);
  font-size: 1.125rem;
  font-weight: 500;
}

.cart-empty small {
  color: var(--gray-300);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.cart-item {
  display: flex;
  gap: 0.75rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 0.75rem;
  margin-bottom: 1rem;
}

.cart-item-image {
  width: 5rem;
  height: 5rem;
  border-radius: var(--radius);
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-900);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item-meta {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 0.125rem;
}

.cart-item-price {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 0.25rem;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.cart-qty-control {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: white;
  border-radius: 0.5rem;
  border: 1px solid var(--gray-200);
}

.cart-qty-btn {
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: all 0.3s ease;
}

.cart-qty-btn:hover {
  background: var(--gray-50);
}

.cart-qty-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-900);
  padding: 0 0.5rem;
}

.cart-item-remove {
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--danger);
  opacity: 0.5;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.cart-item-remove:hover {
  background: rgba(239, 68, 68, 0.1);
  opacity: 1;
}

.cart-footer {
  border-top: 1px solid var(--gray-100);
  padding: 1rem;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.cart-total-label {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.cart-total-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-700);
}

.cart-total-value.primary {
  font-size: 1.125rem;
  color: var(--primary);
}

.cart-checkout-btn {
  width: 100%;
  padding: 0.875rem;
  background: var(--primary);
  color: white;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
}

.cart-checkout-btn:hover {
  background: var(--primary-dark);
}

/* ===== LOGIN MODAL ===== */
.login-overlay {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.login-overlay.active {
  display: flex;
}

.login-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.login-modal {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 28rem;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-header {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 1.5rem;
  text-align: center;
  color: white;
}

.login-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 1.5rem;
  height: 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.login-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.login-icon {
  width: 4rem;
  height: 4rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

.login-icon svg {
  width: 2rem;
  height: 2rem;
}

.login-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.login-subtitle {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.25rem;
}

.login-body {
  padding: 1.5rem;
}

.login-error {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  font-size: 0.875rem;
  padding: 0.625rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-weight: 500;
}

.login-info {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  padding: 0.625rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.375rem;
}

.form-input-wrapper {
  position: relative;
}

.form-input-icon {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: var(--gray-400);
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  padding-right: 2.5rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: all 0.3s ease;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input-toggle {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  cursor: pointer;
}

.login-submit {
  width: 100%;
  padding: 0.875rem;
  background: var(--primary);
  color: white;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
}

.login-submit:hover {
  background: var(--primary-dark);
}

.login-toggle {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.login-toggle button {
  color: var(--primary);
  font-weight: 700;
  margin-right: 0.25rem;
}

.login-toggle button:hover {
  text-decoration: underline;
}

/* ===== WOOCOMMERCE OVERRIDES ===== */
.woocommerce ul.products li.product {
  margin: 0;
}

/* Cart Price Display */
.niacps-cart-price,
.niacps-cart-subtotal {
  text-align: center;
}

.niacps-price-usd {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 2px;
}

.niacps-price-toman {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.niacps-wholesale-badge {
  display: inline-block;
  background: #dcfce7;
  color: #16a34a;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 6px;
  margin-top: 4px;
}

/* Cart Currency Info */
.niacps-currency-info th,
.niacps-total-usd th {
  font-weight: 600;
  color: var(--gray-700);
}

.niacps-currency-info td,
.niacps-total-usd td {
  text-align: left;
}

/* Checkout Currency Box */
.niacps-checkout-currency-info {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  border: 1px solid #bae6fd;
}

/* Wholesale Promo Box */
.niacps-wholesale-promo {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1px solid #86efac;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.niacps-wholesale-promo h4 {
  margin: 0 0 10px 0;
  color: #16a34a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.niacps-wholesale-promo p {
  margin: 0 0 15px 0;
  color: #15803d;
  font-size: 14px;
}

#wholesaleRequestBtn {
  background: #16a34a;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

#wholesaleRequestBtn:hover {
  background: #15803d;
}

#wholesaleRequestBtn.success {
  background: #059669;
}

/* WooCommerce Cart Table */
.woocommerce-cart-form table.shop_table {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.woocommerce-cart-form table.shop_table th {
  background: var(--gray-50);
  font-weight: 600;
  color: var(--gray-700);
  padding: 15px;
}

.woocommerce-cart-form table.shop_table td {
  padding: 15px;
  vertical-align: middle;
}

.woocommerce-cart-form table.shop_table img {
  border-radius: 8px;
}

/* Cart Totals */
.cart_totals {
  background: white;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--gray-200);
}

.cart_totals h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--gray-900);
}

.cart_totals table {
  border: none;
}

.cart_totals table th,
.cart_totals table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}

.cart_totals .order-total th,
.cart_totals .order-total td {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  border-bottom: none;
  padding-top: 15px;
}

.cart_totals .order-total .amount {
  color: var(--primary);
}

/* Checkout Button */
.wc-proceed-to-checkout a.checkout-button {
  background: var(--primary) !important;
  color: white !important;
  border-radius: 12px !important;
  padding: 15px 30px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3) !important;
  transition: all 0.3s ease !important;
}

.wc-proceed-to-checkout a.checkout-button:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-2px) !important;
}

/* Empty Cart */
.cart-empty {
  text-align: center;
  padding: 60px 20px;
}

.cart-empty::before {
  content: '🛒';
  font-size: 4rem;
  display: block;
  margin-bottom: 20px;
}

.return-to-shop .button {
  background: var(--primary) !important;
  color: white !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
}

.woocommerce ul.products li.product a img {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.woocommerce span.onsale {
  background: var(--danger);
  border-radius: var(--radius);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.woocommerce .price {
  color: var(--primary) !important;
  font-weight: 700 !important;
}

.woocommerce .button,
.woocommerce a.button {
  background: var(--primary) !important;
  color: white !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
  transition: all 0.3s ease !important;
}

.woocommerce .button:hover,
.woocommerce a.button:hover {
  background: var(--primary-dark) !important;
}

/* Converted price display */
.niacps-price-converted {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary);
}

.niacps-price-original {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-bottom: 0.25rem;
}

/* ===== ADMIN NOTICE ===== */
.niacps-admin-notice {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 1rem;
  margin: 1rem 0;
  border-radius: var(--radius);
}

.niacps-admin-notice h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
}

.niacps-admin-notice p {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.9;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: var(--gray-100);
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--gray-100);
  box-shadow: var(--shadow-xl);
  z-index: 99;
}

.mobile-menu-inner {
  padding: 1rem;
}

.mobile-search {
  margin-bottom: 1rem;
}

.mobile-search form {
  display: flex;
  align-items: center;
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
}

.mobile-search svg {
  color: var(--gray-400);
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.mobile-search input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 0.875rem;
  outline: none;
  font-family: inherit;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  background: var(--gray-50);
  color: var(--primary);
}

/* User Dropdown */
.user-dropdown {
  position: relative;
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  width: 14rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  z-index: 100;
}

.user-dropdown-header {
  padding: 1rem;
  border-bottom: 1px solid var(--gray-100);
}

.user-dropdown-header strong {
  display: block;
  font-size: 0.875rem;
  color: var(--gray-900);
}

.user-dropdown-header small {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.125rem;
}

.user-dropdown-header .badge {
  margin-top: 0.5rem;
}

.user-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: var(--gray-700);
  transition: all 0.3s ease;
}

.user-dropdown-menu a:hover {
  background: var(--gray-50);
}

.user-dropdown-menu a svg {
  width: 1rem;
  height: 1rem;
  color: var(--gray-400);
}

.user-dropdown-menu a.text-danger {
  color: var(--danger);
}

.user-dropdown-menu a.text-danger:hover {
  background: rgba(239, 68, 68, 0.05);
}

/* Hide on mobile */
.hide-mobile {
  display: none;
}

@media (min-width: 640px) {
  .hide-mobile {
    display: inline;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .section {
    padding: 3rem 0;
  }
  
  .section-heading {
    font-size: 1.5rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .cart-sidebar {
    max-width: 100%;
  }
}
