﻿:root{
  --bg: #EEE7D3;
  --ink: #133330;
  --muted: #74806A;
  --accent: #3F6650;
  --accent-tint: rgba(63, 102, 80, .14);
  --highlight: #2F4A3A;
  --line: #DBD2B2;
  --card-bg: #FBF7EA;
  --header-from: #133330;
  --header-to: #133330;
}

*{ box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference){
  html{ scroll-behavior: smooth; }
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Verdana, Geneva, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- welcome screen ---------- */
.welcome{
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  overflow: hidden;
  background: var(--header-from);
  color: #F2ECD9;
  transition: transform .65s cubic-bezier(.65, 0, .35, 1);
}
.welcome[hidden]{ display: none; }
.welcome.is-hidden{ transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce){
  .welcome{ transition: none; }
}
.welcome-decor{
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 20%, rgba(255,255,255,.14), transparent 40%),
    radial-gradient(circle at 88% 0%, rgba(255,255,255,.10), transparent 45%),
    radial-gradient(circle at 75% 90%, rgba(0,0,0,.18), transparent 50%);
}
.welcome-content{
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}
.welcome-logo{
  display: block;
  width: min(240px, 62vw);
  height: min(240px, 62vw);
  margin: 0 auto;
  border-radius: 28px;
  object-fit: contain;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5);
}
.welcome-tagline{
  margin: 0;
  font-size: 1rem;
  color: #CBD9C3;
}
.welcome-cta{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.9rem;
  border: none;
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
  font-size: .95rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .5);
  transition: transform .15s ease, box-shadow .15s ease;
}
.welcome-cta:focus-visible{
  outline: 3px solid #F2ECD9;
  outline-offset: 3px;
}
@media (hover: hover){
  .welcome-cta:hover{
    transform: translateY(-2px);
    box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .55);
  }
}
.welcome-cta-arrow{
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 7px solid var(--ink);
  animation: welcome-arrow-bounce 1.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce){
  .welcome-cta-arrow{ animation: none; }
}
@keyframes welcome-arrow-bounce{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-4px); }
}

/* ---------- header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 10;
  overflow: hidden;
  text-align: center;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(155deg, var(--header-from), var(--header-to));
  border-radius: 0 0 20px 20px;
  color: #F2ECD9;
  box-shadow: 0 8px 20px -18px rgba(20, 32, 26, .55);
}
.header-decor{
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 20%, rgba(255,255,255,.14), transparent 40%),
    radial-gradient(circle at 88% 0%, rgba(255,255,255,.10), transparent 45%),
    radial-gradient(circle at 75% 90%, rgba(0,0,0,.18), transparent 50%);
}
.menu-toggle{
  position: absolute;
  top: 50%;
  left: 1.25rem;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span{
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: #F2ECD9;
}
@media (hover: hover){
  .menu-toggle:hover{ background: rgba(255, 255, 255, .08); }
}

.header-brand{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-align: left;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  font: inherit;
}
.header-logo{
  display: block;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .55);
}
.header-brand-text{
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.header-name{
  margin: 0;
  font-family: Candara, "Century Gothic", "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.1;
  color: #F2ECD9;
}
.header-name[hidden], .header-eyebrow[hidden]{ display: none; }
.header-eyebrow{
  margin: 0;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #B7CDB6;
}
.tagline{
  position: relative;
  margin: 0;
  font-size: .9rem;
  color: #CBD9C3;
}
.tagline[hidden]{ display: none; }

.search-wrap{
  padding: 0 0 1rem;
}
.search-wrap input{
  width: 100%;
  padding: .65rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card-bg);
  color: var(--ink);
  font-family: inherit;
  font-size: .88rem;
}
.search-wrap input::placeholder{ color: var(--muted); }
.search-wrap input:focus{
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

.no-results{
  max-width: 880px;
  margin: 1.5rem auto 0;
  padding: 0 1.25rem;
  color: var(--muted);
  font-size: .85rem;
  text-align: center;
}

.cat-drawer-backdrop{
  position: fixed;
  inset: 0;
  z-index: 940;
  background: rgba(10, 20, 16, .45);
  opacity: 0;
  transition: opacity .3s ease;
}
.cat-drawer-backdrop.is-visible{ opacity: 1; }
.cat-drawer-backdrop[hidden]{ display: none; }

.cat-dropdown{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 950;
  width: min(300px, 82vw);
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  padding: 1.1rem;
  background: var(--card-bg);
  box-shadow: 16px 0 40px -16px rgba(20, 32, 26, .4);
  transform: translateX(-100%);
  transition: transform .32s cubic-bezier(.65, 0, .35, 1);
}
.cat-dropdown.is-open{ transform: translateX(0); }
.cat-dropdown[hidden]{ display: none; }
@media (prefers-reduced-motion: reduce){
  .cat-dropdown, .cat-drawer-backdrop{ transition: none; }
}

.cat-dropdown-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  margin-bottom: 1rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--line);
}
.cat-dropdown-title{
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: bold;
  color: var(--accent);
}
.cat-dropdown-close{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: none;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--ink);
  cursor: pointer;
}
.cat-dropdown-close svg{
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.cat-dropdown[hidden]{ display: none; }

.cat-nav{
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.cat-nav a{
  padding: .6rem .75rem;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: .88rem;
  transition: background .15s ease, color .15s ease;
}
.cat-nav a.cat-nav-parent{ font-weight: bold; }
.cat-nav a.cat-nav-child{
  padding-left: 1.6rem;
  font-size: .8rem;
  font-weight: normal;
  color: var(--muted);
}
.cat-nav a.active{
  background: var(--accent-tint);
  color: var(--ink);
  font-weight: bold;
}
@media (hover: hover){
  .cat-nav a:hover{ background: var(--line); }
}

/* ---------- kampanyalar ---------- */
.campaigns{
  max-width: 880px;
  margin: 1.25rem auto 0;
  padding: 0 0 .25rem;
}
.campaigns[hidden]{ display: none; }
.campaign-scroll{
  display: flex;
  gap: .9rem;
  overflow-x: auto;
  padding: 0 1.75rem;
  scroll-padding-left: 1.75rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.campaign-scroll::-webkit-scrollbar{ display: none; }
.campaign-card{
  position: relative;
  flex: 0 0 82%;
  max-width: 320px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--line);
  box-shadow: 0 10px 24px -18px rgba(20, 32, 26, .5);
}
.campaign-photo{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.campaign-caption{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: .9rem .9rem .7rem;
  background: linear-gradient(to top, rgba(0, 0, 0, .6), transparent);
  color: #FFF6EF;
  font-size: .9rem;
  font-weight: bold;
}

/* ---------- featured ---------- */
.featured{
  max-width: 880px;
  margin: 1.5rem auto 0;
  padding: 0 0 .25rem;
}
.featured[hidden]{ display: none; }
.featured-title{
  margin: 0 1.75rem .8rem;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--highlight);
}
.featured-scroll{
  display: flex;
  gap: .9rem;
  overflow-x: auto;
  padding: .1rem 1.75rem 1rem;
  scroll-padding-left: 1.75rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.featured-scroll::-webkit-scrollbar{ display: none; }
.featured-scroll .item{
  flex: 0 0 200px;
  scroll-snap-align: start;
}
.featured-scroll .item .item-photo-wrap{ aspect-ratio: 1 / 1; }

/* ---------- layout ---------- */
.menu-root{
  max-width: 880px;
  margin: 0 auto;
  padding: .5rem 1.25rem 3rem;
}

.category{
  margin-top: 1rem;
  scroll-margin-top: 5rem;
  border-bottom: 1px solid var(--line);
}
.category[hidden]{ display: none; }

.category-title{
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: 1rem 0;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}
.category-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent-tint);
}
.category-icon svg{
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.category-name{ color: var(--ink); font-weight: bold; }
.category-count{
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-size: .72rem;
}
/* ---------- alt kategori (basit başlık) ---------- */
.subcategory{
  margin: .25rem 0 1.1rem .9rem;
  padding-left: .6rem;
  border-left: 2px solid var(--line);
  scroll-margin-top: 5rem;
}
.subcategory[hidden]{ display: none; }
.subcategory-title{
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .6rem 0;
  font-size: .76rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
}
.subcategory-title .category-icon{
  width: 24px;
  height: 24px;
}
.subcategory-title .category-icon svg{
  width: 13px;
  height: 13px;
}
.subcategory .items{ padding-bottom: .6rem; }

.items{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .6rem;
  padding-bottom: 1.4rem;
}
@media (min-width: 620px){
  .items{ grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px){
  .items{ grid-template-columns: repeat(4, 1fr); }
}

/* ---------- item card ---------- */
.item[hidden]{ display: none; }
.item{
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 24px -20px rgba(20, 32, 26, .5);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
@media (hover: hover){
  .item:hover{
    transform: translateY(-3px);
    box-shadow: 0 16px 28px -18px rgba(20, 32, 26, .45);
    border-color: var(--accent);
  }
}

.item-photo-wrap{
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--line);
}
.item-photo{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.item-badge{
  position: absolute;
  top: .6rem;
  left: .6rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  background: var(--highlight);
  color: #FFF6EF;
  font-size: .68rem;
  font-weight: bold;
  letter-spacing: .04em;
  box-shadow: 0 4px 10px -4px rgba(0,0,0,.4);
}
.item-price{
  position: absolute;
  top: .6rem;
  right: .6rem;
  font-variant-numeric: tabular-nums;
  font-weight: bold;
  font-size: .76rem;
  color: var(--ink);
  white-space: nowrap;
  padding: .25rem .55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .4);
}

.item-body{
  padding: .8rem .9rem .95rem;
  min-width: 0;
}
.item-name{
  display: block;
  font-weight: bold;
  font-size: .86rem;
  overflow-wrap: break-word;
}
.item-desc{
  margin: .35rem 0 0;
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.4;
}

.load-error{
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
  padding: 2rem 1rem;
}

.site-footer{
  text-align: center;
  padding: 1.5rem 1.25rem 2.5rem;
  font-size: .72rem;
  color: var(--muted);
}

.social-links{
  display: flex;
  justify-content: center;
  margin-bottom: .9rem;
}
.social-links:empty{ display: none; }
.welcome-social{ margin-bottom: 0; }
.welcome-social .social-link{
  border-color: rgba(242, 236, 217, .35);
  color: #F2ECD9;
}
@media (hover: hover){
  .welcome-social .social-link:hover{ border-color: #F2ECD9; color: #F2ECD9; }
}
.social-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: border-color .15s ease, color .15s ease;
}
.social-link svg{
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (hover: hover){
  .social-link:hover{ border-color: var(--accent); color: var(--accent); }
}

/* ---------- ürün detay modalı ---------- */
.item-modal-backdrop{
  position: fixed;
  inset: 0;
  z-index: 970;
  background: rgba(10, 20, 16, .5);
  opacity: 0;
  transition: opacity .25s ease;
}
.item-modal-backdrop.is-visible{ opacity: 1; }
.item-modal-backdrop[hidden]{ display: none; }

.item-modal{
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 980;
  width: min(480px, 100vw);
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 20px 20px 0 0;
  background: var(--card-bg);
  box-shadow: 0 -16px 40px -16px rgba(20, 32, 26, .45);
  transform: translate(-50%, 100%);
  transition: transform .3s cubic-bezier(.65, 0, .35, 1);
}
.item-modal.is-open{ transform: translate(-50%, 0); }
.item-modal[hidden]{ display: none; }
@media (min-width: 640px){
  .item-modal{
    top: 50%;
    bottom: auto;
    border-radius: 20px;
    transform: translate(-50%, -45%) scale(.96);
    opacity: 0;
  }
  .item-modal.is-open{ transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce){
  .item-modal, .item-modal-backdrop{ transition: none; }
}

.item-modal-close{
  position: absolute;
  top: .8rem;
  right: .8rem;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, .85);
  color: var(--ink);
  cursor: pointer;
}
.item-modal-close svg{
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.item-modal-photo{
  display: block;
  width: 50%;
  max-width: 190px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 1.6rem auto 0;
  border-radius: 16px;
  background: var(--line);
}
.item-modal-body{
  padding: 1.1rem 1.25rem 1.5rem;
}
.item-modal-top{
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .3rem .75rem;
}
.item-modal-name{
  margin: 0;
  font-family: Candara, "Century Gothic", "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--ink);
  flex: 1 1 auto;
  min-width: min-content;
  overflow-wrap: break-word;
}
.item-modal-price{
  font-variant-numeric: tabular-nums;
  font-weight: bold;
  font-size: .95rem;
  color: var(--ink);
  white-space: nowrap;
  padding: .25rem .7rem;
  border-radius: 999px;
  background: var(--accent-tint);
  flex: 0 0 auto;
  margin-left: auto;
}
.item-modal-weight{
  margin: .4rem 0 0;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
}
.item-modal-weight[hidden]{ display: none; }
.item-modal-desc{
  margin: .9rem 0 0;
  font-size: .92rem;
  color: var(--ink);
  line-height: 1.5;
}
.item-modal-desc[hidden]{ display: none; }
.item-modal-content-group{
  margin: .8rem 0 0;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
}
.item-modal-content-group[hidden]{ display: none; }
.item-modal-content-label{
  margin: 0 0 .3rem;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: bold;
  color: var(--accent);
}
.item-modal-content{
  margin: 0;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.55;
}
