/* ==========================================================================
   Siyezcihanem Tasarım: WordPress uyumu
   Tema stilleri kapalıyken WordPress'in beklediği temel sınıflar ve
   şablonlardaki WordPress'e özgü parçalar.
   ========================================================================== */

/* WordPress'in temaya bıraktığı temel sınıflar */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  clip: auto;
  width: auto;
  height: auto;
  padding: .8rem 1.2rem;
  z-index: 100000;
  background: var(--sticker);
  color: var(--kabuk);
}
.alignleft { float: left; margin: .3rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .3rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .9rem; opacity: .75; }

/* Yönetici çubuğu açıkken üst menü altında kalsın */
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }

/* Menü başlıkları sitenin menüsünden gelir; tek satırda kalır. Sığmazsa shop.js
   önce sıkıştırır (nav--tight), yine sığmazsa bağlantıları gizler (nav--compact). */
.nav .logo,
.sct-nav-links { flex-shrink: 0; }
.sct-nav-links a,
.nav .btn { white-space: nowrap; }
.nav--tight { gap: 1.2rem; }
.nav--tight .sct-nav-links a { padding-inline: .7rem; font-size: .9rem; }
.nav--tight .nav-account { width: 48px; padding: 0; border-radius: 50%; justify-content: center; }
.nav--tight .nav-account span { display: none; }
.nav--lean .btn--pill { display: none; }
.nav--compact .sct-nav-links { display: none; }

/* Önizleme rozeti */
.sct-preview-badge {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 99990;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem 1rem;
  border-radius: 999px;
  background: var(--kabuk);
  color: var(--basak);
  font: 500 .85rem/1.2 var(--sans);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5), 0 0 0 2px var(--seftali);
}
.sct-preview-badge strong {
  padding: .2rem .55rem;
  border-radius: 999px;
  background: var(--seftali);
  color: var(--kabuk);
}

/* Logo yoksa başak simgesi */
.logo-mark--ear { width: 1.6rem; height: 2rem; margin: 0; filter: none; }
.loader-logo--ear { width: auto; height: 26vh; color: var(--basak); }
.badge-ear { position: relative; width: 46px; height: 58px; }

/* Ana sayfa: WordPress'in ürettiği bağlantı ve fiyat işaretlemesi */
a.pslide-plate { display: block; }
.pslide-plate img { width: 100%; height: 100%; object-fit: cover; }
.pcard h3 a { color: inherit; }
.pcard-price del,
.pc-price del { margin-right: .3rem; font-size: .65em; opacity: .6; }
.pcard-price ins,
.pc-price ins { text-decoration: none; }
a.pcard-add svg { width: 20px; height: 20px; }
.pcard-sticker img { transform: scale(1.6); }
.footer-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.kcard figcaption .woocommerce-Price-amount { white-space: nowrap; }

/* Mağaza */
a.pc-media { display: block; }
.pc-name a { color: inherit; }
.pc-name a:hover { color: var(--kizil); }
.pc-img--art { width: 100%; height: 100%; }
.pc-ear { width: 34%; height: auto; aspect-ratio: 32 / 40; color: color-mix(in srgb, var(--sticker) 75%, transparent); }
.shop-empty .pc-ear { width: 64px; color: var(--karamel); }
.pc-badge {
  position: absolute;
  top: 1.2rem;
  left: 50%;
  translate: -50% 0;
  padding: .35rem .8rem;
  border-radius: 999px;
  background: var(--kabuk);
  color: var(--basak);
  font-size: .8rem;
  font-weight: 600;
}
.pc-badge--sale { background: var(--kizil); }
.shop-hero { padding-top: 10rem; }

/* İç sayfalar: koyu bant + içerik */
.sct-main { background: var(--un); color: var(--kabuk); }
.sct-band {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: 9.5rem var(--gutter) 3.5rem;
  background:
    radial-gradient(70% 90% at 85% 100%, color-mix(in srgb, var(--kizil) 70%, transparent), transparent 70%),
    radial-gradient(40% 60% at 10% 0%, color-mix(in srgb, var(--kavrulmus) 60%, transparent), transparent 70%),
    var(--kabuk);
  color: var(--basak);
}
.sct-band .grains canvas { position: absolute; height: 100%; }
.sct-band--slim { padding: 0; height: 6.4rem; }
.sct-band__inner { max-width: 1320px; margin-inline: auto; }
.sct-band__title {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 800;
  font-size: clamp(2.6rem, 6.5vw, 6rem);
  line-height: .95;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.sct-content {
  max-width: 1180px;
  margin-inline: auto;
  padding: 3.5rem var(--gutter) 6rem;
  font-size: 1.05rem;
  line-height: 1.7;
}
.sct-content--builder { max-width: none; padding: 0; }
/* Elementor'un basmadığı içerik (ör. kısa kod) yine de kenara yapışmasın */
.sct-content--builder > :not(.elementor) { max-width: 1180px; margin-inline: auto; padding: 3.5rem var(--gutter) 6rem; }
.sct-content > * + * { margin-top: 1.2em; }
.sct-content h1,
.sct-content h2,
.sct-content h3,
.sct-content h4 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--kabuk);
}
.sct-content h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.sct-content h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.sct-content a:not(.button):not(.btn):not(.elementor-button) { color: var(--kizil); text-underline-offset: 3px; }
.sct-content img { height: auto; }
.sct-content ul, .sct-content ol { padding-left: 1.3rem; }
.sct-empty { font-size: 1.15rem; }
.sct-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 2.4rem 1.6rem; }
.sct-post__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; }
.sct-post__title { margin-top: .9rem; font-size: 1.5rem !important; }
.sct-post__title a { color: inherit !important; text-decoration: none; }
.nav-links .page-numbers { display: inline-block; margin-right: .4rem; }

/* Sepet çekmecesi: WooCommerce'ten gelen hata ve bağlantılar */
.cart-error {
  margin: 1rem 1.6rem 0;
  padding: .8rem 1rem;
  border-radius: 12px;
  background: color-mix(in srgb, #B42318 10%, var(--sticker));
  color: #8A1C12;
  font-size: .92rem;
}
.cart-info strong a { color: inherit; }
.cart-info strong a:hover { color: var(--kizil); }
.cart-full { justify-self: center; font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; opacity: .8; }

/* Başka eklentilerin sabit alt menüsü (mobil alt menü) içeriğin altını örtmesin */
@media (max-width: 899px) {
  body.sct { padding-bottom: env(safe-area-inset-bottom, 0px); }
}

/* Tasarımın genel sıfırlamaları WordPress ve WooCommerce içeriğini bozmasın */
.sct-content p,
.sct-content ul,
.sct-content ol,
.sct-content table,
.sct-content blockquote { margin: 0 0 1em; }
.sct-content h2,
.sct-content h3,
.sct-content h4 { margin: 1.4em 0 .6em; }
.sct-content p a:not(.button) { text-decoration: underline; }
.sct-content img.emoji,
.sct-content img.wp-smiley { display: inline !important; width: 1em; height: 1em; vertical-align: -.1em; }
body.sct #payment img,
body.sct .woocommerce-checkout img,
body.sct label img { display: inline-block; vertical-align: middle; max-height: 2rem; width: auto; }
body.sct .woocommerce-checkout #payment div.payment_box img { max-height: none; }

/* Temanın kendi parçaları (ör. Astra "başa dön" düğmesi) bizim sayfalarda görünmesin */
body.sct #ast-scroll-top,
body.sct .ast-mobile-popup-drawer,
body.sct #ast-mobile-popup-wrapper { display: none !important; }

/* WordPress görsellere width/height öznitelikleri ekler; tarayıcı bunları sabit yükseklik sayar ve
   aspect-ratio ile boyutlanan görseller (ör. büyüyen sahnedeki küçük fotoğraflar) uzun şeritlere döner.
   Tasarım özniteliksiz görsellere göre yapıldı: yükseklik kendiliğinden olsun. :where ile özgüllük
   sıfır kalır, height veren tasarım kuralları yine geçerli olur. */
:where(body.sct) img { height: auto; }

/* WooCommerce, sayfalarındaki tüm görsellere height:auto verir; tasarımın görselleri kendi boyutunu korusun */
/* max-width:100% olan görsel esneyebilir sayılır; logo daralıp yazının menünün altına girmesine yol açıyordu */
body.sct .logo-mark { height: 3.7rem; width: auto; max-width: none; }
body.sct .logo-mark--ear { width: 1.6rem; height: 2rem; }
body.sct .pc-media .pc-img,
body.sct .pc-media img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
body.sct .cart-thumb { width: 72px; height: 72px; object-fit: cover; }
body.sct .sct-menu .menu-photo img { width: 100%; height: 100%; }
@media (max-width: 520px) { body.sct .logo-mark { height: 2.5rem; } }

/* ==========================================================================
   Elementor sayfaları (Hakkımızda vb.) tasarımın parçalarıyla
   ========================================================================== */
.sct-content--page { max-width: 1240px; padding-top: clamp(3.5rem, 7vw, 6rem); }
.sct-content--page > * + * { margin-top: 0; }
.sct-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1.2rem;
  font: 500 1rem/1 var(--sans);
  color: var(--karamel);
}
.sct-kicker svg { width: 1rem; height: 1.3rem; color: var(--seftali); }
.sct-content .sct-page__title {
  margin: 0;
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 800;
  font-size: clamp(2.3rem, 4.4vw, 4.4rem);
  line-height: .98;
  letter-spacing: -.035em;
  color: var(--kizil);
  text-wrap: balance;
}
.sct-page__text { margin-top: 1.6rem; font-size: 1.1rem; line-height: 1.75; color: color-mix(in srgb, var(--kabuk) 88%, transparent); text-wrap: pretty; }
.sct-page__text--lead {
  font-family: var(--display);
  font-variation-settings: "SOFT" 50, "WONK" 0;
  font-size: clamp(1.15rem, 1.45vw, 1.4rem);
  line-height: 1.65;
}
.sct-page__text p:last-child { margin-bottom: 0; }

.sct-intro {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
  padding-bottom: clamp(4rem, 9vw, 7rem);
}
.sct-intro__media { position: relative; padding: 0 9% 9% 0; }
.sct-intro__media::before {
  content: "";
  position: absolute;
  inset: -18px calc(9% - 18px) calc(9% - 18px) -18px;
  border-radius: 999px 999px 46px 46px;
  border: 1.5px solid color-mix(in srgb, var(--kizil) 35%, transparent);
  pointer-events: none;
}
.sct-intro__arch {
  margin: 0;
  aspect-ratio: 4 / 5.1;
  overflow: hidden;
  border-radius: 999px 999px 28px 28px;
  background: var(--kavrulmus);
  box-shadow: 0 60px 90px -55px rgba(52, 29, 23, .7);
}
.sct-intro__coin {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 38%;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border-radius: 50%;
  border: 8px solid var(--sticker);
  box-shadow: 0 30px 50px -22px rgba(52, 29, 23, .6);
  animation: bob 7s ease-in-out infinite alternate;
}
.sct-intro__arch img,
.sct-intro__coin img { width: 100%; height: 100%; object-fit: cover; }

.sct-faq,
.sct-block {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(3.5rem, 7vw, 6rem);
  border-top: 1px solid color-mix(in srgb, var(--kabuk) 12%, transparent);
}
.sct-faq__head { align-self: start; position: sticky; top: 7.5rem; }
.sct-faq__list { display: grid; gap: .9rem; align-content: start; }
.sct-faq__item {
  border-radius: 22px;
  background: var(--sticker);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--kabuk) 8%, transparent), 0 24px 40px -34px rgba(52, 29, 23, .5);
}
.sct-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.4rem 1.6rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 700;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  line-height: 1.2;
  color: var(--kabuk);
}
.sct-faq__item summary::-webkit-details-marker { display: none; }
.sct-faq__item summary i {
  position: relative;
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--kizil);
  transition: transform .5s var(--ease-out), background-color .3s;
}
.sct-faq__item summary i::before,
.sct-faq__item summary i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--basak);
}
.sct-faq__item summary i::after { transform: rotate(90deg); transition: transform .5s var(--ease-out); }
.sct-faq__item summary:hover i { background: var(--kavrulmus); }
.sct-faq__item[open] summary i { background: var(--kabuk); transform: rotate(180deg); }
.sct-faq__item[open] summary i::after { transform: rotate(0deg); }
.sct-faq__a { padding: 0 1.6rem 1.6rem; font-size: 1.05rem; line-height: 1.75; color: color-mix(in srgb, var(--kabuk) 85%, transparent); }
.sct-faq__a p:last-child { margin-bottom: 0; }
.sct-block__img { margin: 1.6rem 0 0; }
.sct-block__img img { width: 100%; border-radius: 26px; }

.sct-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  margin-top: clamp(1rem, 3vw, 2rem);
  padding: clamp(2rem, 5vw, 3.6rem);
  border-radius: 36px;
  background:
    radial-gradient(60% 120% at 100% 100%, color-mix(in srgb, var(--kizil) 75%, transparent), transparent 70%),
    var(--kabuk);
  color: var(--basak);
}
.sct-content .sct-cta__title {
  margin: 0;
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--basak);
}
.sct-cta__title em { font-style: italic; color: var(--seftali); }

/* Kaydırdıkça beliren bölümler; betik yoksa hepsi baştan görünür */
.sct-js [data-reveal] { opacity: 0; translate: 0 40px; transition: opacity 1s var(--ease-out), translate 1.2s var(--ease-out); }
.sct-js [data-reveal].is-in { opacity: 1; translate: none; }
.sct-js .sct-intro__arch img { scale: 1.15; transition: scale 1.8s var(--ease-out); }
.sct-js .sct-intro.is-in .sct-intro__arch img { scale: 1; }

@media (max-width: 900px) {
  .sct-intro,
  .sct-faq,
  .sct-block { grid-template-columns: minmax(0, 1fr); }
  .sct-intro__media { max-width: 420px; }
  .sct-faq__head { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .sct-js [data-reveal] { opacity: 1; translate: none; }
  .sct-js .sct-intro__arch img { scale: 1; }
}

/* Ana sayfa hikâye bölümü: Hakkımızda sayfasından gelen başlık ve uzun yazı */
.story-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1.4rem;
  font: 600 1rem/1.3 var(--sans);
  color: var(--karamel);
}
.story-kicker svg { flex: none; width: 1rem; height: 1.3rem; color: var(--seftali); }
.story-text--long {
  max-width: 54ch;
  font-size: clamp(1.05rem, 1.2vw, 1.25rem);
  line-height: 1.6;
}
