/*
Theme Name: Mandalina Dünyası
Theme URI: https://example.com/mandalina-dunyasi
Author: Mandalina Studio
Author URI: https://example.com
Description: Mandalina temalı, butik bir yaşam tarzı ve e-ticaret WordPress teması. WooCommerce uyumlu, çok sayfalı, tamamen Türkçe. Taze, eğlenceli, mütevazı bir ruhla tasarlandı.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mandalina-dunyasi
Tags: e-commerce, blog, two-columns, right-sidebar, custom-logo, custom-menu, custom-colors, featured-images, full-width-template, threaded-comments, translation-ready, woocommerce
*/

/* ============================================================
   MANDALINA DÜNYASI — Ana stil dosyası
   Renk paleti: turuncu / krem / koyu kahve / yaprak yeşili
   ============================================================ */

:root {
  --md-orange: #EF9F27;
  --md-orange-dark: #BA7517;
  --md-orange-deep: #993C1D;
  --md-cream: #FAEEDA;
  --md-cream-light: #FDF7EC;
  --md-brown: #412402;
  --md-brown-mid: #633806;
  --md-leaf: #173404;
  --md-leaf-mid: #639922;
  --md-leaf-light: #C0DD97;
  --md-rose: #FBEAF0;
  --md-rose-deep: #993556;
  --md-text: #2C2C2A;
  --md-muted: #5F5E5A;
  --md-border: rgba(0,0,0,0.08);
  --md-bg: #FFFEFB;

  --md-font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --md-font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --md-radius-sm: 8px;
  --md-radius-md: 14px;
  --md-radius-lg: 24px;
  --md-radius-pill: 999px;

  --md-shadow-sm: 0 1px 2px rgba(65, 36, 2, 0.04);
  --md-shadow-md: 0 8px 24px rgba(65, 36, 2, 0.08);
  --md-shadow-lg: 0 24px 48px rgba(65, 36, 2, 0.12);

  --md-container: 1200px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--md-orange); }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }

/* === BASE === */
html { scroll-behavior: smooth; }
body {
  font-family: var(--md-font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--md-text);
  background: var(--md-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--md-font-serif); font-weight: 500; line-height: 1.2; color: var(--md-brown); letter-spacing: -0.5px; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { margin-bottom: 1rem; }

.container { width: 100%; max-width: var(--md-container); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }

.eyebrow {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--md-orange-dark); font-weight: 500;
}

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px;
  border-radius: var(--md-radius-pill);
  font-size: 14px; font-weight: 500;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn--primary { background: var(--md-brown); color: var(--md-cream); }
.btn--primary:hover { background: var(--md-orange); color: var(--md-brown); transform: translateY(-2px); }
.btn--orange { background: var(--md-orange); color: var(--md-brown); }
.btn--orange:hover { background: var(--md-brown); color: var(--md-cream); }
.btn--outline { background: transparent; border: 1px solid var(--md-brown); color: var(--md-brown); }
.btn--outline:hover { background: var(--md-brown); color: var(--md-cream); }

/* === TOP BAR === */
.topbar {
  background: var(--md-cream);
  color: var(--md-brown-mid);
  font-size: 12px;
  padding: 8px 0;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar__msg { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__locale { white-space: nowrap; flex-shrink: 0; opacity: .8; }

/* === HEADER === */
.site-header {
  background: rgba(255, 254, 251, 0.92);
  border-bottom: 1px solid var(--md-border);
  position: sticky;
  top: 0; z-index: 100;
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
}
.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 16px 0;
  gap: 32px;
}
.site-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; min-width: 0; }
.site-logo__icon {
  width: 36px; height: 36px;
  background: var(--md-orange);
  border-radius: 50%; position: relative;
  flex-shrink: 0;
}
.site-logo__icon::before {
  content: ''; position: absolute;
  top: -5px; right: 7px;
  width: 11px; height: 16px;
  background: var(--md-leaf-mid);
  border-radius: 60% 40% 50% 50% / 70% 70% 30% 30%;
  transform: rotate(20deg);
}
.site-logo__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.site-logo__name {
  font-family: var(--md-font-serif); font-size: 19px;
  color: var(--md-brown); font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px;
}
.site-logo__tag { font-size: 10px; color: var(--md-orange-dark); letter-spacing: 1.5px; text-transform: uppercase; }

.main-nav { min-width: 0; }
.main-nav > div, .main-nav > ul { width: 100%; }
.main-nav ul {
  display: flex; gap: 28px; justify-content: center; align-items: center;
  flex-wrap: nowrap;
}
.main-nav li { white-space: nowrap; position: relative; }
.main-nav a {
  font-size: 14px; color: var(--md-text);
  position: relative; padding: 8px 2px;
  font-weight: 400;
  letter-spacing: 0.1px;
}
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--md-brown); }
.main-nav .current-menu-item > a::after {
  content: ''; position: absolute; bottom: 2px; left: 0; right: 0; height: 2px;
  background: var(--md-orange);
  border-radius: 1px;
}

/* Dropdown indicator (chevron) */
.main-nav .menu-item-has-children > a {
  padding-right: 16px;
}
.main-nav .menu-item-has-children > a::before {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  opacity: .55;
  transition: transform .2s ease;
}
.main-nav .menu-item-has-children:hover > a::before {
  transform: translateY(-30%) rotate(225deg);
}

/* Desktop dropdown */
.main-nav .sub-menu {
  display: block;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  background: var(--md-bg);
  border: 1px solid var(--md-border);
  border-radius: var(--md-radius-md);
  box-shadow: 0 12px 32px rgba(65, 36, 2, 0.10);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  z-index: 50;
  flex-direction: column;
  gap: 0;
  flex-wrap: nowrap;
  justify-content: flex-start;
}
.main-nav .sub-menu::before {
  content: '';
  position: absolute;
  top: -7px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: var(--md-bg);
  border-left: 1px solid var(--md-border);
  border-top: 1px solid var(--md-border);
}
.main-nav .menu-item-has-children:hover > .sub-menu,
.main-nav .menu-item-has-children:focus-within > .sub-menu,
.main-nav .menu-item-has-children.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.main-nav .sub-menu li {
  display: block;
  margin: 0;
  width: 100%;
}
.main-nav .sub-menu a {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  color: var(--md-text);
  white-space: nowrap;
  border-radius: 0;
  transition: background .15s, color .15s, padding-left .2s;
}
.main-nav .sub-menu a:hover {
  background: var(--md-cream-light);
  color: var(--md-orange-deep);
  padding-left: 22px;
}
.main-nav .sub-menu a::after { display: none !important; }

/* Mobile drawer submenu (collapsible) */
.mobile-drawer__nav .menu-item-has-children > a {
  position: relative;
}
.mobile-drawer__nav .menu-item-has-children > a::after {
  content: '';
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: .5;
  transition: transform .25s ease;
}
.mobile-drawer__nav .menu-item-has-children.is-open > a::after {
  transform: rotate(225deg);
}
.mobile-drawer__nav .sub-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  background: rgba(250, 238, 218, 0.4);
  padding-left: 0;
}
.mobile-drawer__nav .menu-item-has-children.is-open > .sub-menu {
  max-height: 600px;
}
.mobile-drawer__nav .sub-menu a {
  padding: 13px 22px 13px 38px;
  font-size: 14px;
  color: var(--md-muted);
  border: 0;
}
.mobile-drawer__nav .sub-menu a::after {
  content: '·';
  border: 0;
  transform: none;
  font-size: 20px;
  color: var(--md-orange);
  opacity: .8;
}

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  color: var(--md-brown);
  transition: background .2s ease, color .2s ease;
  cursor: pointer;
}
.header-icon:hover { background: var(--md-cream); color: var(--md-orange-deep); }

.cart-pill {
  background: var(--md-orange); color: var(--md-brown);
  padding: 9px 16px;
  border-radius: var(--md-radius-pill);
  font-size: 13px; font-weight: 500;
  display: inline-flex; gap: 8px; align-items: center;
  transition: background .2s, transform .2s;
  white-space: nowrap;
}
.cart-pill:hover { background: var(--md-brown); color: var(--md-cream); transform: translateY(-1px); }
.cart-pill svg { flex-shrink: 0; }
.cart-pill__count {
  background: rgba(65, 36, 2, 0.15);
  padding: 2px 8px;
  border-radius: var(--md-radius-pill);
  font-size: 11px; font-weight: 600;
  min-width: 22px; text-align: center;
}
.cart-pill:hover .cart-pill__count { background: rgba(255, 254, 251, 0.2); color: var(--md-cream); }

/* Mobile burger */
.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: transparent;
  padding: 0;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 4px;
  transition: background .2s;
}
.menu-toggle:hover { background: var(--md-cream); }
.menu-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--md-brown);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.menu-toggle.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* === MOBILE DRAWER === */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(23, 52, 4, 0.45);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
  z-index: 998;
  backdrop-filter: blur(2px);
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }

.mobile-drawer {
  position: fixed; top: 0; right: 0;
  width: min(86vw, 380px); height: 100vh; height: 100dvh;
  background: var(--md-bg);
  z-index: 999;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(0.32, 0.72, 0, 1);
  display: flex; flex-direction: column;
  box-shadow: -8px 0 32px rgba(65, 36, 2, 0.12);
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--md-border);
}
.mobile-drawer__brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--md-font-serif); font-size: 18px;
  color: var(--md-brown);
}
.drawer-close {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--md-brown);
  transition: background .2s;
}
.drawer-close:hover { background: var(--md-cream); }

.mobile-drawer__search {
  display: flex; align-items: center; gap: 10px;
  margin: 16px 22px;
  padding: 12px 16px;
  background: var(--md-cream-light);
  border-radius: var(--md-radius-pill);
  border: 1px solid var(--md-border);
}
.mobile-drawer__search svg { color: var(--md-muted); flex-shrink: 0; }
.mobile-drawer__search input {
  flex: 1; border: 0; background: transparent;
  font: inherit; font-size: 14px; outline: none;
  color: var(--md-text);
}

.mobile-drawer__nav { flex: 1; overflow-y: auto; padding: 8px 0; }
.mobile-drawer__nav ul { padding: 0; }
.mobile-drawer__nav li {
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.mobile-drawer__nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px;
  font-size: 16px; color: var(--md-brown);
  font-weight: 400;
  transition: background .15s, color .15s;
}
.mobile-drawer__nav a::after {
  content: '→';
  opacity: .35;
  transition: transform .2s, opacity .2s;
}
.mobile-drawer__nav a:hover, .mobile-drawer__nav .current-menu-item > a {
  background: var(--md-cream-light); color: var(--md-orange-deep);
}
.mobile-drawer__nav a:hover::after { opacity: 1; transform: translateX(3px); }
.mobile-drawer__nav .sub-menu li { border: 0; }

.mobile-drawer__foot {
  border-top: 1px solid var(--md-border);
  padding: 18px 22px;
}
.mobile-drawer__quotes {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  margin-bottom: 14px;
  font-family: var(--md-font-serif); font-style: italic;
  font-size: 13px; color: var(--md-orange-dark);
}
.mobile-drawer__social { display: flex; gap: 14px; }
.mobile-drawer__social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--md-cream);
  color: var(--md-brown);
  transition: background .2s, color .2s;
}
.mobile-drawer__social a:hover { background: var(--md-orange); color: white; }

.site-header.is-scrolled {
  background: rgba(255, 254, 251, 0.97);
  box-shadow: 0 1px 12px rgba(65, 36, 2, 0.06);
}
.product-card__heart.is-active { color: var(--md-rose-deep); background: white; }

/* === HERO === */
.hero {
  position: relative;
  background: linear-gradient(135deg, #FAEEDA 0%, #FAC775 100%);
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute;
  top: -120px; right: -120px;
  width: 400px; height: 400px;
  border-radius: 50%; background: var(--md-orange);
  opacity: .25;
}
.hero::after {
  content: ''; position: absolute;
  bottom: -140px; left: -60px;
  width: 280px; height: 280px;
  border-radius: 50%; background: var(--md-orange-dark);
  opacity: .12;
}

.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__inner { max-width: 560px; }
.hero__title { font-family: var(--md-font-serif); font-size: clamp(2.5rem, 6vw, 4.5rem); color: var(--md-brown); line-height: 1; margin: 14px 0 18px; }
.hero__title em { font-style: italic; color: var(--md-orange-deep); }
.hero__sub { font-size: 17px; color: var(--md-brown-mid); max-width: 460px; line-height: 1.6; }
.hero__actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

.hero-grid__visual {
  position: relative;
  height: 480px;
}
.hero-grid__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--md-radius-lg);
  box-shadow: var(--md-shadow-lg);
}
.hero-grid__badge {
  position: absolute;
  bottom: -20px; left: -20px;
  background: var(--md-bg);
  padding: 14px 18px;
  border-radius: var(--md-radius-md);
  box-shadow: var(--md-shadow-md);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--md-brown);
}
.hero-grid__badge strong { font-family: var(--md-font-serif); font-size: 18px; color: var(--md-orange-deep); }

@media (max-width: 720px) {
  .hero-grid__visual { height: 320px; }
  .hero-grid__badge { display: none; }
}

/* === MANTRA STRIP === */
.mantra-strip {
  background: var(--md-leaf);
  color: var(--md-leaf-light);
  padding: 22px 0;
  font-family: var(--md-font-serif);
  font-style: italic;
  font-size: 15px;
  overflow: hidden;
}
.mantra-strip__inner {
  display: flex; gap: 60px; justify-content: space-between;
  flex-wrap: wrap;
}
.mantra-strip span::before { content: '✦ '; color: var(--md-orange); }

/* === SECTION HEADER === */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; flex-wrap: wrap; gap: 16px; }
.section-head__title { margin-top: 6px; }
.section-head a { font-size: 13px; color: var(--md-orange-dark); border-bottom: 1px solid var(--md-orange-dark); padding-bottom: 2px; }

/* === PRODUCT GRID === */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.product-card {
  background: var(--md-bg);
  border: 1px solid var(--md-border);
  border-radius: var(--md-radius-md);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--md-shadow-md); }
.product-card__media {
  position: relative;
  height: 220px;
  background-size: cover; background-position: center;
  background-color: var(--md-cream);
  display: flex; align-items: center; justify-content: center;
}
.product-card__badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--md-orange-deep); color: white;
  font-size: 10px; padding: 4px 10px; border-radius: var(--md-radius-pill);
  letter-spacing: 1px; text-transform: uppercase;
}
.product-card__badge--new { background: var(--md-leaf); }
.product-card__badge--sale { background: var(--md-rose-deep); }
.product-card__heart {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; background: rgba(255,255,255,.85);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s;
}
.product-card__heart:hover { background: white; color: var(--md-rose-deep); }
.product-card__emoji { font-size: 64px; }
.product-card__body { padding: 16px 18px; }
.product-card__title { font-size: 15px; font-weight: 500; color: var(--md-brown); margin-bottom: 4px; }
.product-card__meta { font-size: 12px; color: var(--md-muted); }
.product-card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.product-card__price { font-size: 16px; font-weight: 500; color: var(--md-orange-deep); }
.product-card__old { color: var(--md-muted); text-decoration: line-through; font-size: 12px; margin-left: 6px; font-weight: 400; }
.product-card__rating { font-size: 12px; color: var(--md-orange-dark); }

/* === FEATURE STRIP === */
.feature-strip { background: var(--md-rose); padding: 50px 0; }
.feature-strip__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px;
  text-align: center;
}
.feature-strip__icon { font-size: 32px; margin-bottom: 8px; }
.feature-strip__title { color: #4B1528; font-weight: 500; font-size: 15px; }
.feature-strip__sub { color: var(--md-rose-deep); font-size: 12px; margin-top: 4px; }

/* === STORY / SPLIT === */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split__visual {
  height: 460px; border-radius: var(--md-radius-lg);
  position: relative; overflow: hidden;
  background-size: cover; background-position: center;
  box-shadow: var(--md-shadow-md);
}
.split__visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(23,52,4,0.6));
}
.split__caption {
  position: absolute; bottom: 24px; left: 28px;
  color: var(--md-leaf-light); font-size: 11px; letter-spacing: 2px;
  z-index: 2;
}
.split__title { margin: 8px 0 16px; }
.split__text { color: var(--md-muted); }

/* === QUOTE BANNER === */
.quote-banner {
  background: var(--md-cream);
  text-align: center;
  padding: 90px 0;
}
.quote-banner__text {
  font-family: var(--md-font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  color: var(--md-brown);
  max-width: 620px; margin: 18px auto 14px;
  line-height: 1.3;
  font-style: italic;
}
.quote-banner__attr { color: var(--md-brown-mid); font-size: 13px; }

/* === BLOG GRID === */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.blog-card { transition: transform .3s ease; display: block; }
.blog-card:hover { transform: translateY(-4px); }
.blog-card__media {
  height: 220px; border-radius: var(--md-radius-md);
  background-size: cover; background-position: center;
  background-color: var(--md-cream);
  margin-bottom: 16px;
  position: relative; overflow: hidden;
}
.blog-card__cat { font-size: 10px; color: var(--md-orange-dark); letter-spacing: 1.5px; text-transform: uppercase; }
.blog-card__title { font-size: 18px; font-weight: 500; margin-top: 6px; line-height: 1.3; color: var(--md-brown); font-family: var(--md-font-serif); }
.blog-card__date { font-size: 12px; color: var(--md-muted); margin-top: 6px; display: block; }

/* === NEWSLETTER === */
.newsletter {
  background: var(--md-leaf);
  color: var(--md-leaf-light);
  padding: 70px 0; text-align: center;
}
.newsletter h2 { color: #E1F5EE; }
.newsletter__form {
  display: flex; gap: 8px; justify-content: center; margin-top: 24px;
  flex-wrap: wrap; max-width: 480px; margin-left: auto; margin-right: auto;
}
.newsletter__form input[type="email"] {
  flex: 1; min-width: 240px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--md-leaf-light);
  padding: 12px 18px;
  border-radius: var(--md-radius-pill);
  font-size: 14px;
}
.newsletter__form input[type="email"]::placeholder { color: rgba(159, 225, 203, 0.6); }
.newsletter__form button {
  background: var(--md-orange);
  color: var(--md-brown);
  padding: 12px 24px;
  border-radius: var(--md-radius-pill);
  font-weight: 500;
  font-size: 14px;
}
.newsletter__form button:hover { background: white; }

/* === FOOTER === */
.site-footer { background: #0a1f04; color: var(--md-leaf-light); padding: 56px 0 0; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.site-footer h4 { color: #EAF3DE; font-family: var(--md-font-sans); font-size: 14px; margin-bottom: 12px; font-weight: 500; }
.site-footer ul li { margin-bottom: 8px; font-size: 13px; opacity: .85; }
.site-footer ul li a:hover { color: var(--md-orange); opacity: 1; }
.site-footer__bottom {
  border-top: 1px solid rgba(192, 221, 151, 0.15);
  padding: 18px 0;
  font-size: 11px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  color: rgba(192, 221, 151, 0.6);
}

/* === SINGLE / PAGE === */
.entry-header { padding: 60px 0 40px; text-align: center; }
.entry-header__cat { color: var(--md-orange-dark); }
.entry-header__title { margin-top: 8px; }
.entry-header__meta { color: var(--md-muted); font-size: 13px; margin-top: 12px; }
.entry-content {
  max-width: 720px; margin: 0 auto; padding: 0 24px 80px;
  font-size: 17px; color: var(--md-text);
}
.entry-content p, .entry-content ul, .entry-content ol, .entry-content blockquote { margin-bottom: 1.4rem; }
.entry-content h2, .entry-content h3 { margin: 2rem 0 1rem; }
.entry-content blockquote {
  border-left: 4px solid var(--md-orange);
  padding-left: 22px;
  font-family: var(--md-font-serif); font-style: italic;
  color: var(--md-brown);
  font-size: 1.2em;
}
.entry-content img { border-radius: var(--md-radius-md); margin: 1rem 0; }
.entry-content a { color: var(--md-orange-deep); border-bottom: 1px solid var(--md-orange-deep); }
.entry-content ul li, .entry-content ol li { list-style: disc inside; margin-bottom: .4rem; }
.entry-content ol li { list-style: decimal inside; }

.entry-thumbnail { margin: 0 0 30px; }
.entry-thumbnail img { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--md-radius-lg); }

/* === ARCHIVE === */
.archive-header { padding: 60px 0 30px; text-align: center; background: var(--md-cream-light); }
.posts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.post-card { background: var(--md-bg); border: 1px solid var(--md-border); border-radius: var(--md-radius-md); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--md-shadow-md); }
.post-card__media { height: 200px; background: linear-gradient(45deg, var(--md-orange), var(--md-orange-deep)); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 20px; }
.post-card__cat { font-size: 10px; color: var(--md-orange-dark); letter-spacing: 1.5px; text-transform: uppercase; }
.post-card__title { font-size: 18px; font-weight: 500; margin: 6px 0 8px; color: var(--md-brown); }
.post-card__excerpt { font-size: 13px; color: var(--md-muted); }

/* === PAGINATION === */
.pagination { display: flex; justify-content: center; gap: 6px; margin: 48px 0; flex-wrap: wrap; }
.pagination a, .pagination span {
  padding: 10px 14px; border-radius: var(--md-radius-sm);
  border: 1px solid var(--md-border); font-size: 13px; color: var(--md-brown);
  min-width: 40px; text-align: center;
}
.pagination .current { background: var(--md-orange); color: var(--md-brown); border-color: var(--md-orange); }
.pagination a:hover { background: var(--md-cream); }

/* === COMMENTS === */
.comments-area { max-width: 720px; margin: 40px auto; padding: 0 24px; }
.comments-title { font-size: 22px; margin-bottom: 24px; }
.comment { background: var(--md-cream-light); border-radius: var(--md-radius-md); padding: 18px 22px; margin-bottom: 16px; list-style: none; }
.comment-meta { font-size: 12px; color: var(--md-muted); margin-bottom: 8px; }
.comment-author { font-weight: 500; color: var(--md-brown); }
.comment-form { background: var(--md-cream-light); padding: 28px; border-radius: var(--md-radius-md); }
.comment-form label { display: block; font-size: 13px; margin-bottom: 6px; color: var(--md-muted); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--md-border);
  border-radius: var(--md-radius-sm); font: inherit; margin-bottom: 14px; background: white;
}
.comment-form input[type="submit"] {
  background: var(--md-brown); color: var(--md-cream);
  padding: 12px 26px; border-radius: var(--md-radius-pill); border: 0; cursor: pointer;
  font-weight: 500;
}
.comment-form input[type="submit"]:hover { background: var(--md-orange); color: var(--md-brown); }

/* === SIDEBAR / WIDGETS === */
.widget { margin-bottom: 32px; }
.widget-title { font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--md-orange-dark); margin-bottom: 12px; }
.widget ul li { padding: 6px 0; border-bottom: 1px solid var(--md-border); font-size: 14px; }
.widget ul li:last-child { border-bottom: 0; }

/* === SEARCH === */
.search-form { display: flex; gap: 8px; max-width: 480px; margin: 20px auto; }
.search-form input[type="search"] { flex: 1; padding: 12px 18px; border: 1px solid var(--md-border); border-radius: var(--md-radius-pill); font: inherit; }
.search-form button { background: var(--md-orange); color: var(--md-brown); padding: 12px 22px; border-radius: var(--md-radius-pill); font-weight: 500; }

/* === 404 === */
.error-404 { text-align: center; padding: 100px 24px; }
.error-404 .num { font-family: var(--md-font-serif); font-size: 8rem; color: var(--md-orange); line-height: 1; }

/* === CONTACT === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info ul { margin-top: 18px; }
.contact-info li { padding: 12px 0; border-bottom: 1px solid var(--md-border); display: flex; gap: 12px; align-items: center; font-size: 14px; }
.contact-info li strong { min-width: 70px; color: var(--md-brown); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--md-border);
  border-radius: var(--md-radius-sm); font: inherit; margin-bottom: 14px;
  background: white;
}
.contact-form button { background: var(--md-brown); color: var(--md-cream); padding: 14px 32px; border-radius: var(--md-radius-pill); font-weight: 500; }
.contact-form button:hover { background: var(--md-orange); color: var(--md-brown); }

/* === ABOUT TIMELINE === */
.about-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.about-value {
  text-align: center; padding: 30px 24px;
  background: var(--md-cream-light); border-radius: var(--md-radius-md);
}
.about-value__num { font-family: var(--md-font-serif); font-size: 2.5rem; color: var(--md-orange); }
.about-value__label { color: var(--md-brown); font-weight: 500; margin-top: 6px; }

/* === WOOCOMMERCE TWEAKS === */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important; gap: 22px; margin: 0 !important; }
.woocommerce ul.products li.product { width: 100% !important; margin: 0 !important; padding: 0 !important; background: var(--md-bg); border: 1px solid var(--md-border); border-radius: var(--md-radius-md); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--md-shadow-md); }
.woocommerce ul.products li.product img { margin: 0 !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 12px 16px 4px !important; font-size: 15px !important; color: var(--md-brown); font-family: var(--md-font-sans) !important; font-weight: 500 !important; }
.woocommerce ul.products li.product .price { padding: 0 16px 12px; color: var(--md-orange-deep) !important; font-weight: 500 !important; }
.woocommerce ul.products li.product .button { display: block !important; margin: 0 16px 16px !important; background: var(--md-brown) !important; color: var(--md-cream) !important; border-radius: var(--md-radius-pill) !important; padding: 10px 16px !important; text-align: center; font-weight: 500 !important; }
.woocommerce ul.products li.product .button:hover { background: var(--md-orange) !important; color: var(--md-brown) !important; }
.woocommerce span.onsale { background: var(--md-rose-deep) !important; border-radius: var(--md-radius-pill) !important; padding: 4px 12px !important; font-size: 11px !important; min-height: auto !important; line-height: 1.4 !important; top: 14px !important; left: 14px !important; right: auto !important; }
.woocommerce-product-gallery img { border-radius: var(--md-radius-md); }
.woocommerce div.product .product_title { font-family: var(--md-font-serif) !important; color: var(--md-brown) !important; }
.woocommerce div.product p.price { color: var(--md-orange-deep) !important; }
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button { background: var(--md-brown) !important; color: var(--md-cream) !important; border-radius: var(--md-radius-pill) !important; padding: 12px 26px !important; font-weight: 500 !important; }
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--md-orange) !important; color: var(--md-brown) !important; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--md-orange) !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--md-orange) !important; }

/* === RESPONSIVE === */
/* Container width tweaks for wide screens */
@media (min-width: 1280px) {
  :root { --md-container: 1240px; }
}

/* Navbar: when items get tight, switch to drawer earlier */
@media (max-width: 1100px) {
  .site-header__inner { gap: 20px; }
  .main-nav ul { gap: 20px; }
  .main-nav a { font-size: 13px; }
}

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-grid { grid-template-columns: 1fr !important; }
  .hero-grid__visual { order: -1; }
}

/* Tablet & mobile: hide desktop nav, show drawer */
@media (max-width: 900px) {
  .site-header__inner { grid-template-columns: auto 1fr auto; gap: 12px; }
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-icon { display: none; }
  .cart-pill__label { display: none; }
  .cart-pill { padding: 9px 12px; }
  .site-logo__tag { display: none; }
  .site-logo__name { font-size: 17px; }
}

@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .hero { padding: 60px 0; }
  .topbar__locale { display: none; }
  .topbar { font-size: 11px; }
  .topbar__msg { font-size: 11px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .mantra-strip__inner { gap: 12px; justify-content: center; font-size: 13px; }
  .mantra-strip { padding: 16px 0; }
  .container { padding: 0 18px; }
  .quote-banner { padding: 60px 0; }
  .newsletter { padding: 50px 0; }
  .feature-strip { padding: 40px 0; }
  .feature-strip__grid { grid-template-columns: 1fr 1fr; gap: 18px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card__media { height: 150px; }
  .product-card__emoji { font-size: 44px; }
  .product-card__body { padding: 12px; }
  .blog-grid { grid-template-columns: 1fr; }
  .feature-strip__grid { grid-template-columns: 1fr 1fr; }
  .site-logo__name { font-size: 15px; max-width: 130px; }
  .site-logo__icon { width: 30px; height: 30px; }
  .cart-pill { padding: 8px 10px; }
}

/* === ALIGNMENT (WP core) === */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide { max-width: 1100px; margin: 1.5em auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.screen-reader-text { position: absolute; left: -10000px; }
.sticky { background: var(--md-cream-light); }

/* === PAGE LAYOUT === */
.page-content { padding: 50px 0 80px; }
.page-content .entry-content { padding-bottom: 40px; }
