/* ============================================
   HYLVOX - Premium Human Hair Wigs
   Elegant E-Commerce Stylesheet
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #1C1C1E;
  --accent: #B76E79;
  --cta: #C5975B;
  --bg: #FFF8F0;
  --card-bg: #FFFFFF;
  --text: #333333;
  --text-light: #777777;
  --border: #E8E0D8;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --max-w: 1280px;
  --transition: 0.3s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: 'Playfair Display', serif; font-weight: 700; line-height: 1.2; color: var(--primary); }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ---------- Utility ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.text-center { text-align: center; }
.section-title { font-size: 2rem; margin-bottom: 0.4em; }
.section-subtitle { color: var(--text-light); font-size: 1.05rem; margin-bottom: 2rem; }

/* ---------- Announcement Bar ---------- */
.announcement-bar {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 3px;
}
.logo a { color: var(--primary); }

/* Desktop Nav */
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  padding: 8px 0;
  position: relative;
}
.main-nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.main-nav > li > a:hover::after,
.main-nav > li > a.active::after { width: 100%; }

/* Dropdown */
.dropdown-toggle::after {
  content: ' ▾';
  font-size: 0.7em;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  min-width: 220px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 100;
}
.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--text);
  transition: background var(--transition);
}
.dropdown-menu li a:hover {
  background: var(--bg);
  color: var(--accent);
}

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 16px; }
.cart-btn {
  position: relative;
  font-size: 1.4rem;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
}
.cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-count.hidden { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 16px 20px;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 0; }
.mobile-nav ul li a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.mobile-nav ul li:last-child a { border-bottom: none; }
.mobile-nav .mobile-dropdown-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.mobile-nav .mobile-dropdown-items {
  display: none;
  padding-left: 16px;
}
.mobile-nav .mobile-dropdown-items.open { display: block; }
.mobile-nav .mobile-dropdown-items a {
  font-weight: 400;
  font-size: 0.95rem;
  border-bottom: 1px solid #f0ebe4;
}

/* ---------- Hero Slider ---------- */
.hero-slider {
  position: relative;
  overflow: hidden;
  max-height: 560px;
}
.hero-slide {
  display: none;
  position: relative;
}
.hero-slide.active { display: block; }
.hero-slide img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(28,28,30,0.65) 0%, rgba(28,28,30,0.15) 60%, transparent 100%);
  display: flex;
  align-items: center;
  padding-left: 8%;
}
.hero-content { color: #fff; max-width: 520px; }
.hero-content h1 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.15;
}
.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 24px;
  opacity: 0.9;
}
.btn-primary {
  display: inline-block;
  background: var(--cta);
  color: #fff;
  padding: 14px 36px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all var(--transition);
}
.btn-primary:hover {
  background: #b8873f;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(197,151,91,0.4);
}
.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  border: none;
  transition: background var(--transition);
}
.hero-dot.active { background: #fff; }

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.trust-items {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.trust-icon {
  font-size: 1.6rem;
}

/* ---------- Section Padding ---------- */
.section { padding: 64px 0; }

/* ---------- Category Cards ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.category-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.category-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.category-card:hover img { transform: scale(1.05); }
.category-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(28,28,30,0.8));
  padding: 24px 16px 16px;
  color: #fff;
}
.category-card-overlay h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 4px;
}
.category-card-overlay span {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* ---------- Product Grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

/* ---------- Product Card ---------- */
.product-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.product-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: #f5f0eb;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-sale-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #D94F4F;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 3px;
}
.product-card-body { padding: 16px; }
.product-card-name {
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}
.product-card-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.price-sale {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}
.price-original {
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: line-through;
}
.btn-add-cart {
  width: 100%;
  background: var(--cta);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition);
}
.btn-add-cart:hover {
  background: #b8873f;
}

/* ---------- About Preview ---------- */
.about-preview {
  display: flex;
  align-items: center;
  gap: 48px;
}
.about-preview-text { flex: 1; }
.about-preview-text h2 { margin-bottom: 16px; }
.about-preview-text p { color: var(--text-light); margin-bottom: 20px; line-height: 1.8; }
.about-preview-image { flex: 1; }
.about-preview-image img { border-radius: var(--radius); }
.btn-outline {
  display: inline-block;
  border: 2px solid var(--cta);
  color: var(--cta);
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: all var(--transition);
}
.btn-outline:hover {
  background: var(--cta);
  color: #fff;
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--primary);
  padding: 48px 0;
  color: #fff;
}
.newsletter h2 { color: #fff; margin-bottom: 8px; }
.newsletter p { opacity: 0.8; margin-bottom: 24px; }
.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 0;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 16px;
  border: none;
  border-radius: 4px 0 0 4px;
  font-size: 0.95rem;
  outline: none;
}
.newsletter-form button {
  background: var(--cta);
  color: #fff;
  padding: 14px 28px;
  border: none;
  border-radius: 0 4px 4px 0;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition);
}
.newsletter-form button:hover { background: #b8873f; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand .logo a { color: #fff; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; opacity: 0.8; }
.footer-col h4 {
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 0.9rem;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.footer-col ul li a:hover { opacity: 1; color: var(--accent); }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 0.8rem; opacity: 0.6; }
.payment-icons {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  opacity: 0.6;
}
.payment-icons span {
  background: rgba(255,255,255,0.15);
  padding: 4px 10px;
  border-radius: 3px;
}

/* ---------- Page Header ---------- */
.page-header {
  background: var(--primary);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.page-header h1 { color: #fff; font-size: 2.4rem; margin-bottom: 8px; }
.page-header p { opacity: 0.8; font-size: 1.05rem; }
.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 12px;
  opacity: 0.7;
}
.breadcrumb a:hover { opacity: 1; color: var(--accent); }

/* ---------- Filter Tabs ---------- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  justify-content: center;
}
.filter-tab {
  padding: 10px 24px;
  border: 2px solid var(--border);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  background: #fff;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-tab:hover,
.filter-tab.active {
  border-color: var(--cta);
  background: var(--cta);
  color: #fff;
}

/* ---------- Sort Select ---------- */
.sort-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.sort-bar .results-count { color: var(--text-light); font-size: 0.9rem; }
.sort-select {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.9rem;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  outline: none;
}

/* ---------- Product Modal ---------- */
.product-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.product-modal-overlay.open {
  display: flex;
}
.product-modal {
  background: #fff;
  border-radius: var(--radius);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.5rem;
  color: var(--text);
  background: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition);
}
.modal-close:hover { background: var(--bg); }
.modal-gallery {
  flex: 1;
  padding: 24px;
  min-width: 0;
}
.modal-main-image {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
  background: #f5f0eb;
}
.modal-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-thumbnails {
  display: flex;
  gap: 8px;
}
.modal-thumb {
  width: 72px;
  height: 72px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
}
.modal-thumb.active { border-color: var(--cta); }
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal-info {
  flex: 1;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
}
.modal-info h2 { font-size: 1.4rem; margin-bottom: 16px; line-height: 1.3; }
.modal-price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.modal-price .price-sale { font-size: 1.5rem; }
.modal-price .price-original { font-size: 1rem; }
.modal-specs {
  margin-bottom: 20px;
}
.modal-specs dt {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.modal-specs dd {
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.modal-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
  flex: 1;
}
.modal-add-cart {
  width: 100%;
  background: var(--cta);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition);
}
.modal-add-cart:hover { background: #b8873f; }

/* ---------- Cart Drawer ---------- */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 3000;
  display: none;
}
.cart-drawer-overlay.open { display: block; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: #fff;
  z-index: 3001;
  display: flex;
  flex-direction: column;
  transition: right var(--transition);
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
}
.cart-drawer.open { right: 0; }
.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}
.cart-drawer-header h3 {
  font-size: 1.2rem;
  font-family: 'Playfair Display', serif;
}
.cart-drawer-close {
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text);
  background: none;
  border: none;
}
.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}
.cart-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.cart-item-image {
  width: 72px;
  height: 72px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-details { flex: 1; min-width: 0; }
.cart-item-name {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-item-price { font-size: 0.9rem; color: var(--cta); font-weight: 700; margin-bottom: 8px; }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-item-qty button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  background: #fff;
  transition: all var(--transition);
}
.cart-item-qty button:hover { background: var(--bg); }
.cart-item-qty span { font-size: 0.9rem; font-weight: 600; min-width: 20px; text-align: center; }
.cart-item-remove {
  font-size: 1.1rem;
  color: var(--text-light);
  cursor: pointer;
  align-self: flex-start;
  background: none;
  border: none;
  transition: color var(--transition);
}
.cart-item-remove:hover { color: #d94f4f; }
.cart-empty {
  text-align: center;
  padding: 40px 0;
  color: var(--text-light);
}
.cart-empty .empty-icon { font-size: 3rem; margin-bottom: 12px; }
.cart-drawer-footer {
  border-top: 1px solid var(--border);
  padding: 20px;
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.cart-free-shipping {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 16px;
}
.btn-checkout {
  width: 100%;
  background: var(--cta);
  color: #fff;
  padding: 14px;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-checkout:hover { background: #b8873f; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--primary);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 4000;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ---------- Cookie Consent ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: #fff;
  padding: 16px 24px;
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 0.85rem;
  flex-wrap: wrap;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { flex: 1; min-width: 200px; opacity: 0.9; }
.cookie-banner p a { text-decoration: underline; color: var(--accent); }
.cookie-accept {
  background: var(--cta);
  color: #fff;
  padding: 10px 24px;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition);
}
.cookie-accept:hover { background: #b8873f; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--accent); }
.faq-question .faq-icon {
  font-size: 1.2rem;
  transition: transform var(--transition);
}
.faq-item.open .faq-question .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 20px 18px;
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ---------- Contact Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-weight: 600; font-size: 0.9rem; }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
  background: #fff;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-error { color: #d94f4f; font-size: 0.8rem; display: none; }
.form-group.error input,
.form-group.error textarea { border-color: #d94f4f; }
.form-group.error .form-error { display: block; }
.form-success {
  background: #e6f9e6;
  color: #2d7a2d;
  padding: 12px;
  border-radius: 4px;
  font-size: 0.9rem;
  display: none;
}
.contact-info-card {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-info-card h3 { margin-bottom: 20px; }
.contact-info-item {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.contact-info-item .ci-icon { font-size: 1.2rem; flex-shrink: 0; }

/* ---------- Policy Pages ---------- */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.policy-content h2 {
  font-size: 1.4rem;
  margin-top: 32px;
  margin-bottom: 12px;
}
.policy-content h2:first-child { margin-top: 0; }
.policy-content p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}
.policy-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}
.policy-content ul li {
  color: var(--text-light);
  margin-bottom: 8px;
  line-height: 1.7;
}
.policy-content strong { color: var(--text); }
.policy-content a { color: var(--accent); text-decoration: underline; }

/* ---------- About Page ---------- */
.about-hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.about-hero h2 { font-size: 2rem; margin-bottom: 16px; }
.about-hero p { color: var(--text-light); font-size: 1.1rem; line-height: 1.8; }
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.about-value {
  text-align: center;
  padding: 32px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-value .value-icon { font-size: 2.5rem; margin-bottom: 16px; }
.about-value h3 { font-size: 1.1rem; margin-bottom: 8px; }
.about-value p { color: var(--text-light); font-size: 0.9rem; line-height: 1.7; }

/* ---------- Category Page Description ---------- */
.category-desc {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 32px;
}
.category-desc p { color: var(--text-light); line-height: 1.7; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-values { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .hero-content h1 { font-size: 2rem; }
  .hero-slide img { height: 360px; }
  .hero-slider { max-height: 360px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-preview { flex-direction: column; }
  .product-modal { flex-direction: column; }
  .modal-gallery { padding: 16px; }
  .modal-info { padding: 16px; }
  .trust-items { gap: 24px; }
  .filter-tabs { gap: 6px; }
  .filter-tab { padding: 8px 16px; font-size: 0.8rem; }
  .policy-content { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-values { grid-template-columns: 1fr; }
  .section-title { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .category-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card-body { padding: 10px; }
  .product-card-name { font-size: 0.8rem; }
  .btn-add-cart { padding: 8px; font-size: 0.75rem; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { border-radius: 4px; }
  .newsletter-form button { border-radius: 4px; }
}
