/* Hari Traders - Premium Shoes Storefront Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}

:root {
  /* Clean White & Grey Theme (Human Designed Premium Layout) */
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: #f3f4f6;

  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;

  --primary: #e11d48;
  /* Vibrant Crimson Red */
  --primary-hover: #be123c;
  --primary-light: #ffe4e6;

  --secondary: #1d4ed8;
  /* Sports Blue */
  --secondary-light: #dbeafe;

  --accent: #d97706;
  /* B2B Bronze Amber */
  --accent-light: #fef3c7;

  --success: #15803d;
  /* Forest green for discount tags */
  --success-light: #dcfce7;

  --border-color: #e5e7eb;
  /* Clean sharp borders */
  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-border: #e5e7eb;
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --hover-shadow: 0 10px 20px rgba(0, 0, 0, 0.06), 0 3px 6px rgba(0, 0, 0, 0.04);

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 6px;
  /* Clean and structured, not over-rounded */
}

/* Optional Dark Theme Switcher Variables if activated */
body.dark-theme {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;

  --primary: #f43f5e;
  --primary-hover: #e11d48;
  --primary-light: rgba(244, 63, 94, 0.15);

  --border-color: #334155;
  --glass-bg: rgba(15, 23, 42, 0.95);
  --glass-border: #334155;
  --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  --hover-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.5;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

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

button,
input,
select,
textarea {
  outline: none;
  border: none;
  background: none;
}

/* Announcement Bar */
.promo-bar {
  background-color: var(--text-primary);
  color: var(--bg-primary);
  text-align: center;
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 1000;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.promo-bar .badge {
  background: var(--primary);
  color: white;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Sticky Header */
header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--glass-bg);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: padding var(--transition-fast);
}

header.scrolled {
  padding: 12px 8%;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--primary);
}

nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

nav a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

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

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-fast);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--border-radius);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.btn-icon:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.btn-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn-icon .badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--primary);
  color: white;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: popIn 0.2s ease;
}

.btn-bulk-cta {
  background: var(--primary);
  color: white;
  padding: 10px 18px;
  border-radius: var(--border-radius);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

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

/* Base View-Section Routing */
.view-section {
  display: none;
  animation: fadeIn 0.25s ease forwards;
  min-height: calc(100vh - 120px);
}

.view-section.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ==========================================
   VIEW 1: HOME VIEW
   ========================================== */
.hero {
  padding: 60px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.hero-content {
  flex: 1.2;
  max-width: 600px;
}

.hero-tag {
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero h1 em {
  font-style: normal;
  color: var(--primary);
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

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

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.btn-secondary:hover {
  background: var(--bg-tertiary);
}

.hero-visual {
  flex: 0.8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.shoe-slider-container {
  width: 100%;
  max-width: 420px;
  height: 320px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  box-shadow: var(--card-shadow);
}

.hero-shoe-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hero-swatch-container {
  margin-top: 16px;
  text-align: center;
}

.hero-swatch-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  display: block;
}

.hero-swatches {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.hero-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 0 0 1px var(--border-color);
  transition: var(--transition-fast);
}

.hero-swatch.active {
  box-shadow: 0 0 0 2px var(--primary);
}

.hero-swatch.red {
  background-color: #ff3f6c;
}

.hero-swatch.green {
  background-color: #10b981;
}

.hero-swatch.blue {
  background-color: #3b82f6;
}

/* Categories Grid */
.categories-preview {
  padding: 60px 8%;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cat-card {
  height: 220px;
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.cat-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  transition: transform var(--transition-normal);
  filter: brightness(0.7);
}

.cat-card:hover img {
  transform: scale(1.04);
}

.cat-card h3 {
  font-size: 1.15rem;
  color: white;
  margin-bottom: 2px;
}

.cat-card span {
  font-size: 0.75rem;
  color: var(--primary-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Home B2B Callout */
.home-b2b-callout {
  margin: 0 8% 60px;
  padding: 40px;
  border-radius: var(--border-radius);
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.b2b-callout-text h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: var(--accent);
}

.b2b-callout-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.b2b-features-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.b2b-feature-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}

.b2b-feature-item svg {
  width: 16px;
  height: 16px;
  color: var(--success);
}

.b2b-callout-btn {
  background: var(--accent);
  color: white;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.b2b-callout-btn:hover {
  background: hsl(38, 92%, 40%);
}

/* ==========================================
   VIEW 2: SHOP / CATALOG VIEW
   ========================================== */
.shop-container {
  padding: 30px 8%;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  align-items: start;
}

/* Sidebar Filters */
.filters-sidebar {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 20px;
  position: sticky;
  top: 90px;
}

.sidebar-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.sidebar-title-row h3 {
  font-size: 1.1rem;
}

.btn-reset-filters {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
}

.filter-group {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.filter-group:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.filter-group h4 {
  font-size: 0.85rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

/* Search Box */
.search-wrapper {
  position: relative;
}

.search-input {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 10px 36px 10px 12px;
  border-radius: var(--border-radius);
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.search-input:focus {
  border-color: var(--primary);
}

.search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

/* Checkbox Filters */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  cursor: pointer;
}

.checkbox-label input {
  width: 15px;
  height: 15px;
  accent-color: var(--primary);
}

/* Slider */
.price-range-slider {
  width: 100%;
  accent-color: var(--primary);
  cursor: pointer;
}

.price-slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* Size Grid Filter */
.size-grid-filter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.size-btn-filter {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 6px 0;
  text-align: center;
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.size-btn-filter.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* Catalog Grid Header */
.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.catalog-header p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.sort-wrapper select {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: var(--border-radius);
  font-size: 0.85rem;
  cursor: pointer;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

/* Product Cards */
.product-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
  position: relative;
}

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

.product-badge-discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--success);
  color: white;
  padding: 3px 6px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  z-index: 10;
}

.product-card-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1.2;
  background: var(--bg-secondary);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-card-img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

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

.product-card-details {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid var(--border-color);
}

.product-card-category {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}

.product-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.product-card-name:hover {
  color: var(--primary);
}

.product-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.product-card-rating span {
  color: var(--text-muted);
}

.product-card-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.product-price-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-discounted {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
}

.price-original {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-btn-add {
  background: var(--text-primary);
  color: var(--bg-primary);
  width: 32px;
  height: 32px;
  border-radius: var(--border-radius);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.product-btn-add:hover {
  background: var(--primary);
  color: white;
}

.product-btn-add svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.b2b-moq-badge {
  font-size: 0.7rem;
  background: var(--accent-light);
  color: var(--accent);
  padding: 3px;
  border-radius: 3px;
  margin-top: 10px;
  font-weight: 700;
  text-align: center;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.pagination-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ==========================================
   VIEW 3: DETAIL MODAL VIEW
   ========================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.15s ease forwards;
}

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

.modal-content {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 780px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-close-modal {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--text-secondary);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 20;
  transition: var(--transition-fast);
}

.btn-close-modal:hover {
  background: var(--primary);
  color: white;
}

.modal-img-col {
  background: var(--bg-secondary);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.modal-img-col img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.06));
}

.modal-info-col {
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.modal-category {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.modal-name {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.modal-price-box {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}

.modal-price-box .price-discounted {
  font-size: 1.4rem;
}

.modal-price-box .discount-percent {
  background: var(--success-light);
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
}

.modal-description {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.attrib-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: block;
  text-transform: uppercase;
}

.color-swatches-detail {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.color-swatch-detail {
  padding: 6px 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-radius: var(--border-radius);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.color-swatch-detail.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

.size-grid-detail {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-bottom: 20px;
}

.size-btn-detail {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 8px 0;
  text-align: center;
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.size-btn-detail.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* Modal Actions */
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.modal-action-row {
  display: flex;
  gap: 10px;
}

.qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  height: 42px;
}

.qty-btn {
  width: 36px;
  height: 100%;
  color: var(--text-primary);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.qty-val {
  width: 32px;
  text-align: center;
  font-weight: 600;
}

.btn-add-modal {
  flex: 1;
  background: var(--primary);
  color: white;
  border-radius: var(--border-radius);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  height: 42px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.btn-add-modal svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.modal-b2b-cta-box {
  background: var(--accent-light);
  border: 1px dashed var(--accent);
  padding: 10px 14px;
  border-radius: var(--border-radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.b2b-notice-text h5 {
  color: var(--accent);
  font-size: 0.85rem;
}

.b2b-notice-text p {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.btn-b2b-modal-inquiry {
  background: var(--accent);
  color: white;
  padding: 6px 12px;
  border-radius: var(--border-radius);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================
   VIEW 3: BULK ORDERS (B2B PORTAL)
   ========================================== */
.bulk-portal-wrapper {
  padding: 40px 8%;
}

.bulk-hero-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  margin-bottom: 60px;
  align-items: center;
}

.bulk-hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
  color: var(--accent);
}

.bulk-hero-text p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 24px;
}

.discount-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tier-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 18px;
  border-radius: var(--border-radius);
  text-align: center;
}

.tier-card.featured {
  border-color: var(--accent);
  background: var(--accent-light);
}

.tier-card h3 {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.tier-qty {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
}

.tier-discount {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--success);
  margin-bottom: 8px;
}

.tier-perks {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Calculator tool */
.b2b-tool-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 30px;
}

.calculator-col h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.calculator-col h2 svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.b2b-form-group {
  margin-bottom: 16px;
}

.b2b-form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.b2b-select,
.b2b-input {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
}

.calc-grid-size-dist {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.size-qty-input-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.size-qty-input-box span {
  font-size: 0.75rem;
  font-weight: 700;
}

.size-qty-input-box input {
  width: 100%;
  text-align: center;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 6px;
  border-radius: var(--border-radius);
  font-size: 0.85rem;
}

.moq-check-info {
  font-size: 0.8rem;
  margin-top: 6px;
  font-weight: 600;
}

.moq-check-info.valid {
  color: var(--success);
}

.moq-check-info.invalid {
  color: var(--primary);
}

/* Quotation Sheet Col */
.quotation-col {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.quote-header {
  border-bottom: 2px dashed var(--border-color);
  padding-bottom: 12px;
  margin-bottom: 16px;
  text-align: center;
}

.quote-header h3 {
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.quote-header span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.quote-item-details {
  font-size: 0.85rem;
}

.quote-item-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.quote-item-row.highlight {
  color: var(--text-primary);
  font-weight: 700;
}

.quote-item-row.savings {
  color: var(--success);
  font-weight: 700;
}

.quote-total-divider {
  border-bottom: 1px solid var(--border-color);
  margin: 12px 0;
}

.quote-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.quote-total-label {
  font-weight: 700;
}

.quote-total-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.b2b-tier-reached-msg {
  background: var(--accent-light);
  color: var(--accent);
  padding: 8px;
  border-radius: var(--border-radius);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.btn-request-quote {
  background: var(--accent);
  color: white;
  width: 100%;
  padding: 12px;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.btn-request-quote:hover:not(:disabled) {
  background: hsl(38, 92%, 40%);
}

.btn-request-quote:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* B2B Rfq Drawer Overlay */
.b2b-form-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 10001;
  display: none;
  justify-content: flex-end;
}

.b2b-form-overlay.active {
  display: flex;
}

.b2b-drawer {
  background: var(--bg-primary);
  border-left: 1px solid var(--border-color);
  width: 100%;
  max-width: 440px;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 30px;
  overflow-y: auto;
  animation: slideLeft 0.2s ease forwards;
}

@keyframes slideLeft {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

.b2b-drawer h2 {
  font-size: 1.4rem;
  margin-bottom: 6px;
  color: var(--accent);
}

.b2b-drawer p {
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-bottom: 24px;
}

.b2b-drawer-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.b2b-drawer-form textarea {
  width: 100%;
  height: 80px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 10px 12px;
  border-radius: var(--border-radius);
  font-size: 0.85rem;
  resize: none;
}

/* ==========================================
   VIEW 4: CART & CHECKOUT
   ========================================== */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 10002;
  display: none;
  justify-content: flex-end;
}

.cart-drawer-overlay.active {
  display: flex;
}

.cart-drawer {
  background: var(--bg-primary);
  border-left: 1px solid var(--border-color);
  width: 100%;
  max-width: 400px;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.cart-header h3 {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-item-list {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: var(--border-radius);
  background: var(--bg-secondary);
}

.cart-item-info h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-meta {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.cart-item-qty-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-qty-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 22px;
  height: 22px;
  border-radius: 3px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cart-qty-val {
  font-size: 0.8rem;
  font-weight: 600;
}

.cart-item-price-side {
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-price {
  font-weight: 700;
  font-size: 0.9rem;
}

.cart-item-delete {
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  margin-top: 10px;
  align-self: flex-end;
}

.cart-item-delete:hover {
  color: var(--primary);
}

.cart-item-delete svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.cart-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.cart-totals-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.cart-totals-row.grand-total {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.btn-checkout {
  background: var(--primary);
  color: white;
  width: 100%;
  padding: 12px;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

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

/* Empty states */
.empty-cart-state,
.empty-catalog {
  text-align: center;
  padding: 40px 10px;
  color: var(--text-secondary);
}

.empty-cart-state svg {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  opacity: 0.4;
}

/* ==========================================
   CHECKOUT PAGE VIEW
   ========================================== */
.checkout-wrapper {
  padding: 30px 8%;
  max-width: 960px;
  margin: 0 auto;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
}

.checkout-form-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 24px;
}

.checkout-form-box h2 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.form-two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.payment-options {
  margin-top: 10px;
}

.payment-option-label {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 12px;
  border-radius: var(--border-radius);
  cursor: pointer;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 0.85rem;
}

.payment-option-label input {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

/* Summary Box */
.order-summary-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 24px;
}

.order-summary-box h2 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.summary-items-list {
  max-height: 240px;
  overflow-y: auto;
  margin-bottom: 16px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.summary-item strong {
  color: var(--text-primary);
}

.success-screen {
  text-align: center;
  max-width: 440px;
  margin: 40px auto;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 30px;
}

.success-icon-circle {
  width: 60px;
  height: 60px;
  background: var(--success-light);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 16px;
}

.success-icon-circle svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.success-screen h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.success-screen p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.order-id-label {
  background: var(--bg-primary);
  border: 1px dashed var(--border-color);
  padding: 8px 16px;
  border-radius: var(--border-radius);
  font-family: monospace;
  font-size: 1rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 20px;
}

/* ==========================================
   VIEW 5: SIMULATED ADMIN VIEW
   ========================================== */
.admin-wrapper {
  padding: 30px 8%;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.admin-header h1 {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-header h1 span {
  font-size: 0.75rem;
  background: var(--primary-light);
  color: var(--primary);
  padding: 3px 8px;
  border-radius: 3px;
}

.admin-tabs {
  display: flex;
  gap: 8px;
}

.admin-tab-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.admin-tab-btn.active {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

.admin-dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.metric-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--border-radius);
}

.metric-card-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}

.metric-card-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.metric-card-trend {
  font-size: 0.75rem;
  font-weight: 600;
}

.metric-card-trend.up {
  color: var(--success);
}

.metric-card-trend.neutral {
  color: var(--text-secondary);
}

/* Charts */
.admin-charts-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  margin-bottom: 30px;
}

.admin-chart-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 20px;
}

.admin-chart-box h3 {
  font-size: 1rem;
  margin-bottom: 16px;
}

.analytics-chart-mock {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 2px solid var(--border-color);
  gap: 12px;
}

.chart-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
}

.chart-bar-fill {
  width: 70%;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 2px 2px 0 0;
  position: relative;
  min-height: 4px;
}

.chart-bar-fill:hover::after {
  content: attr(data-value);
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-primary);
  color: var(--bg-primary);
  padding: 2px 4px;
  border-radius: 3px;
  font-size: 0.7rem;
  white-space: nowrap;
  z-index: 10;
}

.chart-bar-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-top: 6px;
}

.admin-panel-section {
  display: none;
}

.admin-panel-section.active {
  display: block;
}

/* Tables */
.admin-table-wrapper {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th {
  background: var(--bg-secondary);
  padding: 12px 16px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-color);
}

.admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.85rem;
}

.admin-table tr:hover td {
  background: var(--bg-secondary);
}

.admin-table-item-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
}

.status-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-badge.pending {
  background: var(--accent-light);
  color: var(--accent);
}

.status-badge.completed {
  background: var(--success-light);
  color: var(--success);
}

.btn-admin-action {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 4px 8px;
  border-radius: var(--border-radius);
  font-size: 0.75rem;
  cursor: pointer;
  font-weight: 700;
}

.btn-admin-action:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.admin-stock-edit-input {
  width: 60px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 4px;
  border-radius: var(--border-radius);
  text-align: center;
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 50px 8% 24px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.footer-brand-col h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.footer-brand-col h3 span {
  color: var(--primary);
}

.footer-brand-col p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--border-radius);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.footer-social-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.footer-col h4 {
  font-size: 0.85rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Toast Notifications */
.notification-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 11000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary);
  padding: 12px 18px;
  border-radius: var(--border-radius);
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  font-size: 0.8rem;
  font-weight: 600;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: slideInRight 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.15) forwards;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.toast.success {
  border-left-color: var(--success);
}

.toast.info {
  border-left-color: var(--secondary);
}

.toast.warning {
  border-left-color: var(--accent);
}

/* ==========================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================== */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 8%;
  }

  .hero-actions {
    justify-content: center;
  }

  .shop-container {
    grid-template-columns: 1fr;
  }

  .filters-sidebar {
    position: static;
    margin-bottom: 20px;
  }

  .b2b-tool-section {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-charts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header {
    padding: 16px 20px;
  }

  nav {
    display: none;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .cat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-b2b-callout {
    flex-direction: column;
    padding: 30px 20px;
    text-align: center;
  }

  .b2b-features-list {
    justify-content: center;
  }

  .modal-content {
    grid-template-columns: 1fr;
    max-height: 90vh;
  }

  .modal-img-col {
    padding: 20px;
  }

  .modal-img-col img {
    max-height: 180px;
  }

  .bulk-hero-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .discount-tiers-grid {
    grid-template-columns: 1fr;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Policy Pages Layout */
.policy-page-container {
  max-width: 900px;
  margin: 140px auto 80px;
  padding: 0 24px;
}
.policy-header {
  text-align: center;
  margin-bottom: 48px;
}
.policy-header h1 {
  font-size: 2.8rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.policy-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}
.policy-body {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 40px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}
.policy-body h2 {
  font-size: 1.5rem;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}
.policy-body h2:first-of-type {
  margin-top: 0;
}
.policy-body p {
  margin-bottom: 16px;
}
.policy-body ul {
  margin-bottom: 20px;
  padding-left: 20px;
}
.policy-body ul li {
  margin-bottom: 8px;
}
.policy-body strong {
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .policy-page-container {
    margin-top: 100px;
    margin-bottom: 40px;
  }
  .policy-header h1 {
    font-size: 2.2rem;
  }
  .policy-body {
    padding: 24px;
  }
}