/* Amavi Flowers (Local theme) — birebir token & bileşenler */
:root {
  --direction: ltr;
  --font-stack-headings: Jost, system-ui, sans-serif;
  --font-weight-headings: 500;
  --font-stack-body: "DM Sans", system-ui, sans-serif;
  --font-weight-body: 400;
  --font-weight-body-bold: 500;
  --base-headings-size: 46;
  --base-headings-line: 1.1;
  --base-headings-spacing: -0.01em;
  --base-body-size: 17;
  --base-body-line: 1.4;

  --color-background-header: #f4f4f4;
  --color-text-header: #1d1d1d;
  --color-accent-header: #66313f;
  --color-foreground-accent-header: #ffffff;
  --color-borders-header: rgba(29, 29, 29, 0.1);

  --color-background-main: #f4f4f4;
  --color-secondary-background-main: rgba(29, 29, 29, 0.08);
  --color-third-background-main: rgba(29, 29, 29, 0.04);
  --color-text-main: #1d1d1d;
  --color-foreground-main: #ffffff;
  --color-secondary-text-main: rgba(29, 29, 29, 0.62);
  --color-accent-main: #66313f;
  --color-foreground-accent-main: #ffffff;
  --color-borders-main: rgba(29, 29, 29, 0.15);

  --color-background-cards: #ffffff;
  --color-text-cards: #1d1d1d;
  --color-secondary-text-cards: rgba(29, 29, 29, 0.6);
  --color-accent-cards: #66313f;
  --color-borders-cards: #dfdfdf;

  --color-background-footer: #1d1d1d;
  --color-text-footer: #a6a6a6;
  --color-accent-footer: #66313f;
  --color-borders-footer: rgba(166, 166, 166, 0.15);

  --border-width-cards: 1px;
  --border-radius-cards: 16px;
  --border-width-buttons: 1px;
  --border-radius-buttons: 30px;
  --border-radius-forms: 5px;

  --theme-max-width: 1680px;
  --sidebar-width: min(420px, 100vw);
  --sidebar-gutter: 1.5rem;
  --window-height: 100dvh;

  /* aliases (eski class’lar) */
  --amavi-ink: #1d1d1d;
  --amavi-mute: rgba(29, 29, 29, 0.62);
  --amavi-sand: #f4f4f4;
  --amavi-line: rgba(29, 29, 29, 0.15);
  --amavi-cream: #ffffff;
  --amavi-accent: #66313f;
}

[x-cloak] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  -webkit-font-smoothing: antialiased;
  color: var(--color-text-main);
  background: var(--color-background-main);
  font-family: var(--font-stack-body);
  font-size: calc(var(--base-body-size) * 1px);
  line-height: var(--base-body-line);
}
.font-display,
h1, h2, h3, .h5 {
  font-family: var(--font-stack-headings);
  font-weight: var(--font-weight-headings);
  letter-spacing: var(--base-headings-spacing);
  line-height: var(--base-headings-line);
}
.font-sans { font-family: var(--font-stack-body); }

.line-clamp-2 { display:-webkit-box; -webkit-line-clamp:2; line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.line-clamp-3 { display:-webkit-box; -webkit-line-clamp:3; line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }

.prose h2{font-family:var(--font-stack-headings);font-size:1.75rem;font-weight:500;margin:1.75rem 0 .75rem}
.prose h3{font-family:var(--font-stack-headings);font-size:1.35rem;font-weight:500;margin:1.25rem 0 .5rem}
.prose p{margin:.75rem 0;line-height:1.8;color:var(--color-secondary-text-main)}
.prose ul{list-style:disc;padding-left:1.25rem;margin:.75rem 0}
.prose a{color:var(--color-accent-main);text-decoration:underline;text-underline-offset:3px}

/* Buttons — Amavi pill */
.amavi-btn,
.button--solid {
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  background: #66313f; color: #fff;
  padding: .85rem 1.5rem;
  font-size: .8125rem; font-weight: 500; letter-spacing: .04em;
  border-radius: var(--border-radius-buttons);
  border: 1px solid #66313f;
  transition: background .2s, color .2s, border-color .2s;
}
.amavi-btn:hover,
.button--solid:hover {
  background: #523028;
  border-color: #523028;
  color: #fff;
}
.amavi-btn-outline,
.button--outline {
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  border: 1px solid var(--color-text-main); color: var(--color-text-main);
  background: transparent;
  padding: .85rem 1.5rem;
  font-size: .8125rem; font-weight: 500; letter-spacing: .04em;
  border-radius: var(--border-radius-buttons);
  transition: all .2s;
}
.amavi-btn-outline:hover,
.button--outline:hover {
  background: var(--color-accent-main);
  border-color: var(--color-accent-main);
  color: #fff;
}
.button--fullwidth { width: 100%; }
.button--regular { min-height: 44px; }

.amavi-section-label {
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--color-secondary-text-main); font-weight: 500;
}
.amavi-section-title {
  font-family: var(--font-stack-headings);
  font-size: clamp(1.65rem, 3.5vw, 2.5rem);
  font-weight: 500; letter-spacing: -0.01em;
  color: var(--color-text-main); line-height: 1.15;
}

.amavi-mega {
  animation: amaviMegaIn .22s cubic-bezier(.22,1,.36,1);
  box-shadow: 0 18px 50px rgba(29,29,29,.12);
  border: 1px solid rgba(29,29,29,.08);
  border-radius: 16px;
  padding: 1.25rem;
  background: #fff;
}
@keyframes amaviMegaIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.safe-pb { padding-bottom: max(0.75rem, env(safe-area-inset-bottom)); }

@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee-track { animation: marquee 40s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }

@keyframes amaviFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes amaviRise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.amavi-page main > *:first-child,
.amavi-fade-in { animation: amaviFadeIn .55s ease-out both; }
.amavi-rise { animation: amaviRise .7s cubic-bezier(.22,1,.36,1) both; }
.amavi-stagger > * { animation: amaviRise .65s cubic-bezier(.22,1,.36,1) both; }
.amavi-stagger > *:nth-child(1) { animation-delay: .04s; }
.amavi-stagger > *:nth-child(2) { animation-delay: .1s; }
.amavi-stagger > *:nth-child(3) { animation-delay: .16s; }
.amavi-stagger > *:nth-child(4) { animation-delay: .22s; }
.amavi-stagger > *:nth-child(5) { animation-delay: .28s; }
.amavi-stagger > *:nth-child(6) { animation-delay: .34s; }

/* Section rhythm (Amavi spacing) */
.amavi-section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.amavi-section--tight { padding-block: clamp(2rem, 4vw, 3.5rem); }
.amavi-shell { max-width: var(--theme-max-width); margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 768px) {
  .amavi-shell { padding-inline: 1.5rem; }
}

/* Forms / auth / panels */
.amavi-input {
  width: 100%;
  min-height: 3rem;
  border: 1px solid rgba(29,29,29,.16);
  background: #fafafa;
  border-radius: .75rem;
  padding: .85rem 1rem;
  font-size: 16px;
  color: #1d1d1d;
  font-family: var(--font-stack-body, system-ui, sans-serif);
  outline: none;
  transition: border-color .2s, background .2s;
}
textarea.amavi-input { min-height: 6rem; resize: vertical; }
select.amavi-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231d1d1d' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.amavi-input:focus {
  border-color: #66313f;
  background: #fff;
}
.amavi-label {
  display: block;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(29,29,29,.55);
  font-weight: 500;
  margin-bottom: .45rem;
  font-family: var(--font-stack-body, system-ui, sans-serif);
}
.amavi-auth {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(29,29,29,.08);
  border-radius: 1.25rem;
  padding: 1.75rem 1.35rem;
  box-shadow: 0 10px 40px rgba(29,29,29,.04);
}
@media (min-width: 640px) {
  .amavi-auth { padding: 2.5rem 2.25rem; }
}
.amavi-btn.button--fullwidth,
.button--fullwidth {
  width: 100%;
  min-height: 3.15rem;
  border-radius: 999px;
}
.amavi-panel {
  background: #fff;
  border: 1px solid rgba(29,29,29,.1);
  border-radius: 16px;
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .amavi-panel { padding: 2rem; }
}
.amavi-panel--tint {
  background: #fafafa;
}
.amavi-pay-option {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(29,29,29,.15);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.amavi-pay-option:has(input:checked),
.amavi-pay-option:hover {
  border-color: #66313f;
  background: #f8f1f3;
}
.amavi-pay-option input { accent-color: #66313f; }

/* Hero (Amavi full-bleed) */
.amavi-hero {
  position: relative;
  overflow: hidden;
  background: #1d1d1d;
}
.amavi-hero__slide {
  position: absolute; inset: 0;
}
.amavi-hero__media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 7s ease;
}
.amavi-hero__slide.is-active .amavi-hero__media {
  transform: scale(1);
}
.amavi-hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(29,29,29,.15) 0%, rgba(29,29,29,.55) 100%);
}
.amavi-hero__copy {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  color: #fff;
  max-width: 42rem;
}
.amavi-hero__frame {
  position: relative;
  aspect-ratio: 5 / 4;
}
@media (min-width: 768px) {
  .amavi-hero__frame { aspect-ratio: 21 / 9; }
}

/* —— Product card (Amavi product-item) —— */
.product-item.card,
.product-card {
  background: var(--color-background-cards);
  border-radius: var(--border-radius-cards);
  overflow: hidden;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  transition: transform .35s ease;
}
.product-item.card:hover,
.product-card:hover { transform: translateY(-2px); }

.product-item__image {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--color-third-background-main);
  border-radius: var(--border-radius-cards) var(--border-radius-cards) 0 0;
  aspect-ratio: 5 / 6;
}
.product-item__image-figure {
  position: absolute; inset: 0;
  margin: 0;
  transition: opacity .3s linear, visibility .3s linear;
}
.product-item__image-figure img {
  width: 100%; height: 100%; object-fit: cover;
}
.product-item__image-figure--secondary {
  opacity: 0; visibility: hidden;
}
@media (hover: hover) {
  .product-item__image--has-secondary:hover .product-item__image-figure--primary {
    opacity: 0; visibility: hidden;
  }
  .product-item__image--has-secondary:hover .product-item__image-figure--secondary {
    opacity: 1; visibility: visible;
  }
}

.product-item__text {
  padding: 1rem 1rem 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: left;
}
.product-item__title {
  font-family: var(--font-stack-headings);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text-cards);
  line-height: 1.25;
}
.product-item__title:hover { color: var(--color-accent-main); }
.product-item__price {
  margin-top: .5rem;
  font-size: .95rem;
  color: var(--color-text-cards);
}
.product-price--compare {
  opacity: .55;
  text-decoration: line-through;
  margin-inline-start: .35rem;
  font-size: .85em;
}
.product-item__quick-buy {
  padding: .75rem 1rem 1rem;
}
.product-item__quick-buy .button {
  width: 100%;
  border-radius: var(--border-radius-buttons);
  border: 1px solid var(--color-text-main);
  background: transparent;
  color: var(--color-text-main);
  padding: .7rem .75rem;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .03em;
  transition: all .2s;
}
.product-item__quick-buy .button:hover {
  background: var(--color-accent-main);
  border-color: var(--color-accent-main);
  color: #fff;
}
.product-item__badge {
  position: absolute;
  top: .75rem; left: .75rem; z-index: 2;
  background: #bbb; color: #fff;
  font-size: .65rem; text-transform: uppercase;
  letter-spacing: .04em;
  padding: .2rem .5rem;
  border-radius: 3px;
  line-height: 1.4;
}
.product-item__badge--sale { background: var(--color-accent-main); }
.product-item__actions {
  position: absolute; right: .65rem; bottom: .65rem; z-index: 3;
  display: flex; flex-direction: column; gap: .35rem;
  opacity: 0; transition: opacity .25s;
}
@media (hover: hover) {
  .product-item.card:hover .product-item__actions { opacity: 1; }
}
@media (max-width: 767px) {
  .product-item__actions { opacity: 1; }
}
.product-item__actions button {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.95);
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-main);
  transition: background .2s, color .2s;
}
.product-item__actions button:hover {
  background: var(--color-accent-main); color: #fff;
}

/* —— Site header (sticky/fixed YOK — kaydırınca takip etmez) —— */
.site-top,
.site-header-wrap,
.announcement-bar {
  position: static !important;
  top: auto !important;
  bottom: auto !important;
  inset: auto !important;
}
.site-header-wrap {
  z-index: 50;
  background: var(--color-background-header);
  border-bottom: 1px solid var(--color-borders-header);
}
.site-header-wrap.is-scrolled {
  box-shadow: none;
}

/* —— Announcement (Amavi bordo) —— */
.announcement-bar {
  background: var(--color-accent-main);
  color: #fff;
  font-size: .75rem;
  letter-spacing: .02em;
}
.announcement-bar a { color: #fff; }

/* —— Cart sidebar (Amavi) —— */
.site-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.36);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: all .3s linear;
}
.sidebar-opened .site-overlay,
.site-overlay.is-open {
  opacity: 1; visibility: visible; pointer-events: all;
}
.cart-sidebar {
  position: fixed; top: 0; right: 0;
  height: var(--window-height);
  width: var(--sidebar-width);
  background: var(--color-background-main);
  color: var(--color-text-main);
  z-index: 1001;
  /* Alpine x-show ile gizlenir — !important kullanma (drawer hep açık kalırdı) */
  display: grid;
  grid-template-rows: min-content 1fr min-content;
  overflow: hidden;
  box-shadow: -8px 0 40px rgba(0,0,0,.08);
}
.cart-sidebar__header {
  position: sticky; top: 0;
  padding: 1.25rem var(--sidebar-gutter);
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--color-borders-main);
  background: var(--color-background-main);
  z-index: 2;
}
.cart-sidebar__title {
  font-family: var(--font-stack-headings);
  font-size: 1.15rem; font-weight: 500; margin: 0;
}
.cart-sidebar__body {
  overflow-y: auto;
  padding: var(--sidebar-gutter);
}
.cart-sidebar__footer {
  padding: var(--sidebar-gutter);
  border-top: 1px solid var(--color-borders-main);
  box-shadow: 0 0 60px rgba(0,0,0,.1);
  background: var(--color-background-main);
}
.cart-line {
  display: flex; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-borders-main);
}
.cart-line__img {
  width: 5.5rem; height: 6.5rem;
  border-radius: 8px; overflow: hidden;
  background: var(--color-third-background-main); flex-shrink: 0;
}
.cart-line__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__meta { flex: 1; min-width: 0; }
.cart-line__name {
  font-family: var(--font-stack-headings);
  font-size: .95rem; font-weight: 500;
  display: block; margin-bottom: .35rem;
}
.cart-qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--color-borders-main);
  border-radius: var(--border-radius-buttons);
  overflow: hidden; margin-top: .5rem;
}
.cart-qty button {
  width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
}
.cart-qty span { min-width: 1.75rem; text-align: center; font-size: .85rem; }

/* —— PDP ürün galerisi —— */
.pdp-gallery { width: 100%; }
.pdp-gallery__stage {
  position: relative;
  aspect-ratio: 5 / 6;
  background: #f4f4f4;
  border-radius: 1rem;
  overflow: hidden;
  cursor: zoom-in;
  user-select: none;
}
.pdp-gallery__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease;
  pointer-events: none;
}
.pdp-gallery__img.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.pdp-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  color: #1d1d1d;
  border: 1px solid rgba(29,29,29,.12);
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, transform .2s, opacity .2s;
}
.pdp-gallery__nav:hover:not(:disabled) {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}
.pdp-gallery__nav:disabled,
.pdp-gallery__nav.is-disabled {
  opacity: .35;
  cursor: default;
  pointer-events: none;
}
.pdp-gallery__nav--prev { left: .75rem; }
.pdp-gallery__nav--next { right: .75rem; }
.pdp-gallery__counter {
  position: absolute;
  bottom: .85rem;
  right: .85rem;
  z-index: 20;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(29,29,29,.72);
  color: #fff;
  padding: .35rem .65rem;
  border-radius: 999px;
  font-family: var(--font-stack-body, system-ui, sans-serif);
}
.pdp-gallery__dots {
  position: absolute;
  bottom: .9rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: .4rem;
}
.pdp-gallery__dot {
  width: .45rem;
  height: .45rem;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width .2s, background .2s;
}
.pdp-gallery__dot.is-active {
  width: 1.25rem;
  background: #fff;
}
.pdp-gallery__zoom-hint {
  position: absolute;
  top: .85rem;
  right: .85rem;
  z-index: 15;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: #1d1d1d;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
}
.pdp-gallery__stage:hover .pdp-gallery__zoom-hint { opacity: 1; }
.pdp-gallery__thumbs {
  display: flex;
  gap: .5rem;
  margin-top: .75rem;
  overflow-x: auto;
  padding-bottom: .25rem;
  scrollbar-width: thin;
}
.pdp-gallery__thumb {
  flex: 0 0 auto;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: .65rem;
  overflow: hidden;
  border: 2px solid transparent;
  background: #f4f4f4;
  padding: 0;
  cursor: pointer;
  opacity: .7;
  transition: opacity .2s, border-color .2s;
}
.pdp-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pdp-gallery__thumb.is-active {
  opacity: 1;
  border-color: #66313f;
}
.pdp-gallery__thumb:hover { opacity: 1; }

.pdp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(0,0,0,.96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}
.pdp-lightbox.is-open {
  display: flex !important;
}
.pdp-lightbox[hidden] {
  display: none !important;
}
.pdp-lightbox__frame {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.25rem 0.5rem 2.75rem;
  box-sizing: border-box;
}
.pdp-lightbox__img {
  display: block;
  width: auto;
  height: auto;
  max-width: 98vw;
  max-height: 92vh;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.pdp-lightbox__close,
.pdp-lightbox__nav {
  position: absolute;
  z-index: 3;
  color: #1d1d1d;
  background: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, background .2s;
  box-shadow: 0 4px 18px rgba(0,0,0,.35);
}
.pdp-lightbox__close:hover,
.pdp-lightbox__nav:hover {
  background: #f4f4f4;
  transform: scale(1.06);
}
.pdp-lightbox__close {
  top: .85rem;
  right: .85rem;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
}
.pdp-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
}
.pdp-lightbox__nav:hover { transform: translateY(-50%) scale(1.06); }
.pdp-lightbox__nav--prev { left: .65rem; }
.pdp-lightbox__nav--next { right: .65rem; }
.pdp-lightbox__counter {
  position: absolute;
  bottom: .85rem;
  left: 0;
  right: 0;
  z-index: 3;
  text-align: center;
  color: rgba(255,255,255,.9);
  font-size: .8rem;
  letter-spacing: .08em;
  font-family: var(--font-stack-body, system-ui, sans-serif);
  pointer-events: none;
}
@media (max-width: 767px) {
  .pdp-lightbox__img { max-height: 88vh; max-width: 100vw; }
  .pdp-lightbox__frame { padding: 3.5rem 0 2.5rem; }
  .pdp-lightbox__close { top: .65rem; right: .65rem; }
}

/* —— Anasayfa promo kartlar —— */
.home-promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
@media (min-width: 768px) {
  .home-promo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
  }
}
.home-promo-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  color: #1d1d1d;
  min-width: 0;
  border: 1px solid rgba(29,29,29,.08);
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s;
}
.home-promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(29,29,29,.12);
}
.home-promo-card--banner {
  background: transparent;
  border: 0;
  border-radius: 1rem;
}
.home-promo-card--banner:hover {
  box-shadow: 0 14px 36px rgba(29,29,29,.12);
}
/* Banner: sadece görsel, siyah şerit yok */
.home-promo-card__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
  transition: transform .7s ease;
}
.home-promo-card--banner:hover .home-promo-card__img {
  transform: scale(1.015);
}
.home-promo-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f4f4f4;
  flex-shrink: 0;
}
.home-promo-card__media--cover img,
.home-promo-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .7s ease;
}
.home-promo-card:hover .home-promo-card__media img {
  transform: scale(1.04);
}
.home-promo-card__foot {
  padding: .9rem 1rem 1.05rem;
  background: #fff !important;
  color: #1d1d1d;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.home-promo-card__title {
  font-family: var(--font-stack-headings, Georgia, serif);
  font-size: clamp(.95rem, 2.2vw, 1.15rem);
  letter-spacing: .01em;
  line-height: 1.25;
  color: #1d1d1d !important;
  word-break: break-word;
}
.home-promo-card__sub {
  font-size: .75rem;
  line-height: 1.4;
  color: rgba(29,29,29,.58) !important;
  font-family: var(--font-stack-body, system-ui, sans-serif);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-promo-card__cta {
  margin-top: .4rem;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  color: #66313f !important;
  font-family: var(--font-stack-body, system-ui, sans-serif);
  border-bottom: 1px solid rgba(102,49,63,.45);
  align-self: flex-start;
  padding-bottom: .1rem;
}

/* —— PDP sipariş formu (mobil boşluk + modern) —— */
.pdp-page .pdp-buy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: .25rem;
}
.pdp-buy__card {
  background: #f7f5f4;
  border: 1px solid rgba(29,29,29,.08);
  border-radius: 1rem;
  padding: 1.15rem 1.1rem;
}
.pdp-buy__block { padding: .15rem 0; }
.pdp-buy__q {
  font-size: .9rem;
  font-weight: 500;
  color: #1d1d1d;
  margin-bottom: .85rem;
  line-height: 1.4;
  font-family: var(--font-stack-body, system-ui, sans-serif);
}
.pdp-buy__pills {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.pdp-buy__pill {
  min-height: 2.65rem;
  min-width: 5.5rem;
  padding: .55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(29,29,29,.22);
  background: #fff;
  color: #1d1d1d;
  font-size: .875rem;
  font-family: var(--font-stack-body, system-ui, sans-serif);
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.pdp-buy__pill.is-on {
  background: #66313f;
  border-color: #66313f;
  color: #fff;
}
.pdp-buy__fields {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(29,29,29,.08);
}
.pdp-buy__extra {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(29,29,29,.07);
}
.pdp-buy__extra:last-child { border-bottom: 0; }
.pdp-buy__extra-img {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: .5rem;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid rgba(29,29,29,.08);
}
.pdp-buy__extra-img img { width: 100%; height: 100%; object-fit: cover; }
.pdp-buy__extra-meta {
  flex: 1;
  min-width: 0;
  font-size: .85rem;
  line-height: 1.35;
  font-family: var(--font-stack-body, system-ui, sans-serif);
}
.pdp-buy__extra-qty {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  flex-shrink: 0;
}
.pdp-buy__extra-qty button {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(29,29,29,.18);
  background: #fff;
  font-size: 1rem;
  line-height: 1;
}
.pdp-buy__extra-qty span {
  min-width: 1.25rem;
  text-align: center;
  font-size: .85rem;
}
.pdp-buy__cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
  margin-top: .35rem;
  padding-top: .35rem;
}
@media (min-width: 420px) {
  .pdp-buy__cta {
    grid-template-columns: minmax(140px, 160px) 1fr;
    align-items: stretch;
  }
}
.pdp-buy__qty {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  height: 3.15rem;
  border: 1px solid rgba(29,29,29,.18);
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}
.pdp-buy__qty button {
  width: 2.85rem;
  height: 3.15rem;
  font-size: 1.15rem;
  background: transparent;
  border: 0;
  color: #1d1d1d;
}
.pdp-buy__qty input {
  width: 2.75rem;
  height: 3.15rem;
  text-align: center;
  border: 0;
  border-left: 1px solid rgba(29,29,29,.1);
  border-right: 1px solid rgba(29,29,29,.1);
  background: transparent;
  font-size: .95rem;
  -moz-appearance: textfield;
  appearance: textfield;
}
.pdp-buy__qty input::-webkit-outer-spin-button,
.pdp-buy__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-buy__submit {
  height: 3.15rem;
  border-radius: 999px;
  background: #66313f;
  color: #fff;
  border: 0;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .04em;
  font-family: var(--font-stack-body, system-ui, sans-serif);
  transition: background .2s;
  cursor: pointer;
}
.pdp-buy__submit:hover { background: #523028; }
.pdp-buy__total {
  font-size: .95rem;
  color: rgba(29,29,29,.65);
  font-family: var(--font-stack-body, system-ui, sans-serif);
  padding: .15rem 0 .35rem;
}
.pdp-buy__total strong { color: #1d1d1d; font-weight: 600; }
.pdp-buy__acc {
  border-top: 1px solid rgba(29,29,29,.1);
  margin-top: .15rem;
  margin-bottom: .15rem;
}
.pdp-buy__acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  border: 0;
  border-bottom: 1px solid rgba(29,29,29,.1);
  background: transparent;
  text-align: left;
  font-size: .9rem;
  font-weight: 500;
  color: #1d1d1d;
  font-family: var(--font-stack-body, system-ui, sans-serif);
  cursor: pointer;
  line-height: 1.35;
}
.pdp-buy__chev { transition: transform .25s; flex-shrink: 0; }
.pdp-buy__chev.is-open { transform: rotate(180deg); }
.pdp-buy__acc-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: .5rem 0 1.5rem;
}
.pdp-buy__acc-body .amavi-label {
  display: block;
  margin-bottom: .4rem;
}
.pdp-buy__acc-body .block + .block,
.pdp-buy__acc-body .pdp-buy__grid2 + .block {
  margin-top: 0;
}
.pdp-buy__grid2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
}
@media (min-width: 640px) {
  .pdp-buy__grid2 { grid-template-columns: 1fr 1fr; }
}

/* Auth formlar — (üstteki .amavi-* tanımları geçerli) */

@media (max-width: 767px) {
  .pdp-gallery__nav {
    width: 2.5rem;
    height: 2.5rem;
  }
  .pdp-page .max-w-7xl { padding-left: 1rem; padding-right: 1rem; }
  .pdp-buy { gap: 1.1rem; }
  .pdp-buy__card { padding: 1.05rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .amavi-fade-in, .amavi-page main > *:first-child, .amavi-mega, .product-item.card, .cart-sidebar, .site-overlay {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 767px) {
  :root { --border-radius-cards: 8px; }
  .max-w-7xl.px-4, .max-w-6xl.px-4, .max-w-5xl.px-4, .max-w-4xl.px-4, .max-w-3xl.px-4, .max-w-2xl.px-4 {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  input, select, textarea { font-size: 16px !important; }
  html, body { overflow-x: hidden; max-width: 100vw; }
  body { padding-bottom: env(safe-area-inset-bottom); }
  nav.fixed.bottom-0 a { min-height: 52px; }
}

/* WhatsApp Sipariş Hattı */
.wa-siparis-hatti {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  background: #25D366;
  color: #fff;
  font-family: var(--font-stack-body, system-ui, sans-serif);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  border-radius: 999px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(37, 211, 102, .35);
}
.wa-siparis-hatti:hover {
  background: #1ebe57;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, .45);
}
.wa-siparis-hatti__icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}
.wa-siparis-hatti--header {
  height: 40px;
  padding: 0 1.1rem;
}
.wa-siparis-hatti--pdp {
  width: 100%;
  min-height: 3rem;
  margin-top: .85rem;
  padding: .75rem 1.25rem;
  font-size: .9rem;
}
.wa-siparis-hatti--float {
  position: fixed;
  bottom: 5.5rem;
  left: 1rem;
  right: auto;
  z-index: 30;
  min-height: 3rem;
  padding: .65rem 1.1rem;
}
@media (min-width: 768px) {
  .wa-siparis-hatti--float {
    bottom: 1.5rem;
    left: auto;
    right: 1rem;
    padding: .75rem 1.25rem;
  }
}
@media (max-width: 480px) {
  .wa-siparis-hatti--float .wa-siparis-hatti__label {
    font-size: .75rem;
  }
}

/* ========== Google İşletme + Yorumlar ========== */
.gmb-section {
  border-top: 1px solid rgba(29,29,29,.1);
  border-bottom: 1px solid rgba(29,29,29,.1);
  background: #fff;
}
.gmb-section--home { margin-top: 3.5rem; }
@media (min-width: 768px) {
  .gmb-section--home { margin-top: 5rem; }
}
.gmb-section--product {
  background: #f7f7f7;
}
.gmb-section__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.75rem 1rem 3rem;
}
@media (min-width: 768px) {
  .gmb-section__inner { padding: 3.5rem 1.25rem 4rem; }
}
.gmb-section__head { text-align: center; margin-bottom: 1.75rem; }

.gmb-card {
  background: #fff;
  border: 1px solid rgba(29,29,29,.1);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(29,29,29,.06);
  overflow: hidden;
  margin-bottom: 1.75rem;
}
.gmb-section--product .gmb-card {
  box-shadow: 0 10px 32px rgba(102,49,63,.08);
}
.gmb-card__body {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.15rem 1.15rem 1.25rem;
}
@media (min-width: 640px) {
  .gmb-card__body { padding: 1.35rem 1.5rem; gap: 1.5rem; }
}
.gmb-card__info { flex: 1; min-width: 0; font-family: 'DM Sans', system-ui, sans-serif; }
.gmb-card__name {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a0dab;
  text-decoration: underline;
  text-underline-offset: 3px;
  line-height: 1.3;
  margin-bottom: .35rem;
}
.gmb-card__name:hover { color: #66313f; }
.gmb-card__name--plain {
  color: #1d1d1d;
  text-decoration: none;
  cursor: default;
}
.gmb-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .35rem;
  font-size: .875rem;
  color: #4d5156;
  margin-bottom: .35rem;
}
.gmb-card__score { font-weight: 600; color: #1d1d1d; }
.gmb-card__stars { display: inline-flex; gap: 1px; }
.gmb-star svg { display: block; }
.gmb-star.is-full svg path { fill: #fbbc04; }
.gmb-star.is-half svg path { fill: #fbbc04; opacity: .55; }
.gmb-star.is-empty svg path { fill: #dadce0; }
.gmb-card__count { color: #4d5156; }
.gmb-card__dot { color: #9aa0a6; margin: 0 .1rem; }
.gmb-card__cat { color: #4d5156; }
.gmb-card__line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .2rem .35rem;
  font-size: .8125rem;
  color: #4d5156;
  line-height: 1.55;
  margin-top: .1rem;
}
.gmb-card__open { color: #188038; font-weight: 600; }
.gmb-card__link { color: #1a0dab; text-decoration: none; }
.gmb-card__link:hover { text-decoration: underline; color: #66313f; }
.gmb-card__link--site { font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.gmb-card__photo {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f3f4;
  border: 1px solid rgba(29,29,29,.08);
}
@media (min-width: 640px) {
  .gmb-card__photo { width: 112px; height: 112px; border-radius: 12px; }
}
.gmb-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gmb-reviews__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1rem;
  margin-bottom: 1.15rem;
}
.gmb-reviews__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .65rem;
  font-family: 'DM Sans', system-ui, sans-serif;
}
.gmb-reviews__big {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1d1d1d;
  letter-spacing: -.02em;
  line-height: 1;
}
.gmb-reviews__stars { display: inline-flex; gap: 1px; }
.gmb-reviews__total { font-size: .875rem; color: #5f6368; }
.gmb-reviews__badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .75rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(29,29,29,.12);
  font-size: .75rem;
  font-weight: 600;
  color: #3c4043;
  font-family: 'DM Sans', system-ui, sans-serif;
}
.gmb-section--home .gmb-reviews__badge { background: #f8f1f3; border-color: rgba(102,49,63,.15); color: #66313f; }

.gmb-reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
}
@media (min-width: 640px) {
  .gmb-reviews__grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
}
@media (min-width: 1024px) {
  .gmb-reviews__grid { grid-template-columns: 1fr 1fr; gap: 1.1rem; }
}
.gmb-review {
  background: #fff;
  border: 1px solid rgba(29,29,29,.1);
  border-radius: 14px;
  padding: 1rem 1.05rem 1.1rem;
  transition: border-color .2s, box-shadow .2s;
}
.gmb-review:hover {
  border-color: rgba(102,49,63,.28);
  box-shadow: 0 6px 20px rgba(102,49,63,.07);
}
.gmb-review__head {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .55rem;
}
.gmb-review__avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'DM Sans', system-ui, sans-serif;
}
.gmb-review__name {
  font-size: .9rem;
  font-weight: 600;
  color: #202124;
  font-family: 'DM Sans', system-ui, sans-serif;
}
.gmb-review__src {
  font-size: .7rem;
  color: #80868b;
  margin-top: 1px;
  font-family: 'DM Sans', system-ui, sans-serif;
}
.gmb-review__stars {
  display: flex;
  gap: 1px;
  margin-bottom: .45rem;
}
.gmb-review__text {
  font-size: .875rem;
  line-height: 1.55;
  color: #3c4043;
  font-family: 'DM Sans', system-ui, sans-serif;
  margin: 0;
}
.gmb-reviews__more {
  display: flex;
  justify-content: center;
  margin-top: 1.35rem;
}
.gmb-reviews__btn {
  appearance: none;
  border: 1px solid rgba(29,29,29,.18);
  background: #fff;
  color: #66313f;
  font-weight: 600;
  font-size: .875rem;
  padding: .7rem 1.35rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: 'DM Sans', system-ui, sans-serif;
  transition: background .2s, border-color .2s, color .2s;
}
.gmb-reviews__btn:hover {
  background: #66313f;
  border-color: #66313f;
  color: #fff;
}
@media (max-width: 480px) {
  .gmb-card__name { font-size: 1.05rem; }
  .gmb-card__photo { width: 76px; height: 76px; }
  .gmb-reviews__big { font-size: 1.5rem; }
}
