/*
Theme Name: AZ Asian Food
Theme URI: https://az-asianfood.fr
Description: Épicerie asiatique authentique — design premium noir & or
Author: AZ Asian Food
Template: twentytwentyfive
Version: 2.0.0
Text Domain: az-asianfood
*/

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  background: #0d0d0d !important;
  color: #f5f0e8 !important;
  line-height: 1.6;
}

h1,h2,h3,h4,h5,h6 { color: #f5f0e8 !important; }
a { color: #c9a227 !important; text-decoration: none !important; }
a:hover { color: #e0b730 !important; }
img { max-width: 100%; }

/* ===== BANDEAU PROMO ===== */
.az-banner-strip {
  background: #c9a227 !important;
  color: #0d0d0d !important;
  text-align: center;
  padding: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ===== HEADER / NAVIGATION ===== */
header, .site-header,
.wp-block-template-part[data-slug="header"] {
  background: #0d0d0d !important;
  border-bottom: 2px solid #c9a227 !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
}

.wp-block-site-title a, .site-title a {
  color: #c9a227 !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: 1px !important;
}

.wp-block-navigation a, nav a, .nav-links a {
  color: #aaa !important;
  font-size: 13px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  transition: color 0.2s !important;
}
.wp-block-navigation a:hover, nav a:hover, .nav-links a:hover {
  color: #c9a227 !important;
}

/* ===== HERO SECTION ===== */
.az-hero, .wp-block-cover.az-hero {
  background: #1a0a00 !important;
  min-height: 540px;
  display: flex !important;
  align-items: center !important;
  padding: 4rem 2.5rem !important;
  position: relative !important;
  overflow: hidden !important;
}
.az-hero::before {
  content: '';
  position: absolute; right: -100px; top: -100px;
  width: 550px; height: 550px;
  border: 80px solid rgba(201,162,39,0.06);
  border-radius: 50%;
  pointer-events: none;
}
.az-hero-badge {
  display: inline-block;
  background: rgba(201,162,39,0.12);
  border: 1px solid rgba(201,162,39,0.35);
  color: #c9a227 !important; font-size: 11px;
  letter-spacing: 3px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 20px; margin-bottom: 1.5rem;
}
.az-hero h1 {
  font-size: 54px !important; font-weight: 800 !important;
  line-height: 1.1 !important; color: #f5f0e8 !important; margin-bottom: 1.2rem !important;
}
.az-hero h1 span, .az-hero h1 em { color: #c9a227 !important; font-style: normal !important; }
.az-hero p { color: #888 !important; font-size: 16px !important; line-height: 1.9 !important; margin-bottom: 2.2rem !important; }
.az-hero-deco {
  position: absolute; right: 5rem; top: 50%; transform: translateY(-50%);
  font-size: 160px; opacity: 0.05; user-select: none;
  line-height: 1.1; color: #c9a227; pointer-events: none;
}

/* ===== BOUTONS ===== */
.btn-primary, .wp-block-button__link,
.woocommerce a.button, .woocommerce button.button,
.woocommerce input[type="submit"],
.woocommerce .wc-proceed-to-checkout a,
.woocommerce #place_order,
.woocommerce .checkout-button {
  background: #c9a227 !important;
  color: #0d0d0d !important;
  border: none !important;
  padding: 12px 30px !important;
  border-radius: 5px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  letter-spacing: 1px !important;
  transition: background 0.2s !important;
  text-decoration: none !important;
  display: inline-block !important;
}
.btn-primary:hover, .wp-block-button__link:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce input[type="submit"]:hover {
  background: #e0b730 !important;
  color: #0d0d0d !important;
}

.btn-secondary {
  background: transparent !important;
  color: #c9a227 !important;
  border: 1.5px solid #c9a227 !important;
  padding: 11px 28px !important;
  border-radius: 5px !important;
  font-size: 13px !important; font-weight: 600 !important;
  cursor: pointer !important; letter-spacing: 1px !important;
  transition: all 0.2s !important;
  text-decoration: none !important; display: inline-block !important;
}
.btn-secondary:hover { background: rgba(201,162,39,0.1) !important; }

/* ===== SECTIONS ===== */
.az-section { padding: 4.5rem 2.5rem; }
.az-section-header { text-align: center; margin-bottom: 3rem; }
.az-section-header h2 { font-size: 32px !important; font-weight: 700 !important; color: #f5f0e8 !important; margin-bottom: 0.6rem !important; }
.az-section-header p { color: #666; font-size: 14px; letter-spacing: 1px; }
.az-section-line { width: 50px; height: 3px; background: #c9a227; margin: 1rem auto 0; border-radius: 2px; }

/* ===== CATÉGORIES ===== */
.az-cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.2rem;
}
.az-cat-card {
  background: #1a1a1a !important; border: 1px solid #252525 !important;
  border-radius: 12px; padding: 2rem 1rem; text-align: center;
  cursor: pointer; transition: border-color 0.2s, transform 0.2s;
  text-decoration: none !important; display: block !important;
  color: #e0d5c0 !important;
}
.az-cat-card:hover { border-color: #c9a227 !important; transform: translateY(-4px) !important; }
.az-cat-icon { font-size: 44px; margin-bottom: 0.8rem; display: block; }
.az-cat-name { font-size: 13px; font-weight: 600; color: #e0d5c0 !important; letter-spacing: 0.5px; }
.az-cat-count { font-size: 11px; color: #555; margin-top: 4px; }

/* WooCommerce categories widget */
.woocommerce ul.product-categories li a {
  color: #e0d5c0 !important; font-size: 13px !important;
}
.woocommerce ul.product-categories li a:hover { color: #c9a227 !important; }

/* ===== GRILLE PRODUITS WOOCOMMERCE ===== */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(195px, 1fr)) !important;
  gap: 1.4rem !important;
  padding: 0 !important;
  list-style: none !important;
}

.woocommerce ul.products li.product {
  background: #1c1c1c !important;
  border: 1px solid #272727 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  transition: border-color 0.2s, transform 0.2s !important;
  margin: 0 !important;
  float: none !important;
}
.woocommerce ul.products li.product:hover {
  border-color: #c9a227 !important;
  transform: translateY(-3px) !important;
}

.woocommerce ul.products li.product a img {
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;
  background: #222 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #e8e0cc !important;
  padding: 12px 14px 4px !important;
  margin: 0 !important;
}

.woocommerce ul.products li.product .price {
  color: #c9a227 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  padding: 4px 14px 10px !important;
  display: block !important;
}

.woocommerce ul.products li.product .price del {
  color: #555 !important;
  font-size: 13px !important;
}

.woocommerce ul.products li.product .button {
  margin: 0 14px 14px !important;
  width: calc(100% - 28px) !important;
  text-align: center !important;
  display: block !important;
  padding: 8px 14px !important;
  font-size: 12px !important;
}

/* Panier produit badge */
.woocommerce span.onsale {
  background: #c9a227 !important;
  color: #0d0d0d !important;
  border-radius: 3px !important;
  font-weight: 700 !important;
}

/* ===== PAGE PRODUIT UNIQUE ===== */
.woocommerce div.product .product_title {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #f5f0e8 !important;
  border-bottom: 1px solid #2a2a2a !important;
  padding-bottom: 12px !important;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: #c9a227 !important;
  font-size: 26px !important;
  font-weight: 700 !important;
}
.woocommerce div.product .woocommerce-product-details__short-description { color: #888 !important; }

/* Onglets */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  background: transparent !important;
  border-bottom: 1px solid #2a2a2a !important;
  padding: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: none !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: #666 !important; font-weight: 600 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: #c9a227 !important;
  border-bottom: 2px solid #c9a227 !important;
}
.woocommerce div.product .woocommerce-tabs .wc-tab { color: #888 !important; background: transparent !important; }
.woocommerce div.product .woocommerce-tabs .wc-tab h2 { color: #f5f0e8 !important; }

/* ===== AVANTAGES ===== */
.az-perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 1px solid #1e1e1e; border-bottom: 1px solid #1e1e1e;
}
.az-perk {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 2.5rem 1.5rem;
  border-right: 1px solid #1e1e1e;
}
.az-perk:last-child { border-right: none; }
.az-perk-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(201,162,39,0.08);
  border: 1px solid rgba(201,162,39,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 1rem;
}
.az-perk h3 { font-size: 15px !important; font-weight: 700 !important; color: #e0d5c0 !important; margin-bottom: 0.4rem !important; }
.az-perk p { font-size: 12px !important; color: #555 !important; line-height: 1.7 !important; }

/* ===== AVIS CLIENTS ===== */
.az-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.az-review-card {
  background: #1a1a1a; border: 1px solid #252525;
  border-radius: 12px; padding: 1.6rem;
}
.az-review-stars { color: #c9a227; font-size: 16px; margin-bottom: 0.8rem; letter-spacing: 2px; }
.az-review-text { color: #888 !important; font-size: 13px; line-height: 1.8; margin-bottom: 1.2rem; font-style: italic; }
.az-review-name { font-size: 13px; font-weight: 600; color: #e0d5c0 !important; }
.az-review-date { font-size: 11px; color: #444; margin-top: 2px; }
.az-review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(201,162,39,0.15); border: 1px solid rgba(201,162,39,0.2);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: #c9a227;
}

/* WooCommerce reviews */
.woocommerce #reviews .comment-text { background: #1a1a1a !important; border: 1px solid #252525 !important; border-radius: 8px !important; }
.woocommerce .star-rating span::before, .woocommerce .star-rating::before { color: #c9a227 !important; }

/* ===== NEWSLETTER ===== */
.az-news-inner { text-align: center; max-width: 540px; margin: 0 auto; }
.az-news-inner h2 { font-size: 28px !important; font-weight: 700 !important; color: #f5f0e8 !important; }
.az-news-inner p { color: #666; font-size: 14px; margin-bottom: 1.8rem; line-height: 1.7; }
.az-news-form { display: flex; gap: 0.8rem; }
.az-news-form input {
  flex: 1; background: #0d0d0d; border: 1px solid #2a2a2a;
  border-radius: 5px; padding: 13px 18px; color: #f5f0e8; font-size: 14px;
}
.az-news-form input:focus { outline: none; border-color: #c9a227; }

/* ===== PANIER / CHECKOUT ===== */
.woocommerce-cart-form, .woocommerce-checkout,
.woocommerce .cart-collaterals { color: #f5f0e8 !important; }

.woocommerce table.shop_table {
  background: #1a1a1a !important;
  border: 1px solid #2a2a2a !important;
  border-radius: 8px !important;
  color: #e0d5c0 !important;
}
.woocommerce table.shop_table th {
  background: #252525 !important;
  color: #c9a227 !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  font-size: 12px !important;
}
.woocommerce table.shop_table td { border-color: #2a2a2a !important; }
.woocommerce .cart_totals h2, .woocommerce-checkout h3 {
  color: #c9a227 !important;
  font-size: 18px !important;
  border-bottom: 1px solid #2a2a2a !important;
  padding-bottom: 8px !important;
}

/* Champs de formulaire */
.woocommerce .woocommerce-billing-fields input,
.woocommerce .woocommerce-shipping-fields input,
.woocommerce .woocommerce-account-fields input,
.woocommerce form .form-row input,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  background: #1a1a1a !important;
  border: 1px solid #2a2a2a !important;
  color: #f5f0e8 !important;
  border-radius: 5px !important;
}
.woocommerce form .form-row label { color: #888 !important; font-size: 12px !important; }
.woocommerce form .form-row input:focus,
.woocommerce form .form-row select:focus { border-color: #c9a227 !important; outline: none !important; }

/* Messages WooCommerce */
.woocommerce-message { background: #1a1a1a !important; border-top-color: #c9a227 !important; color: #e0d5c0 !important; }
.woocommerce-error { background: #1a1a1a !important; border-top-color: #e74c3c !important; color: #e0d5c0 !important; }
.woocommerce-info { background: #1a1a1a !important; border-top-color: #c9a227 !important; color: #e0d5c0 !important; }

/* ===== FOOTER ===== */
footer, .site-footer,
.wp-block-template-part[data-slug="footer"] {
  background: #080808 !important;
  border-top: 2px solid #c9a227 !important;
  color: #383838 !important;
  padding: 3.5rem 2.5rem 2rem !important;
}
footer a, .site-footer a { color: #383838 !important; }
footer a:hover, .site-footer a:hover { color: #c9a227 !important; }
.wp-block-site-tagline { color: #555 !important; font-size: 11px !important; }

/* ===== SIDEBAR ===== */
.widget-title, .widgettitle {
  color: #c9a227 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  margin-bottom: 1rem !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid #2a2a2a !important;
}
.widget { color: #777 !important; }
.widget a { color: #777 !important; }
.widget a:hover { color: #c9a227 !important; }

/* ===== PAGINATION ===== */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  background: #1a1a1a !important;
  border-color: #2a2a2a !important;
  color: #888 !important;
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: #c9a227 !important;
  color: #0d0d0d !important;
  border-color: #c9a227 !important;
}

/* ===== RECHERCHE ===== */
.woocommerce-product-search input[type="search"],
.search-form input[type="search"] {
  background: #1a1a1a !important;
  border: 1px solid #2a2a2a !important;
  color: #f5f0e8 !important;
  border-radius: 5px !important;
  padding: 10px 14px !important;
}
.woocommerce-product-search input[type="search"]:focus { border-color: #c9a227 !important; outline: none !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
  .az-hero h1 { font-size: 40px !important; }
  .az-hero-deco { display: none; }
}
@media (max-width: 768px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
  .az-perks-grid { grid-template-columns: 1fr 1fr; }
  .az-perk { border-right: none; border-bottom: 1px solid #1e1e1e; }
  .az-perk:last-child { border-bottom: none; }
}
@media (max-width: 480px) {
  .woocommerce ul.products { grid-template-columns: 1fr !important; }
  .az-hero h1 { font-size: 28px !important; }
  .az-section { padding: 3rem 1.2rem; }
  .az-news-form { flex-direction: column; }
  .az-hero-btns { flex-direction: column; }
}


/* ===== BARRE DE CATEGORIES ===== */
.az-catbar {
  background: #111 !important;
  border-bottom: 1px solid #2a2a2a !important;
  padding: 0 !important;
  margin: 0 0 2rem 0 !important;
  position: sticky;
  top: 0;
  z-index: 50;
}
.az-catbar-inner {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 12px 20px;
  max-width: 1300px;
  margin: 0 auto;
  scrollbar-width: thin;
  scrollbar-color: #c9a227 #1a1a1a;
}
.az-catbar-inner::-webkit-scrollbar { height: 6px; }
.az-catbar-inner::-webkit-scrollbar-track { background: #1a1a1a; }
.az-catbar-inner::-webkit-scrollbar-thumb { background: #c9a227; border-radius: 3px; }
.az-catbar-item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1c1c1c !important;
  color: #cbbf9f !important;
  border: 1px solid #2f2f2f !important;
  border-radius: 30px !important;
  padding: 8px 18px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.4px;
  white-space: nowrap;
  text-decoration: none !important;
  transition: all 0.18s !important;
}
.az-catbar-item:hover {
  background: #c9a227 !important;
  color: #0d0d0d !important;
  border-color: #c9a227 !important;
}
.az-catbar-item.az-active {
  background: #c9a227 !important;
  color: #0d0d0d !important;
  border-color: #c9a227 !important;
}
.az-catbar-all { font-weight: 700 !important; }
.az-catbar-count {
  background: rgba(201,162,39,0.18);
  color: #c9a227;
  border-radius: 20px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 700;
}
.az-catbar-item:hover .az-catbar-count,
.az-catbar-item.az-active .az-catbar-count {
  background: rgba(0,0,0,0.15);
  color: #0d0d0d;
}
@media (max-width: 600px) {
  .az-catbar-inner { padding: 10px 12px; }
  .az-catbar-item { padding: 7px 14px !important; font-size: 12px !important; }
}
