/* LUPON shared typography + navigation sizing.
   Loaded last on every HTML page so all page families use the same scale. */
:root {
  --lupon-font-body: 16px;
  --lupon-font-reading: 15px;
  --lupon-font-ui: 13px;
  --lupon-font-caption: 13px;
  --lupon-font-meta: 12px;
}

html { font-size: 16px; }
body {
  font-size: var(--lupon-font-body) !important;
  line-height: 1.65;
  font-family: 'DM Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Reusable, predictable heading scale across the homepage, listings and customer pages. */
h1 {
  font-size: clamp(36px, 4.2vw, 54px) !important;
  line-height: 1.12 !important;
}
h2 {
  font-size: clamp(29px, 3.1vw, 40px) !important;
  line-height: 1.18 !important;
}
h3 {
  font-size: clamp(19px, 1.8vw, 23px) !important;
  line-height: 1.3 !important;
}
h4 { font-size: 17px !important; line-height: 1.35 !important; }

/* Comfortable reading sizes; concise metadata remains smaller but not tiny. */
p { font-size: var(--lupon-font-reading); }
.hero-copy,
.hero-copy p,
.customer-hero p,
.listing-hero p,
.listing-heading p,
.favorites-page-hero p,
.wishlist-hero-copy > p,
.catalog-hero-copy p,
.catalog-page-heading p,
.customer-section-head p,
.section-head > p,
.story-copy > p,
.contact-intro > p,
.listing-card-body > p,
.listing-detail-content > p,
.catalog-product-body p,
.catalog-menu-card p,
.customer-card p,
.customer-row p,
.promo-card p,
.order-card p,
.ticket-card p,
.return-card p,
.reco-card p,
.faq-list details p,
.result-message,
.muted-copy {
  font-size: 14px !important;
  line-height: 1.7;
}

small,
.topbar,
.eyebrow,
.brand-sub,
.product-category,
.product-tag,
.product-badge,
.product-bottom,
.catalog-meta,
.status-badge,
.customer-note,
.customer-status,
.timeline li small,
.timeline li time,
.favorites-breadcrumb,
.cart-line-category,
.cart-line-variant,
.cart-line-stock,
.cart-secure-note,
.cart-summary-note,
.result-footnote {
  font-size: var(--lupon-font-meta);
}

label,
.field,
.customer-form .field,
.customer-form label,
.cart-form-grid .field,
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  font-size: 14px;
}
button,
.button,
.nav-cta,
.filter-btn,
.listing-category-tabs button,
.wishlist-category-tabs button,
.cart-payment-card,
.cart-choice-card,
.result-actions a,
.result-actions button {
  font-size: 14px;
  line-height: 1.25;
}

/* The global primary navigation is identical on every page. */
.nav-links,
.customer-nav-links {
  gap: clamp(6px, .72vw, 10px) !important;
  font-size: var(--lupon-font-ui) !important;
}
.nav-links a,
.customer-nav-links a {
  font-size: var(--lupon-font-ui) !important;
  line-height: 1.35;
}

/* “Siparişlerim” is a consistent pill-button in the navigation on every page. */
.orders-nav-button,
.nav-links a[href$="orders.html"],
.customer-nav-links a[href$="orders.html"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 36px;
  padding: 8px 12px !important;
  border: 1px solid rgba(70, 83, 63, .28);
  border-radius: 999px;
  background: #e9ece4;
  color: var(--olive-dark, #46533f) !important;
  font-size: 13px !important;
  font-weight: 700;
  line-height: 1.2 !important;
  white-space: nowrap;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.orders-nav-button:hover,
.nav-links a[href$="orders.html"]:hover,
.customer-nav-links a[href$="orders.html"]:hover {
  background: var(--olive-dark, #46533f);
  color: #fff !important;
  border-color: var(--olive-dark, #46533f);
}
.nav-links a[href$="orders.html"][aria-current="page"],
.customer-nav-links a[href$="orders.html"][aria-current="page"] {
  background: var(--olive-dark, #46533f);
  color: #fff !important;
  border-color: var(--olive-dark, #46533f);
}

/* Keep utility text readable and secondary buttons consistently sized. */
.text-link,
.detail-btn,
.footer-links a,
.order-actions a,
.reco-card-actions a,
.catalog-menu-card a {
  font-size: 13px !important;
}
.footer-inner { font-size: 13px; line-height: 1.5; }
.nav-count { font-size: 11px !important; }

@media (min-width: 1001px) and (max-width: 1150px) {
  .customer-nav-links,
  .nav-links {
    gap: 5px !important;
    font-size: 12px !important;
  }
  .customer-nav-links a,
  .nav-links a { font-size: 12px !important; }
  .customer-nav .brand { min-width: 132px !important; }
}

@media (max-width: 1000px) {
  .customer-nav-links,
  .nav-links {
    font-size: 14px !important;
  }
  .customer-nav-links a,
  .nav-links a { font-size: 14px !important; }
  .nav-links a[href$="orders.html"],
  .customer-nav-links a[href$="orders.html"] {
    width: 100%;
    min-height: 40px;
    justify-content: flex-start;
    padding: 9px 13px !important;
    margin: 3px 0;
  }
}

@media (max-width: 650px) {
  :root {
    --lupon-font-body: 16px;
    --lupon-font-reading: 14px;
    --lupon-font-ui: 14px;
    --lupon-font-caption: 13px;
    --lupon-font-meta: 12px;
  }
  h1 { font-size: clamp(32px, 9vw, 42px) !important; }
  h2 { font-size: clamp(26px, 7vw, 34px) !important; }
  h3 { font-size: 19px !important; }
  .footer-inner { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-links a[href$="orders.html"],
  .orders-nav-button,
  .customer-nav-links a[href$="orders.html"] { transition: none; }
}

@media (max-width: 1000px) { .result-header .orders-nav-button { width: auto; min-height: 36px; padding: 8px 12px !important; } }


/* LUPON global type scale — intentionally identical across all 17 HTML pages. */
:root {
  --lupon-size-body: 16px;
  --lupon-size-reading: 15px;
  --lupon-size-ui: 14px;
  --lupon-size-nav: 13px;
  --lupon-size-meta: 12px;
  --lupon-size-caption: 12px;
  --lupon-page-enter-duration: 280ms;
  --lupon-page-exit-duration: 155ms;
  --lupon-page-ease: cubic-bezier(.22,.68,.28,1);
}
html { font-size: 16px; }
body { font-size: var(--lupon-size-body) !important; line-height: 1.6 !important; }
body p,
body li,
body .muted-copy,
body .empty-state,
body .customer-note,
body .customer-status,
body .result-message { font-size: var(--lupon-size-reading) !important; line-height: 1.65; }
body h1 { font-size: clamp(32px, 4vw, 52px) !important; line-height: 1.12 !important; }
body h2 { font-size: clamp(26px, 3vw, 38px) !important; line-height: 1.18 !important; }
body h3 { font-size: clamp(19px, 1.8vw, 23px) !important; line-height: 1.3 !important; }
body h4 { font-size: 17px !important; line-height: 1.35 !important; }
body button,
body .button,
body input,
body select,
body textarea,
body label,
body .filter-btn,
body .cart-payment-card,
body .cart-choice-card { font-size: var(--lupon-size-ui) !important; }
body small,
body .eyebrow,
body .topbar,
body .brand-sub,
body .product-category,
body .product-tag,
body .product-badge,
body .status-badge,
body .customer-status,
body .cart-line-category,
body .cart-line-variant,
body .cart-line-stock { font-size: var(--lupon-size-meta) !important; }
body .nav-links,
body .customer-nav-links,
body .nav-links a,
body .customer-nav-links a { font-size: var(--lupon-size-nav) !important; }

/* Siparişlerim has exactly the same compact pill dimensions in every header. */
body header .nav-links a[href$="orders.html"],
body header .customer-nav-links a[href$="orders.html"],
body .result-header .orders-nav-button {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 36px !important;
  padding: 8px 12px !important;
  margin: 0 !important;
  border: 1px solid rgba(70,83,63,.28) !important;
  border-radius: 999px !important;
  background: #e9ece4;
  color: var(--olive-dark, #46533f) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease !important;
}
body header .nav-links a[href$="orders.html"]:hover,
body header .customer-nav-links a[href$="orders.html"]:hover,
body .result-header .orders-nav-button:hover,
body header .nav-links a[href$="orders.html"][aria-current="page"] {
  background: var(--olive-dark, #46533f) !important;
  color: #fff !important;
  border-color: var(--olive-dark, #46533f) !important;
}
body header .nav-links a[href$="orders.html"]:active,
body header .customer-nav-links a[href$="orders.html"]:active,
body .result-header .orders-nav-button:active { transform: scale(.98); }

/* Page transition state is set synchronously in <head>, before the first paint.
   This prevents the brief unstyled/jumping frame caused by a deferred script. */
html.lupon-motion-enabled body main {
  animation: lupon-page-enter var(--lupon-page-enter-duration) var(--lupon-page-ease) both;
  will-change: opacity, transform;
}
html.lupon-page-exit body main {
  animation: lupon-page-exit var(--lupon-page-exit-duration) ease both;
  pointer-events: none;
}
@keyframes lupon-page-enter {
  from { opacity: 0; transform: translate3d(0, 8px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes lupon-page-exit {
  from { opacity: 1; transform: translate3d(0, 0, 0); }
  to { opacity: 0; transform: translate3d(0, -4px, 0); }
}

@media (max-width: 650px) {
  :root {
    --lupon-size-body: 16px;
    --lupon-size-reading: 14px;
    --lupon-size-ui: 14px;
    --lupon-size-nav: 14px;
    --lupon-size-meta: 12px;
  }
  body h1 { font-size: clamp(30px, 8.5vw, 40px) !important; }
  body h2 { font-size: clamp(25px, 7vw, 32px) !important; }
  body h3 { font-size: 19px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html.lupon-motion-enabled body main,
  html.lupon-page-exit body main { animation: none !important; }
  body header .nav-links a[href$="orders.html"], body header .customer-nav-links a[href$="orders.html"], body .result-header .orders-nav-button { transition: none !important; }
}

@media (max-width: 1000px) {
  body header .nav-links a[href$="orders.html"],
  body header .customer-nav-links a[href$="orders.html"] { width: auto !important; min-height: 36px !important; padding: 8px 12px !important; margin: 0 !important; justify-content: center !important; }
}


/* LUPON loader: brand-first, full-screen cover shown for 300 ms on every HTML page. */
html.lupon-loading,
html.lupon-loading body {
  overflow: hidden !important;
}
.lupon-loading-screen {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px;
  box-sizing: border-box;
  background: radial-gradient(circle at 50% 43%, #fbfaf6 0%, #f4f2eb 62%, #ebe9df 100%);
  color: #34382f;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
html.lupon-loading .lupon-loading-screen {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lupon-loader-lockup {
  display: inline-flex;
  align-items: center;
  gap: 15px;
}
.lupon-loader-mark-wrap {
  position: relative;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
}
.lupon-loader-mark-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-top-color: rgba(70, 83, 63, .82);
  border-right-color: rgba(70, 83, 63, .25);
  border-radius: 50%;
  animation: lupon-loader-spin 950ms linear infinite;
}
.lupon-loader-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid #66745d;
  border-radius: 3px;
  color: #46533f;
  font: 30px/1 "Playfair Display", Georgia, serif;
  transform: rotate(-5deg);
}
.lupon-loader-wordmark {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
}
.lupon-loader-wordmark strong {
  font: 700 22px/1.05 "DM Sans", Arial, sans-serif;
  letter-spacing: .22em;
}
.lupon-loader-wordmark small {
  color: #777a70;
  font: 500 9px/1.2 "DM Sans", Arial, sans-serif;
  letter-spacing: .25em;
}
.lupon-loader-track {
  display: block;
  width: 172px;
  height: 2px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(70, 83, 63, .13);
}
.lupon-loader-track > span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: #59684f;
  animation: lupon-loader-progress 300ms linear both;
}
.lupon-loader-caption {
  color: #777a70;
  font: 600 9px/1.2 "DM Sans", Arial, sans-serif;
  letter-spacing: .22em;
}
@keyframes lupon-loader-spin { to { transform: rotate(360deg); } }
@keyframes lupon-loader-progress { to { transform: scaleX(1); } }

/* Matching animated outline for every "Siparişlerim" navigation pill. */
body header .nav-links a[href$="orders.html"],
body header .customer-nav-links a[href$="orders.html"],
body .result-header .orders-nav-button {
  position: relative !important;
  isolation: isolate;
  overflow: visible !important;
}
/* Aynı yayılan yeşil halka efekti üst menüdeki tüm seçeneklerde kullanılır. */
body header .nav-links a,
body header .customer-nav-links a {
  position: relative;
  isolation: isolate;
}
body header .nav-links a::after,
body header .customer-nav-links a::after,
body .result-header .orders-nav-button::after {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: -1;
  border: 1px solid rgba(70, 83, 63, .48);
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transform: scale(.94);
}
body header .nav-links a:hover::after,
body header .nav-links a:focus-visible::after,
body header .customer-nav-links a:hover::after,
body header .customer-nav-links a:focus-visible::after,
body .result-header .orders-nav-button:hover::after,
body .result-header .orders-nav-button:focus-visible::after {
  animation: lupon-menu-ring 1050ms cubic-bezier(.18,.62,.28,1) infinite;
}
@keyframes lupon-menu-ring {
  0% { opacity: .78; transform: scale(.94); box-shadow: 0 0 0 0 rgba(70, 83, 63, .13); }
  100% { opacity: 0; transform: scale(1.25); box-shadow: 0 0 0 7px rgba(70, 83, 63, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .lupon-loader-mark-wrap::after { animation: none !important; }
  .lupon-loader-track > span { animation: none !important; transform: scaleX(1); }
  body header .nav-links a::after,
  body header .customer-nav-links a::after,
  body .result-header .orders-nav-button::after { animation: none !important; }
}
@media (max-width: 420px) {
  .lupon-loader-lockup { gap: 12px; }
  .lupon-loader-mark-wrap { width: 58px; height: 58px; }
  .lupon-loader-mark { width: 42px; height: 42px; font-size: 27px; }
  .lupon-loader-wordmark strong { font-size: 20px; }
}

/* Persistent soft olive aura, matching the resting look of the Siparişlerim pill,
   is shared by every top-navigation option as well as its expanding hover ring. */
body header .nav-links a,
body header .customer-nav-links a,
body .result-header .orders-nav-button {
  border-radius: 999px !important;
  background: rgba(233, 236, 228, .72) !important;
  box-shadow: 0 0 0 1px rgba(70, 83, 63, .16),
              0 2px 12px rgba(70, 83, 63, .12) !important;
  transition: background-color 180ms ease, box-shadow 220ms ease,
              color 180ms ease, transform 180ms ease !important;
}
body header .nav-links a:hover,
body header .nav-links a:focus-visible,
body header .customer-nav-links a:hover,
body header .customer-nav-links a:focus-visible,
body .result-header .orders-nav-button:hover,
body .result-header .orders-nav-button:focus-visible {
  background: rgba(220, 226, 213, .98) !important;
  box-shadow: 0 0 0 1px rgba(70, 83, 63, .34),
              0 0 15px 3px rgba(92, 116, 77, .24),
              0 4px 14px rgba(70, 83, 63, .16) !important;
}
@media (prefers-reduced-motion: reduce) {
  body header .nav-links a,
  body header .customer-nav-links a,
  body .result-header .orders-nav-button { transition: none !important; }
}
