/*
Theme Name: Canapuff Custom
Theme URI: https://canapuff.com
Author: CannaSite Team
Description: Custom high-performance jQuery-free theme.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
Text Domain: canapuff
*/

/* === TOKENS (Canapuff Global Design System) === */
:root {
  --primary: #50AC92;
  --accent: #C1FF72;
  --bg: #F5F5F5;
  --dark: #0a0a0a;
  --text: #121212;
  --muted: #777;
  --border: #e2e2e2;
  --white: #fff;
  --font: 'Barlow', sans-serif;
  --radius: 0px;
  --btn-bg: #000;
  --btn-text: #fff;
  --header-h: 112px;
  --container: 1200px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; font-weight: 500; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* === GLOBAL TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 1rem;
}
h1 { font-size: 2.5rem; margin-top: 2rem; margin-bottom: 1.5rem; }
h2 { font-size: 1.5rem; margin-top: 1.75rem; margin-bottom: 1.25rem; }
h3 { font-size: 1.25rem; margin-top: 1.5rem; margin-bottom: 1rem; }
h4 { font-size: 1rem; margin-top: 1.25rem; margin-bottom: 0.75rem; }
p  { font-weight: 500; line-height: 1.7; margin-bottom: 1.5rem; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 700; }
small { font-size: 0.875rem; color: var(--muted); }

/* === GLOBAL BUTTONS === */
.btn-primary, .button, .wp-element-button, .single_add_to_cart_button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.5rem;
  background: var(--btn-bg); color: var(--btn-text);
  font-family: var(--font); font-size: 1rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 60px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  position: relative; overflow: hidden;
}
.btn-primary:hover, .button:hover, .wp-element-button:hover, .single_add_to_cart_button:hover {
  background: #222; transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.5rem;
  background: transparent; color: var(--dark);
  font-family: var(--font); font-size: 1rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  border: 2px solid var(--dark);
  border-radius: 60px;
  transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover { background: var(--dark); color: var(--white); }

/* === CONTAINER === */
.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }

/* === HEADER === */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: #000; color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.5); }

/* Ortak container */
.header-container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; }

/* ---- Üst Satır: Logo + İkonlar ---- */
.header-top { border-bottom: 1px solid rgba(255,255,255,0.06); }
.header-top .header-container { height: 60px; justify-content: space-between; }

/* Logo */
.logo a { display: flex; align-items: center; }
.logo-text { font-size: 1.5rem; font-weight: 800; letter-spacing: 0.1em; color: #fff; }
.logo-img { height: 41px; width: auto; }

/* Sağ İkonlar */
.header-icons { display: flex; align-items: center; gap: 0.6rem; }
.header-icon { position: relative; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.8); padding: 0.5rem; transition: color 0.2s; }
.header-icon:hover { color: #fff; }
.header-icon svg { width: 22px; height: 22px; }

/* Cart Badge */
.cart-icon { position: relative; }
.cart-count { position: absolute; top: 0; right: -2px; background: #fff; color: #000; font-size: 0.6rem; font-weight: 700; min-width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; line-height: 1; }

/* Dil Dropdown */
.lang-dropdown { position: relative; }
.lang-trigger { display: flex; align-items: center; gap: 4px; color: rgba(255,255,255,0.6); font-family: var(--font); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; padding: 0.4rem 0.5rem; transition: color 0.2s; cursor: pointer; border: 1px solid rgba(255,255,255,0.2); border-radius: 4px; background: rgba(255,255,255,0.05); }
.lang-trigger:hover { color: #fff; background: rgba(255,255,255,0.1); }
.lang-trigger svg { width: 10px; height: 6px; transition: transform 0.2s; }
.lang-dropdown.open .lang-trigger svg { transform: rotate(180deg); }
.lang-list { display: none; position: absolute; bottom: 100%; right: 0; background: #111; border: 1px solid rgba(255,255,255,0.1); padding: 0.4rem 0; min-width: 80px; z-index: 999; margin-bottom: 4px; border-radius: 4px; }
.lang-dropdown.open .lang-list { display: block; }
.lang-list a { display: block; padding: 0.35rem 0.8rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; color: rgba(255,255,255,0.6); transition: color 0.15s, background 0.15s; }
.lang-list a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.lang-list a.active { color: #fff; }

/* ---- Alt Satır: Navigasyon ---- */
.header-nav { background: #000; }
.header-nav .header-container { height: 52px; gap: 0; justify-content: center; }

/* Bestseller Butonu */
.nav-bestseller {
  display: inline-flex; align-items: center;
  padding: 0.5rem 1.2rem;
  background: linear-gradient(135deg, #4A90D9, #357ABD);
  color: #fff; font-size: 16px; font-weight: 700; letter-spacing: normal;
  border-radius: 4px; margin-right: 0.5rem;
  transition: background 0.2s, transform 0.15s;
  text-transform: none;
  white-space: nowrap;
}
.nav-bestseller:hover { background: linear-gradient(135deg, #5A9FE8, #4A90D9); transform: translateY(-1px); }

/* Nav Linkleri */
.nav-list { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.nav-list li { position: relative; }
.nav-list a {
  display: flex; align-items: center;
  padding: 0.75rem 1rem;
  font-weight: 700; font-size: 16px;
  letter-spacing: normal;
  color: #fff;
  transition: color 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.nav-list a:hover,
.nav-list .current-menu-item > a { color: #fff; }

/* Alt Menü (Dropdown) */
.nav-list .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #000;
  min-width: 200px;
  border-top: 2px solid var(--primary);
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  padding: 0;
  margin: 0;
  list-style: none;
}
.nav-list li:hover > .sub-menu {
  display: block;
  animation: fadeInDown 0.2s ease;
}
.nav-list .sub-menu li {
  width: 100%;
}
.nav-list .sub-menu a {
  padding: 0.8rem 1.2rem;
  font-size: 14px;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-list .sub-menu a:hover {
  background: rgba(255,255,255,0.05);
  color: var(--primary);
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hamburger (Mobil) */
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 36px; height: 36px; padding: 4px; margin-left: auto; }
.hamburger-line { width: 100%; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.hamburger.active .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.active .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === FOOTER === */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.75); padding: 3rem 0 1.5rem; }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
.footer-logo { font-size: 1.3rem; font-weight: 800; letter-spacing: 0.08em; color: var(--white); display: block; margin-bottom: 0.75rem; }
.footer-tagline { font-size: 0.85rem; line-height: 1.6; color: rgba(255,255,255,0.5); }
.footer-heading { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1rem; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { font-size: 0.9rem; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-social { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-social a { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-social a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-disclaimer { font-style: italic; }


/* === BUTTON OVERRIDES === */
.btn-sm { padding: 0.55rem 1rem; font-size: 0.78rem; }
.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.3); width: 80px; height: 80px; margin-left: -40px; margin-top: -40px; animation: ripple-anim 0.6s ease-out; pointer-events: none; }
@keyframes ripple-anim { from { transform: scale(0); opacity: 1; } to { transform: scale(4); opacity: 0; } }

/* === HERO === */
/* === HERO === */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 550px;
  background: url('assets/img/hero_banner.webp') center center / cover no-repeat;
  background-color: #0a0f0a;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 35%, rgba(0,0,0,0.15) 65%, transparent 100%);
}
.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  width: 100%;
}
.hero-content { max-width: 500px; text-align: left; }
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.2rem;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.hero-cta { font-size: 1rem; padding: 1rem 2.5rem; display: inline-block; }

/* === SECTIONS === */
.section-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 2rem; letter-spacing: -0.02em; }

/* === CATEGORY BANNERS === */
.home-categories { padding: 4rem 0 0; }
.category-banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .category-banners { grid-template-columns: 1fr; }
}

.cat-banner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-radius: 16px;
  padding: 2.5rem;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  color: #111;
  text-decoration: none;
  min-height: 220px;
}
.cat-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
.cat-banner-content {
  flex: 1;
  max-width: 60%;
  z-index: 2;
}
.cat-banner-title {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0;
  color: #111;
  white-space: nowrap;
}
.btn-dark {
  display: inline-block;
  background: #111;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.cat-banner:hover .btn-dark {
  background: var(--primary);
}

.cat-banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.cat-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  transition: transform 0.3s;
}
.cat-banner:hover .cat-banner-image img {
  transform: scale(1.05);
}

/* Gradients based on Canapuff original design */
/* Kategori Renkleri & Layout */
.cat-puff-bar { background: linear-gradient(135deg, #b8f0a0 0%, #7fd886 100%); }
.cat-vape-pen-kartus { background: linear-gradient(135deg, #a0f0e8 0%, #7fb8d8 100%); }
.cat-thc-cbd-likit { background: linear-gradient(135deg, #f8d8b4 0%, #f0a0a0 100%); }
.cat-canapuff-setler { background: linear-gradient(135deg, #f0e8a0 0%, #d8f8a0 100%); }
.home-products { padding: 4rem 0; }
.view-all { text-align: center; margin-top: 2.5rem; }

/* === PRODUCT GRID === */
.product-grid, ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; padding: 0; margin: 0; list-style: none; }

.product-card { background: var(--white); display: flex; flex-direction: column; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card.revealed { animation: fadeUp 0.4s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.product-card-link { display: flex; flex-direction: column; flex: 1; }
.product-card-image-wrapper { position: relative; aspect-ratio: 1/1; overflow: hidden; background: #f0f0f0; }
.product-card-image-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-card-image-wrapper img { transform: scale(1.04); }
.sale-badge { position: absolute; top: 10px; left: 10px; background: var(--accent); color: var(--dark); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.2rem 0.5rem; z-index: 2; }

.product-card-info { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.product-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; line-height: 1.3; }
.product-card-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 0.6rem; }
.attr-tag-mini { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.15rem 0.45rem; border: 1px solid var(--border); color: var(--muted); }
.product-price { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-top: auto; }
.product-card-actions { padding: 0 1rem 1rem; }
.product-card-actions .btn-primary, .product-card-actions .button { width: 100%; text-align: center; }
.product-card-actions .added_to_cart { display: none !important; }

/* === MULTI-COLUMN (Güven Bantları) === */
.multi-column { background: #fff; padding: 4rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.multi-column-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; text-align: center; }
.multi-column-item { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.multi-column-icon { width: 64px; height: 64px; opacity: 0.85; }
.multi-column-title { font-size: 1rem; font-weight: 800; letter-spacing: 0.02em; color: var(--dark); }
.multi-column-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.6; max-width: 260px; }

/* === SINGLE PRODUCT === */
.product-top-wrapper { background-color: #f5f5f5; padding: 2rem 0; margin-bottom: 3rem; border-bottom: 1px solid var(--border); }
.woocommerce-breadcrumb { margin-bottom: 2rem; color: #666; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; }
.woocommerce-breadcrumb a { color: var(--muted); transition: color 0.2s; }
.woocommerce-breadcrumb a:hover { color: var(--dark); }
.product-bottom-wrapper { padding: 0 0 4rem; }
.product-top { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.gallery-main { aspect-ratio: 1/1; overflow: hidden; background: #f5f5f5; margin-bottom: 0.75rem; }
.gallery-main-img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.2s; }
.gallery-thumbs { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.gallery-thumb { width: 70px; height: 70px; overflow: hidden; border: 2px solid transparent; cursor: pointer; padding: 0; background: #f0f0f0; transition: border-color 0.2s; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--dark); }
.product-single-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.75rem; line-height: 1.2; }
.product-single-price .price { font-size: 1.6rem; font-weight: 700; color: var(--primary); }
.product-short-desc { color: var(--muted); font-size: 0.95rem; line-height: 1.7; margin: 1.5rem 0; }
.product-short-desc ul { list-style: none; padding: 0; margin: 0; }
.product-short-desc li { 
  position: relative; 
  padding-left: 1.75rem; 
  margin-bottom: 0.6rem; 
  font-weight: 600; 
  color: var(--dark); 
  font-size: 0.95rem; 
}
.product-short-desc li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background-image: url('data:image/svg+xml;utf8,<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%23000" stroke-width="3" xmlns="http://www.w3.org/2000/svg"><polyline points="20 6 9 17 4 12"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
}
.product-attributes { margin: 1rem 0; display: flex; flex-direction: column; gap: 0.5rem; }
.attr-group { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem; }
.attr-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); min-width: 80px; }
.attr-tag { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; padding: 0.2rem 0.6rem; border: 1px solid var(--dark); color: var(--dark); transition: background 0.2s, color 0.2s; }
.attr-tag:hover { background: var(--dark); color: var(--white); }
.product-add-to-cart { margin: 1.5rem 0; }
.qty-label { font-weight: 700; font-size: 0.85rem; display: block; margin-bottom: 0.4rem; }
.quantity-row { display: flex; align-items: flex-end; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.qty-group { flex: 0 0 auto; }
.city-group { flex: 1; min-width: 140px; }
.city-group select { width: 100%; height: 44px; padding: 0 0.75rem; border: 1.5px solid var(--border); border-radius: 60px; font-family: var(--font); font-size: 0.85rem; font-weight: 500; background: #fff; cursor: pointer; transition: border-color 0.2s; }
.city-group select:focus { border-color: var(--dark); outline: none; }
.quantity-selector { display: inline-flex; align-items: center; border: 1.5px solid var(--border); border-radius: 60px; overflow: hidden; }
.qty-btn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700; background: #fff; color: var(--dark); border: none; cursor: pointer; transition: background 0.15s; user-select: none; font-family: var(--font); }
.qty-btn:hover { background: #f0f0f0; }
.qty-btn:active { background: #e0e0e0; }
.qty-input { width: 48px; height: 44px; text-align: center; border: none; border-left: 1.5px solid var(--border); border-right: 1.5px solid var(--border); font-family: var(--font); font-size: 1rem; font-weight: 700; -moz-appearance: textfield; background: #fff; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stock-badge { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.85rem; font-weight: 600; }
.stock-badge--instock { color: #16a34a; }
.stock-badge--outofstock { color: #dc2626; }

/* WC'nin kendi quantity inputunu gizle (bizimki yerine geçiyor) */
.product-add-to-cart .quantity { display: none; }

.single_add_to_cart_button { width: 100%; padding: 1rem; background: var(--dark); color: var(--white); font-family: var(--font); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; border: none; cursor: pointer; transition: background 0.2s; border-radius: 60px; }
.single_add_to_cart_button:hover { background: var(--primary); }

/* Teslimat bilgisi */
.product-delivery-info { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1rem; }
.delivery-badge { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.delivery-badge--primary { color: #16a34a; }

/* Şehir teslimat sonucu */
.delivery-result { margin-bottom: 1rem; padding: 0.6rem 0.8rem; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 8px; animation: fadeIn 0.2s ease; }
.delivery-result-row { display: flex; flex-direction: column; gap: 0.15rem; font-size: 0.85rem; }
.delivery-result-row strong { font-weight: 700; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

.product-full-desc { padding-top: 2rem; border-top: 1px solid var(--border); }

.product-full-desc h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; }
.desc-content { font-size: 0.95rem; line-height: 1.8; color: #333; }


/* WC notices */
.woocommerce-notices-wrapper .woocommerce-message, .woocommerce-notices-wrapper .woocommerce-error { padding: 1rem 1.5rem; margin-bottom: 1rem; font-weight: 600; }
.woocommerce-message { background: #d4f5e9; border-left: 4px solid var(--primary); }
.woocommerce-error { background: #fde8e8; border-left: 4px solid #e53e3e; }

/* WC pagination */
.woocommerce-pagination { margin-top: 2rem; display: flex; justify-content: center; }
.woocommerce-pagination .page-numbers { display: flex; gap: 0.4rem; }
.woocommerce-pagination a, .woocommerce-pagination span { padding: 0.5rem 0.8rem; border: 1px solid var(--border); font-weight: 600; font-size: 0.85rem; transition: background 0.2s; }
.woocommerce-pagination .current { background: var(--dark); color: var(--white); border-color: var(--dark); }
.woocommerce-pagination a:hover { background: var(--bg); }

/* === PROGRESS BARS (section-blends) === */
.canapuff-progress-bars { margin: 1.5rem 0 2rem; width: 100%; }
.canapuff-progress-bars--inner { display: flex; flex-direction: column; gap: 10px; }
.canapuff-progress-bars--single { display: flex; flex-direction: column; }
.canapuff-progress-bars--heading { margin-bottom: 5px; font-weight: 600; font-size: 0.9rem; display: flex; justify-content: space-between; align-items: center; }
.canapuff-progress-bars--progress { height: 20px; position: relative; border-radius: 7px; background: linear-gradient(90deg, #50AC93 0%, #FED01A 40%, #EF818C 70%, #333333 95%); overflow: visible; }
.canapuff-progress-bars--progress-label { width: 12px; height: 30px; background: white; border: 1px solid #5f5f5f; border-radius: 5px; top: -5px; left: var(--percent-position, 50%); position: absolute; transform: translateX(-50%); box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.canapuff-progress-bars--label { position: relative; top: 5px; left: var(--percent-position, 50%); transform: translateX(-50%); width: fit-content; font-size: 0.85rem; font-weight: 700; color: #333; }
@media only screen and (min-width: 1100px) {
  .canapuff-progress-bars--inner { flex-direction: row; gap: 30px; }
  .canapuff-progress-bars--single { flex: 1 1 50%; }
}

/* === HAPPY CUSTOMERS MARQUEE (image-carousel-section) === */
.image-carousel-section { padding: 60px 0; position: relative; overflow: hidden; }
.image-carousel-section .section-heading { text-align: center; margin-bottom: 40px; padding: 0 20px; }
.image-carousel-section .section-heading h2 { font-size: 32px; font-weight: 700; margin: 0; line-height: 1.3; }

.image-carousel-container { position: relative; overflow: hidden; width: 100%; }
.image-carousel-track { display: flex; width: fit-content; will-change: transform; }
.image-carousel-content { display: flex; gap: 16px; padding: 10px 0; }
.image-carousel-content.cloned { margin-left: 16px; }

.image-card { flex: 0 0 200px; width: 200px; height: 300px; background: #f5f5f5; border-radius: 20px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.image-card:hover { transform: translateY(-8px); box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
.card-image { width: 100%; height: 100%; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }

@media screen and (max-width: 989px) {
  .image-carousel-section .section-heading h2 { font-size: 24px; }
  .image-card { flex: 0 0 320px; width: 320px; height: 400px; }
}
@media screen and (max-width: 749px) {
  .image-carousel-section { padding: 40px 0; }
  .image-carousel-section .section-heading { margin-bottom: 30px; }
  .image-carousel-section .section-heading h2 { font-size: 18px; }
  .image-card { flex: 0 0 280px; width: 280px; height: 350px; }
  .image-carousel-content { gap: 12px; }
  .image-carousel-content.cloned { margin-left: 12px; }
}

/* === STAR RATING & REVIEWS === */

/* Ürün yıldız puanı (canapuff-star-rating) */
.canapuff-star-rating {
  display: inline-flex; align-items: center; gap: 2px;
  font-size: 1.1rem; line-height: 1;
}
.canapuff-star-rating .star--full  { color: #FFD700; }
.canapuff-star-rating .star--half  { color: #FFD700; opacity: 0.6; }
.canapuff-star-rating .star--empty { color: #ddd; }
.canapuff-star-rating .rating-count { font-size: 0.82rem; color: var(--muted); margin-left: 4px; font-weight: 500; }

/* WooCommerce varsayılan star-rating override */
.star-rating { display: inline-flex; align-items: center; gap: 1px; color: #FFD700; font-size: 1rem; letter-spacing: 1px; }
.star-rating span::before { content: "★★★★★"; color: #FFD700; }
.woocommerce-product-rating { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }

/* Yorum listesi */
.woocommerce-Reviews { padding-top: 2rem; }
.woocommerce-Reviews-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.5rem; }
.commentlist { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; }
.commentlist .comment { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; padding: 1.25rem; background: #fff; border: 1px solid var(--border); border-radius: 8px; }
.commentlist .comment .avatar, .canapuff-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.commentlist .comment .comment-text { flex: 1; }
.commentlist .comment .meta strong { font-weight: 700; font-size: 0.95rem; }
.commentlist .comment .meta time { font-size: 0.8rem; color: var(--muted); margin-left: 0.5rem; }
.commentlist .comment .description p { font-size: 0.92rem; line-height: 1.6; color: #333; margin-top: 0.5rem; }
.comment-form-rating label { font-weight: 700; display: block; margin-bottom: 0.4rem; }

/* Yorum formu alanları — yorum VAR ise görünür */
.comment-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.comment-form label { font-weight: 700; font-size: 0.85rem; display: block; margin-bottom: 0.3rem; }
.comment-form input, .comment-form textarea { width: 100%; padding: 0.7rem 1rem; border: 1px solid var(--border); font-family: var(--font); font-size: 0.95rem; background: #fff; }
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form-comment { width: 100%; }
.form-submit .submit { background: var(--dark); color: #fff; padding: 0.75rem 2rem; font-family: var(--font); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.04em; border: none; cursor: pointer; border-radius: 60px; transition: background 0.2s; }
.form-submit .submit:hover { background: #333; }

/* "Bilgilerimi kaydet" gizle (PHP filter ile zaten kaldırılıyor — ikinci hat) */
.comment-form-cookies-consent, #wp-comment-cookies-consent { display: none !important; }

/* Yorum yok → sekme zaten gizleniyor (PHP), CSS ihtiyat katmanı */
.woocommerce-noreviews, p.no-reviews { display: none !important; }


/* === CART PAGE === */
.cart-page { max-width: 1300px; margin: 3rem auto; padding: 0 2rem; display: grid; grid-template-columns: 1fr 300px; gap: 3rem; align-items: start; }
.cart-title { grid-column: 1/-1; font-size: 1.8rem; font-weight: 800; margin-bottom: 0.5rem; }
.cart-item { display: grid; grid-template-columns: 80px 1fr auto auto auto; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.cart-item-image img { width: 80px; height: 80px; object-fit: cover; }
.cart-item-name { font-weight: 700; font-size: 0.9rem; display: block; margin-bottom: 0.3rem; }
.cart-item-price { font-size: 0.85rem; color: var(--muted); }
.cart-item-subtotal { font-weight: 700; color: var(--primary); white-space: nowrap; }
.remove-item { font-size: 1.3rem; color: var(--muted); line-height: 1; transition: color 0.2s; }
.remove-item:hover { color: #e53e3e; }
.cart-actions { margin-top: 1rem; }
.cart-totals { background: var(--white); padding: 1.5rem; border: 1px solid var(--border); }
.cart-totals h2 { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1.2rem; }
.totals-row { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.totals-total { font-weight: 700; font-size: 1.05rem; color: var(--primary); border-bottom: none; }
.cart-checkout-btn { margin-top: 1.25rem; }
.cart-checkout-btn .btn-primary { width: 100%; text-align: center; padding: 1rem; }

/* Mini cart */
.mini-cart-content { padding: 1rem; min-width: 280px; }
.mini-cart-items { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1rem; }
.mini-cart-item { display: flex; align-items: center; gap: 0.75rem; position: relative; }
.mini-cart-item-image img { width: 50px; height: 50px; object-fit: cover; }
.mini-cart-item-name { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.2rem; }
.mini-cart-item-qty { font-size: 0.78rem; color: var(--muted); }
.mini-cart-remove { position: absolute; right: 0; top: 0; color: var(--muted); font-size: 1rem; line-height: 1; }
.mini-cart-total { display: flex; justify-content: space-between; padding: 0.75rem 0; border-top: 1px solid var(--border); font-weight: 700; font-size: 0.9rem; }
.mini-cart-actions { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.mini-cart-actions .btn-primary, .mini-cart-actions .btn-secondary { flex: 1; text-align: center; }
.mini-cart-empty { color: var(--muted); font-size: 0.9rem; text-align: center; padding: 1rem 0; }

/* === BLOG / ARCHIVE === */
.archive-header, .search-header { margin: 2rem 0; padding-bottom: 1.5rem; border-bottom: 2px solid var(--dark); }
.archive-title, .search-title { font-size: 1.6rem; font-weight: 800; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.post-card { background: var(--white); display: flex; flex-direction: column; transition: box-shadow 0.2s; }
.post-card:hover { box-shadow: var(--shadow); }
.post-card-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.post-card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.3; }
.post-card-title a:hover { color: var(--primary); }
.post-card-excerpt { font-size: 0.88rem; color: var(--muted); line-height: 1.6; flex: 1; margin-bottom: 1rem; }
.post-meta { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.5rem; }
.read-more { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dark); border-bottom: 2px solid var(--accent); display: inline; padding-bottom: 1px; }
.pagination { margin-top: 2.5rem; display: flex; justify-content: center; }
.page-numbers { display: flex; gap: 0.4rem; }
.page-numbers a, .page-numbers span { padding: 0.5rem 0.8rem; border: 1px solid var(--border); font-weight: 600; font-size: 0.85rem; }
.page-numbers .current { background: var(--dark); color: var(--white); border-color: var(--dark); }

/* Single post */
.single-post { max-width: 760px; margin: 0 auto; }
.post-header { margin: 2rem 0 1.5rem; }
.post-title { font-size: 2rem; font-weight: 800; line-height: 1.2; margin-bottom: 1rem; }
.post-featured-image { margin-bottom: 2rem; }
.post-featured-image img { width: 100%; border-radius: 0; }
.entry-content { font-size: 1rem; line-height: 1.8; color: #333; }
.entry-content h2, .entry-content h3 { font-weight: 700; margin: 1.5rem 0 0.75rem; }
.entry-content ul, .entry-content ol,
.product-short-desc ul, .product-short-desc ol,
.desc-content ul, .desc-content ol,
.term-description ul, .term-description ol,
.term-description-bottom ul, .term-description-bottom ol {
  padding-left: 1.5rem; margin-bottom: 1.5rem;
}
.entry-content li, .product-short-desc li, .desc-content li, .term-description li, .term-description-bottom li { margin-bottom: 0.5rem; }

/* Uzun Açıklama Checkmark */
.desc-content ul, .entry-content ul, .term-description ul, .term-description-bottom ul { list-style: none; }
.desc-content li, .entry-content li, .term-description li, .term-description-bottom li { position: relative; }
.desc-content li::before, .entry-content li::before, .term-description li::before, .term-description-bottom li::before {
  content: "✓";
  position: absolute;
  left: -1.2rem;
  top: 0;
  color: var(--primary);
  font-weight: 800;
  font-size: 1.1rem;
}
.post-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.tag-link { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; padding: 0.25rem 0.6rem; border: 1px solid var(--border); color: var(--muted); }
.tag-link:hover { border-color: var(--dark); color: var(--dark); }

/* 404 */
.error-404 { display: flex; align-items: center; justify-content: center; min-height: 60vh; text-align: center; }
.error-code { font-size: 8rem; font-weight: 800; line-height: 1; color: rgba(0,0,0,0.06); display: block; margin-bottom: -2rem; }
.error-404-content h1 { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.error-404-content p { color: var(--muted); margin-bottom: 2rem; }
.error-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* No results */
.no-results { padding: 4rem 2rem; text-align: center; color: var(--muted); }
.no-results h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--dark); }

/* Search results */
.search-result-item { display: flex; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
.search-result-thumb img { width: 80px; height: 80px; object-fit: cover; flex-shrink: 0; }
.search-result-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.search-result-title a:hover { color: var(--primary); }
.search-result-excerpt { font-size: 0.88rem; color: var(--muted); line-height: 1.5; margin-bottom: 0.4rem; }
.search-result-type { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--primary); }

/* === PAGE CONTENT === */
.page-content { max-width: 860px; margin: 0 auto; padding: 2rem 0 4rem; }
.page-header { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 2px solid var(--dark); }
.page-title { font-size: 2rem; font-weight: 800; }

/* === SHOP HEADER === */
.shop-header { padding: 2rem 0; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.shop-title { font-size: 1.8rem; font-weight: 800; }
.term-description { font-size: 0.95rem; color: var(--muted); margin-top: 0.5rem; max-width: 700px; }

/* === WOOCOMMERCE MISC === */
.woocommerce-result-count { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.woocommerce-ordering select { padding: 0.4rem 0.8rem; border: 1px solid var(--border); font-family: var(--font); font-size: 0.85rem; }

/* === SECTION-BOXED (Canapuff "Currently trending" tarzı) === */
.section-boxed {
  background: #fff;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.section-boxed-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-boxed .product-full-desc { border-top: none; padding-top: 0; }
.section-boxed .product-full-desc h2 { font-size: 1.4rem; }

/* İlgili Ürünler — boxed kart içinde */
.section-related .related > h2 {
  font-size: 1.4rem; font-weight: 700;
  margin: 0 0 1.5rem; padding: 0; border: none;
}
.section-related ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 275px);
  justify-content: center;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}
.section-related ul.products .product {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  background: #ebebeb;
  border-radius: 1rem;
  padding: 1.25rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.section-related ul.products .product:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.section-related ul.products .product a img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.6rem;
  margin-bottom: 0.75rem;
  display: block;
}
.section-related ul.products .product a h2,
.section-related ul.products .product .woocommerce-loop-product__title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.3rem;
  color: var(--dark);
}
.section-related ul.products .product .price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
}
.section-related ul.products .product .button {
  display: block;
  width: 100%;
  margin-top: 0.6rem;
  padding: 0.6rem;
  background: var(--dark);
  color: #fff;
  text-align: center;
  border: none;
  border-radius: 60px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.section-related ul.products .product .button:hover { background: var(--primary); }

/* === SECTION-BLENDS (Canapuff "Let customers speak" tarzı) === */
.section-blends {
  width: 100%;
  background: linear-gradient(180deg, #f3f0ff 0%, #ebf1f5 50%, #fff 100%);
  padding: 3rem 0;
}
.section-blends-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}
.section-blends-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  color: var(--dark);
}
/* Yorum kartları — blends stili */
.section-blends .commentlist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.section-blends .commentlist .comment {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  grid-template-columns: unset;
}
.section-blends .commentlist .comment .avatar { width: 36px; height: 36px; }
.section-blends .commentlist .comment .meta { display: flex; align-items: center; gap: 0.5rem; }
.section-blends .commentlist .comment .description p { margin-top: 0; font-size: 0.9rem; }

/* Yorum Ekleme Formunu Gizle */
#review_form_wrapper,
.comment-respond {
  display: none !important;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .multi-column-grid { grid-template-columns: repeat(2, 1fr); }
  .product-top { grid-template-columns: 1fr; }
  .cart-page { grid-template-columns: 1fr; }
  .section-related ul.products { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .header-nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: #000; padding: 1rem 2rem; border-top: 1px solid rgba(255,255,255,0.1); z-index: 99; }
  .header-nav.open { display: block; }
  .header-nav .header-container { flex-direction: column; height: auto; align-items: flex-start; }
  .nav-bestseller { margin-bottom: 0.75rem; }
  .nav-list { flex-direction: column; gap: 0; width: 100%; }
  .nav-list a { padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.07); width: 100%; }
  .nav-list .sub-menu { position: static; box-shadow: none; border-top: none; background: rgba(255,255,255,0.02); padding-left: 1rem; border-left: 1px solid rgba(255,255,255,0.1); }
  .nav-list .sub-menu a { padding: 0.6rem 0; border-bottom: none; }
  .cat-banner-content { padding: 0; }
  .cat-banner-title { background: rgba(255, 255, 255, 0.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 0.5rem 1rem; border-radius: 8px; display: inline-block; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.25rem; }
  .product-card-info { padding: 0.5rem; }
  .section-boxed-inner { padding: 0 1.2rem; }
  .section-related .section-boxed-inner { padding: 0 0.25rem; }
  .hero { min-height: 400px; }
  .hero-content { max-width: 100%; text-align: center; }
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .multi-column-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .post-grid { grid-template-columns: 1fr; }
  .section-related ul.products { grid-template-columns: repeat(2, 1fr); gap: 0.25rem; }
  .section-related ul.products .product { padding: 0.75rem; }
  .section-blends-title { font-size: 1.3rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cart-item { grid-template-columns: 60px 1fr auto; }
  .cart-item-price, .cart-item-quantity { display: none; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .multi-column-grid { grid-template-columns: 1fr; }
  .container { padding: 0 1rem; }
  .hero-title { font-size: 1.8rem; }
  .error-code { font-size: 5rem; }
  .header-inner { padding: 0 1rem; }
}

/* === AGE GATE === */
#age-gate-overlay { position: fixed; inset: 0; background: rgba(10,10,10,0.97); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
#age-gate-modal { background: #fff; padding: 3rem 2.5rem; max-width: 460px; width: 90%; text-align: center; }
.age-gate-logo { font-size: 1.5rem; font-weight: 800; letter-spacing: 0.1em; margin-bottom: 1.5rem; color: #111; }
#age-gate-modal h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.75rem; line-height: 1.4; }
#age-gate-modal p { font-size: 0.88rem; color: #555; margin-bottom: 1.5rem; line-height: 1.6; }
.age-gate-actions { display: flex; gap: 0.75rem; flex-direction: column; margin-bottom: 1rem; }
.age-gate-note { font-size: 0.75rem; color: #999; font-style: italic; }

/* === VARIATION MODAL === */
#variation-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 1000; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.25s; }
#variation-modal-overlay.open { opacity: 1; }
#variation-modal { background: #fff; width: 90%; max-width: 480px; max-height: 85vh; overflow-y: auto; display: flex; flex-direction: column; }
.vmodal-header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid #e5e5e5; }
.vmodal-title { font-size: 1.05rem; font-weight: 700; }
.vmodal-close { font-size: 1.5rem; line-height: 1; color: #666; cursor: pointer; background: none; border: none; padding: 0.2rem; transition: color 0.2s; }
.vmodal-close:hover { color: #111; }
.vmodal-body { padding: 1.5rem; }
.vmodal-loading { text-align: center; color: #999; padding: 2rem 0; }
.vmodal-error { color: #e53e3e; font-size: 0.9rem; }
.vmodal-attr-group { margin-bottom: 1.25rem; }
.vmodal-attr-label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #555; margin-bottom: 0.5rem; }
.vmodal-attr-options { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.vmodal-option { padding: 0.4rem 0.9rem; border: 2px solid #e5e5e5; font-family: 'Barlow', sans-serif; font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: border-color 0.15s, background 0.15s; background: #fff; }
.vmodal-option:hover { border-color: #111; }
.vmodal-option.active { border-color: #111; background: #111; color: #fff; }
.vmodal-price { font-size: 1.3rem; font-weight: 700; color: #50AC92; margin: 1rem 0 0.4rem; }
.vmodal-stock { font-size: 0.82rem; font-weight: 600; display: block; margin-bottom: 1rem; }
.vmodal-stock.in { color: #50AC92; }
.vmodal-stock.out { color: #e53e3e; }
.vmodal-add-btn { width: 100%; padding: 1rem; margin-top: 0.5rem; }

/* === CONTACT FORM 7 MODERNIZE === */
.wpcf7 { max-width: 800px; margin: 0 auto; }
.canapuff-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.canapuff-form-group { margin-bottom: 1.5rem; }
.canapuff-form-group label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.5rem; color: var(--dark); }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  padding: 1.25rem 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 1.05rem;
  background: #f9f9f9;
  color: var(--dark);
  transition: all 0.3s ease;
}
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(80, 172, 146, 0.15);
}
.wpcf7 textarea { min-height: 180px; resize: vertical; }
.canapuff-form-submit { text-align: center; margin-top: 1rem; }
.wpcf7 input[type="submit"] {
  background: #4fba96; /* Görseldeki buton yeşili */
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 1.2rem 4rem;
  border: none;
  border-radius: 50px; /* Radiuslu buton */
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.wpcf7 input[type="submit"]:hover {
  transform: translateY(-2px);
  background: #42a182;
  box-shadow: 0 8px 20px rgba(79, 186, 150, 0.35);
}
.wpcf7-not-valid-tip { font-size: 0.85rem; margin-top: 0.5rem; color: #e53e3e; }
.canapuff-form-notice { background: rgba(79, 186, 150, 0.1); border-left: 3px solid #4fba96; padding: 1rem; border-radius: 8px; font-size: 0.9rem; color: var(--dark); line-height: 1.5; margin-bottom: 1.5rem; }
.canapuff-form-notice strong { color: #4fba96; }
@media (max-width: 768px) {
  .canapuff-form-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
}
.vmodal-add-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.vmodal-feedback { min-height: 1.5rem; }

/* === FAQ SECTION === */
.home-faq { padding: 4rem 0; background: #fff; border-bottom: 1px solid var(--border); }
.home-faq .section-header { margin-bottom: 3rem; }
.home-faq .section-subtitle { color: var(--muted); font-size: 1.05rem; }
.faq-container { max-width: 900px; margin: 0 auto; }

/* FAQ Category Heading */
.faq-category-title { font-size: 1.3rem; font-weight: 800; color: var(--dark); margin: 2rem 0 1rem; border-bottom: 2px solid var(--border); padding-bottom: 0.5rem; }
.faq-panel:first-child .faq-category-title { margin-top: 0; }

/* FAQ Panels & Accordion */
.faq-panel { display: block; margin-bottom: 2.5rem; }
.faq-panel:last-child { margin-bottom: 0; }

.faq-item { border: 1px solid var(--border); border-radius: 8px; margin-bottom: 1rem; overflow: hidden; background: #fafafa; transition: border-color 0.2s; }
.faq-item.active { border-color: var(--primary); background: #fff; }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; background: transparent; border: none; font-family: var(--font); font-size: 1.05rem; font-weight: 700; color: var(--dark); cursor: pointer; text-align: left; }
.faq-icon { font-size: 1.5rem; font-weight: 300; line-height: 1; transition: transform 0.3s; color: var(--primary); }
.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 0 1.5rem 1.5rem; color: #444; font-size: 0.95rem; line-height: 1.7; }
.faq-answer-inner p { margin-bottom: 1rem; }
.faq-answer-inner p:last-child { margin-bottom: 0; }
.faq-answer-inner ul, .faq-answer-inner ol { margin-left: 1.5rem; margin-bottom: 1rem; }
.faq-answer-inner li { margin-bottom: 0.4rem; }

@media (max-width: 768px) {
  .faq-tab-btn { padding: 0.6rem 1rem; font-size: 0.85rem; }
  .faq-question { padding: 1rem; font-size: 0.95rem; }
  .faq-answer-inner { padding: 0 1rem 1rem; }
}
