/* =========================================================
   Eda Kurabiye – konsept renkleri ve ek bileşenler
   Tema (base.css) aynen korunur; burada sadece renk
   değişkenleri ve siteye eklenen parçalar tanımlanır.
   ========================================================= */

/* ---------- Konsept paletleri ---------- */
html[data-concept="kiz"] {
  --ek-accent: 217, 102, 143;   /* #D9668F  pembe        */
  --ek-dark: 176, 74, 112;      /* #B04A70  koyu gül     */
  --ek-bg1: 255, 250, 252;      /* #FFFAFC               */
  --ek-bg2: 253, 236, 243;      /* #FDECF3  pastel pembe */
  --ek-soft: 248, 213, 226;     /* #F8D5E2               */
  --ek-text: 77, 43, 57;        /* #4D2B39               */
}
html[data-concept="erkek"] {
  --ek-accent: 79, 143, 203;    /* #4F8FCB  mavi         */
  --ek-dark: 54, 101, 148;      /* #366594  koyu mavi    */
  --ek-bg1: 249, 252, 255;      /* #F9FCFF               */
  --ek-bg2: 232, 242, 251;      /* #E8F2FB  pastel mavi  */
  --ek-soft: 204, 225, 245;     /* #CCE1F5               */
  --ek-text: 33, 53, 74;        /* #21354A               */
}
html[data-concept] {
  --color-base-text: var(--ek-text);
  --color-shadow: var(--ek-text);
  --color-base-background-1: var(--ek-bg1);
  --color-base-background-2: var(--ek-bg2);
  --color-base-outline-button-labels: var(--ek-text);
  --color-base-accent-1: var(--ek-accent);
  --color-base-accent-2: var(--ek-dark);
  --gradient-base-background-1: rgb(var(--ek-bg1));
  --gradient-base-background-2: rgb(var(--ek-bg2));
  --gradient-base-accent-1: rgb(var(--ek-accent));
  --gradient-base-accent-2: rgb(var(--ek-dark));
  --payment-terms-background-color: rgb(var(--ek-bg1));
  scroll-behavior: smooth;
}

/* Konsepte göre içerik */
html[data-concept="kiz"] .ek-only-erkek,
html[data-concept="erkek"] .ek-only-kiz { display: none !important; }

/* ---------- Logo ---------- */
.ek-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-decoration: none;
  justify-self: center;
}
.ek-logo__img {
  width: 5.6rem;
  height: 5.6rem;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
  transition: width .2s ease, height .2s ease;
}
.ek-logo__text {
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  color: rgb(var(--ek-dark));
}
.scrolled-past-header .ek-logo__img { width: 4.4rem; height: 4.4rem; }
@media screen and (max-width: 749px) {
  .ek-logo { gap: .6rem; }
  .ek-logo__img { width: 4.2rem; height: 4.2rem; }
  .ek-logo__text { font-size: 2.5rem; }
  .scrolled-past-header .ek-logo__img { width: 3.6rem; height: 3.6rem; }
}

/* ---------- Ürün bilgisi ---------- */
.ek-tagline { font-size: 1.4rem; }
.ek-benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.ek-benefits li { display: flex; align-items: flex-start; gap: 1.2rem; line-height: 1.5; }
.ek-benefits .material-symbols-outlined { font-size: 2.2rem; color: rgb(var(--ek-accent)); margin-top: .1rem; }
@media screen and (max-width: 749px) {
  .main-atc__label__text { font-size: 1.6rem; letter-spacing: .04em; }
}
.ek-variants { margin-top: 2rem; }
.ek-variants fieldset.product-form__input { margin-bottom: 1.4rem; max-width: none; }
.ek-variants .form__label { font-size: 1.4rem; margin-bottom: .8rem; }
.ek-variants input[type=radio] + label { margin: .3rem .6rem .3rem 0; }
/* seçim butonlarında gölge yok */
.ek-variants fieldset.product-form__input input[type=radio] + label::before,
.ek-variants fieldset.product-form__input input[type=radio] + label::after { box-shadow: none; }

.ek-qty { margin-top: .4rem; }
.ek-qty .quantity {
  width: 17rem;
  border: 1px solid rgba(var(--color-foreground), .3);
  border-radius: var(--inputs-radius);
  background: rgb(var(--color-background));
  overflow: hidden;
}
.ek-qty .quantity__input {
  font-family: inherit;
  font-size: 1.6rem;
  background: transparent;
  color: rgb(var(--color-foreground));
  -moz-appearance: textfield;
}
.ek-qty .quantity__input::-webkit-outer-spin-button,
.ek-qty .quantity__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ek-qty .quantity__button { background: transparent; border: 0; font-size: 2rem; }
.ek-qty .quantity__input::placeholder { color: rgba(var(--color-foreground), .45); }
.ek-qty__note { font-size: 1.3rem; margin: .7rem 0 0; color: rgba(var(--color-foreground), .75); }

.ek-date-head .estimated-shipping__text p { margin: 0; }
.ek-date-head .estimated-shipping__text p + p { margin-top: .3rem; font-size: 1.4rem; }
.ek-date-head .material-symbols-outlined { color: rgb(var(--ek-accent)); }

.ek-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin: 0 0 .4rem;
}
@media screen and (max-width: 480px) {
  .ek-fields { grid-template-columns: 1fr; }
}
.ek-field label {
  display: block;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: .5rem;
}
.ek-field input {
  display: block;
  width: 100%;
  min-height: 4.6rem;
  padding: 0 1.4rem;
  border: 1px solid rgba(var(--color-foreground), .3);
  border-radius: var(--inputs-radius);
  background: rgb(var(--color-background));
  color: rgb(var(--color-foreground));
  font-family: inherit;
  font-size: 1.5rem;
  letter-spacing: .04em;
  line-height: 4.4rem;
  -webkit-appearance: none;
  appearance: none;
}
.ek-field input:focus {
  outline: none;
  border-color: rgb(var(--ek-accent));
  box-shadow: 0 0 0 .3rem rgba(var(--ek-accent), .2);
}

/* WhatsApp ikonu ve butonlar */
.icon-whatsapp {
  width: 1.3em;
  height: 1.3em;
  margin-right: .5em;
  flex-shrink: 0;
  vertical-align: -.28em;
}
.main-atc__label__text,
.sticky-atc__label__text { display: inline-flex; align-items: center; justify-content: center; }
.list-social__link .icon-whatsapp { width: 2.2rem; height: 2.2rem; margin: 0; }
.ek-footer-btn { display: inline-flex; align-items: center; justify-content: center; }
.ek-inline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.8rem;
  margin-top: .6rem;
  padding: 0 2.8rem;
  border-radius: var(--buttons-radius);
  background: rgb(var(--ek-accent));
  color: #fff !important;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: .06rem;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ek-inline-btn:hover { transform: translateY(-.2rem); box-shadow: 0 .8rem 2rem rgba(var(--ek-accent), .35); }

.ek-wa-note__text {
  display: block;
  margin: 0;
  line-height: 1.6;
  font-size: 1.35rem;
  text-align: center;
  color: rgba(var(--color-foreground), .8);
}
.ek-wa-note__text .icon-whatsapp { color: #25d366; width: 1.9rem; height: 1.9rem; margin: 0 .3rem 0 0; vertical-align: -.45rem; }
.ek-wa-note__text a { white-space: nowrap; }
.ek-wa-note__text a { color: rgb(var(--ek-accent)); font-weight: 600; text-decoration: none; }

/* Yapışkan sipariş çubuğu: ana buton ekrandan çıkınca görünür */
.sticky-atc[data-after-scroll=true].ek-show { transform: none; }
.sticky-atc__image img { border-radius: .8rem; }
.sticky-atc__label__text { white-space: nowrap; }
.scroll-to-top-btn { transition: transform .2s ease; }
body.ek-sticky-on .scroll-to-top-btn { transform: translateY(-8rem); }
body.ek-sticky-on .footer { padding-bottom: 9rem; }
@media screen and (max-width: 749px) {
  .sticky-atc .button { font-size: 1.6rem; padding: 0 1em; letter-spacing: .04em; }
  body.ek-sticky-on .scroll-to-top-btn { transform: translateY(-14.5rem); }
  body.ek-sticky-on .footer { padding-bottom: 15rem; }
  .ek-inline-btn { padding: 0 2rem; font-size: 1.5rem; white-space: nowrap; }
}

/* ---------- Sertifika ---------- */
.ek-cert {
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  border-radius: var(--media-radius);
  overflow: hidden;
  border: .4rem solid rgb(var(--ek-soft));
  background: #fff;
  box-shadow: 0 1.2rem 3rem rgba(var(--ek-text), .14);
}
.ek-cert img { display: block; width: 100%; height: auto; }
.ek-cert__text { margin: 1.2rem auto 0; max-width: 46rem; font-size: 1.6rem; color: rgba(var(--color-foreground), .8); }

/* ---------- Diğer ---------- */
.ek-anchor { display: block; height: 0; scroll-margin-top: 9rem; }
.ek-copy { text-align: center; font-size: 1.2rem; opacity: .8; margin: 1.6rem 0 0; }
.footer .rte a { color: inherit; }
.results__caption a { color: rgb(var(--ek-accent)); text-decoration: none; }

/* ---------- Konsept seçim ekranı (gölgesiz) ---------- */
.ek-concept {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow-y: auto;
  background: linear-gradient(135deg, #fde4ee 0%, #fde4ee 50%, #e0eefb 50%, #e0eefb 100%);
}
html.ek-ask .ek-concept { display: flex; }
html.ek-ask body { overflow: hidden; }
.ek-concept__box {
  width: 100%;
  max-width: 56rem;
  margin: auto;
  padding: 3rem 2.4rem 2.4rem;
  text-align: center;
  background: #fff;
  border-radius: 2.4rem;
  animation: ekPop .5s ease both;
  font-family: var(--font-body-family);
  color: #3b2a33;
}
.ek-concept__box:focus,
.ek-concept__box:focus-visible { outline: none; box-shadow: none; }
.ek-concept__logo { display: block; width: 9rem; height: 9rem; margin: 0 auto .4rem; border-radius: 50%; }
.ek-concept__brand {
  margin: 0;
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 1.1;
  color: #a5486c;
}
.ek-concept__title {
  margin: 1.4rem 0 .4rem;
  font-family: var(--font-heading-family);
  font-weight: 600;
  font-size: 2.2rem;
  letter-spacing: .04rem;
  color: #2f2229;
}
.ek-concept__sub { margin: 0 0 2rem; font-size: 1.5rem; color: rgba(47, 34, 41, .72); }
.ek-concept__choices { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.ek-concept__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  padding: 1rem 1rem 1.4rem;
  border: .2rem solid transparent;
  border-radius: 1.8rem;
  box-shadow: none;
  font-family: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: transform .2s ease;
}
.ek-concept__btn--kiz { background: #fdeaf1; border-color: #f2b3c9; color: #9c3f63; }
.ek-concept__btn--erkek { background: #e6f1fb; border-color: #a8caeb; color: #2f5f8a; }
.ek-concept__btn:hover { transform: translateY(-.3rem); box-shadow: none; }
.ek-concept__btn:focus-visible { outline: .2rem solid currentColor; outline-offset: .2rem; box-shadow: none; }
.ek-concept__img { display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 1.2rem; overflow: hidden; background: #f4efe9; }
.ek-concept__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ek-concept__label { margin-top: .6rem; font-size: 2rem; font-weight: 700; letter-spacing: .04em; }
.ek-concept__note { margin: 1.8rem 0 0; font-size: 1.2rem; color: rgba(47, 34, 41, .6); }
.ek-concept.is-leaving { animation: ekFade .35s ease forwards; }
@media screen and (max-width: 420px) {
  .ek-concept__box { padding: 2.4rem 1.6rem 2rem; }
  .ek-concept__choices { gap: 1rem; }
  .ek-concept__label { font-size: 1.8rem; }
}
@keyframes ekPop { from { opacity: 0; transform: translateY(1.2rem) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes ekFade { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  .ek-concept__box, .ek-concept.is-leaving { animation: none; }
}

/* Fiyatlar yönetim panelinden gizlendiğinde fiyat yerine görünen yazı */
.ek-price-note { font-size: 1.9rem; font-weight: 600; line-height: 1.35; color: rgb(var(--ek-accent)); }
/* yazı da boşsa fiyat kutusunun boşluğu kalmasın */
.product-page-price:not(:has(*)) { display: none; }
