/*
Theme Name: SchneiderUPS
Theme URI: https://schneiderups.com.tr
Author: Aytech Teknoloji
Author URI: https://aytechteknoloji.com.tr
Description: APC by Schneider Electric Yetkili Satıcı E-Ticaret Teması. WooCommerce uyumlu, SEO optimize, mobil uyumlu.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: schneiderups
Tags: e-commerce, woocommerce, responsive, rtl-language-support
*/

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
  background: #FFFFFF;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #3DCD58; text-decoration: none; transition: color 0.2s; }
a:hover { color: #1D7A35; }
ul { list-style: none; }

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --green: #3DCD58;
  --green-dark: #1D7A35;
  --green-light: #E8F8ED;
  --green-mid: #2DAA48;
  --gray-dark: #333333;
  --gray-mid: #666666;
  --gray-light: #F5F5F5;
  --gray-border: #E0E0E0;
  --white: #FFFFFF;
  --yellow: #FFC600;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --container: 1200px;
}

/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 60px 0; }
.section-sm { padding: 40px 0; }

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
  background: var(--green-dark);
  color: #CCEECC;
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: #CCEECC; }
.top-bar a:hover { color: #FFFFFF; }
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--green);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}

/* Logo — sol, büyük */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo img { height: 44px; width: auto; display: block; }

/* Search — orta, geniş */
.header-search { flex: 1; }
.header-search form { display: flex; }
.header-search input {
  flex: 1;
  padding: 13px 20px;
  border: 2px solid var(--gray-border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  height: 48px;
}
.header-search input:focus { border-color: var(--green); }
.header-search button {
  padding: 0 24px;
  background: var(--green);
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--white);
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  height: 48px;
  transition: background 0.2s;
  white-space: nowrap;
}
.header-search button:hover { background: var(--green-dark); }

/* Actions — sağ */
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.header-action-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: var(--gray-dark);
  font-size: 13px;
  line-height: 1.3;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-border);
  transition: all 0.2s;
  position: relative;
  white-space: nowrap;
}
.header-action-btn:hover { border-color: var(--green); color: var(--green-dark); background: var(--green-light); }
.ha-icon { font-size: 26px; flex-shrink: 0; }
.ha-text { font-size: 12px; line-height: 1.4; color: var(--gray-mid); }
.ha-text strong { color: var(--gray-dark); font-size: 13px; }
.cart-btn { border-color: var(--green); }
.cart-btn:hover { background: var(--green); color: var(--white); }
.cart-btn:hover .ha-text, .cart-btn:hover .ha-text strong { color: var(--white); }
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--green);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

/* =============================================
   NAVIGATION
   ============================================= */
.main-nav {
  background: var(--green-dark);
  position: sticky;
  top: 0;
  z-index: 999;
}
.nav-inner {
  display: flex;
  align-items: stretch;
  margin-left: -20px;
}
.nav-menu {
  display: flex;
  align-items: stretch;
}
.nav-menu > li {
  position: relative;
}
.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 12px;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
  background: var(--green-mid);
  color: var(--white);
}
.nav-menu > li > a .arrow { font-size: 10px; opacity: 0.7; }

/* Dropdown */
.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 240px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s;
  z-index: 100;
  border-top: 3px solid var(--green);
}
.nav-menu > li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-menu .sub-menu li a {
  display: block;
  padding: 10px 20px;
  color: var(--gray-dark);
  font-size: 14px;
  border-bottom: 1px solid var(--gray-border);
  transition: all 0.2s;
}
.nav-menu .sub-menu li:last-child a { border-bottom: none; }
.nav-menu .sub-menu li a:hover {
  background: var(--green-light);
  color: var(--green-dark);
  padding-left: 28px;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  padding: 14px 20px;
  cursor: pointer;
}

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb-bar {
  background: var(--gray-light);
  border-bottom: 1px solid var(--gray-border);
  padding: 10px 0;
  font-size: 13px;
  color: var(--gray-mid);
}
.breadcrumb-bar a { color: var(--gray-mid); }
.breadcrumb-bar a:hover { color: var(--green); }
.breadcrumb-bar .sep { margin: 0 6px; }
.breadcrumb-bar .current { color: var(--gray-dark); }

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #CCEECC;
  font-size: 13px;
  letter-spacing: 2px;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}
.hero h1 span { color: #CCEECC; }
.hero p {
  color: rgba(255,255,255,0.85);
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-white { background: var(--white); color: var(--green-dark); }
.btn-white:hover { background: #F0F0F0; color: var(--green-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.1); color: var(--white); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); color: var(--white); transform: translateY(-2px); }
.btn-wa { background: #25D366; color: var(--white); border-radius: 50px; }
.btn-wa:hover { background: #128C7E; color: var(--white); transform: scale(1.05); }

/* =============================================
   VERIFIED BAND
   ============================================= */
.verified-band {
  background: var(--green-light);
  border-top: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  padding: 12px 0;
  text-align: center;
  font-size: 14px;
  color: var(--green-dark);
  font-weight: 600;
}
.verified-band a { color: var(--green-dark); text-decoration: underline; }

/* =============================================
   SECTION TITLES
   ============================================= */
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 8px;
}
.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--green);
  margin: 12px auto 0;
  border-radius: 2px;
}
.section-title p { color: var(--gray-mid); font-size: 16px; margin-top: 12px; }

/* =============================================
   CATEGORY CARDS
   ============================================= */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.cat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 16px;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: all 0.25s;
}
.cat-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(61,205,88,0.2);
}
.cat-card .cat-icon { font-size: 40px; margin-bottom: 14px; display: block; }
.cat-card h3 { color: var(--green-dark); font-size: 14px; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.cat-card p { color: var(--gray-mid); font-size: 12px; line-height: 1.5; }
.cat-card .cat-count {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 50px;
  margin-top: 8px;
}

/* =============================================
   PRODUCT CARDS
   ============================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-border);
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--green);
  transform: translateY(-2px);
}
.product-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gray-light);
}
.product-img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform 0.3s; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--green);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}
.product-badge.badge-new { background: #007BFF; }
.product-badge.badge-sale { background: #DC3545; }
.product-info { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-cat {
  font-size: 11px;
  color: var(--green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.product-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 8px;
  line-height: 1.4;
  flex: 1;
}
.product-title a { color: inherit; }
.product-title a:hover { color: var(--green); }
.product-meta { font-size: 12px; color: var(--gray-mid); margin-bottom: 12px; }
.product-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 12px;
}
.product-price .old-price {
  font-size: 14px;
  color: var(--gray-mid);
  text-decoration: line-through;
  font-weight: 400;
  margin-right: 8px;
}
.product-actions { display: flex; gap: 8px; }
.btn-cart {
  flex: 1;
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-cart:hover { background: var(--green-dark); color: var(--white); }
.btn-wishlist {
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 16px;
}
.btn-wishlist:hover { background: #FFE0E0; border-color: #FF6B6B; }

/* =============================================
   WHY US
   ============================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid var(--green);
}
.why-icon { font-size: 44px; margin-bottom: 16px; display: block; }
.why-card h3 { font-size: 16px; font-weight: 700; color: var(--gray-dark); margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--gray-mid); line-height: 1.6; }

/* =============================================
   MODEL TAGS
   ============================================= */
.model-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.model-tag {
  background: var(--white);
  border: 1px solid var(--gray-border);
  color: var(--gray-dark);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.model-tag:hover { background: var(--green); color: var(--white); border-color: var(--green); }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  padding: 70px 0;
  text-align: center;
}
.cta-section h2 { color: var(--white); font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 18px; margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   CATEGORY PAGE
   ============================================= */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: start; }
.sidebar { position: sticky; top: 90px; }
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-border);
}
.sidebar-widget h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green);
}
.cat-list li { margin-bottom: 8px; }
.cat-list a {
  color: var(--gray-dark);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  transition: color 0.2s;
}
.cat-list a:hover, .cat-list a.active { color: var(--green); font-weight: 600; }
.cat-list .count {
  background: var(--gray-light);
  color: var(--gray-mid);
  font-size: 11px;
  padding: 1px 8px;
  border-radius: 50px;
}

/* Shop toolbar */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.shop-count { font-size: 14px; color: var(--gray-mid); }
.shop-sort select {
  padding: 8px 12px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
}

/* =============================================
   SINGLE PRODUCT
   ============================================= */
.single-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.product-gallery { position: sticky; top: 90px; }
.product-main-img {
  background: var(--gray-light);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 12px;
  border: 1px solid var(--gray-border);
}
.product-main-img img { max-height: 400px; margin: 0 auto; object-fit: contain; }
.product-thumbs { display: flex; gap: 8px; }
.product-thumb {
  width: 72px;
  height: 72px;
  background: var(--gray-light);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.product-thumb:hover, .product-thumb.active { border-color: var(--green); }
.product-thumb img { width: 100%; height: 100%; object-fit: contain; }

/* Single product info */
.single-product-info {}
.single-product-cat { font-size: 13px; color: var(--green); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.single-product-title { font-size: clamp(20px, 2.5vw, 28px); font-weight: 800; color: var(--gray-dark); margin-bottom: 16px; line-height: 1.3; }
.single-product-sku { font-size: 13px; color: var(--gray-mid); margin-bottom: 16px; }
.single-product-price { font-size: 36px; font-weight: 800; color: var(--green-dark); margin-bottom: 8px; }
.single-product-price .vat { font-size: 13px; color: var(--gray-mid); font-weight: 400; }
.single-product-stock { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--green); margin-bottom: 24px; }
.stock-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; }

.qty-add {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.qty-wrapper {
  display: flex;
  align-items: center;
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-btn {
  width: 40px;
  height: 48px;
  background: var(--gray-light);
  border: none;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s;
  font-weight: 700;
}
.qty-btn:hover { background: var(--green-light); }
.qty-input {
  width: 60px;
  height: 48px;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  outline: none;
}
.btn-add-cart {
  flex: 1;
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 200px;
}
.btn-add-cart:hover { background: var(--green-dark); transform: translateY(-1px); }

.product-wa-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 24px;
  transition: all 0.2s;
}
.product-wa-btn:hover { background: #128C7E; color: var(--white); }

.product-guarantees {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.guarantee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-mid);
  padding: 10px;
  background: var(--gray-light);
  border-radius: var(--radius-sm);
}
.guarantee-item .gi { font-size: 18px; }

/* Specs table */
.specs-table { width: 100%; border-collapse: collapse; margin-top: 24px; }
.specs-table tr:nth-child(even) { background: var(--gray-light); }
.specs-table td {
  padding: 10px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--gray-border);
}
.specs-table td:first-child { font-weight: 700; color: var(--gray-dark); width: 40%; }
.specs-table td:last-child { color: var(--gray-mid); }

/* Product tabs */
.product-tabs { margin-top: 48px; }
.tab-nav {
  display: flex;
  border-bottom: 2px solid var(--gray-border);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-mid);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}
.tab-btn:hover { color: var(--green); }
.tab-btn.active { color: var(--green); border-bottom-color: var(--green); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.tab-content p { color: var(--gray-mid); line-height: 1.8; margin-bottom: 16px; }

/* =============================================
   FOOTER
   ============================================= */
.footer-top {
  background: #1A1A1A;
  padding: 60px 0 40px;
  border-top: 4px solid var(--green);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  display: block;
}
.footer-brand p { color: #AAAAAA; font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  text-decoration: none;
  transition: background 0.2s;
}
.social-btn:hover { background: var(--green); color: var(--white); }

.footer-col h4 { color: var(--white); font-size: 15px; font-weight: 700; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--green); }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #AAAAAA; font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--green); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: #AAAAAA;
  font-size: 14px;
}
.footer-contact-item .fi { font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item a { color: #AAAAAA; }
.footer-contact-item a:hover { color: var(--green); }

.footer-bottom {
  background: #111111;
  padding: 16px 0;
  text-align: center;
}
.footer-bottom p { color: #666666; font-size: 13px; }
.footer-bottom a { color: #666666; }
.footer-bottom a:hover { color: var(--green); }

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  background: #25D366;
  color: var(--white);
  border-radius: 50px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  animation: pulse 2s infinite;
}
.wa-float:hover {
  background: #128C7E;
  color: var(--white);
  transform: scale(1.05);
  animation: none;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7); }
}

/* =============================================
   PAGINATION
   ============================================= */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid var(--gray-border);
  color: var(--gray-dark);
}
.pagination a:hover, .pagination .current {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .shop-layout { grid-template-columns: 220px 1fr; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .header-inner { flex-wrap: wrap; }
  .header-search { order: 3; max-width: 100%; width: 100%; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .single-product-layout { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .nav-menu { display: none; flex-direction: column; width: 100%; }
  .nav-menu.open { display: flex; }
  .nav-menu > li > a { padding: 12px 20px; }
  .nav-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-left: 3px solid var(--green); margin-left: 20px; }
  .menu-toggle { display: block; }
  .nav-inner { flex-direction: column; }
  .hero { padding: 50px 0; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .product-guarantees { grid-template-columns: 1fr; }
  .qty-add { flex-wrap: wrap; }
  .btn-add-cart { min-width: 100%; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .wa-float span { display: none; }
  .wa-float { border-radius: 50%; width: 56px; height: 56px; padding: 0; justify-content: center; font-size: 24px; }
}

/* =============================================
   WOOCOMMERCE OVERRIDES
   ============================================= */
.woocommerce-notices-wrapper { margin-bottom: 20px; }
.woocommerce-message, .woocommerce-info {
  background: var(--green-light);
  border-left: 4px solid var(--green);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  color: var(--green-dark);
  margin-bottom: 16px;
}
.woocommerce-error {
  background: #FFF0F0;
  border-left: 4px solid #DC3545;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  color: #DC3545;
  margin-bottom: 16px;
}

/* Custom logo size fix */
.custom-logo-link img,
.custom-logo-link,
.site-logo img,
.site-logo .custom-logo-link img {
  height: 48px !important;
  width: auto !important;
  max-height: 48px !important;
  display: block;
}

/* Header sticky fix */
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
}
.main-nav {
  position: sticky !important;
  top: 75px !important;
  z-index: 999 !important;
}
