/* Medovnik Tema 1 — vitrin stilleri (body.theme-medovniktema1) */

.theme-medovniktema1 {
  --md-red: #C41230;
  --md-red-dark: #9a0e26;
  --md-cream: #FDF8F1;
  --md-cream-dark: #F5EFE4;
  --md-sage: #8A9A7A;
  --md-sage-bg: #E8EDE3;
  --md-ink: #2D1B16;
  --md-muted: #6B5E56;
  --md-charcoal: #2A221E;
  --md-gold: #D4A84B;
  background: var(--md-cream);
  color: var(--md-ink);
}

/* SVG ikonlar: global max-width:100% kurallarının şişirmesini engelle */
.theme-medovniktema1 .md-section svg.md-icon,
.theme-medovniktema1 .md-section .md-icon,
.theme-medovniktema1 .md-trust__icon svg,
.theme-medovniktema1 .md-gift__icon-item svg,
.theme-medovniktema1 .md-b2b__feat svg,
.theme-medovniktema1 .md-faq__head > svg {
  width: 24px !important;
  height: 24px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  display: block;
  flex-shrink: 0;
  overflow: visible;
}

.theme-medovniktema1 .md-trust__icon svg {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
}

.theme-medovniktema1 .md-faq__head > svg {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  flex-shrink: 0;
}

.theme-medovniktema1 .site-header:not(.site-header--mega) {
  background: #fff !important;
  border-bottom: 1px solid #E5D9C8;
  box-shadow: none;
}

.theme-medovniktema1 .site-header:not(.site-header--mega) .header-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px 16px;
  min-height: 78px;
  height: auto !important;
  max-width: 1140px;
}

.theme-medovniktema1 .site-header:not(.site-header--mega) .site-logo {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  z-index: 2;
  order: unset !important;
  overflow: visible;
}

.theme-medovniktema1 .site-header:not(.site-header--mega) .site-logo img {
  height: 52px !important;
  max-width: 220px !important;
}

.theme-medovniktema1 .site-header:not(.site-header--mega) .site-nav {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  margin: 0 !important;
  order: unset !important;
  flex: none !important;
  justify-content: flex-start !important;
}

.theme-medovniktema1 .site-header:not(.site-header--mega) .site-nav .navbar-nav {
  gap: 4px 18px;
}

.theme-medovniktema1 .site-header:not(.site-header--mega) .site-nav .nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 1;
  color: var(--md-ink) !important;
  background: transparent !important;
  padding: 6px 4px !important;
}

.theme-medovniktema1 .site-header:not(.site-header--mega) .hdr-user-wrap {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 0 !important;
  order: unset !important;
  flex: none !important;
}

.theme-medovniktema1 .site-header:not(.site-header--mega) .hdr-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1.5px solid var(--md-red);
  border-radius: 4px;
  color: var(--md-red) !important;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  background: #fff;
}
.theme-medovniktema1 .site-header:not(.site-header--mega) .hdr-cart-btn:hover {
  background: var(--md-red);
  color: #fff !important;
}

.theme-medovniktema1 .site-promo-bar,
.theme-medovniktema1 .promo-bar {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.theme-medovniktema1 .site-footer,
.theme-medovniktema1 .corp-footer {
  background: var(--md-charcoal) !important;
  color: var(--md-muted) !important;
}
.theme-medovniktema1 .site-footer a,
.theme-medovniktema1 .corp-footer a {
  color: #E8DFD4 !important;
}
.theme-medovniktema1 .site-footer a:hover,
.theme-medovniktema1 .corp-footer a:hover {
  color: #fff !important;
}

/* Footer ajans imzası: ortak footer ayarlarındaki renkler tema link renklerini geçersiz kılar. */
.theme-medovniktema1 .corp-footer__bottom a,
.theme-medovniktema1 .corp-footer__bottom strong,
.theme-medovniktema1 .corp-footer__bottom-text,
.theme-medovniktema1 .corp-footer__bottom-text a,
.theme-medovniktema1 .corp-footer__bottom-text a strong {
  color: var(--credit-text-color, #475569) !important;
}
.theme-medovniktema1 .corp-footer__bottom a:hover,
.theme-medovniktema1 .corp-footer__bottom-text a:hover {
  color: var(--credit-hover-color, #2563eb) !important;
}

/* Gündüz/gece modu — ortak header anahtarının Medovnik paletiyle uyumu. */
html[data-mk-appearance="dark"] body.theme-medovniktema1 {
  --md-cream: #151311;
  --md-cream-dark: #201c19;
  --md-sage-bg: #252b24;
  --md-ink: #f4eee7;
  --md-muted: #c6b9ad;
  --md-charcoal: #0d0c0b;
  background: var(--md-cream) !important;
  color: var(--md-ink);
  color-scheme: dark;
}
html[data-mk-appearance="dark"] body.theme-medovniktema1 .site-header:not(.site-header--mega) {
  background: #1b1816 !important;
  border-bottom-color: #3b3028;
}
html[data-mk-appearance="dark"] body.theme-medovniktema1 .site-header:not(.site-header--mega) .nav-link {
  color: var(--md-ink) !important;
}
html[data-mk-appearance="dark"] body.theme-medovniktema1 .site-header:not(.site-header--mega) .hdr-cart-btn {
  background: #29231e;
  color: var(--md-ink) !important;
}
html[data-mk-appearance="dark"] body.theme-medovniktema1 .site-main {
  background: var(--md-cream);
  color: var(--md-ink);
}
html[data-mk-appearance="dark"] body.theme-medovniktema1 .md-faq__box {
  background: #201c19;
  border-color: #3b3028;
}
body.theme-medovniktema1 .site-header .mk-theme-switch__track {
  border-color: var(--md-ink);
  background: var(--md-cream);
}
body.theme-medovniktema1 .site-header .mk-theme-switch__knob {
  background: var(--md-red);
}
html[data-mk-appearance="dark"] body.theme-medovniktema1 .site-header .mk-theme-switch__track {
  border-color: var(--md-red);
  background: var(--md-charcoal);
}
html[data-mk-appearance="dark"] body.theme-medovniktema1 .site-header .mk-theme-switch__knob {
  background: var(--md-cream);
}

@media (max-width: 900px) {
  .theme-medovniktema1 .site-header:not(.site-header--mega) .header-inner {
    grid-template-columns: auto 1fr auto;
  }
  .theme-medovniktema1 .site-header:not(.site-header--mega) .site-nav {
    display: none;
  }
  .theme-medovniktema1 .site-header:not(.site-header--mega) .site-logo {
    grid-column: 2;
  }
}

/* —— Sections —— */
.md-section { width: 100%; }
.md-wrap {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.md-hero {
  position: relative;
  min-height: 520px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: #c4b8a8 center/cover no-repeat;
  padding: 56px 16px 64px;
}

.md-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(45,27,22,0.15) 0%, rgba(45,27,22,0.35) 100%);
  pointer-events: none;
}

.md-hero__paper {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  background: var(--md-cream);
  padding: 28px 32px 32px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(45,27,22,0.18);
  clip-path: polygon(
    0% 2%, 2% 0%, 8% 3%, 15% 0%, 22% 2%, 30% 0%, 40% 3%, 50% 0%,
    60% 2%, 70% 0%, 78% 3%, 85% 0%, 92% 2%, 98% 0%, 100% 3%,
    100% 97%, 98% 100%, 92% 97%, 85% 100%, 78% 97%, 70% 100%,
    60% 98%, 50% 100%, 40% 97%, 30% 100%, 22% 98%, 15% 100%, 8% 97%, 2% 100%, 0% 98%
  );
}

.md-hero__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--md-ink);
  margin: 0 0 10px;
}

.md-hero__sub {
  color: var(--md-red);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 18px;
}

.md-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--md-red);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.md-btn:hover { background: var(--md-red-dark); }
.md-btn--ghost {
  background: transparent;
  color: var(--md-ink) !important;
  border: 1px solid var(--md-ink);
}
.md-btn--ghost:hover { background: var(--md-ink); color: #fff !important; }

.md-trust {
  background: var(--md-sage-bg);
  padding: 28px 16px;
}
.md-trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}
.md-trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 12px;
  border: 1.5px dashed rgba(196,18,48,0.35);
  border-radius: 4px;
  background: rgba(255,255,255,0.45);
}
.md-trust__icon {
  width: 36px;
  height: 36px;
  color: var(--md-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.md-trust__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--md-ink);
  margin: 0;
}

.md-products {
  background: var(--md-sage-bg);
  padding: 56px 16px 72px;
  position: relative;
}
.md-products__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  text-align: center;
  margin: 0 0 40px;
  color: var(--md-ink);
}
.md-products__layout {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 28px 36px;
  align-items: start;
}
.md-products__layout--solo {
  grid-template-columns: 1fr;
}
.md-products__trust {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 100px;
}
.md-stamp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 10px;
  text-align: center;
  background: rgba(253,248,241,0.75);
  color: var(--md-red);
  border: 1.5px dashed rgba(196,18,48,0.45);
  border-radius: 2px;
  box-shadow:
    0 0 0 4px rgba(253,248,241,0.9),
    0 0 0 5px rgba(196,18,48,0.2);
}
.md-stamp__icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.md-stamp__title {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--md-ink);
  line-height: 1.3;
}
.md-products__trail {
  position: relative;
  min-height: 420px;
}
.md-products__path {
  position: absolute;
  inset: 0 8% 0 8%;
  width: 84%;
  height: 100%;
  color: var(--md-red);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.md-products__list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 920px;
  margin: 0 auto;
}
.md-product {
  display: grid;
  grid-template-columns: minmax(160px, 260px) 1fr;
  gap: 24px;
  align-items: center;
  background: rgba(253,248,241,0.92);
  padding: 18px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(45,27,22,0.06);
}
.md-product--right {
  grid-template-columns: 1fr minmax(160px, 260px);
  margin-left: 8%;
}
.md-product--left {
  margin-right: 8%;
}
.md-product--right .md-product__media { order: 2; }
.md-product--right .md-product__body { order: 1; text-align: right; }
.md-product--right .md-product__actions { justify-content: flex-end; }
.md-product__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  object-fit: cover;
  aspect-ratio: 1;
}
.md-product__name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--md-red);
}
.md-product__desc {
  margin: 0 0 14px;
  color: var(--md-muted);
  line-height: 1.55;
}
.md-product__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.md-cart-form { display: inline-flex; margin: 0; }
.md-link {
  color: var(--md-red);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
}
.md-link:hover { text-decoration: underline; }

.md-layers {
  background: var(--md-cream);
  padding: 64px 16px;
}
.md-layers__grid {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 360px) 1fr;
  gap: 28px;
  align-items: center;
}
.md-layers__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 14px;
}
.md-layers__text {
  color: var(--md-muted);
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
}
.md-layers__photo {
  position: relative;
  width: 100%;
}
.md-layers__media img,
.md-layers__photo img {
  width: 100%;
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  box-shadow: 0 16px 40px rgba(45,27,22,0.15);
}
.md-layers__marker {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}
.md-layers__marker-n {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--md-red);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(45,27,22,0.25);
  flex-shrink: 0;
}
.md-layers__marker-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--md-ink);
  background: rgba(253,248,241,0.92);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.md-ritual {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 400px;
  background: var(--md-cream);
}
.md-ritual__media {
  background: #ddd center/cover no-repeat;
  min-height: 280px;
}
.md-ritual__body {
  background: var(--md-sage);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 36px;
}
.md-ritual__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 12px;
}
.md-ritual__text {
  margin: 0 0 20px;
  opacity: 0.92;
  line-height: 1.6;
}
.md-ritual .md-btn--ghost {
  border-color: #fff;
  color: #fff !important;
  align-self: flex-start;
}
.md-ritual .md-btn--ghost:hover {
  background: #fff;
  color: var(--md-sage) !important;
}

.md-gift {
  background: linear-gradient(135deg, #E8C46A 0%, #D4A84B 100%);
  padding: 64px 16px;
}
.md-gift__grid {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 380px) auto;
  gap: 32px;
  align-items: center;
}
.md-gift__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.1rem;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--md-ink);
}
.md-gift__text {
  margin: 0 0 18px;
  color: rgba(45,27,22,0.8);
  line-height: 1.6;
}
.md-gift__media img {
  width: 100%;
  border-radius: 8px;
  display: block;
  box-shadow: 0 12px 32px rgba(45,27,22,0.2);
}
.md-gift__icons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.md-gift__icon-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--md-ink);
}
.md-gift__icon-item svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--md-red);
}

.md-b2b {
  background: var(--md-sage-bg);
  padding: 64px 16px;
}
.md-b2b__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  align-items: center;
}
.md-b2b__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 12px;
}
.md-b2b__text {
  margin: 0 0 20px;
  color: var(--md-muted);
  line-height: 1.65;
}
.md-b2b__feats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}
.md-b2b__feat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}
.md-b2b__feat svg { width: 22px; height: 22px; color: var(--md-red); }
.md-b2b__media img {
  width: 100%;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  max-height: 360px;
}

.md-faq {
  background: var(--md-cream);
  padding: 64px 16px 80px;
}
.md-faq__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding: 14px 18px;
  background: var(--md-sage);
  color: #fff;
  border-radius: 6px;
}
.md-faq__head h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}
.md-faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.md-faq__box {
  background: #fff;
  border: 1px solid #E5D9C8;
  border-radius: 8px;
  padding: 24px;
}
.md-faq__box h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  margin: 0 0 16px;
}
.md-faq__delivery li {
  margin-bottom: 10px;
  color: var(--md-muted);
  line-height: 1.55;
  padding-left: 4px;
}
.md-faq__item {
  border-bottom: 1px solid #E5D9C8;
}
.md-faq__item:last-child { border-bottom: none; }
.md-faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  background: none;
  border: none;
  text-align: left;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--md-ink);
  cursor: pointer;
  font-family: inherit;
}
.md-faq__q span.md-faq__plus {
  font-size: 1.25rem;
  color: var(--md-red);
  line-height: 1;
}
.md-faq__a {
  display: none;
  padding: 0 0 14px;
  color: var(--md-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.md-faq__item.open .md-faq__a { display: block; }
.md-faq__item.open .md-faq__plus { transform: rotate(45deg); display: inline-block; }

.theme-medovniktema1 .site-footer {
  background: var(--md-charcoal) !important;
}

@media (max-width: 900px) {
  .md-trust__grid { grid-template-columns: 1fr; }
  .md-products__layout {
    grid-template-columns: 1fr;
  }
  .md-products__trust {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    position: static;
  }
  .md-stamp { min-width: 100px; max-width: 120px; }
  .md-products__path { display: none; }
  .md-product,
  .md-product--left,
  .md-product--right {
    grid-template-columns: 1fr;
    margin-left: 0;
    margin-right: 0;
  }
  .md-product--right .md-product__media { order: 0; }
  .md-product--right .md-product__body { order: 0; text-align: left; }
  .md-product--right .md-product__actions { justify-content: flex-start; }
  .md-layers__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .md-layers__media { max-width: 280px; margin: 0 auto; }
  .md-layers__marker-label { display: none; }
  .md-ritual { grid-template-columns: 1fr; }
  .md-gift__grid { grid-template-columns: 1fr; }
  .md-gift__icons { flex-direction: row; flex-wrap: wrap; }
  .md-b2b__grid { grid-template-columns: 1fr; }
  .md-faq__grid { grid-template-columns: 1fr; }
}
