/*
Theme Name: Özhatay
Theme URI: https://example.com/ozhatay
Author: Webekol / Özhatay
Description: Hatay çarşıları, taş dokusu ve baharat kültüründen ilham alan otantik WooCommerce teması.
Version: 1.5.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: ozhatay
*/

:root {
  --oz-cream: #f6f0e4;
  --oz-paper: #fffaf1;
  --oz-sumac: #8f2d2d;
  --oz-sumac-dark: #6f2020;
  --oz-saffron: #c88a27;
  --oz-olive: #556b43;
  --oz-coffee: #32251f;
  --oz-ink: #2b241f;
  --oz-muted: #76695f;
  --oz-line: rgba(66,45,31,.12);
  --oz-white: #fff;
  --oz-shadow: 0 18px 50px rgba(61, 41, 29, .12);
  --oz-radius: 24px;
  --oz-radius-sm: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--oz-ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(200,138,39,.06), transparent 24rem),
    linear-gradient(180deg, var(--oz-paper), var(--oz-cream));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .14;
  background-image:
    linear-gradient(30deg, transparent 48%, rgba(143,45,45,.12) 49%, rgba(143,45,45,.12) 51%, transparent 52%),
    linear-gradient(150deg, transparent 48%, rgba(200,138,39,.08) 49%, rgba(200,138,39,.08) 51%, transparent 52%);
  background-size: 32px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), transparent 40%);
  z-index: -1;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }

.oz-container { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.oz-section { padding: 82px 0; }
.oz-section--tight { padding: 54px 0; }
.oz-eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 800; color: var(--oz-sumac); }
.oz-title { margin: 10px 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 5vw, 4.4rem); line-height: 1.03; font-weight: 700; }
.oz-title--section { font-size: clamp(1.8rem, 3vw, 3rem); }
.oz-subtitle { color: var(--oz-muted); max-width: 720px; font-size: 1.05rem; }
.oz-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  background: var(--oz-sumac); color: white; font-weight: 800; cursor: pointer;
  box-shadow: 0 10px 24px rgba(143,45,45,.2); transition: .2s ease;
}
.oz-btn:hover { transform: translateY(-2px); background: var(--oz-sumac-dark); }
.oz-btn--ghost { background: transparent; color: var(--oz-coffee); border-color: rgba(50,37,31,.2); box-shadow: none; }
.oz-btn--gold { background: var(--oz-saffron); color: #271c13; box-shadow: 0 10px 24px rgba(200,138,39,.2); }

/* Header */
.oz-topbar { background: var(--oz-coffee); color: #f4e7d4; font-size: .9rem; }
.oz-topbar .oz-container { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.oz-header { position: sticky; top: 0; z-index: 50; background: rgba(255,250,241,.91); backdrop-filter: blur(18px); border-bottom: 1px solid var(--oz-line); }
.oz-header__row { min-height: 78px; display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; }
.oz-brand { display: inline-flex; flex-direction: column; line-height: 1; }
.oz-brand__name { font-family: Georgia, serif; font-size: 1.72rem; font-weight: 800; letter-spacing: .06em; color: var(--oz-sumac); }
.oz-brand__tag { margin-top: 5px; font-size: .63rem; letter-spacing: .18em; text-transform: uppercase; color: var(--oz-muted); }
.custom-logo { max-height: 56px; width: auto; }
.oz-nav ul { display: flex; align-items: center; justify-content: center; gap: 24px; list-style: none; padding: 0; margin: 0; }
.oz-nav a { font-weight: 750; font-size: .96rem; }
.oz-nav a:hover { color: var(--oz-sumac); }
.oz-actions { display: flex; align-items: center; gap: 10px; }
.oz-icon-btn { width: 42px; height: 42px; display:inline-grid; place-items:center; border-radius:50%; border:1px solid var(--oz-line); background:#fff8ef; cursor:pointer; }
.oz-cart-count { display:inline-grid; place-items:center; min-width:20px; height:20px; padding:0 5px; border-radius:999px; background:var(--oz-sumac); color:white; font-size:.72rem; font-weight:800; margin-left:-8px; margin-top:-24px; }
.oz-menu-toggle { display:none; }

/* Hero */
.oz-hero { position: relative; overflow: hidden; padding: 58px 0 74px; }
.oz-hero:after { content:""; position:absolute; width:520px; height:520px; right:-170px; top:-160px; border:1px solid rgba(143,45,45,.14); border-radius:50%; box-shadow: 0 0 0 45px rgba(200,138,39,.04), 0 0 0 90px rgba(85,107,67,.03); }
.oz-hero__grid { display:grid; grid-template-columns: 1.05fr .95fr; gap:52px; align-items:center; }
.oz-hero__copy { position:relative; z-index:2; }
.oz-hero__buttons { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.oz-hero__chips { display:flex; flex-wrap:wrap; gap:10px; margin-top:26px; }
.oz-chip { padding:8px 13px; border-radius:999px; background:rgba(85,107,67,.1); color:var(--oz-olive); font-weight:800; font-size:.85rem; }
.oz-hero__visual { min-height: 510px; position:relative; display:grid; place-items:center; }
.oz-spice-stage { width:min(480px,100%); aspect-ratio:1/1; border-radius:50% 50% 44% 56% / 52% 46% 54% 48%; position:relative; background:
    radial-gradient(circle at 32% 30%, #ffcb69 0 10%, transparent 11%),
    radial-gradient(circle at 68% 33%, #9b2f29 0 14%, transparent 15%),
    radial-gradient(circle at 42% 68%, #6b7c3f 0 12%, transparent 13%),
    radial-gradient(circle at 68% 68%, #c6632e 0 15%, transparent 16%),
    linear-gradient(135deg,#c8a46c,#7a4a2f);
  box-shadow: var(--oz-shadow); border:10px solid #ecd8b9;
}
.oz-spice-stage:before { content:"HATAY"; position:absolute; inset:50% auto auto 50%; transform:translate(-50%,-50%) rotate(-8deg); font-family:Georgia,serif; font-size:clamp(2.5rem,6vw,5.2rem); font-weight:900; letter-spacing:.08em; color:rgba(255,255,255,.78); text-shadow:0 4px 22px rgba(49,29,17,.25); }
.oz-spice-card { position:absolute; background:#fffaf1; border:1px solid var(--oz-line); box-shadow:var(--oz-shadow); padding:14px 16px; border-radius:18px; font-weight:800; }
.oz-spice-card small { display:block; color:var(--oz-muted); font-weight:600; }
.oz-spice-card--one { left:0; top:18%; }
.oz-spice-card--two { right:-4%; bottom:16%; }

/* Categories */
.oz-section-head { display:flex; align-items:end; justify-content:space-between; gap:26px; margin-bottom:30px; }
.oz-category-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.oz-category-card { position:relative; min-height:270px; overflow:hidden; border-radius:var(--oz-radius); border:1px solid var(--oz-line); background:#f4e7d0; padding:26px; box-shadow:0 10px 28px rgba(64,43,30,.06); }
.oz-category-card:after { content:""; position:absolute; width:190px; height:190px; right:-35px; bottom:-45px; border-radius:50%; background:var(--cat-accent, #8f2d2d); opacity:.18; box-shadow:0 0 0 28px rgba(255,255,255,.18); }
.oz-category-card h3 { position:relative; z-index:2; margin:0 0 6px; font-family:Georgia,serif; font-size:1.7rem; }
.oz-category-card p { position:relative; z-index:2; color:var(--oz-muted); max-width:75%; }
.oz-category-card span { position:absolute; left:26px; bottom:24px; z-index:2; font-weight:850; color:var(--oz-sumac); }

/* Story */
.oz-story { background:var(--oz-coffee); color:#fff3df; position:relative; overflow:hidden; }
.oz-story:before { content:""; position:absolute; inset:0; opacity:.12; background-image: repeating-radial-gradient(circle at 0 0, transparent 0, transparent 14px, #f1c879 15px, transparent 16px); }
.oz-story__grid { position:relative; display:grid; grid-template-columns:.95fr 1.05fr; gap:44px; align-items:center; }
.oz-story__visual { aspect-ratio:4/3; border-radius:34px; background:
  linear-gradient(135deg,rgba(255,255,255,.06),rgba(255,255,255,0)),
  radial-gradient(circle at 30% 35%,#b22f2a 0 11%,transparent 12%),
  radial-gradient(circle at 63% 44%,#d99428 0 13%,transparent 14%),
  radial-gradient(circle at 48% 72%,#6f7b45 0 12%,transparent 13%),
  #9a6941; border:1px solid rgba(255,255,255,.12); box-shadow:0 20px 50px rgba(0,0,0,.25); }
.oz-feature-list { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:28px; }
.oz-feature { padding:18px; border-radius:18px; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.1); }
.oz-feature strong { display:block; margin-bottom:6px; }
.oz-feature small { color:#d6c6b4; }

/* WooCommerce */
.woocommerce .products ul, .woocommerce ul.products { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin:0; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { width:auto; margin:0; float:none; background:#fffaf2; border:1px solid var(--oz-line); border-radius:20px; overflow:hidden; padding:14px; box-shadow:0 9px 26px rgba(66,45,31,.06); transition:.2s ease; }
.woocommerce ul.products li.product:hover { transform:translateY(-5px); box-shadow:var(--oz-shadow); }
.woocommerce ul.products li.product a img { border-radius:14px; margin:0 0 14px; aspect-ratio:1/1; object-fit:cover; background:#efe3d0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family:Georgia,serif; font-size:1.18rem; color:var(--oz-ink); padding:.2em 0; }
.woocommerce ul.products li.product .price { color:var(--oz-sumac); font-weight:900; font-size:1.05rem; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { border-radius:999px; background:var(--oz-sumac); color:white; padding:.8em 1.1em; }
.woocommerce a.button:hover, .woocommerce button.button:hover { background:var(--oz-sumac-dark); color:white; }
.woocommerce span.onsale { background:var(--oz-saffron); color:#24190e; min-width:auto; min-height:auto; line-height:1; padding:8px 11px; border-radius:999px; top:12px; left:12px; }
.woocommerce div.product { background:#fffaf2; border:1px solid var(--oz-line); border-radius:28px; padding:28px; }
.woocommerce div.product div.images img { border-radius:22px; }
.woocommerce div.product .product_title { font-family:Georgia,serif; font-size:clamp(2rem,4vw,3.2rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color:var(--oz-sumac); font-weight:900; }
.oz-product-notes { margin-top:28px; display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.oz-product-note { border:1px solid var(--oz-line); background:#fff7ec; padding:16px; border-radius:16px; }
.oz-product-note strong { display:block; color:var(--oz-coffee); }
.oz-product-note small { color:var(--oz-muted); }

/* Recipes */
.oz-recipe-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.oz-recipe-card { border:1px solid var(--oz-line); border-radius:22px; overflow:hidden; background:#fffaf1; box-shadow:0 10px 30px rgba(66,45,31,.06); }
.oz-recipe-card__visual { aspect-ratio:16/10; background:linear-gradient(135deg,#9c452b,#d6a95d); display:grid; place-items:center; color:rgba(255,255,255,.8); font-family:Georgia,serif; font-size:2rem; }
.oz-recipe-card__body { padding:20px; }
.oz-recipe-card h3 { margin:0 0 7px; font-family:Georgia,serif; font-size:1.45rem; }

/* Newsletter */
.oz-newsletter { padding:34px; border-radius:30px; background:linear-gradient(120deg,var(--oz-sumac),#5f201f); color:white; display:flex; justify-content:space-between; align-items:center; gap:30px; box-shadow:var(--oz-shadow); }
.oz-newsletter form { display:flex; gap:10px; width:min(480px,100%); }
.oz-newsletter input { flex:1; min-width:0; border:0; border-radius:999px; padding:0 18px; min-height:48px; }

/* Footer */
.oz-footer { margin-top:70px; background:#271e19; color:#e7d8c5; }
.oz-footer__grid { display:grid; grid-template-columns:1.3fr repeat(3,1fr); gap:34px; padding:58px 0 40px; }
.oz-footer h4 { color:white; margin-top:0; }
.oz-footer ul { list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.oz-footer a:hover { color:#f0b957; }
.oz-footer__bottom { border-top:1px solid rgba(255,255,255,.09); padding:18px 0; display:flex; justify-content:space-between; gap:20px; font-size:.88rem; color:#c9b7a4; }

/* Generic page */
.oz-page-wrap { padding:58px 0; }
.oz-content-card { background:#fffaf2; border:1px solid var(--oz-line); border-radius:24px; padding:32px; box-shadow:0 10px 28px rgba(66,45,31,.05); }
.oz-content-card h1,.oz-content-card h2,.oz-content-card h3 { font-family:Georgia,serif; }
.woocommerce-breadcrumb { color:var(--oz-muted); margin-bottom:20px!important; }

/* Mobile nav */
.oz-mobile-bar { display:none; }
@media (max-width: 980px) {
  .oz-nav { display:none; position:absolute; left:18px; right:18px; top:78px; background:#fffaf2; border:1px solid var(--oz-line); border-radius:18px; box-shadow:var(--oz-shadow); padding:18px; }
  .oz-nav.is-open { display:block; }
  .oz-nav ul { align-items:flex-start; flex-direction:column; gap:14px; }
  .oz-menu-toggle { display:inline-grid; }
  .oz-header__row { grid-template-columns:auto 1fr auto; }
  .oz-header__row .oz-nav { grid-column:1/-1; }
  .oz-actions .oz-hide-tablet { display:none; }
  .oz-hero__grid,.oz-story__grid { grid-template-columns:1fr; }
  .oz-hero__visual { min-height:420px; }
  .oz-category-grid,.oz-recipe-grid { grid-template-columns:repeat(2,1fr); }
  .woocommerce .products ul, .woocommerce ul.products { grid-template-columns:repeat(2,1fr); }
  .oz-footer__grid { grid-template-columns:repeat(2,1fr); }
  .oz-product-notes { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 640px) {
  body { padding-bottom:66px; }
  .oz-container { width:min(100% - 24px,1180px); }
  .oz-topbar .oz-container { justify-content:center; text-align:center; }
  .oz-topbar__right { display:none; }
  .oz-header__row { min-height:68px; gap:12px; }
  .oz-brand__name { font-size:1.42rem; }
  .oz-brand__tag { display:none; }
  .oz-actions .oz-icon-btn:not(.oz-menu-toggle) { display:none; }
  .oz-hero { padding-top:36px; }
  .oz-hero__visual { min-height:330px; }
  .oz-spice-card { font-size:.84rem; }
  .oz-category-grid,.oz-recipe-grid { grid-template-columns:1fr; }
  .oz-category-card { min-height:230px; }
  .oz-section { padding:58px 0; }
  .oz-section-head { align-items:flex-start; flex-direction:column; }
  .woocommerce .products ul, .woocommerce ul.products { grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px; }
  .woocommerce ul.products li.product, .woocommerce-page ul.products li.product { padding:9px; border-radius:16px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size:1rem; }
  .oz-feature-list { grid-template-columns:1fr; }
  .oz-newsletter { flex-direction:column; align-items:flex-start; padding:24px; }
  .oz-newsletter form { flex-direction:column; }
  .oz-footer__grid { grid-template-columns:1fr 1fr; gap:26px 18px; }
  .oz-footer__grid > :first-child { grid-column:1/-1; }
  .oz-footer__bottom { flex-direction:column; }
  .oz-product-notes { grid-template-columns:1fr 1fr; }
  .oz-mobile-bar { position:fixed; left:0; right:0; bottom:0; z-index:99; display:grid; grid-template-columns:repeat(5,1fr); background:#fffaf2; border-top:1px solid var(--oz-line); box-shadow:0 -8px 22px rgba(50,37,31,.08); }
  .oz-mobile-bar a { min-height:62px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; font-size:.68rem; font-weight:750; }
  .oz-mobile-bar .dashicons { font-size:20px; width:20px; height:20px; }
}
