/* =============================================
   DELYCARS - WooCommerce Theme
   Style fidèle à delycars.fr
   ============================================= */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800&display=swap');

/* ---- Variables ---- */
:root {
  --primary:        #1e2d7d;
  --accent:         #00badb;
  --accent-dark:    #00798e;
  --black:          #000000;
  --white:          #ffffff;
  --light-bg:       #f3f5f6;
  --text-main:      #1e2d7d;
  --text-muted:     #677279;
  --border-color:   #e1e3e4;
  --header-text:    #a3afef;
  --font:           'Barlow', sans-serif;
  --radius:         4px;
  --shadow:         0 2px 12px rgba(0,0,0,0.08);
  --transition:     0.2s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text-main);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button, input, select, textarea { font-family: var(--font); }

/* ---- Container ---- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   ANNOUNCEMENT BAR
   ============================================= */
.announcement-bar {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.announcement-bar a { color: var(--accent); }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 20px;
}
.header-logo img {
  max-width: 140px;
  height: auto;
}
.header-search {
  flex: 1;
  max-width: 420px;
  position: relative;
}
.header-search input {
  width: 100%;
  padding: 10px 44px 10px 16px;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  font-size: 14px;
  color: var(--text-main);
  outline: none;
  transition: border-color var(--transition);
  background: var(--light-bg);
}
.header-search input:focus { border-color: var(--accent); background: var(--white); }
.header-search button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
  display: flex;
  align-items: center;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-actions a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  transition: color var(--transition);
}
.header-actions a:hover { color: var(--accent); }
.cart-count {
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-left: 2px;
}

/* =============================================
   NAVIGATION
   ============================================= */
.main-nav {
  background: var(--primary);
}
.nav-inner {
  display: flex;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-item {
  position: relative;
}
.nav-item > a {
  display: block;
  padding: 14px 18px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color var(--transition), background var(--transition);
}
.nav-item > a:hover,
.nav-item.active > a {
  color: var(--accent);
  background: rgba(255,255,255,0.05);
}

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--accent);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  min-width: 240px;
  z-index: 200;
}
.nav-item:hover .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text-main);
  border-bottom: 1px solid var(--light-bg);
  transition: background var(--transition), color var(--transition);
}
.dropdown a:hover {
  background: var(--light-bg);
  color: var(--accent);
  padding-left: 26px;
}
.dropdown-group {
  display: flex;
}
.dropdown-col {
  min-width: 200px;
  border-right: 1px solid var(--border-color);
}
.dropdown-col:last-child { border-right: none; }
.dropdown-col-title {
  padding: 12px 20px 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  border-bottom: 1px solid var(--border-color);
}

/* =============================================
   HERO / BANNERS
   ============================================= */
.hero-banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.hero-banner {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}
.hero-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hero-banner:hover img { transform: scale(1.03); }
.hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}
.hero-banner-content {
  position: relative;
  z-index: 2;
  padding: 32px 36px;
  color: var(--white);
}
.hero-banner-content h2 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.hero-banner-content p {
  font-size: 15px;
  margin-bottom: 20px;
  opacity: 0.9;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,186,219,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}
.btn-dark {
  background: var(--primary);
  color: var(--white);
}
.btn-dark:hover { background: #162060; color: var(--white); }

/* =============================================
   SECTION TITLES
   ============================================= */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 15px;
}
.section-header .accent-line {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* =============================================
   PRODUCT GRID
   ============================================= */
.products-section { padding: 60px 0; background: var(--white); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.product-card-image {
  position: relative;
  overflow: hidden;
  padding-top: 100%;
  background: var(--light-bg);
}
.product-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.06); }
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 2px;
  text-transform: uppercase;
  z-index: 2;
}
.product-card-body {
  padding: 16px;
}
.product-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}
.product-card-price .old-price {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 6px;
}
.product-card .btn-add-cart {
  width: 100%;
  background: var(--primary);
  color: var(--white);
  padding: 10px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background var(--transition);
  text-align: center;
  display: block;
}
.product-card .btn-add-cart:hover { background: var(--accent); }

/* =============================================
   CATEGORIES GRID
   ============================================= */
.categories-section { padding: 60px 0; background: var(--light-bg); }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.category-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--primary);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--transition);
}
.category-card:hover { transform: translateY(-3px); }
.category-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  opacity: 0.9;
}
.category-card-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 24px;
}
.category-card-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.category-card-content p {
  font-size: 13px;
  opacity: 0.85;
}

/* =============================================
   USP BAR (avantages)
   ============================================= */
.usp-bar {
  background: var(--primary);
  padding: 32px 0;
  color: var(--white);
}
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.usp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.usp-item svg { color: var(--accent); }
.usp-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.usp-item p {
  font-size: 13px;
  opacity: 0.8;
}

/* =============================================
   NEWSLETTER
   ============================================= */
.newsletter-section {
  background: var(--accent);
  padding: 48px 0;
  color: var(--white);
  text-align: center;
}
.newsletter-section h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}
.newsletter-section p { font-size: 15px; opacity: 0.9; margin-bottom: 24px; }
.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  font-size: 15px;
  outline: none;
  color: var(--primary);
}
.newsletter-form button {
  background: var(--primary);
  color: var(--white);
  padding: 14px 24px;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  transition: background var(--transition);
}
.newsletter-form button:hover { background: #162060; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--light-bg);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.footer-col p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  font-size: 15px;
}
.footer-social a:hover { background: var(--accent); color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-payments {
  display: flex;
  gap: 8px;
  align-items: center;
}
.footer-payments img {
  height: 24px;
  border-radius: 3px;
  filter: grayscale(0.3);
}
.payment-badge {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* =============================================
   SHOP PAGE
   ============================================= */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 40px 0;
}
.shop-sidebar h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}
.filter-group { margin-bottom: 28px; }
.filter-group ul { display: flex; flex-direction: column; gap: 6px; }
.filter-group ul li label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition);
}
.filter-group ul li label:hover { color: var(--primary); }
.filter-group ul li input[type=checkbox] { accent-color: var(--accent); width: 15px; height: 15px; }
.price-range-inputs {
  display: flex;
  gap: 8px;
  align-items: center;
}
.price-range-inputs input {
  width: 80px;
  padding: 8px 10px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--primary);
}
.shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.shop-header p { font-size: 14px; color: var(--text-muted); }
.shop-header select {
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--primary);
  background: var(--white);
  cursor: pointer;
}

/* =============================================
   PRODUCT SINGLE
   ============================================= */
.product-single {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 40px 0;
  align-items: start;
}
.product-gallery-main {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--light-bg);
}
.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.product-gallery-thumbs img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--transition);
}
.product-gallery-thumbs img:hover,
.product-gallery-thumbs img.active { border-color: var(--accent); }
.product-info h1 {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.3;
}
.product-price-big {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
}
.product-price-big .old {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 10px;
}
.product-variants { margin-bottom: 20px; }
.product-variants label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.variant-btn {
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
  color: var(--primary);
}
.variant-btn:hover,
.variant-btn.active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}
.qty-add-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  align-items: center;
}
.qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty-selector button {
  width: 40px;
  height: 46px;
  background: var(--light-bg);
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--primary);
  transition: background var(--transition);
}
.qty-selector button:hover { background: var(--border-color); }
.qty-selector input {
  width: 60px;
  height: 46px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  outline: none;
}
.btn-add-to-cart-big {
  flex: 1;
  background: var(--primary);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.btn-add-to-cart-big:hover { background: var(--accent); }
.product-meta { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border-color); }
.product-meta p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.product-meta span { color: var(--primary); font-weight: 600; }

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 0;
}
.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb-inner a { color: var(--accent); }
.breadcrumb-inner span { color: var(--text-muted); }

/* =============================================
   CART / CHECKOUT
   ============================================= */
.cart-page { padding: 40px 0; }
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 32px; }
.cart-table th {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--border-color);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.cart-table td { padding: 16px; border-bottom: 1px solid var(--border-color); vertical-align: middle; }
.cart-product-info { display: flex; align-items: center; gap: 16px; }
.cart-product-info img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border-color); }
.cart-product-info h4 { font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 4px; }
.cart-product-info p { font-size: 12px; color: var(--text-muted); }
.remove-item { background: none; border: none; color: #fc2a68; cursor: pointer; font-size: 18px; }
.cart-summary {
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 380px;
  margin-left: auto;
}
.cart-summary h3 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 20px; }
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-muted);
}
.cart-summary-row.total {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  border-top: 2px solid var(--border-color);
  padding-top: 12px;
  margin-top: 4px;
}

/* =============================================
   PAGE CONTENT (CGV, Mentions, Livraison...)
   ============================================= */
.page-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px;
}
.page-content h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--accent);
}
.page-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin: 28px 0 12px;
}
.page-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin: 20px 0 8px;
}
.page-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}
.page-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 14px;
}
.page-content ul li {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 6px;
  line-height: 1.7;
}
.page-content a { color: var(--accent); text-decoration: underline; }
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.page-content table th, .page-content table td {
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  font-size: 14px;
  text-align: left;
}
.page-content table th { background: var(--light-bg); font-weight: 700; color: var(--primary); }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px 0;
}
.contact-info h2 { font-size: 24px; font-weight: 800; color: var(--primary); margin-bottom: 20px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}
.contact-info-item svg { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 16px;
  outline: none;
  transition: border-color var(--transition);
  background: var(--white);
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { resize: vertical; min-height: 130px; }

/* =============================================
   PAGINATION
   ============================================= */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 40px 0 20px;
}
.pagination a, .pagination span {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  transition: all var(--transition);
}
.pagination a:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.pagination span.current { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* =============================================
   MINI CART DRAWER
   ============================================= */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  height: 100%;
  background: var(--white);
  z-index: 999;
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { right: 0; }
.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
}
.cart-drawer-header h3 { font-size: 18px; font-weight: 700; color: var(--primary); }
.cart-drawer-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-muted);
}
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-color);
}
.cart-drawer-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}
.cart-item-drawer {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--light-bg);
}
.cart-item-drawer img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border-color); }
.cart-item-drawer-info { flex: 1; }
.cart-item-drawer-info h4 { font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 4px; line-height: 1.4; }
.cart-item-drawer-info p { font-size: 13px; color: var(--text-muted); }
.cart-item-drawer-price { font-size: 15px; font-weight: 700; color: var(--primary); }

/* =============================================
   MOBILE MENU
   ============================================= */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: -100%;
  width: 85%;
  max-width: 360px;
  height: 100%;
  background: var(--white);
  z-index: 1000;
  overflow-y: auto;
  transition: left 0.3s ease;
  box-shadow: 4px 0 24px rgba(0,0,0,0.15);
}
.mobile-menu.open { left: 0; }
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  background: var(--primary);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}
.mobile-nav a {
  display: block;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  border-bottom: 1px solid var(--light-bg);
  text-transform: uppercase;
}
.mobile-nav a:hover { color: var(--accent); background: var(--light-bg); }
.mobile-nav-sub a {
  padding-left: 36px;
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  color: var(--text-muted);
}

/* =============================================
   UTILITIES
   ============================================= */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.hidden { display: none !important; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.badge-new { background: #6f42ef; color: var(--white); font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 2px; text-transform: uppercase; }
.badge-promo { background: #fc2a68; color: var(--white); font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 2px; text-transform: uppercase; }
.badge-dispo { background: var(--accent); color: var(--white); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: var(--radius); display: inline-block; margin-bottom: 12px; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-banners { grid-template-columns: 1fr; }
  .hero-banner { min-height: 320px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .product-single { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .header-search { display: none; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-banner-content h2 { font-size: 22px; }
  .cart-drawer { width: 100%; right: -100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .section-header h2 { font-size: 22px; }
  .hero-banner { min-height: 260px; }
  .usp-grid { grid-template-columns: 1fr; }
}
