/* ==========================================================================
   Çikolata Merkezi — Sayfa düzenleri
   ========================================================================== */

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--cm-espresso); color: var(--cm-cream); overflow: hidden; isolation: isolate; min-height: clamp(500px, 68vh, 640px); display: flex; align-items: flex-end; }
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  visibility: hidden; pointer-events: none;
}
.hero-slide.is-active {
  visibility: visible; pointer-events: auto;
}
/* Görsel arkada; overlay slayt içinde yazının ALTINDA */
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 78% 50%;
  z-index: 0; transform: scale(1.08); transform-origin: 70% 50%;
  opacity: 0;
  transition: opacity .85s var(--ease);
  will-change: transform, opacity;
}
.hero-slide.is-active .hero-img {
  opacity: 1;
  animation: heroZoomOut 7s cubic-bezier(.22, 1, .36, 1) both;
}
.hero-slide::after {
  content: "";
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(36, 18, 12, .94) 0%, rgba(36, 18, 12, .62) 38%, rgba(36, 18, 12, .05) 70%);
}
@keyframes heroZoomOut {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
/* Yazı katmanı — opacity yok, overlay’in üstünde */
.hero-content {
  position: relative; z-index: 2;
  padding-block: 3rem 5.5rem; width: 100%;
  opacity: 1 !important;
}
.hero h1 { color: #FFF4DE; margin: 1rem 0 1rem; max-width: 12ch; text-wrap: balance; font-weight: 600; }
.hero h1 em { font-style: italic; color: var(--cm-gold-light); font-weight: 500; }
.hero p, .hero-lead { max-width: 44ch; font-size: 1.1rem; color: rgba(241, 229, 207, .92); margin-bottom: 1.75rem; opacity: 1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: center; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(38px, 6vw, 74px); display: block; z-index: 4; pointer-events: none; }
.hero-curve { position: absolute; z-index: 3; right: -4%; top: -6%; width: min(46vw, 560px); opacity: .55; pointer-events: none; }
.hero-nav {
  position: absolute; left: 50%; bottom: clamp(3.2rem, 7vw, 5.5rem); transform: translateX(-50%);
  z-index: 5; display: flex; gap: .55rem; align-items: center;
}
.hero-nav[hidden], .hero-arrows[hidden] { display: none !important; }
.hero-dot {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(241, 229, 207, .35); cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, width .25s;
}
.hero-dot.is-active { background: var(--cm-gold); width: 28px; border-radius: 999px; }
.hero-dot:hover { background: var(--cm-gold-light); }
.hero-arrows {
  position: absolute; right: clamp(1rem, 3vw, 2rem); bottom: clamp(3.2rem, 7vw, 5.5rem);
  z-index: 5; display: flex; gap: .5rem;
}
.hero-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(213, 180, 122, .55); background: rgba(36, 18, 12, .45);
  color: var(--cm-gold-light); display: grid; place-items: center;
  backdrop-filter: blur(6px); transition: background-color .2s, border-color .2s, color .2s;
}
.hero-arrow:hover { background: var(--cm-dark); border-color: var(--cm-gold); color: #fff; }
@media (min-width: 768px) {
  .hero { align-items: center; }
  .hero-slide { align-items: center; }
  .hero-slide::after { background: linear-gradient(90deg, rgba(36, 18, 12, .96) 0%, rgba(36, 18, 12, .78) 32%, rgba(36, 18, 12, .08) 66%); }
  .hero-content { padding-block: 4.5rem 6.5rem; }
}
@media (max-width: 767.98px) {
  .hero { min-height: 540px; }
  .hero-img { object-position: 82% 40%; }
  .hero-arrows { display: none; }
}

/* ---------- Kategori kartları ---------- */
.cat-grid { display: grid; gap: .9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 1200px) { .cat-grid.is-row { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; } }
.cat-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; color: var(--cm-cream); text-decoration: none; isolation: isolate; background: var(--cm-dark); box-shadow: var(--shadow-soft); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.cat-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(36, 18, 12, 0) 38%, rgba(36, 18, 12, .92) 100%); }
.cat-card::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(232, 212, 170, 0); border-radius: 10px; transition: border-color .4s; pointer-events: none; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card:hover::after { border-color: rgba(232, 212, 170, .65); }
.cat-card .cc-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1rem 1.1rem; }
.cat-card h3 { font-family: var(--font-serif); color: #FFF4DE; font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.08; margin: 0 0 .35rem; font-weight: 600; text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }
.cat-card .cc-cue { display: inline-flex; align-items: center; gap: .4rem; font-size: .8125rem; font-weight: 700; color: var(--cm-gold-light); transition: gap .3s var(--ease); }
.cat-card:hover .cc-cue { gap: .7rem; }
.cat-card.is-wide { aspect-ratio: 16 / 9; }

/* ---------- Waffle Dünyası bölümü ---------- */
.ww-photo { position: relative; border-radius: var(--radius-lg); overflow: visible; }
.ww-photo > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); display: block; box-shadow: var(--shadow-lift); }
.ww-photo::after { content: ""; position: absolute; width: 62%; aspect-ratio: 1; border: 1px solid var(--cm-gold); border-radius: 50%; right: -9%; bottom: -8%; z-index: -1; opacity: .7; }
.chip-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip-link { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1.15rem; border-radius: 999px; border: 1px solid rgba(213, 180, 122, .55); color: var(--cm-cream); text-decoration: none; font-weight: 600; font-size: .9rem; transition: background-color .25s, color .25s, border-color .25s; min-height: 44px; }
.chip-link:hover { background: var(--cm-gold); color: var(--cm-espresso); border-color: var(--cm-gold); }
.chip-link.light { color: var(--cm-cocoa); border-color: rgba(87, 51, 35, .35); background: var(--cm-paper); }
.chip-link.light:hover { background: var(--cm-dark); color: var(--cm-cream); border-color: var(--cm-dark); }

/* ---------- Koleksiyon panelleri ---------- */
.coll-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .coll-grid { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; } .coll-grid > :nth-child(2) { margin-top: 2.5rem; } .coll-grid > :nth-child(3) { margin-top: 1.1rem; } }
.coll-card { position: relative; display: flex; align-items: flex-end; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; color: var(--cm-cream); text-decoration: none; isolation: isolate; box-shadow: var(--shadow-soft); }
.coll-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.coll-card:hover img { transform: scale(1.05); }
.coll-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(36, 18, 12, .0) 35%, rgba(36, 18, 12, .9)); }
.coll-card div { padding: 1.6rem; }
.coll-card h3 { color: #FFF4DE; font-size: clamp(1.7rem, 2.4vw, 2.2rem); margin: 0 0 .4rem; }
.coll-card p { margin: 0 0 .8rem; color: rgba(241, 229, 207, .92); font-size: .95rem; max-width: 30ch; }
.coll-card .cc-cue { font-weight: 700; color: var(--cm-gold-light); display: inline-flex; gap: .4rem; align-items: center; font-size: .875rem; }
.coll-card::after { content: ""; position: absolute; top: 1.1rem; right: 1.1rem; width: 54px; height: 54px; border: 1px solid rgba(232, 212, 170, .6); border-radius: 50%; }

/* ---------- Birlikte daha lezzetli ---------- */
.bundle { background: var(--cm-paper); border: 1px solid var(--cm-line-gold); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: var(--shadow-soft); }
.bundle-slot { display: grid; grid-template-columns: 24px 76px 1fr; gap: .9rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--cm-line); }
.bundle-slot:last-of-type { border-bottom: 0; }
.bundle-slot img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; background: var(--cm-cream); }
.bundle-slot .slot-label { font-size: .78rem; font-weight: 700; color: var(--cm-milk); }
.bundle-slot .slot-price { font-weight: 800; color: var(--cm-espresso); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bundle-slot.is-off { opacity: .5; }
.bundle-total { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.25rem; border-top: 1px solid var(--cm-line-gold); }
.bundle-total .amount { font-family: var(--font-sans); font-size: 1.7rem; font-weight: 800; color: var(--cm-espresso); font-variant-numeric: tabular-nums; }

/* ---------- Marka hikâyesi / tarif kartları ---------- */
.story-img { border-radius: 50% 50% var(--radius-lg) var(--radius-lg) / 38% 38% var(--radius-lg) var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 0 0 1px rgba(213, 180, 122, .5), 0 0 0 10px var(--cm-dark), 0 0 0 11px rgba(213, 180, 122, .4); }
.story-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Bayilik CTA ---------- */
.dealer-cta { background: white; color: var(--cm-cocoa); position: relative; overflow: hidden; }
.dealer-cta::before { content: ""; position: absolute; inset: auto -8% -40% auto; width: min(520px, 70vw); aspect-ratio: 1; border: 1px solid rgba(213, 180, 122, .2); border-radius: 50%; pointer-events: none; }
.dealer-cta h2 { color:var(--cm-cocoa); }
.dealer-cta .lead { color: var(--cm-cocoa); }
.dealer-cta__visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); }
.dealer-cta__visual img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.dealer-cta__visual::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(213, 180, 122, .45); border-radius: calc(var(--radius-lg) - 4px); pointer-events: none; }

/* ---------- Bayilik sayfa ---------- */
#cmBayilikPage .bayilik-visual {
  position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lift); background: var(--cm-cream);
}
#cmBayilikPage .bayilik-visual img {
  width: 100%; aspect-ratio: 896 / 1200; object-fit: cover; display: block;
}
#cmBayilikPage .bayilik-visual::after {
  content: ""; position: absolute; inset: 12px;
  border: 1px solid rgba(213, 180, 122, .45);
  border-radius: calc(var(--radius-lg) - 4px); pointer-events: none;
}
#cmBayilikPage .bayilik-visual.is-empty {
  min-height: 280px; display: grid; place-items: center;
}
#cmBayilikPage .bayilik-visual.is-empty::before {
  content: "Tema içeriğinden görsel ekleyin\A (Bayilik Sayfa Görsel 896×1200)";
  white-space: pre-line; text-align: center; color: var(--cm-muted);
  font-size: .9rem; font-weight: 600; padding: 1.5rem; z-index: 1;
}
#cmBayilikPage .bayilik-visual.is-empty::after { display: none; }
#cmBayilikPage .bayilik-copy { margin-top: 1.5rem; }
#cmBayilikPage .bayilik-copy .page-content { color: var(--cm-text); max-width: 42ch; }
#cmBayilikPage .bayilik-contact li {
  display: flex; align-items: center; gap: .65rem; margin-bottom: .55rem;
  font-weight: 700; color: var(--cm-cocoa);
}
#cmBayilikPage .bayilik-contact i { color: var(--cm-milk); }
#cmBayilikPage .bayilik-contact a { color: inherit; text-decoration: none; }
#cmBayilikPage .bayilik-contact a:hover { color: var(--cm-caramel); }
#cmBayilikPage .bayilik-form-card { padding: clamp(1.35rem, 3vw, 2.25rem); }
#cmBayilikPage .form-label { font-weight: 700; font-size: .88rem; color: var(--cm-cocoa); }
#cmBayilikPage .form-control,
#cmBayilikPage .form-select {
  scroll-margin-top: calc(var(--header-offset, 120px) + 1rem);
}
#cmBayilikPage .form-select {
  background-color: #fff;
  background-image: var(--bs-form-select-bg-img);
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: 16px 12px;
  border-color: rgba(87, 51, 35, .3);
  color: var(--cm-text);
  transition: border-color .2s ease;
}

/* Özel select — option hover mavi yerine tema krem/kakao */
#cmBayilikPage .cm-select {
  position: relative;
  width: 100%;
}
#cmBayilikPage .cm-select__native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
#cmBayilikPage .cm-select__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: .78rem 2.6rem .78rem 1rem;
  border: 1px solid rgba(87, 51, 35, .3);
  border-radius: 12px;
  background-color: #fff;
  background-image: var(--bs-form-select-bg-img);
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: 16px 12px;
  color: var(--cm-text);
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
#cmBayilikPage .cm-select__btn.is-placeholder { color: var(--cm-muted); font-weight: 500; }
#cmBayilikPage .cm-select__btn:hover {
  border-color: var(--cm-caramel);
  background-color: var(--cm-paper);
  color: var(--cm-espresso);
}
#cmBayilikPage .cm-select__btn:focus,
#cmBayilikPage .cm-select__btn:focus-visible,
#cmBayilikPage .cm-select.is-open .cm-select__btn {
  border-color: var(--cm-milk);
  box-shadow: 0 0 0 .22rem rgba(213, 180, 122, .45);
  outline: 0;
  background-color: #fff;
  color: var(--cm-text);
}
#cmBayilikPage .cm-select.is-disabled .cm-select__btn {
  opacity: .65;
  cursor: not-allowed;
  background-color: var(--cm-cream);
}
#cmBayilikPage .cm-select__list {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: .4rem;
  list-style: none;
  max-height: 260px;
  overflow: auto;
  background: var(--cm-paper);
  border: 1px solid var(--cm-line-gold);
  border-radius: 14px;
  box-shadow: var(--shadow-lift);
}
#cmBayilikPage .cm-select__option {
  display: block;
  width: 100%;
  padding: .7rem .9rem;
  border-radius: 10px;
  color: var(--cm-cocoa);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
#cmBayilikPage .cm-select__option:hover,
#cmBayilikPage .cm-select__option:focus {
  background: var(--cm-cream);
  color: var(--cm-espresso);
}
#cmBayilikPage .cm-select__option.is-selected {
  background: var(--cm-dark);
  color: var(--cm-gold-light);
}
#cmBayilikPage .cm-select__option.is-selected:hover {
  background: var(--cm-cocoa);
  color: #fff;
}
#cmBayilikPage .cm-select__option.is-disabled {
  opacity: .45;
  cursor: default;
  pointer-events: none;
}
#cmBayilikPage .bayilik-check {
  display: flex; align-items: flex-start; gap: .65rem; margin: 0; min-height: 0; padding: 0;
}
#cmBayilikPage .bayilik-check .form-check-input {
  width: 1.1rem; height: 1.1rem; margin: .2rem 0 0; flex-shrink: 0;
  accent-color: var(--cm-dark); border-color: rgba(87, 51, 35, .4);
}
#cmBayilikPage .bayilik-check .form-check-label { color: var(--cm-muted); font-size: .9rem; line-height: 1.45; }
#cmBayilikPage .bayilik-check a { color: var(--cm-caramel); font-weight: 700; }
#cmBayilikPage .btn-primary {
  background: var(--cm-dark); border-color: var(--cm-dark); color: var(--cm-cream);
}
#cmBayilikPage .btn-primary:hover {
  background: var(--cm-cocoa); border-color: var(--cm-cocoa); color: #fff;
}
#cmBayilikPage #zpDealerApplyNotice a { color: var(--cm-espresso); font-weight: 800; }
#cmBayilikPage .member-captcha-wrap,
#cmBayilikPage .input-captcha-wrap { margin-top: .15rem; }
.recipe-card { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--cm-text); background: var(--cm-paper); border: 1px solid var(--cm-line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.recipe-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-4px); color: var(--cm-text); }
.recipe-card .rc-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cm-cream); }
.recipe-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.recipe-card:hover img { transform: scale(1.05); }
.recipe-card .rc-body { padding: 1.2rem 1.3rem 1.4rem; }
.recipe-card h3 { margin: .3rem 0 .6rem; font-size: 1.6rem; }
.recipe-card .meta { font-size: .82rem; color: var(--cm-muted); display: flex; gap: 1rem; }

/* ---------- Bülten ---------- */
.news-band { background: var(--cm-dark); color: var(--cm-cream); position: relative; overflow: hidden; }
.news-band::before { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(213, 180, 122, .18); border-radius: 50%; right: -120px; top: -200px; }
.news-band h2 { color: #FFF4DE; }
.news-form .form-control { background: rgba(251, 245, 233, .08); border-color: rgba(213, 180, 122, .5); color: var(--cm-cream); }
.news-form .form-control::placeholder { color: rgba(241, 229, 207, .72); }
.news-form .form-control:focus { background: rgba(251, 245, 233, .14); border-color: var(--cm-gold); }
.news-form .form-text, .news-form .form-check-label { color: rgba(241, 229, 207, .85); }
.news-form .form-check-input { background-color: transparent; border-color: var(--cm-gold); }
.news-form .form-check-input:checked { background-color: var(--cm-gold); border-color: var(--cm-gold); }
.news-form .invalid-feedback { color: #FFB4A6; }
.form-feedback { font-weight: 600; min-height: 1.5em; }
.form-feedback.ok { color: #C7E3B8; }
.on-light .form-feedback.ok { color: var(--cm-success); }

/* ---------- İç sayfa başlığı ---------- */
.page-hero { background: var(--cm-cream); border-bottom: 1px solid var(--cm-line-gold); padding-block: 1.75rem 2.25rem; position: relative; overflow: hidden; }
.page-hero.has-img { color: var(--cm-cream); background: var(--cm-dark); isolation: isolate; padding-block: 2rem 3rem; }
.page-hero.has-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .5; }
.page-hero.has-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(36, 18, 12, .95), rgba(36, 18, 12, .45)); }
.page-hero.has-img h1, .page-hero.has-img .breadcrumb-item.active, .page-hero.has-img .breadcrumb a { color: var(--cm-cream); }
.page-hero.has-img .breadcrumb { --bs-breadcrumb-item-active-color: var(--cm-gold-light); }
.page-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); margin: 0 0 .6rem; }
.page-hero p.lead { max-width: 60ch; margin: 0; }
.page-hero p.lead a {
  color: var(--cm-cocoa);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--cm-caramel);
  text-underline-offset: .2em;
}
.page-hero p.lead a:hover { color: var(--cm-espresso); text-decoration-color: var(--cm-espresso); }
.page-hero.has-img p.lead { color: rgba(241, 229, 207, .9); }
.page-hero.has-img p.lead a { color: var(--cm-gold-light); text-decoration-color: var(--cm-gold); }
.page-hero.has-img p.lead a:hover { color: #fff; text-decoration-color: #fff; }
.page-hero .ph-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(42vw, 480px);
  pointer-events: none;
  opacity: .42;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
}
.page-hero .ph-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero .cm-breadcrumb {
  margin-bottom: 1.25rem;
  font-size: .875rem;
}
.page-hero .cm-breadcrumb a { color: var(--cm-milk); }
.page-hero .cm-breadcrumb a:hover { color: var(--cm-espresso); }
.page-hero .cm-breadcrumb [aria-current="page"] { color: var(--cm-muted); font-weight: 700; }

/* Zoom görsel modal */
.cm-image-viewer {
  background: var(--cm-dark);
  color: var(--cm-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.cm-image-viewer .modal-header {
  border-bottom: 1px solid rgba(232, 212, 170, .28);
  background: var(--cm-espresso);
  padding: .9rem 1.15rem;
}
.cm-image-viewer .modal-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cm-gold-light) !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: var(--cm-gold-light) !important;
  margin: 0;
}
.cm-image-viewer .modal-body {
  background: #1a0f0b;
  padding: 1rem;
}
.cm-image-viewer .modal-body img {
  max-height: min(78vh, 900px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 12px;
}
.cm-image-viewer .btn-close {
  opacity: .85;
}
.zp-store-product .pdp { padding-top: 1.75rem; }

/* ---------- Listeleme ---------- */
.listing { display: grid; gap: 2rem; padding-block: 2rem 4rem; }
@media (min-width: 992px) { .listing { grid-template-columns: 270px minmax(0, 1fr); gap: 3rem; } }
.filters-desktop { display: none; }
@media (min-width: 992px) {
  .filters-desktop {
    display: block;
    position: sticky;
    top: calc(var(--header-offset) + 1rem);
    align-self: start;
    max-height: calc(100vh - var(--header-offset) - 2rem);
    overflow: auto;
    padding-right: .65rem;
    scrollbar-gutter: stable;
  }
}
.filter-group { border-bottom: 1px solid var(--cm-line); padding: 1rem 0; border-inline: 0; border-top: 0; margin: 0; min-width: 0; }
.filter-group legend { float: none; width: auto; font-size: .95rem; font-weight: 800; color: var(--cm-cocoa); padding: 0; margin-bottom: .65rem; }
.filter-group .form-check { display: flex; align-items: center; gap: .6rem; padding: .3rem 0; min-height: 34px; margin: 0; }
.filter-group .form-check-input { margin: 0; flex: none; float: none; }
.filter-group .form-check-label { flex: 1; font-size: .92rem; display: flex; justify-content: space-between; gap: .5rem; }
.filter-group .count { color: var(--cm-muted); font-size: .8rem; }
.listing-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; margin-bottom: 1rem; }
.listing-bar .count-text { font-weight: 700; color: var(--cm-cocoa); }
.sort-select { max-width: 230px; padding-block: .6rem; border-radius: 999px; font-size: .92rem; font-weight: 600; }
.applied { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1.25rem; }
.applied:empty { display: none; }
.f-chip { display: inline-flex; align-items: center; gap: .4rem; background: var(--cm-cream); border: 1px solid var(--cm-line-gold); color: var(--cm-cocoa); font-size: .85rem; font-weight: 700; padding: .4rem .5rem .4rem .85rem; border-radius: 999px; }
.f-chip button { background: none; border: 0; width: 26px; height: 26px; border-radius: 50%; color: var(--cm-cocoa); display: grid; place-items: center; }
.f-chip button:hover { background: var(--cm-dark); color: var(--cm-cream); }
.subcat-row { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .25rem; margin-top: 1.25rem; flex-wrap: wrap; }
.subcat { display: inline-flex; align-items: center; min-height: 40px; padding: .4rem 1rem; border-radius: 999px; border: 1px solid rgba(87, 51, 35, .3); color: var(--cm-cocoa); background: transparent; font-weight: 700; font-size: .875rem; transition: all .2s; }
.subcat:hover { background: var(--cm-paper); border-color: var(--cm-cocoa); }
.subcat[aria-pressed="true"] { background: var(--cm-dark); color: var(--cm-cream); border-color: var(--cm-dark); }
#filterDrawer .offcanvas-body { padding-top: 0; }
.drawer-foot { border-top: 1px solid var(--cm-line-gold); padding: 1rem 1.25rem; display: flex; gap: .75rem; background: var(--cm-paper); }
.drawer-foot .btn { flex: 1; }

/* ---------- Ürün detayı ---------- */
.pdp { display: grid; gap: 2rem; padding-block: 1.5rem 3rem; }
@media (min-width: 992px) { .pdp { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 4rem; } }
.gallery { display: grid; gap: .9rem; }
@media (min-width: 768px) { .gallery { grid-template-columns: 88px minmax(0, 1fr); } .gallery .thumbs { order: -1; flex-direction: column; } }
.gallery-main { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--cm-cream); border: 1px solid var(--cm-line); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .9s var(--ease); }
.gallery-main img.is-swap { opacity: 0; }
.gallery-main:hover img { transform: scale(1.04); }
.gallery-zoom { position: absolute; right: .9rem; bottom: .9rem; }
.thumbs { display: flex; gap: .7rem; }
.thumb { width: 78px; height: 78px; padding: 0; border-radius: 14px; overflow: hidden; border: 2px solid transparent; background: var(--cm-cream); transition: border-color .2s, transform .2s; flex: none; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-current="true"] { border-color: var(--cm-cocoa); }
.thumb:hover { transform: translateY(-2px); }
.buybox h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); margin: .4rem 0 .75rem; }
.buybox .price-big { font-size: 2.1rem; font-weight: 800; color: var(--cm-espresso); font-variant-numeric: tabular-nums; line-height: 1; }
.unit-price { font-size: .875rem; color: var(--cm-muted); }
.variant-group { display: flex; flex-wrap: wrap; gap: .6rem; }
.variant-opt { position: relative; }
.variant-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; width: 100%; height: 100%; margin: 0; }
.variant-opt span { display: inline-flex; flex-direction: column; min-width: 92px; padding: .65rem 1.1rem; border-radius: 14px; border: 1px solid rgba(87, 51, 35, .35); background: var(--cm-paper); font-weight: 700; color: var(--cm-cocoa); line-height: 1.25; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.variant-opt span small { font-weight: 600; color: var(--cm-muted); font-size: .8rem; }
.variant-opt input:checked + span { border-color: var(--cm-dark); background: var(--cm-dark); color: var(--cm-cream); box-shadow: 0 8px 18px -10px rgba(36, 18, 12, .6); }
.variant-opt input:checked + span small { color: var(--cm-gold-light); }
.variant-opt input:focus-visible + span { outline: 3px solid var(--cm-gold); outline-offset: 2px; }
.variant-opt input:disabled + span { opacity: .5; text-decoration: line-through; cursor: not-allowed; }
.stock { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .9rem; }
.stock.in { color: var(--cm-success); }
.stock.out { color: var(--cm-danger); }
.delivery-box { background: var(--cm-cream); border-radius: var(--radius); padding: 1rem 1.2rem; font-size: .9rem; display: grid; gap: .5rem; }
.delivery-box div { display: flex; gap: .7rem; align-items: flex-start; }
.delivery-box i { color: var(--cm-milk); margin-top: .15rem; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1020; background: var(--cm-paper); border-top: 1px solid var(--cm-line-gold); box-shadow: 0 -12px 30px -16px rgba(36, 18, 12, .4); padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .4s var(--ease); display: flex; align-items: center; gap: 1rem; }
.sticky-buy.is-visible { transform: none; }
.sticky-buy .sb-info { flex: 1; min-width: 0; }
.sticky-buy .sb-name { font-size: .85rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 992px) { .sticky-buy { display: none; } }
.info-table th { font-weight: 600; width: 55%; color: var(--cm-text); }
.info-table td { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Sepet sayfası ---------- */
.cart-page { display: grid; gap: 2rem; padding-block: 0 4rem; }
@media (min-width: 992px) { .cart-page { grid-template-columns: minmax(0, 1fr) 380px; gap: 3rem; align-items: start; } }
.cart-page__full { grid-column: 1 / -1; }
.summary-card { background: var(--cm-paper); border: 1px solid var(--cm-line-gold); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-soft); }
@media (min-width: 992px) { .summary-card.sticky { position: sticky; top: calc(var(--header-offset) + 1rem); } }
.cart-page .cart-line { grid-template-columns: 110px 1fr; }
.cart-page .cart-line > a img { width: 110px; height: 138px; }
.summary-line { display: grid; grid-template-columns: 56px 1fr auto; gap: .75rem; align-items: center; padding: .6rem 0; font-size: .9rem; }
.summary-line img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; position: relative; }
.summary-line .q { position: absolute; }
.discount-form .form-control { border-radius: 999px 0 0 999px; }
.discount-form .btn { border-radius: 0 999px 999px 0; }

.cart-table-wrap {
  background: var(--cm-paper);
  border: 1px solid var(--cm-line-gold);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-soft);
}
.cart-table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 0; }
.cart-table th {
  background: var(--cm-dark); color: var(--cm-gold-light);
  padding: .9rem 1.1rem; font-weight: 700; font-size: .82rem; letter-spacing: .02em;
  white-space: nowrap;
}
.cart-table td {
  padding: 1.1rem; border-bottom: 1px solid var(--cm-line); vertical-align: middle;
  background: var(--cm-paper);
}
.cart-table tr:last-child td { border-bottom: 0; }
.cart-table .cart-prod-thumb {
  width: 72px; height: 90px; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--cm-line); background: var(--cm-cream);
}
.cart-table .cart-prod-thumb--empty { display: inline-block; background: var(--cm-cream); }
.cart-table a { color: var(--cm-espresso); text-decoration: none; }
.cart-table a:hover { color: var(--cm-caramel); }
.cart-table .cart-item-remove {
  border: 0; background: transparent; color: #a94442; padding: .35rem;
  border-radius: 8px; line-height: 1;
}
.cart-table .cart-item-remove:hover { background: rgba(169, 68, 66, .08); }
.summary-row-line {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .55rem 0; font-size: .92rem; color: var(--cm-cocoa);
  border-bottom: 1px dashed var(--cm-line);
}
.summary-row-line:last-of-type { border-bottom: 0; }
.summary-total-line {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  margin-top: .85rem; padding-top: 1rem; border-top: 1px solid var(--cm-line-gold);
  font-size: 1.05rem; font-weight: 800; color: var(--cm-espresso);
}
.summary-total-line strong {
  font-family: var(--font-serif); font-size: 1.55rem; color: var(--cm-dark); font-weight: 700;
}
.shipping-progress-box {
  background: var(--cm-paper); border: 1px solid var(--cm-line-gold);
  border-radius: var(--radius-lg); padding: 1.15rem 1.25rem; box-shadow: var(--shadow-soft);
}
.shipping-progress-bar {
  height: 8px; background: rgba(87, 51, 35, .12); border-radius: 999px; overflow: hidden; margin-top: .35rem;
}
.shipping-progress-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--cm-caramel), var(--cm-gold));
  transition: width .35s var(--ease);
}
.shipping-progress-box.is-complete .shipping-progress-fill {
  background: linear-gradient(90deg, #6a8f4e, var(--cm-gold));
}
.cm-empty-state {
  text-align: center; padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  background: var(--cm-paper); border: 1px dashed var(--cm-line-gold);
  border-radius: var(--radius-lg); max-width: 520px; margin: 0 auto;
}
.cm-empty-state__icon {
  width: 72px; height: 72px; margin: 0 auto 1.1rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--cm-cream);
  color: var(--cm-milk); font-size: 1.75rem;
}
.cm-empty-state__title {
  font-family: var(--font-serif); font-size: 1.85rem; margin: 0 0 .5rem; color: var(--cm-espresso);
}
.cm-empty-state__text { color: var(--cm-muted); margin: 0 0 1.5rem; }

/* ---------- Ödeme ---------- */
.stepper { display: flex; gap: .25rem; list-style: none; padding: 0; margin: 0 0 2rem; counter-reset: step; }
.stepper li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .45rem; position: relative; font-size: .82rem; font-weight: 700; color: var(--cm-muted); text-align: center; }
.stepper li::before { counter-increment: step; content: counter(step); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--cm-paper); border: 1px solid rgba(87, 51, 35, .35); color: var(--cm-cocoa); font-weight: 800; position: relative; z-index: 1; transition: all .3s var(--ease); }
.stepper li::after { content: ""; position: absolute; top: 19px; left: calc(50% + 24px); right: calc(-50% + 24px); height: 1px; background: rgba(87, 51, 35, .3); }
.stepper li:last-child::after { display: none; }
.stepper li.is-active { color: var(--cm-espresso); }
.stepper li.is-active::before { background: var(--cm-dark); color: var(--cm-gold-light); border-color: var(--cm-dark); box-shadow: 0 0 0 5px rgba(213, 180, 122, .3); }
.stepper li.is-done::before { content: "\F26E"; font-family: bootstrap-icons; background: var(--cm-gold); border-color: var(--cm-gold); color: var(--cm-espresso); }
.stepper li.is-done::after { background: var(--cm-gold); }
.stepper button { background: none; border: 0; font: inherit; color: inherit; padding: 0; }
.checkout-panel { background: var(--cm-paper); border: 1px solid var(--cm-line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); }
.checkout-panel[hidden] { display: none; }
.choice-card { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.1rem; border: 1px solid rgba(87, 51, 35, .3); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .2s, background-color .2s; }
.choice-card:has(input:checked) { border-color: var(--cm-dark); background: var(--cm-cream); box-shadow: 0 0 0 1px var(--cm-dark); }
.choice-card:has(input:focus-visible) { outline: 3px solid var(--cm-gold); outline-offset: 2px; }
.choice-card input { margin-top: .3rem; }
.sim-badge { display: inline-flex; gap: .4rem; align-items: center; background: #FFF0C8; border: 1px solid rgba(183, 128, 80, .6); color: #5B3A1E; font-weight: 800; font-size: .8rem; padding: .35rem .8rem; border-radius: 999px; }

/* ---------- Hesap / içerik sayfaları ---------- */
.auth-card { max-width: 480px; margin: 0 auto; background: var(--cm-paper); border: 1px solid var(--cm-line-gold); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-soft); }
.auth-card--wide { max-width: 640px; }
#zpAuthPage .auth-box { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
#zpAuthPage .member-form-group { margin-bottom: 1rem; }
#zpAuthPage .member-form-group > label,
#zpAuthPage .member-form-group .form-label {
  display: block; font-weight: 700; font-size: .88rem; color: var(--cm-cocoa); margin-bottom: .4rem;
}
#zpAuthPage .member-form-group .form-control,
#zpAuthPage .member-auth-form .form-control {
  border: 1px solid rgba(87, 51, 35, .28); border-radius: 12px; min-height: 48px; height: 48px;
  background: #fff; color: var(--cm-espresso); font-size: .92rem;
}
#zpAuthPage .member-form-group .form-control.input-captcha-field,
#zpAuthPage .member-auth-form .form-control.input-captcha-field {
  height: auto !important;
  min-height: 5rem !important;
  font-size: 1.05rem !important;
}
#zpAuthPage .member-form-group .form-control:focus {
  border-color: var(--cm-dark); box-shadow: 0 0 0 3px rgba(213, 180, 122, .35);
}
#zpAuthPage .member-form-group--check { margin-bottom: .85rem; }
#zpAuthPage .member-form-group--check label {
  display: flex; gap: .65rem; align-items: flex-start; font-size: .88rem; font-weight: 500;
  color: var(--cm-muted); cursor: pointer; margin: 0; line-height: 1.45;
}
#zpAuthPage .member-form-group--check input[type="checkbox"] {
  width: 1.1rem; height: 1.1rem; margin: .15rem 0 0; flex-shrink: 0;
  accent-color: var(--cm-dark); cursor: pointer;
}
#zpAuthPage .member-form-group--check label span { min-width: 0; }
#zpAuthPage .member-auth-form .btn-primary,
#zpAuthPage .member-auth-form button[type="submit"] {
  background: var(--cm-dark); border-color: var(--cm-dark); color: var(--cm-cream);
  font-weight: 800; border-radius: 999px; min-height: 48px; width: 100%;
  padding: .85rem 1.25rem;
}
#zpAuthPage .member-auth-form .btn-primary:hover,
#zpAuthPage .member-auth-form button[type="submit"]:hover {
  background: var(--cm-cocoa); border-color: var(--cm-cocoa); color: #fff;
}
#zpAuthPage .member-auth-form a { color: var(--cm-caramel); font-weight: 700; }
#zpAuthPage .hp-field { position: absolute !important; left: -9999px !important; opacity: 0 !important; height: 0 !important; overflow: hidden !important; }

/* Şifre göster / captcha (input içi) — login, register, bayilik, takip */
.input-icon-wrap,
.input-captcha-wrap,
.member-captcha-wrap,
.zp-captcha-wrap {
  position: relative; display: block; width: 100%;
}
.input-icon-field { padding-right: 2.85rem !important; }
.input-icon-btn {
  align-items: center; background: transparent; border: none; color: var(--cm-muted);
  cursor: pointer; display: inline-flex; height: 2.35rem; justify-content: center;
  padding: 0; position: absolute; right: .35rem; top: 50%; transform: translateY(-50%);
  transition: color .2s, background .2s, border-color .2s; width: 2.35rem; z-index: 2;
  border-radius: 10px;
}
.input-icon-btn:hover { color: var(--cm-caramel); }
.input-icon-btn:focus-visible {
  outline: 2px solid var(--cm-gold); outline-offset: 2px;
}
.input-icon-btn i {
  font-style: normal; font-size: 1rem; line-height: 1; display: inline-block;
}
.input-icon-btn .fa-eye::before,
.input-icon-btn .far.fa-eye::before {
  content: "\f341"; font-family: "bootstrap-icons" !important; font-weight: normal !important;
}
.input-icon-btn .fa-eye-slash::before,
.input-icon-btn .fas.fa-eye-slash::before {
  content: "\f342"; font-family: "bootstrap-icons" !important; font-weight: normal !important;
}
.input-icon-btn--refresh .fa-sync-alt::before,
.input-icon-btn--refresh .fas.fa-sync-alt::before {
  content: "\f130"; font-family: "bootstrap-icons" !important; font-weight: normal !important;
}
.input-icon-btn--refresh:active i {
  transform: rotate(180deg); transition: transform .35s ease;
}

/* Captcha: native 220×70’e yakın, input içinde okunaklı */
.form-control.input-captcha-field,
input.form-control.input-captcha-field {
  height: auto !important;
  min-height: 5rem !important;
  font-size: 1.05rem !important;
  padding-top: .85rem !important;
  padding-bottom: .85rem !important;
  padding-right: calc(160px + 2.75rem + 1rem) !important;
}
.input-captcha-addon {
  align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap;
  gap: .4rem; pointer-events: none; position: absolute; right: .5rem;
  top: 50%; transform: translateY(-50%); z-index: 3;
}
.input-captcha-addon .input-captcha-img,
.input-captcha-addon .input-icon-btn {
  pointer-events: auto; position: static; top: auto; right: auto;
  transform: none; flex-shrink: 0;
}
.input-captcha-addon .input-icon-btn {
  width: 2.35rem; height: 2.35rem; background: var(--cm-cream);
  border: 1px solid var(--cm-line); border-radius: 10px; color: var(--cm-cocoa);
}
.input-captcha-addon .input-icon-btn:hover {
  background: rgba(213, 180, 122, .25); border-color: var(--cm-gold); color: var(--cm-espresso);
}
.input-captcha-img,
.member-captcha-wrap .input-captcha-img,
.input-captcha-wrap .input-captcha-img,
.zp-captcha-wrap .input-captcha-img {
  border: 1px solid var(--cm-line); border-radius: 10px; cursor: pointer;
  display: block; flex-shrink: 0; height: 56px !important; width: 160px !important;
  max-width: 160px !important; object-fit: contain; background: #fff;
  image-rendering: -webkit-optimize-contrast;
}
@media (max-width: 480px) {
  .form-control.input-captcha-field,
  input.form-control.input-captcha-field {
    min-height: 4.5rem !important;
    padding-right: calc(132px + 2.5rem + .85rem) !important;
  }
  .input-captcha-img,
  .member-captcha-wrap .input-captcha-img,
  .input-captcha-wrap .input-captcha-img,
  .zp-captcha-wrap .input-captcha-img {
    height: 48px !important; width: 132px !important; max-width: 132px !important;
  }
}

.account-layout { display: grid; gap: 2rem; padding-block: 2rem 4rem; }
@media (min-width: 992px) { .account-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 3rem; } }
.cm-account-side {
  display: flex; flex-direction: column; gap: 1rem;
}
@media (min-width: 992px) {
  .cm-account-side { position: sticky; top: calc(var(--header-offset) + 1rem); align-self: start; }
}
#cmAccountPage .dashboard-sidebar { margin: 0; }
#cmAccountPage .dashboard-menu,
#cmAccountPage .cm-account-quicklinks {
  background: var(--cm-paper); border: 1px solid var(--cm-line-gold);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft);
}
#cmAccountPage .dashboard-menu-header {
  background: linear-gradient(145deg, var(--cm-dark), var(--cm-espresso));
  color: var(--cm-cream); padding: 1.35rem 1.25rem; text-align: center;
}
#cmAccountPage .dashboard-menu-header h4 {
  margin: 0; font-size: .95rem; font-weight: 800; color: var(--cm-cream);
}
#cmAccountPage .dashboard-menu-header h4 i { color: var(--cm-gold); margin-right: .35rem; }
#cmAccountPage .dashboard-menu-header p {
  margin: .4rem 0 0; font-size: .75rem; color: var(--cm-gold-light);
}
#cmAccountPage .dashboard-menu-list,
#cmAccountPage .cm-account-quicklinks .account-menu {
  list-style: none; padding: 0; margin: 0;
}
#cmAccountPage .dashboard-menu-link,
#cmAccountPage .cm-account-quicklinks .account-menu-item a {
  display: flex; align-items: center; gap: .75rem; padding: .85rem 1.2rem;
  border-bottom: 1px solid var(--cm-line); color: var(--cm-cocoa);
  font-size: .88rem; font-weight: 700; text-decoration: none; transition: .2s;
}
#cmAccountPage .dashboard-menu-item:last-child .dashboard-menu-link,
#cmAccountPage .cm-account-quicklinks .account-menu-item:last-child a { border-bottom: 0; }
#cmAccountPage .dashboard-menu-link:hover,
#cmAccountPage .dashboard-menu-item.active .dashboard-menu-link,
#cmAccountPage .cm-account-quicklinks .account-menu-item a:hover {
  background: var(--cm-cream); color: var(--cm-espresso);
  border-left: 4px solid var(--cm-gold); padding-left: 1rem;
}
#cmAccountPage .dashboard-menu-link i,
#cmAccountPage .cm-account-quicklinks .account-menu-item a i {
  width: 1.1rem; text-align: center; color: var(--cm-milk); font-size: .95rem;
}
#cmAccountPage .dashboard-card {
  background: var(--cm-paper); border: 1px solid var(--cm-line);
  border-radius: var(--radius-lg); padding: 1.35rem 1.4rem; margin-bottom: 1.15rem;
  box-shadow: var(--shadow-soft);
}
#cmAccountPage .dashboard-card-header {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: .75rem; margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--cm-line);
}
#cmAccountPage .dashboard-card-header h3 {
  margin: 0; font-size: 1.05rem; font-weight: 800; color: var(--cm-espresso);
}
#cmAccountPage .dashboard-card .btn-primary,
#cmAccountPage .dashboard-card .btn-brand {
  background: var(--cm-dark); border-color: var(--cm-dark); color: var(--cm-cream);
}
#cmAccountPage .dashboard-card .btn-primary:hover,
#cmAccountPage .dashboard-card .btn-brand:hover {
  background: var(--cm-cocoa); border-color: var(--cm-cocoa); color: #fff;
}
#cmAccountPage .dashboard-card .btn-outline,
#cmAccountPage .dashboard-card .btn-outline-primary {
  color: var(--cm-cocoa); border-color: rgba(87, 51, 35, .4);
}
.account-nav { display: flex; flex-wrap: wrap; gap: .4rem; }
@media (min-width: 992px) { .account-nav { flex-direction: column; position: sticky; top: calc(var(--header-offset) + 1rem); align-self: start; } }
.account-nav a { display: flex; gap: .7rem; align-items: center; padding: .7rem 1rem; border-radius: 12px; color: var(--cm-cocoa); font-weight: 700; text-decoration: none; min-height: 44px; }
.account-nav a:hover { background: var(--cm-cream); }
.account-nav a[aria-current="page"] { background: var(--cm-dark); color: var(--cm-cream); }
.panel { background: var(--cm-paper); border: 1px solid var(--cm-line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow-soft); }
.status-pill { display: inline-block; padding: .25rem .75rem; border-radius: 999px; background: #FFF0C8; color: #5B3A1E; font-weight: 800; font-size: .78rem; border: 1px solid rgba(183, 128, 80, .5); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.6rem; border-left: 1px solid var(--cm-line-gold); display: grid; gap: 1.5rem; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -2.05rem; top: .15rem; width: 14px; height: 14px; border-radius: 50%; background: var(--cm-cream); border: 2px solid var(--cm-caramel); }
.timeline li.done::before { background: var(--cm-gold); border-color: var(--cm-gold); }
.prose { max-width: 74ch; }
.prose h2 { font-size: 1.9rem; margin: 2.25rem 0 .75rem; }
.prose h3 { font-size: 1.4rem; margin: 1.75rem 0 .5rem; }
.prose p, .prose li { color: var(--cm-text); }
.draft-banner { background: #FFF6DD; border: 1px dashed rgba(183, 128, 80, .8); color: #5B3A1E; border-radius: 12px; padding: .9rem 1.1rem; font-weight: 600; font-size: .92rem; display: flex; gap: .7rem; align-items: flex-start; }
.recipe-ing { list-style: none; padding: 0; margin: 0; }
.recipe-ing li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--cm-line); }
.recipe-ing .shop { display: flex; align-items: center; gap: .75rem; }
.recipe-ing img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 1.25rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.steps li::before { content: counter(s); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--cm-dark); color: var(--cm-gold-light); font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; }
.value-card { text-align: center; padding: 1.5rem; }
.value-card i { font-size: 1.8rem; color: var(--cm-milk); }
.err-code { font-family: var(--font-serif); font-size: clamp(6rem, 18vw, 11rem); line-height: .9; color: var(--cm-milk); opacity: .9; }

/* ---------- İletişim / Hakkımızda / 404 ---------- */
.cm-contact-card i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; margin-bottom: .85rem;
  border-radius: 50%; background: var(--cm-cream); color: var(--cm-milk); font-size: 1.25rem;
}
.cm-contact-card a { color: var(--cm-cocoa); font-weight: 700; text-decoration: none; }
.cm-contact-card a:hover { color: var(--cm-caramel); }
.cm-contact-map {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--cm-line); background: var(--cm-cream); min-height: 280px;
}
.cm-contact-map iframe {
  display: block; width: 100%; height: 280px; border: 0;
}
.cm-contact-map-placeholder {
  position: absolute; inset: 0; display: grid; place-content: center;
  text-align: center; padding: 1.5rem; gap: .35rem;
}
.cm-contact-map-placeholder i { font-size: 2rem; color: var(--cm-milk); }
.cm-contact-map-placeholder[hidden] { display: none !important; }
#cmContactPage .form-label { font-weight: 700; font-size: .88rem; color: var(--cm-cocoa); }
#cmAboutPage .story-img.is-empty {
  min-height: 280px; display: grid; place-items: center; background: var(--cm-cream);
}
#cmAboutPage .story-img.is-empty::before {
  content: "Tema içeriğinden görsel ekleyin";
  color: var(--cm-muted); font-size: .9rem; font-weight: 600;
}
.cm-about-gallery__item {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--cm-line); background: var(--cm-paper); box-shadow: var(--shadow-soft);
}
.cm-about-gallery__item img {
  display: block; width: 100%; aspect-ratio: 1; object-fit: cover;
}
.cm-about-gallery__item figcaption {
  padding: .65rem .85rem; font-size: .82rem; font-weight: 700; color: var(--cm-cocoa);
}
.cm-error-page {
  min-height: 65vh; display: flex; align-items: center;
}
.hub-tile { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.3rem; background: var(--cm-paper); border: 1px solid var(--cm-line); border-radius: var(--radius); text-decoration: none; color: var(--cm-cocoa); font-weight: 700; transition: all .3s var(--ease); }
.hub-tile:hover { border-color: var(--cm-gold); box-shadow: var(--shadow-soft); transform: translateY(-2px); color: var(--cm-espresso); }
.hub-tile i { font-size: 1.5rem; color: var(--cm-milk); }
.h-scroll-fix { overflow-x: clip; }

/* ---------- Breadcrumb ---------- */
.cm-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem;
  font-size: .85rem; font-weight: 600; color: var(--cm-muted); margin-bottom: .85rem;
}
.cm-breadcrumb a { color: var(--cm-cocoa); text-decoration: none; }
.cm-breadcrumb a:hover { color: var(--cm-caramel); }
.cm-breadcrumb .sep { color: var(--cm-line-gold); font-size: .7rem; display: inline-flex; }
.cm-breadcrumb .breadcrumb-item,
.cm-breadcrumb .breadcrumb-item a { font-size: inherit; font-weight: 600; color: var(--cm-cocoa); text-decoration: none; }
.cm-breadcrumb .breadcrumb-item.active { color: var(--cm-muted); }
.cm-breadcrumb .breadcrumb-separator { color: var(--cm-line-gold); font-size: .7rem; display: inline-flex; align-items: center; }

/* ---------- Katalog filtreleri (CatalogFilterUi) — ayrıntı cm-shop.css ---------- */
.filter-sidebar.zp-catalog-filters { padding: 0; border: 0; background: transparent; }
.filter-sidebar.zp-catalog-filters > h5 { display: none; }
.listing-bar .sort label { font-size: .8rem; font-weight: 700; color: var(--cm-muted); margin-right: .35rem; }
.listing-bar .sort .form-select,
.listing-bar .form-select { max-width: 230px; border-radius: 999px; font-size: .9rem; font-weight: 600; }
.grid-products.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .grid-products.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.catalog-pagination { margin-top: 2rem; display: flex; justify-content: center; }
.catalog-pagination .pagination { gap: .35rem; flex-wrap: wrap; }
.catalog-pagination .page-link {
  border-radius: 999px !important; min-width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--cm-line); color: var(--cm-cocoa); font-weight: 700; background: var(--cm-paper);
}
.catalog-pagination .page-item.active .page-link {
  background: var(--cm-dark); border-color: var(--cm-dark); color: var(--cm-gold-light);
}
.catalog-pagination .page-item.disabled .page-link { opacity: .45; }

/* ---------- Ürün detay (store.js) ---------- */
#zpProductThumbs.thumbs,
.gallery .thumbs { display: flex; gap: .7rem; flex-wrap: wrap; }
@media (min-width: 768px) {
  .gallery .thumbs { flex-direction: column; max-height: 520px; overflow: auto; }
}
.gallery-thumb,
.gallery .thumb {
  width: 78px; height: 78px; padding: 0; border-radius: 14px; overflow: hidden;
  border: 2px solid transparent; background: var(--cm-cream); flex: none; cursor: pointer;
}
.gallery-thumb img,
.gallery .thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active,
.gallery-thumb:hover,
.gallery .thumb[aria-current="true"],
.gallery .thumb:hover { border-color: var(--cm-cocoa); }
.cm-qty {
  display: inline-flex; align-items: center; border: 1px solid rgba(87, 51, 35, .35);
  border-radius: 999px; overflow: hidden; background: var(--cm-paper); height: 48px;
}
.cm-qty button {
  width: 42px; height: 100%; border: 0; background: transparent; color: var(--cm-cocoa); font-size: 1.1rem;
}
.cm-qty input {
  width: 56px; border: 0; text-align: center; font-weight: 800; background: transparent; color: var(--cm-espresso);
}
.btn-fav-text { display: inline-flex; align-items: center; gap: .45rem; justify-content: center; }
.pdp-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: .65rem;
}
@media (min-width: 768px) {
  .pdp-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.pdp-actions > .btn,
.pdp-actions > a.btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
}
.delivery-box a,
.zp-store-product .prose a,
.zp-store-product .buybox a:not(.btn):not(.pcard-name a) {
  color: var(--cm-cocoa);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--cm-caramel);
  text-underline-offset: .18em;
}
.delivery-box a:hover,
.zp-store-product .prose a:hover,
.zp-store-product .buybox a:not(.btn):hover {
  color: var(--cm-espresso);
  text-decoration-color: var(--cm-espresso);
}
.sticky-buy[hidden] { display: none !important; }
/* Sabit çubuk body'ye padding basmasın — footer altında boş şerit oluşuyordu.
   Mobilde sadece footer içine nefes payı bırak. */
@media (max-width: 991.98px) {
  body:has(.sticky-buy.is-visible) .site-footer {
    padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
  }
}
#zpAddToCart.is-stock-blocked { opacity: .65; cursor: not-allowed; }
.zp-variant-opts { display: flex; flex-wrap: wrap; gap: .55rem; }
.zp-variant-opt {
  border: 1px solid rgba(87, 51, 35, .35); background: var(--cm-paper); color: var(--cm-cocoa);
  border-radius: 999px; padding: .55rem 1rem; font-weight: 700; font-size: .9rem;
}
.zp-variant-opt.active,
.zp-variant-opt.btn-primary {
  background: var(--cm-dark) !important; border-color: var(--cm-dark) !important; color: var(--cm-gold-light) !important;
}
.product-stock {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .88rem;
  padding: .35rem .7rem; border-radius: 999px; background: var(--cm-cream);
}
.product-stock.is-alert,
.product-stock-out-of-stock { color: #c0392b; background: #fdecea; }
.cm-product-tabs {
  width: 100%;
  background: var(--cm-paper);
  border: 1px solid var(--cm-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.product-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 0;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--cm-line);
  border-radius: 0;
  background: var(--cm-cream);
  overflow: visible;
}
.product-tab-btn {
  flex: 1 1 0;
  border: 0;
  background: transparent;
  padding: .95rem 1.15rem;
  font-weight: 800;
  font-size: .92rem;
  color: var(--cm-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  text-align: center;
}
.product-tab-btn:hover { color: var(--cm-cocoa); }
.product-tab-btn.active { color: var(--cm-espresso); border-bottom-color: var(--cm-gold); background: rgba(255, 255, 255, .45); }
.product-tab-btn[hidden] { display: none !important; }
.product-tabs-panels {
  padding: 1.35rem 1.4rem 1.65rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.product-tab-panel[hidden] { display: none !important; }
#zpRelatedSection.section-sm { padding-block: 2rem 3.5rem; }
#zpRelatedSection .section-head { margin-bottom: 1.25rem; }
#zpRelatedSection .grid-products.cols-4 {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 768px) {
  #zpRelatedSection .grid-products.cols-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
}
@media (min-width: 1200px) {
  #zpRelatedSection .grid-products.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* ürün yorum stilleri: cm-shop.css */
.pd-info.is-oos #zpAddToCart { opacity: .7; }

/* Oda ölçü modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(36, 18, 12, .55); z-index: 3000;
  display: none; align-items: center; justify-content: center; padding: 1rem;
}
.modal-overlay.is-open,
.modal-overlay.active,
.modal-overlay[aria-hidden="false"] { display: flex; }
.modal-overlay .modal {
  background: var(--cm-paper); border-radius: var(--radius-lg); width: min(520px, 100%);
  max-height: min(90vh, 900px); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-lift);
}
.modal-overlay .modal-header,
.modal-overlay .modal-footer {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: 1rem 1.2rem; border-bottom: 1px solid var(--cm-line);
}
.modal-overlay .modal-footer { border-bottom: 0; border-top: 1px solid var(--cm-line); justify-content: flex-end; }
.modal-overlay .modal-body { padding: 1.1rem 1.2rem; overflow: auto; }
.modal-overlay .modal-close { border: 0; background: transparent; font-size: 1.2rem; color: var(--cm-muted); }

/* ---------- Sözleşmeler ---------- */
.legal-layout { display: grid; gap: 2rem; }
@media (min-width: 992px) { .legal-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 2.5rem; } }
.legal-nav-wrap { position: sticky; top: calc(var(--header-offset, 90px) + 1rem); align-self: start; }
.legal-nav-btn {
  display: block; width: 100%; text-align: left; padding: .85rem 1rem; margin-bottom: .45rem;
  border: 1px solid var(--cm-line); background: var(--cm-paper); border-radius: 12px;
  font-size: .9rem; font-weight: 700; color: var(--cm-cocoa); text-decoration: none; transition: .2s;
}
.legal-nav-btn:hover,
.legal-nav-btn.active { background: var(--cm-dark); color: var(--cm-gold-light); border-color: var(--cm-dark); }
.legal-article { box-shadow: var(--shadow-soft); }
.cm-legal-prose img { max-width: 100%; height: auto; }
.cm-legal-prose table { width: 100%; }

/* ---------- Checkout / sipariş takip ---------- */
#zpCheckoutPage .checkout-form-grid {
  display: grid; gap: 1rem 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr));
}
#zpCheckoutPage .member-form-group--full { grid-column: 1 / -1; }
#zpCheckoutPage .member-form-group { margin-bottom: 0; }
#zpCheckoutPage .form-label { font-size: .88rem; font-weight: 700; color: var(--cm-cocoa); }
#zpCheckoutPage .form-control,
#zpCheckoutPage textarea.form-control {
  border: 1px solid rgba(87, 51, 35, .28); border-radius: 12px; min-height: 46px;
  background: #fff; color: var(--cm-espresso);
}
#zpCheckoutPage textarea.form-control { min-height: 0; }
#zpCheckoutPage .form-control:focus,
#zpCheckoutPage textarea.form-control:focus {
  border-color: var(--cm-dark); box-shadow: 0 0 0 3px rgba(213, 180, 122, .35);
}
#zpCheckoutPage .checkout-billing-type__options {
  display: grid; gap: .65rem; grid-template-columns: repeat(2, minmax(0, 1fr));
}
#zpCheckoutPage .member-form-group--check label {
  display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; color: var(--cm-cocoa); cursor: pointer;
}
#zpCheckoutPage .checkout-option-list { display: grid; gap: .65rem; }
#zpCheckoutPage .checkout-option-list .form-check {
  margin: 0; padding: .85rem 1rem .85rem 2.4rem; border: 1px solid var(--cm-line);
  border-radius: 12px; background: #fff;
}
#zpCheckoutPage .checkout-option-list .form-check:has(input:checked) {
  border-color: var(--cm-dark); background: var(--cm-cream); box-shadow: 0 0 0 1px var(--cm-dark);
}
#zpCheckoutPage .checkout-card-panel {
  margin-top: 1.25rem; background: var(--cm-paper); border: 1px solid var(--cm-line-gold);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft);
}
#zpCheckoutPage .checkout-card-panel__head {
  display: flex; align-items: center; gap: .6rem; padding: .9rem 1.15rem;
  background: var(--cm-dark); color: var(--cm-gold-light); font-weight: 800; font-size: .92rem;
}
#zpCheckoutPage .checkout-card-panel__body { padding: 1rem 1.15rem 1.25rem; background: #fff; }
#zpCheckoutPage .checkout-card-panel__body iframe,
#zpCheckoutPage .checkout-card-panel__body #iyzipay-checkout-form,
#zpCheckoutPage .checkout-card-panel__body .iyzi-form { width: 100% !important; max-width: 100%; }
#zpCheckoutPage .checkout-error {
  display: flex; align-items: flex-start; gap: .5rem; padding: .85rem 1rem;
  border-radius: 12px; background: #fdf2f2; border: 1px solid rgba(169, 68, 66, .35); color: #842029;
}
#zpCheckoutPage .checkout-success__hero {
  display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.25rem;
}
#zpCheckoutPage .checkout-success__icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cm-dark); color: var(--cm-gold-light); font-size: 1.4rem; flex: 0 0 auto;
}
#zpCheckoutPage .checkout-success__order-box {
  background: var(--cm-cream); border: 1px solid var(--cm-line-gold);
  border-radius: 12px; padding: 1rem 1.15rem;
}
#zpCheckoutPage .checkout-iyzico-logo {
  max-width: 180px; height: auto; filter: none;
  background: var(--cm-dark); border-radius: 8px; padding: .55rem .75rem;
}
#zpCheckoutLines .order-summary-line {
  display: flex; justify-content: space-between; align-items: flex-start; gap: .85rem;
  padding: .55rem 0; border-bottom: 1px solid var(--cm-line); font-size: .88rem;
}
#zpCheckoutLines .order-summary-line:last-child { border-bottom: 0; }
#zpCheckoutLines .order-summary-line__main { display: grid; gap: .15rem; min-width: 0; }
#zpCheckoutLines .order-summary-line__title { font-weight: 700; color: var(--cm-espresso); }
#zpCheckoutLines .order-summary-line__qty { font-size: .78rem; color: var(--cm-muted); }
#zpCheckoutLines .order-summary-line__price { font-weight: 800; white-space: nowrap; color: var(--cm-cocoa); }
.zp-order-track__result {
  border-radius: 12px; padding: 1rem 1.15rem; border: 1px solid var(--cm-line); background: var(--cm-cream);
}
.zp-order-track__result.is-error { background: #fdf2f2; border-color: rgba(169, 68, 66, .35); color: #842029; }
.zp-order-track__result.is-success { background: #f3f8ef; border-color: rgba(106, 143, 78, .4); }
@media (max-width: 767.98px) {
  #zpCheckoutPage .checkout-form-grid,
  #zpCheckoutPage .checkout-billing-type__options { grid-template-columns: 1fr; }
  #zpCheckoutPage .checkout-card-panel.is-mobile-sheet {
    position: fixed; inset: auto 0 0; z-index: 1080; margin: 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0; max-height: 92vh;
    display: flex; flex-direction: column;
  }
  #zpCheckoutPage .checkout-card-panel.is-mobile-sheet .checkout-card-panel__body {
    overflow: auto; flex: 1;
  }
}
