/* Yönetilebilir editoryal mağaza katmanı. Slider bileşenine bilinçli olarak dokunmaz. */
:root {
  --theme-content-max: 1440px;
  --theme-section-space: 78px;
  --theme-card-radius: 22px;
  --theme-control-radius: 14px;
  --theme-image-ratio: 2 / 3;
  --theme-gallery-ratio: 2 / 3;
  --theme-product-columns: 4;
  --theme-motion-duration: 220ms;
  --theme-heading-font: "Manrope", "Segoe UI", sans-serif;
  --theme-card-shadow: 0 18px 48px rgba(17, 17, 15, 0.055);
}

html.theme-type-editorial {
  --theme-heading-font: Georgia, "Times New Roman", serif;
}

html.theme-type-classic {
  --theme-heading-font: "Palatino Linotype", Palatino, Georgia, serif;
}

html.theme-width-compact { --theme-content-max: 1240px; }
html.theme-width-wide { --theme-content-max: 1580px; }
html.theme-spacing-compact { --theme-section-space: 58px; }
html.theme-spacing-airy { --theme-section-space: 96px; }
html.theme-corners-soft { --theme-card-radius: 30px; --theme-control-radius: 18px; }
html.theme-corners-straight { --theme-card-radius: 8px; --theme-control-radius: 6px; }
html.theme-product-tall { --theme-image-ratio: 2 / 3; }
html.theme-product-square { --theme-image-ratio: 1 / 1; }
html.theme-gallery-portrait { --theme-gallery-ratio: 4 / 5; }
html.theme-gallery-square { --theme-gallery-ratio: 1 / 1; }
html.theme-columns-3 { --theme-product-columns: 3; }
html.theme-columns-5 { --theme-product-columns: 5; }
html.theme-motion-off { --theme-motion-duration: 0ms; }

body {
  background: var(--site-background, #f7f5f0);
  color: var(--site-text, #11110f);
}

.site-shell {
  max-width: var(--theme-content-max) !important;
}

.section-heading,
.all-products-heading,
.blog-heading {
  position: relative;
  align-items: end;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--site-border, #e3ded2);
}

.section-heading::after,
.all-products-heading::after,
.blog-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 68px;
  height: 1px;
  background: var(--site-accent, #d8b26e);
}

.section-heading h2,
.all-products-heading h2,
.blog-heading h2,
.category-hero h1,
.search-hero-card h1,
.blog-list-title h1,
.product-detail-info h1,
.product-description-card h2 {
  font-family: var(--theme-heading-font);
  font-weight: 500;
  letter-spacing: -0.035em;
}

html.theme-type-editorial .section-heading h2,
html.theme-type-editorial .all-products-heading h2,
html.theme-type-editorial .blog-heading h2,
html.theme-type-editorial .product-detail-info h1 {
  letter-spacing: -0.025em;
}

.featured-products,
.arrivals-section,
.all-products-section,
.brands-band,
.newsletter-section,
.blog-section,
.related-products-section {
  margin-bottom: var(--theme-section-space) !important;
}

/* Daha sakin ve alışveriş odağı güçlü header. */
.site-header {
  position: relative;
  top: auto;
  border-bottom: 1px solid color-mix(in srgb, var(--site-border, #e3ded2) 78%, transparent);
  background: color-mix(in srgb, var(--site-surface, #fff) 94%, transparent);
  transition: box-shadow var(--theme-motion-duration) ease, background-color var(--theme-motion-duration) ease;
}

html.theme-header-sticky .site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  box-shadow: 0 12px 34px rgba(17, 17, 15, 0.055);
  backdrop-filter: blur(14px);
}

.header-grid {
  min-height: 88px;
  gap: clamp(18px, 2.2vw, 34px);
}

.brand {
  min-height: 62px;
}

.brand-logo {
  max-width: 210px;
  max-height: 62px;
}

html.theme-logo-compact .brand-logo { max-width: 170px; max-height: 50px; }
html.theme-logo-large .brand-logo { max-width: 245px; max-height: 72px; }
html.theme-header-compact .header-grid { min-height: 72px; }
html.theme-header-compact .brand { min-height: 52px; }

.search-box {
  border: 1px solid var(--site-border, #e3ded2);
  border-radius: var(--theme-control-radius);
  background: color-mix(in srgb, var(--site-surface, #fff) 88%, var(--site-background, #f7f5f0));
  box-shadow: none;
}

.search-box:focus-within {
  border-color: color-mix(in srgb, var(--site-text, #11110f) 48%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--site-accent, #d8b26e) 17%, transparent);
}

html.theme-search-line .search-box {
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
}

.search-input {
  border: 0;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
}

.search-input:focus {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.search-submit,
.header-action {
  border-radius: var(--theme-control-radius);
}

.search-submit {
  width: 42px;
  height: 42px;
  right: 4px;
  border: 0;
  background: transparent;
  color: var(--site-text, #11110f);
  box-shadow: none;
}

.search-submit:hover {
  background: color-mix(in srgb, var(--site-accent, #d8b26e) 18%, transparent);
  transform: translateY(-50%);
}

.search-submit .icon,
.header-action .icon,
.header-action:hover .icon {
  width: 18px;
  height: 18px;
  opacity: 1;
  filter: none !important;
}

.header-action,
.header-account-action,
.cart-action {
  min-height: 48px;
  border: 1px solid var(--site-border, #e3ded2);
  background: color-mix(in srgb, var(--site-surface, #fff) 92%, var(--site-background, #f7f5f0));
  padding-inline: 16px;
  color: var(--site-text, #11110f);
  box-shadow: none;
}

.header-action:hover,
.header-account-action:hover,
.cart-action:hover {
  border-color: color-mix(in srgb, var(--site-accent, #d8b26e) 72%, var(--site-border, #e3ded2));
  background: var(--site-surface, #fff);
  color: var(--site-text, #11110f);
  transform: translateY(-1px);
}

.cart-action {
  border-color: color-mix(in srgb, var(--site-text, #11110f) 38%, var(--site-border, #e3ded2));
}

.utility-bar {
  border-bottom-color: color-mix(in srgb, var(--site-border, #e3ded2) 70%, transparent);
  background: var(--site-background, #f7f5f0);
}

.utility-link {
  gap: 7px;
  color: var(--site-muted, #6f6a61);
  font-size: 11.5px;
  font-weight: 560;
}

.utility-icon {
  width: 15px;
  height: 15px;
  opacity: 0.86;
  filter: none !important;
}

/* Aynı çizgi kalınlığındaki ikonlar mağazanın tüm hızlı erişim alanlarını birleştirir. */
.service-band {
  box-shadow: 0 18px 54px rgba(17, 17, 15, 0.065) !important;
}

.service-icon {
  width: 50px !important;
  height: 50px !important;
  border: 1px solid color-mix(in srgb, var(--site-text, #11110f) 14%, transparent) !important;
  border-radius: 16px !important;
  background: color-mix(in srgb, var(--site-surface, #fff) 76%, var(--site-background, #f7f5f0)) !important;
  color: var(--site-text, #11110f) !important;
  box-shadow: none !important;
}

.service-icon img,
.service-icon img[src*="assets/icons/phosphor/"] {
  width: 21px !important;
  height: 21px !important;
  opacity: 0.88 !important;
  filter: none !important;
}

.service-item {
  grid-template-columns: 50px minmax(0, 1fr) !important;
  gap: 15px !important;
}

.category-nav {
  border-bottom: 1px solid var(--site-border, #e3ded2);
  background: var(--site-surface, #fff);
}

.nav-live {
  gap: clamp(18px, 2.2vw, 34px);
}

.nav-live .pipe-separator {
  display: none;
}

.nav-live .demo-link {
  position: relative;
  color: var(--site-muted, #6f6a61);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.025em;
}

.nav-demo-underline.nav-live .demo-link::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -10px;
  height: 1px;
  background: var(--site-accent, #d8b26e);
  transform: none;
  transition: left var(--theme-motion-duration) ease, right var(--theme-motion-duration) ease;
}

.nav-live .demo-link:hover,
.nav-live .demo-link.is-active {
  color: var(--site-text, #11110f);
}

.nav-demo-underline.nav-live .demo-link:hover::after,
.nav-demo-underline.nav-live .demo-link.is-active::after {
  left: 0;
  right: 0;
  transform: none;
}

/* Ürün kartları, gerçek ürün görselini ve fiyatı öne çıkarır. */
.product-plain-card {
  border-color: var(--site-border, #e3ded2);
  border-radius: var(--theme-card-radius);
  background: var(--site-surface, #fff);
  box-shadow: var(--theme-card-shadow);
  transition: transform var(--theme-motion-duration) ease, box-shadow var(--theme-motion-duration) ease, border-color var(--theme-motion-duration) ease;
}

.product-plain-card:hover {
  transform: none;
  border-color: var(--site-border, #e3ded2);
  background: var(--site-surface, #fff);
  box-shadow: var(--theme-card-shadow);
}

html.theme-card-shadow .product-plain-card {
  border-color: transparent;
  --theme-card-shadow: 0 24px 62px rgba(17, 17, 15, 0.085);
}

html.theme-card-minimal .product-plain-card {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.product-plain-visual {
  aspect-ratio: var(--theme-image-ratio);
  background: color-mix(in srgb, var(--site-background, #f7f5f0) 72%, #fff) !important;
}

.product-showcase,
.arrivals-grid,
.all-products-grid,
.category-products,
.related-products-grid {
  grid-template-columns: repeat(var(--theme-product-columns), minmax(0, 1fr));
}

.product-plain-image {
  transition: transform calc(var(--theme-motion-duration) * 1.5) cubic-bezier(.2, .65, .3, 1);
}

.product-plain-card:hover .product-plain-image {
  transform: none;
}

html.theme-product-card-hover .product-plain-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--site-accent, #d8b26e) 48%, var(--site-border, #e3ded2));
  box-shadow: 0 28px 68px rgba(17, 17, 15, 0.09);
}

html.theme-product-card-hover .product-plain-card:hover .product-plain-image {
  transform: none;
}

html.theme-motion-off .product-plain-card:hover,
html.theme-motion-off .product-plain-card:hover .product-plain-image {
  transform: none;
}

html:not(.theme-quick-add-visible) .product-cart-form {
  display: none;
}

.product-card-badges .product-hot,
.product-card-badges .arrival-badge {
  min-height: 28px !important;
  border: 1px solid color-mix(in srgb, var(--site-accent, #d8b26e) 48%, transparent) !important;
  border-radius: 999px !important;
  background: color-mix(in srgb, var(--site-surface, #fff) 91%, var(--site-accent, #d8b26e)) !important;
  padding: 7px 10px !important;
  color: var(--site-text, #11110f) !important;
  box-shadow: 0 10px 24px rgba(17, 17, 15, 0.07) !important;
}

.product-card-badges .product-hot img,
.product-card-badges .product-hot svg {
  filter: none !important;
}

.product-plain-content {
  padding: 18px 18px 20px;
}

.product-plain-eyebrow,
.product-detail-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: color-mix(in srgb, var(--site-accent, #d8b26e) 78%, var(--site-text, #11110f));
  font-size: 10px;
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-plain-content h3 {
  min-height: 43px;
  font-size: 16px;
  font-weight: 620;
  line-height: 1.34;
}

.price-current {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.025em;
}

.add-to-cart.soft-cart {
  border-radius: var(--theme-control-radius);
  background: var(--site-text, #11110f);
  color: #fff;
}

/* Ürün detayı: galeri ve satın alma alanı tek bir sakin kompozisyon oluşturur. */
.product-detail-layout {
  align-items: start;
  gap: clamp(28px, 4vw, 64px);
}

.product-gallery-main {
  aspect-ratio: var(--theme-gallery-ratio);
  border: 1px solid var(--site-border, #e3ded2);
  border-radius: var(--theme-card-radius);
  background: color-mix(in srgb, var(--site-background, #f7f5f0) 76%, #fff);
}

.product-gallery-thumbs button,
.product-gallery-thumbs span {
  aspect-ratio: var(--theme-gallery-ratio);
}

.product-detail-info {
  border: 0;
  border-top: 1px solid var(--site-border, #e3ded2);
  border-bottom: 1px solid var(--site-border, #e3ded2);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 34px 0;
}

html.theme-product-detail-sticky .product-detail-info {
  position: sticky;
  top: 112px;
}

.product-detail-info h1 {
  max-width: 760px;
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 1.04;
}

.product-detail-summary {
  max-width: 680px;
  color: var(--site-muted, #6f6a61);
}

.product-detail-buybox {
  border-color: var(--site-border, #e3ded2);
  border-radius: var(--theme-card-radius);
  background: var(--site-surface, #fff);
  box-shadow: 0 16px 46px rgba(17, 17, 15, 0.045);
}

.product-detail-notes {
  border-top: 1px solid var(--site-border, #e3ded2);
}

.product-detail-notes img {
  width: 16px;
  height: 16px;
  opacity: 0.82;
}

.detail-cart-button,
.whatsapp-order-button,
.quantity-control {
  border-radius: var(--theme-control-radius) !important;
}

html:not(.theme-product-trust-visible) .product-detail-notes {
  display: none;
}

/* Footer, ürün sayfasının marka kapanışı gibi davranır. */
.site-footer {
  border-top: 0;
  background: var(--site-footer-background, #171612);
  color: var(--site-footer-text, #f5f1e8);
}

.footer-main {
  padding-block: clamp(52px, 6vw, 82px) 42px;
}

html.theme-footer-editorial .footer-main {
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.4fr);
  gap: clamp(48px, 7vw, 112px);
}

.footer-brand > p,
.footer-nav-group nav a,
.footer-service-links a,
.footer-bank-transfer,
.footer-bottom,
.footer-bottom-links a {
  color: color-mix(in srgb, var(--site-footer-text, #f5f1e8) 68%, transparent);
}

.footer-nav-toggle,
.footer-nav-group nav a:hover,
.footer-service-links a:hover,
.footer-bottom-links a:hover {
  color: var(--site-footer-text, #f5f1e8);
}

.footer-logo img {
  transition: opacity var(--theme-motion-duration) ease;
}

html.theme-footer-logo-invert .footer-logo img {
  filter: brightness(0) invert(1);
}

html.theme-footer-logo-compact .footer-logo,
html.theme-footer-logo-compact .footer-logo img {
  max-width: 190px;
  max-height: 62px;
}

html.theme-footer-logo-large .footer-logo,
html.theme-footer-logo-large .footer-logo img {
  max-width: 280px;
  max-height: 92px;
}

@media (max-width: 1180px) {
  html.theme-footer-editorial .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .product-showcase,
  .arrivals-grid,
  .all-products-grid,
  .category-products,
  .related-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.footer-social,
.footer-payment-badge,
.footer-bank-transfer {
  border-color: color-mix(in srgb, var(--site-footer-text, #f5f1e8) 15%, transparent);
  background: color-mix(in srgb, var(--site-footer-text, #f5f1e8) 7%, transparent);
}

.footer-social img,
.footer-service-links img {
  filter: brightness(0) invert(1) !important;
}

.footer-service-links img {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  box-sizing: border-box;
  border: 1px solid color-mix(in srgb, var(--site-footer-text, #f5f1e8) 16%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--site-footer-text, #f5f1e8) 7%, transparent);
  padding: 6px;
  opacity: 0.9;
}

.footer-service-strip,
.footer-bottom,
.footer-nav-group {
  border-color: color-mix(in srgb, var(--site-footer-text, #f5f1e8) 14%, transparent) !important;
}

.footer-whatsapp-card {
  border-color: color-mix(in srgb, var(--site-footer-text, #f5f1e8) 16%, transparent);
  background: color-mix(in srgb, var(--site-footer-text, #f5f1e8) 7%, transparent);
  box-shadow: none;
}

.footer-whatsapp-card p,
.footer-whatsapp-kicker {
  color: color-mix(in srgb, var(--site-footer-text, #f5f1e8) 68%, transparent);
}

html.theme-footer-clean .site-footer {
  border-top: 1px solid var(--site-border, #e3ded2);
  background: var(--site-surface, #fff);
  color: var(--site-text, #11110f);
}

html.theme-footer-clean .site-footer :is(.footer-brand > p, .footer-nav-group nav a, .footer-service-links a, .footer-bank-transfer, .footer-bottom, .footer-bottom-links a) {
  color: var(--site-muted, #6f6a61);
}

html.theme-footer-clean .site-footer :is(.footer-nav-toggle, .footer-nav-group nav a:hover, .footer-service-links a:hover, .footer-bottom-links a:hover) {
  color: var(--site-text, #11110f);
}

html.theme-footer-clean .footer-logo img,
html.theme-footer-clean .footer-social img,
html.theme-footer-clean .footer-service-links img {
  filter: none !important;
}

html.theme-footer-clean .footer-service-links img {
  border-color: var(--site-border, #e3ded2);
  background: var(--site-background, #f7f5f0);
}

@media (max-width: 1020px) {
  html.theme-header-sticky .site-header {
    position: relative;
    box-shadow: none;
    backdrop-filter: none;
  }

  .header-grid {
    min-height: 0;
  }

  .brand-logo,
  html.theme-logo-large .brand-logo {
    max-width: 190px;
    max-height: 56px;
  }

  html.theme-product-detail-sticky .product-detail-info {
    position: static;
  }
}

@media (max-width: 720px) {
  :root {
    --theme-section-space: 56px;
  }

  /* Mobilde avantajlar hızlı taranan, iki satırlık bir güven şeridine dönüşür. */
  main > section.service-band {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    padding-top: 0 !important;
    margin-bottom: 24px !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 34px rgba(17, 17, 15, 0.055) !important;
  }

  .service-band .service-item {
    min-height: 74px !important;
    grid-template-columns: 36px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 11px 10px !important;
  }

  .service-band .service-item::after {
    display: none !important;
  }

  .service-band .service-item:nth-child(odd) {
    border-right: 1px solid color-mix(in srgb, var(--site-text, #11110f) 9%, transparent);
  }

  .service-band .service-item:nth-child(-n + 2) {
    border-bottom: 1px solid color-mix(in srgb, var(--site-text, #11110f) 9%, transparent);
  }

  .service-band .service-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 12px !important;
  }

  .service-band .service-icon img,
  .service-band .service-icon img[src*="assets/icons/phosphor/"] {
    width: 17px !important;
    height: 17px !important;
  }

  .service-band .service-item h2 {
    margin: 0 0 4px !important;
    font-size: 10.5px !important;
    line-height: 1.2 !important;
    letter-spacing: 0.025em !important;
  }

  .service-band .service-item p {
    display: block;
    overflow: hidden;
    margin: 0;
    color: color-mix(in srgb, var(--site-muted, #6f6a61) 88%, transparent);
    font-size: 9.5px !important;
    line-height: 1.3 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .section-heading,
  .all-products-heading,
  .blog-heading {
    margin-bottom: 20px;
    padding-bottom: 12px;
  }

  .product-plain-content {
    padding: 14px 13px 15px;
  }

  .product-showcase,
  .arrivals-grid,
  .all-products-grid,
  .category-products,
  .related-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-plain-eyebrow {
    margin-bottom: 5px;
    font-size: 9px;
  }

  .product-plain-content h3 {
    min-height: 40px;
    font-size: 14px;
  }

  .footer-main {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    padding-block: 38px 24px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-service-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-service-links {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-service-links a {
    width: 100%;
    min-height: 42px;
    border-bottom: 1px solid color-mix(in srgb, var(--site-footer-text, #f5f1e8) 12%, transparent);
    white-space: normal;
  }

  .footer-payment-methods {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --theme-motion-duration: 0ms;
  }

  .product-plain-card,
  .product-plain-image,
  .nav-live .demo-link::after,
  .footer-logo img {
    transition: none !important;
  }

  .product-plain-card:hover,
  .product-plain-card:hover .product-plain-image {
    transform: none !important;
  }
}

/* İç sayfalar: mağaza genelinde aynı editoryal ritim ve form dili. */
.breadcrumb {
  gap: 9px;
  color: var(--site-muted, #6f6a61);
  font-size: 12px;
  line-height: 1.4;
}

.breadcrumb a {
  color: var(--site-text, #11110f);
  font-weight: 650;
}

.auth-page-head,
.checkout-page-head,
.cart-page-head,
.action-page-head,
.corporate-page-head,
.blog-list-head,
.contact-page-head,
.account-page-head,
.subaccount-head,
.search-page-head {
  padding-block: clamp(24px, 3vw, 38px) 22px !important;
}

:is(.auth-page-head, .checkout-page-head, .cart-page-head, .action-page-head) > h1,
.cart-page-head h1,
.corporate-title-row h1,
.blog-list-title h1,
.contact-page-intro h1,
.account-page-title h1,
.subaccount-title-row h1,
.search-hero-card h1,
.error-page-card h1,
.blog-detail-head h1 {
  font-family: var(--theme-heading-font);
  font-size: clamp(34px, 3.35vw, 46px) !important;
  font-weight: 500 !important;
  line-height: 1.04 !important;
  letter-spacing: -0.035em !important;
}

:is(.auth-page-head, .checkout-page-head, .action-page-head) > p,
.corporate-title-row p,
.blog-list-title p,
.contact-page-intro p,
.account-page-title p:not(.account-kicker),
.subaccount-title-row p:not(.account-kicker),
.search-hero-card p,
.error-page-card p {
  max-width: 720px;
  margin-top: 12px !important;
  color: var(--site-muted, #6f6a61);
  font-size: 14px !important;
  line-height: 1.65 !important;
}

.auth-page-head + .auth-layout,
.corporate-page-head + .corporate-layout,
.cart-page-head + :is(.cart-empty-state, .cart-layout),
.checkout-page-head + .checkout-layout,
.action-page-head + :is(.action-page-layout, .cargo-track-layout),
.blog-list-head + .blog-archive-section,
.contact-page-head + .contact-page-content,
.subaccount-head + :is(.orders-dashboard, .subaccount-layout, .address-page-layout),
.account-page-head + :is(.account-dashboard, .account-layout) {
  padding-top: 0 !important;
}

.auth-page-head + .auth-layout::before,
.corporate-page-head + .corporate-layout::before,
.cart-page-head + :is(.cart-empty-state, .cart-layout)::before,
.checkout-page-head + .checkout-layout::before,
.action-page-head + :is(.action-page-layout, .cargo-track-layout)::before,
.blog-list-head + .blog-archive-section::before,
.contact-page-head + .contact-page-content::before,
.subaccount-head + :is(.orders-dashboard, .subaccount-layout, .address-page-layout)::before,
.account-page-head + :is(.account-dashboard, .account-layout)::before {
  display: none;
}

/* Üyelik işlemleri: tekrar eden dev başlık ve ağır kart görünümü sadeleştirildi. */
.auth-page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 540px);
  align-items: end;
  gap: 10px 42px;
  border-bottom: 1px solid var(--site-border, #e3ded2);
}

.auth-page-head .breadcrumb {
  grid-column: 1 / -1;
}

.auth-page-head h1 {
  margin-top: 6px;
}

.auth-page-head > p {
  margin: 0 0 3px !important;
}

.auth-layout {
  grid-template-columns: minmax(360px, 620px);
  padding-top: 30px !important;
  margin-bottom: 72px;
}

.auth-card {
  position: relative;
  overflow: hidden;
  border-color: var(--site-border, #e3ded2);
  border-radius: var(--theme-card-radius) !important;
  background: color-mix(in srgb, var(--site-surface, #fff) 96%, var(--site-background, #f7f5f0));
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--theme-card-shadow);
}

.auth-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 72px;
  height: 2px;
  background: var(--site-accent, #d8b26e);
}

.auth-card-head {
  align-items: flex-start;
  margin-bottom: 26px;
}

.auth-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-color: var(--site-border, #e3ded2);
  border-radius: var(--theme-control-radius) !important;
  background: var(--site-background, #f7f5f0);
}

.auth-icon img {
  width: 21px;
  height: 21px;
  opacity: 0.88;
  filter: none !important;
}

.dark-auth-icon {
  background: var(--site-text, #11110f);
}

.dark-auth-icon img,
.dealer-modal-card .dark-auth-icon img {
  filter: brightness(0) invert(1) !important;
}

.auth-card-head h2 {
  font-family: var(--theme-heading-font);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.form-field input,
.form-field select,
.form-field textarea {
  border-color: color-mix(in srgb, var(--site-border, #e3ded2) 86%, var(--site-text, #11110f));
  border-radius: var(--theme-control-radius) !important;
  background: var(--site-surface, #fff);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: color-mix(in srgb, var(--site-accent, #d8b26e) 76%, var(--site-text, #11110f));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--site-accent, #d8b26e) 15%, transparent);
}

.auth-submit,
.auth-apply-button,
.checkout-button,
.success-secondary-button,
.account-secondary-button,
.subaccount-filter-submit {
  border-radius: var(--theme-control-radius) !important;
}

.auth-inline-apply {
  border-radius: var(--theme-control-radius) !important;
  background: var(--site-background, #f7f5f0);
  padding: 16px;
}

/* Kurumsal, blog ve arama başlıkları kart yığını yerine sayfa şeridi olur. */
.corporate-title-row,
.blog-list-title,
.search-hero-card,
.contact-page-intro {
  border-width: 1px 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.corporate-title-row,
.blog-list-title {
  padding: clamp(20px, 2.4vw, 28px) 0 !important;
}

.corporate-layout {
  grid-template-columns: minmax(250px, 290px) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 42px);
}

.corporate-editor-card,
.blog-article,
.blog-sidebar-card,
.contact-info-panel,
.contact-form-panel,
.contact-map-panel,
.action-form-card,
.action-side-card,
.cargo-result-card,
.checkout-card,
.cart-summary-card,
.account-card,
.subaccount-filter-card,
.order-success-page .success-hero,
.order-success-page .success-summary-card {
  border-radius: var(--theme-card-radius) !important;
  box-shadow: var(--theme-card-shadow) !important;
}

.order-success-page .success-hero h1 {
  font-family: var(--theme-heading-font);
  font-size: clamp(34px, 3.8vw, 52px) !important;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.corporate-editor-card {
  background: var(--site-surface, #fff);
}

.corporate-editor-content {
  max-width: 880px;
}

.search-hero-card {
  padding: clamp(24px, 3vw, 34px) 0 !important;
}

.search-page-form {
  border-radius: var(--theme-control-radius) !important;
  box-shadow: none !important;
}

.search-page-form label > img {
  width: 18px !important;
  height: 18px !important;
  opacity: 0.88 !important;
  filter: none !important;
}

.search-page-form input::placeholder {
  color: color-mix(in srgb, var(--site-muted, #6f6a61) 72%, transparent);
}

.blog-detail-hero-card {
  border-radius: var(--theme-card-radius) !important;
  background: var(--site-surface, #fff) !important;
  box-shadow: var(--theme-card-shadow) !important;
}

.blog-detail-cover {
  border-radius: calc(var(--theme-card-radius) - 4px) !important;
}

.contact-page-intro {
  padding: clamp(24px, 3vw, 34px) 0 !important;
}

/* Tek yazı olduğunda kart boş bir sütunda kaybolmak yerine editoryal öne çıkan olarak davranır. */
.blog-archive-grid.has-single-post {
  grid-template-columns: 1fr;
}

.blog-archive-grid.has-single-post .blog-archive-card {
  display: grid;
  grid-template-columns: minmax(340px, 0.88fr) minmax(0, 1.12fr);
  min-height: 360px;
}

.blog-archive-grid.has-single-post .blog-archive-visual {
  min-height: 360px;
}

.blog-archive-grid.has-single-post .blog-archive-copy {
  min-height: 360px;
  justify-content: center;
  padding: clamp(30px, 4vw, 58px);
}

.blog-archive-grid.has-single-post .blog-archive-copy h2 {
  max-width: 760px;
  font-family: var(--theme-heading-font);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 520;
}

.blog-archive-grid.has-single-post .blog-archive-copy p {
  max-width: 720px;
  -webkit-line-clamp: 4;
}

/* Sonuç ekranları buton genişliğini içeriğe göre tutar ve odak noktasını ortalar. */
.payment-result-page {
  width: min(calc(100% - 32px), 780px) !important;
  margin-block: clamp(42px, 7vw, 92px) !important;
  border: 1px solid var(--site-border, #e3ded2);
  border-radius: var(--theme-card-radius);
  background: var(--site-surface, #fff);
  padding: clamp(26px, 4.5vw, 52px) !important;
  box-shadow: var(--theme-card-shadow);
}

.payment-result-page .breadcrumb {
  margin-bottom: 28px;
}

.payment-result-page .checkout-button {
  width: auto;
  min-width: 180px;
  display: inline-flex;
  margin-top: 24px;
  padding-inline: 24px;
}

/* Bülten bağlantısı, sitenin geri kalanından kopuk ham bir sistem ekranı gibi görünmez. */
.newsletter-result-page {
  min-height: 100vh;
  background: var(--site-background, #f7f5f0);
}

.newsletter-result-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 18px;
}

.newsletter-result-card {
  width: min(100%, 580px);
  border: 1px solid var(--site-border, #e3ded2);
  border-radius: 28px;
  background: var(--site-surface, #fff);
  padding: clamp(28px, 5vw, 54px);
  box-shadow: var(--theme-card-shadow);
}

.newsletter-result-logo {
  display: inline-flex;
  margin-bottom: 34px;
}

.newsletter-result-logo img {
  width: auto;
  max-width: 190px;
  height: 54px;
  object-fit: contain;
}

.newsletter-result-status {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  border: 1px solid rgba(180, 35, 24, 0.17);
  border-radius: 999px;
  background: rgba(180, 35, 24, 0.07);
  padding-inline: 11px;
  color: #9f281e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.newsletter-result-status.is-success {
  border-color: rgba(21, 122, 59, 0.18);
  background: rgba(21, 122, 59, 0.08);
  color: #157a3b;
}

.newsletter-result-card h1 {
  margin: 18px 0 0;
  font-family: var(--theme-heading-font);
  font-size: clamp(32px, 6vw, 46px);
  font-weight: 520;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.newsletter-result-card p {
  margin: 14px 0 0;
  color: var(--site-muted, #6f6a61);
  font-size: 15px;
  line-height: 1.7;
}

.newsletter-result-action {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  border-radius: var(--theme-control-radius);
  background: var(--site-text, #11110f);
  padding-inline: 24px;
  color: #fff;
  font-size: 13px;
  font-weight: 760;
}

.bank-info-head h2 {
  max-width: 700px;
  font-size: clamp(26px, 2.5vw, 36px) !important;
  line-height: 1.14 !important;
}

.corporate-editor-content > :first-child {
  margin-top: 0;
}

/* Boş ve sonuç sayfaları dev reklam alanı gibi değil, yönlendirici ekran gibi davranır. */
.error-page-shell {
  padding-block: clamp(34px, 5vw, 72px);
}

.error-page-card {
  border-radius: var(--theme-card-radius) !important;
  background: var(--site-surface, #fff) !important;
  padding: clamp(28px, 4vw, 52px);
  box-shadow: var(--theme-card-shadow) !important;
}

.error-page-card h1 {
  max-width: 720px;
}

.error-page-card p {
  font-size: 15px !important;
}

@media (max-width: 900px) {
  .auth-page-head {
    grid-template-columns: 1fr;
  }

  .auth-page-head > p {
    margin-top: 4px !important;
  }

  .corporate-layout {
    grid-template-columns: 1fr;
  }

  .corporate-sidebar > .corporate-sidebar-card {
    display: grid !important;
    gap: 10px !important;
    overflow: hidden !important;
    border-radius: 20px !important;
    padding: 10px !important;
    box-shadow: 0 14px 34px rgba(17, 17, 15, 0.055) !important;
  }

  .corporate-sidebar > .corporate-sidebar-card .corporate-sidebar-group {
    min-width: 0;
    gap: 7px !important;
    padding-inline: 0 !important;
  }

  .corporate-sidebar > .corporate-sidebar-card .corporate-sidebar-group + .corporate-sidebar-group {
    padding-top: 10px !important;
  }

  .corporate-sidebar > .corporate-sidebar-card .corporate-sidebar-group strong {
    padding-inline: 8px !important;
    font-size: 9px;
  }

  .corporate-sidebar > .corporate-sidebar-card .corporate-sidebar-group nav {
    display: flex !important;
    gap: 7px !important;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .corporate-sidebar > .corporate-sidebar-card .corporate-sidebar-group nav::-webkit-scrollbar {
    display: none;
  }

  .corporate-sidebar > .corporate-sidebar-card .corporate-sidebar-group a {
    min-height: 38px !important;
    flex: 0 0 auto;
    border: 1px solid var(--site-border, #e3ded2) !important;
    border-radius: 12px !important;
    padding: 0 14px !important;
    font-size: 11px !important;
    white-space: nowrap;
  }

  .corporate-sidebar > .corporate-sidebar-card .corporate-sidebar-group a::before {
    display: none;
  }
}

@media (max-width: 720px) {
  .auth-page-head,
  .checkout-page-head,
  .cart-page-head,
  .action-page-head,
  .corporate-page-head,
  .blog-list-head,
  .contact-page-head,
  .account-page-head,
  .subaccount-head,
  .search-page-head {
    padding-block: 20px 18px !important;
  }

  :is(.auth-page-head, .checkout-page-head, .cart-page-head, .action-page-head) > h1,
  .cart-page-head h1,
  .corporate-title-row h1,
  .blog-list-title h1,
  .contact-page-intro h1,
  .account-page-title h1,
  .subaccount-title-row h1,
  .search-hero-card h1,
  .error-page-card h1,
  .blog-detail-head h1,
  .order-success-page .success-hero h1 {
    font-size: clamp(30px, 9vw, 38px) !important;
  }

  .auth-layout {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 20px !important;
    margin-bottom: 56px;
  }

  .blog-archive-grid.has-single-post .blog-archive-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .blog-archive-grid.has-single-post .blog-archive-visual {
    min-height: 230px;
  }

  .blog-archive-grid.has-single-post .blog-archive-copy {
    min-height: 0;
    padding: 24px 22px;
  }

  .payment-result-page {
    margin-block: 24px 54px !important;
  }

  .payment-result-page .checkout-button,
  .newsletter-result-action {
    width: 100%;
  }

  .auth-card {
    padding: 22px 18px;
  }

  .auth-card-head h2 {
    font-size: 25px;
  }

  .auth-inline-apply {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-apply-button {
    width: 100%;
  }

  .corporate-title-row,
  .blog-list-title,
  .search-hero-card,
  .contact-page-intro {
    padding-block: 20px !important;
  }

  .error-page-card {
    padding: 26px 20px;
  }
}
