/*
Theme Name: DiyetUn
Theme URI: https://diyetun.com
Author: DiyetUn
Author URI: https://diyetun.com
Description: Atalık Un ve Glutensiz Ürünler için özel WordPress e-ticaret teması. WooCommerce uyumlu.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: diyetun
Tags: e-commerce, woocommerce, glutensiz, atalık-un, food, organic
*/

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

:root {
  --wheat:      #C8A84B;
  --wheat-light:#E8D08A;
  --wheat-dark: #9A7A2E;
  --green:      #2D5016;
  --green-mid:  #4A7A20;
  --green-light:#7AB648;
  --cream:      #FAF7F0;
  --cream-dark: #F0EAD6;
  --brown:      #6B4226;
  --dark:       #1A1A1A;
  --mid:        #4A4A4A;
  --light:      #8A8A8A;
  --white:      #FFFFFF;
  --red:        #C0392B;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.16);
  --radius:     8px;
  --radius-lg:  16px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--dark);
}

/* =====================================================
   CONTAINER
   ===================================================== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =====================================================
   TOP BAR
   ===================================================== */
.topbar {
  background: var(--green);
  color: var(--white);
  font-size: 13px;
  padding: 8px 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.topbar-left .icon { font-size: 16px; }

.topbar-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.topbar-right a {
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  transition: color var(--transition);
}

.topbar-right a:hover { color: var(--wheat-light); }

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.logo-text { line-height: 1.1; }

.logo-text .brand {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.5px;
}

.logo-text .brand span { color: var(--wheat); }

.logo-text .tagline {
  font-size: 10px;
  color: var(--light);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

/* Navigation */
.main-nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

.main-nav > ul > li { position: relative; }

.main-nav > ul > li > a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--mid);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.current-menu-item > a {
  color: var(--green);
  background: rgba(45,80,22,0.06);
}

/* Dropdown */
.main-nav .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--cream-dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
  padding: 8px;
}

.main-nav li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .sub-menu li a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--mid);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.main-nav .sub-menu li a:hover {
  color: var(--green);
  background: var(--cream);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-actions a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--mid);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.header-actions a:hover {
  color: var(--green);
  background: rgba(45,80,22,0.06);
}

.header-actions .icon { font-size: 20px; }

.cart-count {
  position: absolute;
  top: 2px;
  right: 6px;
  background: var(--red);
  color: white;
  font-size: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.btn-search {
  background: var(--cream);
  border: none;
  cursor: pointer;
}

.btn-login {
  background: var(--cream);
}

.btn-cart {
  background: var(--green) !important;
  color: var(--white) !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
}

.btn-cart:hover {
  background: var(--green-mid) !important;
}

/* =====================================================
   HERO SLIDER
   ===================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  background: var(--green);
  min-height: 520px;
}

.hero-slide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 520px;
  padding: 60px 0;
}

.hero-slide.active { display: grid; }
.hero-slide:not(.active) { display: none; }

.hero-content { padding-right: 40px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  color: var(--wheat-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-title .highlight { color: var(--wheat-light); }

.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 32px;
  max-width: 440px;
}

.hero-badges {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 20px;
}

.badge .icon { font-size: 16px; }

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--wheat);
  color: var(--dark);
  border-color: var(--wheat);
}

.btn-primary:hover {
  background: var(--wheat-dark);
  border-color: var(--wheat-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,168,75,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image img {
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.3));
  border-radius: var(--radius-lg);
}

/* Hero navigation dots */
.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.hero-dot.active {
  background: var(--wheat-light);
  width: 24px;
  border-radius: 4px;
}

/* =====================================================
   CATEGORY BANNERS
   ===================================================== */
.category-banners {
  padding: 60px 0;
  background: var(--cream);
}

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

.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--wheat-dark);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.wheat-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px auto;
}

.wheat-divider::before,
.wheat-divider::after {
  content: '';
  width: 60px;
  height: 1px;
  background: var(--wheat);
  display: block;
}

.wheat-divider .icon { font-size: 20px; }

.section-desc {
  font-size: 16px;
  color: var(--light);
  max-width: 520px;
  margin: 0 auto;
}

.banners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.banner-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--green);
}

.banner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.banner-card.large { grid-row: span 2; min-height: 460px; }

.banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.banner-card:hover .banner-bg { transform: scale(1.04); }

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}

.banner-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.banner-tag {
  display: inline-block;
  background: var(--wheat);
  color: var(--dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.banner-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 8px;
}

.banner-card.large .banner-title { font-size: 32px; }

.banner-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
}

.banner-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--dark);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all var(--transition);
}

.banner-card:hover .banner-link {
  background: var(--wheat);
}

/* =====================================================
   FEATURES STRIP
   ===================================================== */
.features-strip {
  background: var(--green);
  padding: 32px 0;
}

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

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  color: var(--white);
}

.feature-item + .feature-item {
  border-left: 1px solid rgba(255,255,255,0.15);
}

.feature-icon {
  font-size: 32px;
  flex-shrink: 0;
  opacity: 0.9;
}

.feature-text .label {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.feature-text .sublabel {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
}

/* =====================================================
   PRODUCTS SECTION
   ===================================================== */
.products-section {
  padding: 70px 0;
  background: var(--white);
}

.products-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--mid);
  background: var(--cream);
  border: 2px solid var(--cream-dark);
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

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

/* WooCommerce Product Card */
.product-card,
ul.products li.product {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
  list-style: none;
}

.product-card:hover,
ul.products li.product:hover {
  border-color: var(--wheat-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--cream);
}

.product-image img,
ul.products li.product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img,
ul.products li.product:hover img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--wheat);
  color: var(--dark);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
}

.product-badge.sale { background: var(--red); color: var(--white); }
.product-badge.new  { background: var(--green); color: var(--white); }

.product-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition);
  z-index: 2;
}

.product-card:hover .product-actions,
ul.products li.product:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.action-btn {
  width: 36px;
  height: 36px;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

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

.product-info {
  padding: 16px;
}

.product-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--wheat-dark);
  margin-bottom: 6px;
}

.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-name a { color: inherit; text-decoration: none; }
.product-name a:hover { color: var(--green); }

.product-weight {
  font-size: 12px;
  color: var(--light);
  margin-bottom: 10px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.product-price,
ul.products li.product .price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-current,
ul.products li.product .price ins .amount {
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
}

.price-old,
ul.products li.product .price del .amount {
  font-size: 14px;
  color: var(--light);
  text-decoration: line-through;
}

.add-to-cart,
ul.products li.product .button,
ul.products li.product .add_to_cart_button {
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.add-to-cart:hover,
ul.products li.product .button:hover,
ul.products li.product .add_to_cart_button:hover {
  background: var(--green-mid);
  transform: scale(1.03);
}

.products-cta {
  text-align: center;
  margin-top: 48px;
}

.btn-large {
  padding: 16px 40px;
  font-size: 16px;
  background: var(--green);
  color: var(--white);
  border: 2px solid var(--green);
}

.btn-large:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45,80,22,0.3);
}

/* =====================================================
   ABOUT / WHY US
   ===================================================== */
.about-section {
  padding: 80px 0;
  background: var(--cream);
  overflow: hidden;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.about-stats {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--green);
  color: var(--white);
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--wheat-light);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
}

.about-content .section-header { text-align: left; }
.about-content .wheat-divider { justify-content: flex-start; }

.why-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-icon {
  width: 48px;
  height: 48px;
  background: var(--green);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.why-text h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.why-text p {
  font-size: 14px;
  color: var(--light);
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials-section {
  padding: 70px 0;
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 80px;
  color: var(--wheat-light);
  position: absolute;
  top: 10px;
  left: 24px;
  line-height: 1;
  opacity: 0.5;
}

.stars {
  color: var(--wheat);
  font-size: 16px;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.author-name { font-size: 14px; font-weight: 700; color: var(--dark); }
.author-location { font-size: 12px; color: var(--light); }

/* =====================================================
   BLOG SECTION
   ===================================================== */
.blog-section {
  padding: 70px 0;
  background: var(--cream);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.blog-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--cream-dark);
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img { transform: scale(1.05); }

.blog-content { padding: 20px; }

.blog-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--wheat-dark);
  margin-bottom: 8px;
}

.blog-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 10px;
}

.blog-excerpt {
  font-size: 13px;
  color: var(--light);
  line-height: 1.6;
  margin-bottom: 14px;
}

.blog-meta {
  font-size: 12px;
  color: var(--light);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* =====================================================
   NEWSLETTER
   ===================================================== */
.newsletter-section {
  padding: 60px 0;
  background: var(--green);
  text-align: center;
}

.newsletter-inner {
  max-width: 560px;
  margin: 0 auto;
}

.newsletter-title {
  font-size: clamp(24px, 3vw, 34px);
  color: var(--white);
  margin-bottom: 12px;
}

.newsletter-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 14px 18px;
  font-size: 15px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  outline: none;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  transition: border-color var(--transition);
}

.newsletter-input::placeholder { color: rgba(255,255,255,0.5); }

.newsletter-input:focus { border-color: var(--wheat-light); }

.newsletter-btn {
  background: var(--wheat);
  color: var(--dark);
  border: none;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: var(--wheat-dark);
  transform: translateY(-2px);
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: #0F1F06;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-text .brand { color: var(--wheat-light); }
.footer-brand .logo-text .tagline { color: rgba(255,255,255,0.4); }

.footer-about {
  font-size: 14px;
  line-height: 1.7;
  margin: 14px 0 20px;
  color: rgba(255,255,255,0.6);
}

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

.social-icon {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
  text-decoration: none;
}

.social-icon:hover {
  background: var(--wheat);
  border-color: var(--wheat);
  color: var(--dark);
}

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--wheat-light); }

.contact-list { display: flex; flex-direction: column; gap: 12px; }

.contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.contact-item .icon { font-size: 16px; margin-top: 1px; flex-shrink: 0; }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }

.footer-payments {
  display: flex;
  gap: 8px;
  align-items: center;
}

.payment-icon {
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* =====================================================
   WOOCOMMERCE OVERRIDES
   ===================================================== */
.woocommerce-breadcrumb {
  font-size: 13px;
  color: var(--light);
  padding: 14px 0;
}

.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message {
  border-top-color: var(--green);
}

.woocommerce .button, .woocommerce-page .button {
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
}

.woocommerce .button:hover, .woocommerce-page .button:hover {
  background: var(--green-mid);
  color: var(--white);
}

.woocommerce div.product div.images img { border-radius: var(--radius-lg); }

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--green);
  font-size: 28px;
  font-weight: 700;
}

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background-color: var(--green);
  color: var(--white);
  border-radius: var(--radius);
  padding: 12px 24px;
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition);
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background-color: var(--green-mid);
  color: var(--white);
}

.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--green);
  color: var(--white);
}

/* =====================================================
   SINGLE PRODUCT
   ===================================================== */
.single-product-layout {
  padding: 40px 0 70px;
}

.single-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.thumb-img {
  border-radius: var(--radius);
  border: 2px solid var(--cream-dark);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  cursor: pointer;
  transition: border-color var(--transition);
}

.thumb-img:hover,
.thumb-img.active { border-color: var(--green); }

.single-product-info .product-category { font-size: 12px; margin-bottom: 8px; }

.single-product-title {
  font-size: 32px;
  margin-bottom: 14px;
}

.single-product-price {
  font-size: 34px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 20px;
}

.product-short-desc {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--cream-dark);
}

.qty-cart {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.qty-input {
  display: flex;
  align-items: center;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius);
  overflow: hidden;
}

.qty-btn {
  width: 42px;
  height: 52px;
  background: var(--cream);
  border: none;
  cursor: pointer;
  font-size: 20px;
  font-weight: 300;
  color: var(--dark);
  transition: background var(--transition);
}

.qty-btn:hover { background: var(--cream-dark); }

.qty-number {
  width: 54px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  border: none;
  outline: none;
  padding: 0;
}

.btn-add-cart {
  flex: 1;
  padding: 0 28px;
  height: 52px;
  font-size: 16px;
  font-weight: 700;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition);
}

.btn-add-cart:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
}

/* =====================================================
   BREADCRUMB
   ===================================================== */
.breadcrumb-bar {
  background: var(--cream);
  padding: 12px 0;
  border-bottom: 1px solid var(--cream-dark);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--light);
}

.breadcrumb a { color: var(--mid); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .sep { color: var(--cream-dark); }
.breadcrumb .current { color: var(--dark); font-weight: 500; }

/* =====================================================
   SHOP PAGE
   ===================================================== */
.shop-layout {
  padding: 40px 0 70px;
}

.shop-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 80px;
}

.sidebar-widget {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 20px;
  border: 1px solid var(--cream-dark);
}

.sidebar-widget h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--wheat-light);
}

.filter-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 14px;
  cursor: pointer;
  color: var(--mid);
  transition: color var(--transition);
}

.filter-list li:last-child { border: none; }
.filter-list li:hover { color: var(--green); }

.filter-count {
  background: var(--cream-dark);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
  color: var(--light);
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--cream-dark);
}

.shop-count { font-size: 14px; color: var(--light); }

.shop-sort {
  padding: 8px 14px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--mid);
  outline: none;
  cursor: pointer;
  background: var(--white);
}

/* =====================================================
   MOBILE RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .header-inner { grid-template-columns: 1fr auto; }

  .main-nav { display: none; }

  .hero-slide {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 20px;
  }

  .hero-image { display: none; }

  .hero-desc, .hero-badges { justify-content: center; }

  .banners-grid { grid-template-columns: 1fr; }
  .banner-card.large { min-height: 300px; }

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

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

  .about-inner { grid-template-columns: 1fr; }

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

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

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

  .shop-inner { grid-template-columns: 1fr; }
  .sidebar { position: static; }

  .single-product-grid { grid-template-columns: 1fr; }

  .newsletter-form { flex-direction: column; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-item + .feature-item { border-left: none; border-top: 1px solid rgba(255,255,255,0.15); }
}
