/* Type scale — every UI text size in this file uses one of these. Display headlines use clamp(). */
:root {
  --fs-xs: calc(10px * var(--u, 1));     /* flags, chips, tiny meta */
  --fs-label: calc(11px * var(--u, 1));  /* uppercase labels, menu, breadcrumbs, footer links */
  --fs-body: calc(13px * var(--u, 1));   /* body copy, product names, prices, inputs, buttons */
  --fs-title: calc(15px * var(--u, 1));  /* product title, sub-headings */
  --fs-heading: calc(18px * var(--u, 1)); /* form page headings (Giriş Yap / Üye Ol), cart drawer title */
  --fs-page: calc(26px * var(--u, 1));   /* page titles (order tracking, results) */
}

/* Esma Kozmetik — monochrome editorial storefront theme.
   Loaded last; owns header, side menu, search, home banners, listing, product page and footer. */

:root {
  --nx-black: #000;
  --nx-white: #fff;
  --nx-ink-2: #3d3d3d;
  --nx-muted: #8a8a8a;
  --nx-line: #e5e5e5;
  --nx-tile: #f2f2f2;
  --nx-soft: #f4f4f4;
  --nx-wide: 'Archivo', 'Inter', Arial, sans-serif;
  --nx-text: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --nx-announce-h: calc(32px * var(--u, 1));
  --nx-bar-h: calc(64px * var(--u, 1));
  --nx-gutter: calc(30px * var(--u, 1));
  --nx-ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 768px) {
  :root { --nx-bar-h: calc(54px * var(--u, 1)); --nx-gutter: calc(16px * var(--u, 1)); --nx-announce-h: calc(28px * var(--u, 1)); }
}

body {
  background: var(--nx-white);
  color: var(--nx-black);
  font-family: var(--nx-text);
  font-size: var(--fs-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: inherit; letter-spacing: 0; }
a { color: inherit; }

.nx-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.nx-label {
  font-family: var(--nx-text);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0;
}
.nx-muted { color: var(--nx-muted); }
.nx-underline { text-decoration: underline; text-underline-offset: calc(3px * var(--u, 1)); }
.nx-show-sm { display: none; }
@media (max-width: 768px) {
  .nx-hide-sm { display: none !important; }
  .nx-show-sm { display: inline-block; }
}

/* Buttons */
.nx-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: calc(44px * var(--u, 1)); padding: 0 calc(22px * var(--u, 1)); border: 1px solid var(--nx-black);
  background: var(--nx-black); color: var(--nx-white);
  font: 500 var(--fs-label)/1 var(--nx-text); letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border-radius: 0;
  transition: background .2s, color .2s, border-color .2s;
}
.nx-btn:hover { background: var(--nx-white); color: var(--nx-black); }
.nx-btn-ghost { background: var(--nx-white); color: var(--nx-black); }
.nx-btn-ghost:hover { background: var(--nx-black); color: var(--nx-white); }
.nx-btn-soft { background: var(--nx-soft); border-color: var(--nx-soft); color: var(--nx-black); }
.nx-btn-soft:hover { background: var(--nx-black); border-color: var(--nx-black); color: var(--nx-white); }
.nx-btn[disabled], .nx-btn.is-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.nx-text-btn, .nx-link-btn {
  background: none; border: 0; padding: 0; cursor: pointer; color: inherit;
  font: 400 var(--fs-body)/1 var(--nx-text); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  display: inline-flex; align-items: center; gap: 2px;
}
.nx-link-btn { font-size: var(--fs-label); }
.nx-text-btn:hover, .nx-link-btn:hover { opacity: .6; }
.nx-icon-btn {
  width: calc(40px * var(--u, 1)); height: calc(40px * var(--u, 1)); margin-left: -10px; display: inline-grid; place-items: center;
  background: none; border: 0; padding: 0; cursor: pointer; color: inherit;
}
.nx-chip {
  display: inline-block; margin-top: calc(8px * var(--u, 1)); padding: calc(6px * var(--u, 1)) calc(8px * var(--u, 1)); background: var(--nx-soft);
  font: 600 var(--fs-xs)/1 var(--nx-text); letter-spacing: .04em; text-transform: uppercase;
}

/* ---------- Header ---------- */
.nx-header {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  background: var(--nx-white); color: var(--nx-black);
  transition: background .3s var(--nx-ease), color .3s var(--nx-ease);
}
.nx-header-spacer { height: calc(var(--nx-announce-h) + var(--nx-bar-h)); }
.nx-header.is-overlay:not(.is-solid) { background: transparent; color: var(--nx-white); }
.nx-header.is-overlay:not(.is-solid) .nx-bar { border-bottom-color: transparent; }

.nx-announce {
  height: var(--nx-announce-h); overflow: hidden; background: var(--nx-black); color: var(--nx-white);
  display: flex; align-items: center;
}
.nx-announce-track { display: flex; width: max-content; animation: nx-marquee var(--nx-marquee-speed, 40s) linear infinite; }
.nx-announce:hover .nx-announce-track { animation-play-state: paused; }
.nx-announce-group { display: flex; flex-shrink: 0; }
.nx-announce-item {
  padding: 0 calc(40px * var(--u, 1)); white-space: nowrap; text-decoration: none;
  font: 500 var(--fs-label)/1 var(--nx-text); letter-spacing: .08em; text-transform: uppercase;
}
@keyframes nx-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .nx-announce-track { animation: none; } }

.nx-bar {
  height: var(--nx-bar-h); padding: 0 var(--nx-gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  border-bottom: 1px solid transparent;
}
.nx-header.is-solid .nx-bar, .nx-header:not(.is-overlay) .nx-bar { border-bottom-color: var(--nx-line); }
.nx-bar-left { display: flex; align-items: center; }
.nx-bar-right { display: flex; align-items: center; justify-content: flex-end; gap: calc(32px * var(--u, 1)); }
.nx-cart-count { letter-spacing: 0; }
@media (max-width: 768px) {
  .nx-bar-right { gap: calc(14px * var(--u, 1)); }
  .nx-cart-count { font-size: var(--fs-xs); }
}

.nx-logo { display: inline-flex; align-items: baseline; gap: calc(8px * var(--u, 1)); text-decoration: none; color: inherit; line-height: 1; }
.nx-logo-main {
  font-family: var(--nx-wide); font-stretch: 125%; font-weight: 900; font-size: calc(30px * var(--u, 1)); letter-spacing: -.01em;
}
.nx-logo-sub {
  font-family: var(--nx-wide); font-stretch: 125%; font-weight: 600; font-size: var(--fs-label); letter-spacing: .18em;
}
@media (max-width: 768px) {
  .nx-logo { flex-direction: column; align-items: center; gap: calc(3px * var(--u, 1)); }
  .nx-logo-main { font-size: calc(22px * var(--u, 1)); }
  .nx-logo-sub { font-size: calc(8px * var(--u, 1)); letter-spacing: .22em; }
}

/* ---------- Sheets (side menu, search, filter) ---------- */
.nx-sheet {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0, 0, 0, .35);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--nx-ease), visibility .3s;
  color: var(--nx-black);
  display: block !important; /* neutralise legacy overlay rules */
}
.nx-sheet.active { opacity: 1; visibility: visible; }
.nx-sheet-panel {
  position: absolute; top: 0; bottom: 0; background: var(--nx-white);
  width: min(calc(400px * var(--u, 1)), 100vw); display: flex; flex-direction: column; overflow-y: auto;
  transition: transform .4s var(--nx-ease);
}
.nx-sheet-left .nx-sheet-panel { left: 0; transform: translateX(-100%); }
.nx-sheet-right .nx-sheet-panel { right: 0; transform: translateX(100%); width: min(calc(600px * var(--u, 1)), 100vw); }
.nx-sheet.active .nx-sheet-panel { transform: none; }

/* Side menu */
.nx-menu { padding: 0 var(--nx-gutter) calc(24px * var(--u, 1)); }
.nx-menu-head {
  display: flex; align-items: center; justify-content: space-between;
  height: calc(var(--nx-announce-h) + var(--nx-bar-h)); border-bottom: 1px solid var(--nx-line); margin-bottom: calc(18px * var(--u, 1));
}
.nx-menu-head .nx-icon-btn { margin: 0 -10px 0 0; }
.nx-menu-tab { font: 500 var(--fs-body)/1 var(--nx-text); letter-spacing: .08em; padding-bottom: calc(6px * var(--u, 1)); border-bottom: 1px solid var(--nx-black); }
.nx-menu-list, .nx-menu-sub, .nx-search-list, .nx-search-popular ul, .nx-footer ul { list-style: none; margin: 0; padding: 0; }
.nx-menu-link {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: calc(11px * var(--u, 1)) 0; background: none; border: 0; cursor: pointer; color: inherit; text-align: left;
  font: 400 var(--fs-body)/1.2 var(--nx-text); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
}
.nx-menu-link:hover, .nx-menu-sub a:hover { opacity: .55; }
.nx-menu-badge { font-size: var(--fs-xs); margin-left: calc(3px * var(--u, 1)); letter-spacing: .04em; }
.nx-menu-plus { position: relative; width: calc(10px * var(--u, 1)); height: calc(10px * var(--u, 1)); }
.nx-menu-plus::before, .nx-menu-plus::after { content: ""; position: absolute; background: currentColor; left: 0; right: 0; top: 50%; height: 1px; }
.nx-menu-plus::after { transform: rotate(90deg); transition: transform .2s; }
.nx-menu-toggle[aria-expanded="true"] .nx-menu-plus::after { transform: rotate(0); }
.nx-menu-sub { padding: 2px 0 calc(10px * var(--u, 1)) calc(14px * var(--u, 1)); }
.nx-menu-sub a { display: block; padding: calc(8px * var(--u, 1)) 0; text-decoration: none; font-size: var(--fs-body); letter-spacing: .04em; }
.nx-menu-foot { margin-top: auto; padding-top: calc(18px * var(--u, 1)); border-top: 1px solid var(--nx-line); display: grid; gap: calc(14px * var(--u, 1)); }
.nx-menu-foot a { text-decoration: none; font-size: var(--fs-body); letter-spacing: .08em; text-transform: uppercase; }

/* Search */
.navbar-search-overlay.nx-sheet { height: auto; }
.nx-sheet-right .nx-sheet-panel { padding: 0 var(--nx-gutter) calc(30px * var(--u, 1)); }
.nx-search-form {
  display: flex; align-items: center; gap: calc(18px * var(--u, 1)); height: calc(var(--nx-announce-h) + var(--nx-bar-h));
  border-bottom: 1px solid var(--nx-line); position: sticky; top: 0; background: var(--nx-white); z-index: 1;
}
.nx-search-form input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: none; padding: 0;
  font: 400 var(--fs-body)/1 var(--nx-text); letter-spacing: .06em; text-transform: uppercase; color: var(--nx-black);
}
.nx-search-form input::placeholder { color: var(--nx-muted); }
.nx-search-status { margin: calc(18px * var(--u, 1)) 0 calc(10px * var(--u, 1)); font-size: var(--fs-label); letter-spacing: .06em; text-transform: uppercase; color: var(--nx-muted); }
.search-result-card { display: flex; gap: calc(14px * var(--u, 1)); align-items: center; padding: calc(8px * var(--u, 1)) 0; text-decoration: none; }
.search-result-card img { width: calc(54px * var(--u, 1)); height: calc(72px * var(--u, 1)); object-fit: cover; background: var(--nx-tile); }
.search-result-info { display: grid; gap: calc(6px * var(--u, 1)); }
.search-result-title { font-size: var(--fs-body); text-transform: uppercase; letter-spacing: .04em; }
.search-result-price { font-size: var(--fs-body); }
.nx-search-all { display: inline-block; margin-top: calc(14px * var(--u, 1)); font-size: var(--fs-label); letter-spacing: .08em; text-decoration: underline; text-underline-offset: calc(3px * var(--u, 1)); }
.nx-search-popular { margin-top: calc(26px * var(--u, 1)); }
.nx-search-popular .nx-label { margin-bottom: calc(12px * var(--u, 1)); }
.nx-search-popular a { display: inline-block; padding: calc(6px * var(--u, 1)) 0; color: var(--nx-muted); text-decoration: none; font-size: var(--fs-body); text-transform: uppercase; letter-spacing: .04em; }
.nx-search-popular a:hover { color: var(--nx-black); }

/* ---------- Home ---------- */
.nx-main { min-height: 50vh; }
.nx-banner { position: relative; display: block; overflow: hidden; text-decoration: none; color: var(--nx-white); }
.nx-banner-type {
  min-height: 100svh; padding: calc(var(--nx-announce-h) + var(--nx-bar-h) + calc(40px * var(--u, 1))) var(--nx-gutter) calc(60px * var(--u, 1));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(22px * var(--u, 1)); text-align: center;
  background: var(--nx-bg, #000); color: var(--nx-fg, #fff);
}
.nx-type-kicker { font-family: var(--nx-wide); font-stretch: 125%; font-weight: 800; font-size: clamp(calc(14px * var(--u, 1)), 2vw, calc(26px * var(--u, 1))); letter-spacing: .01em; }
.nx-type-title {
  font-family: var(--nx-wide); font-stretch: 125%; font-weight: 900; line-height: .95;
  font-size: clamp(calc(42px * var(--u, 1)), 9vw, calc(132px * var(--u, 1))); letter-spacing: -.01em; max-width: 14ch;
}
.nx-type-note { margin-top: calc(28px * var(--u, 1)); font: 500 var(--fs-body)/1 var(--nx-text); letter-spacing: .04em; text-transform: uppercase; }

.nx-banner-image { height: 100svh; min-height: calc(520px * var(--u, 1)); background: var(--nx-tile); }
.nx-banner-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--nx-ease); }
.nx-banner-image:hover img { transform: scale(1.02); }
.nx-banner-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,0) 30%, rgba(0,0,0,.28)); }
.nx-banner-copy {
  position: absolute; z-index: 1; left: var(--nx-gutter); right: var(--nx-gutter); bottom: 9vh;
  display: flex; flex-direction: column; gap: calc(12px * var(--u, 1));
}
.nx-align-right .nx-banner-copy { align-items: flex-end; text-align: right; }
.nx-align-center .nx-banner-copy { align-items: center; text-align: center; }
.nx-banner-title {
  font-family: var(--nx-wide); font-stretch: 125%; font-weight: 900; line-height: .92;
  font-size: clamp(calc(40px * var(--u, 1)), 8vw, calc(120px * var(--u, 1))); letter-spacing: -.01em;
}
.nx-banner-sub { max-width: calc(420px * var(--u, 1)); font: 500 var(--fs-body)/1.4 var(--nx-text); letter-spacing: .02em; }
.nx-align-right .nx-banner-sub, .nx-align-center .nx-banner-sub { font-family: var(--nx-wide); font-stretch: 125%; font-weight: 800; font-size: clamp(calc(14px * var(--u, 1)), 1.8vw, calc(26px * var(--u, 1))); max-width: none; }

.nx-split { display: grid; grid-template-columns: 1fr 1fr; }
.nx-split .nx-banner-image { height: 85svh; min-height: calc(460px * var(--u, 1)); }
.nx-split .nx-banner-title { font-size: clamp(calc(30px * var(--u, 1)), 5vw, calc(72px * var(--u, 1))); }
@media (max-width: 768px) {
  .nx-banner-image { height: 78svh; min-height: calc(420px * var(--u, 1)); }
  .nx-split { grid-template-columns: 1fr; }
  .nx-split .nx-banner-image { height: 70svh; }
  .nx-banner-copy { bottom: 7vh; }
}

.nx-home-products, .nx-related { padding: calc(56px * var(--u, 1)) 0 calc(72px * var(--u, 1)); }
.nx-section-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 var(--nx-gutter) calc(18px * var(--u, 1)); }
.nx-section-head a { text-decoration: underline; text-underline-offset: calc(3px * var(--u, 1)); }

/* ---------- Product grid & card ---------- */
.nx-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(40px * var(--u, 1)) 2px; padding: 0 var(--nx-gutter); }
.nx-listing[data-view="2"] .nx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1024px) { .nx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px) {
  .nx-grid, .nx-listing[data-view="2"] .nx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(28px * var(--u, 1)) 2px; padding: 0; }
}

.nx-card { position: relative; min-width: 0; }
.nx-card-media { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--nx-tile); }
.nx-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--nx-ease); }
.nx-card-img-hover { opacity: 0; }
@media (hover: hover) {
  .nx-card:hover .nx-card-img-hover { opacity: 1; }
}
.nx-card.is-sold-out .nx-card-img { opacity: .55; }
.nx-card-flag {
  position: absolute; left: calc(10px * var(--u, 1)); top: calc(10px * var(--u, 1)); padding: calc(5px * var(--u, 1)) calc(7px * var(--u, 1)); background: var(--nx-white);
  font: 600 var(--fs-xs)/1 var(--nx-text); letter-spacing: .08em;
}
.nx-card-quick { display: none; }
@media (hover: hover) {
  /* Sits on the bottom edge of the image: absolute with auto top keeps its static position
     (just below the media box), then it is lifted by its own height plus a 10px inset. */
  .nx-card-quick {
    display: block; position: absolute; left: calc(10px * var(--u, 1)); right: calc(10px * var(--u, 1));
    transform: translateY(-100%);
    margin-top: -10px;
    height: calc(38px * var(--u, 1)); border: 0; cursor: pointer;
    background: rgba(255,255,255,.92); color: var(--nx-black);
    font: 500 var(--fs-xs)/calc(38px * var(--u, 1)) var(--nx-text); letter-spacing: .1em;
    opacity: 0; transition: opacity .25s, background .2s, color .2s;
  }
  .nx-card:hover .nx-card-quick, .nx-card-quick:focus-visible { opacity: 1; }
  .nx-card-quick:hover { background: var(--nx-black); color: var(--nx-white); }
}
.nx-card-info { padding: calc(12px * var(--u, 1)) 0 0; }
@media (max-width: 768px) { .nx-card-info { padding: calc(10px * var(--u, 1)) calc(10px * var(--u, 1)) 0; } }
.nx-card-title { margin: 0 0 calc(6px * var(--u, 1)); font: 400 var(--fs-body)/1.35 var(--nx-text); letter-spacing: .01em; }
.nx-card-title a { text-decoration: none; }
.nx-card-price { margin: 0; font: 400 var(--fs-body)/1 var(--nx-text); }

/* ---------- Listing ---------- */
.nx-listing { padding-bottom: calc(80px * var(--u, 1)); }
.nx-listing-bar {
  display: flex; align-items: center; justify-content: space-between; gap: calc(16px * var(--u, 1));
  padding: calc(22px * var(--u, 1)) var(--nx-gutter) calc(18px * var(--u, 1)); position: sticky; top: calc(var(--nx-announce-h) + var(--nx-bar-h)); z-index: 20;
  background: var(--nx-white);
}
.nx-listing-title { display: flex; align-items: baseline; gap: calc(6px * var(--u, 1)); min-width: 0; }
.nx-listing-title h1 { color: var(--nx-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-listing-actions { display: flex; align-items: center; gap: calc(24px * var(--u, 1)); }
.nx-listing-actions .nx-text-btn { font-size: var(--fs-label); }
@media (max-width: 768px) { .nx-listing-bar { padding: calc(16px * var(--u, 1)) var(--nx-gutter) calc(14px * var(--u, 1)); } .nx-listing-actions { gap: calc(18px * var(--u, 1)); } }

.nx-popover-wrap { position: relative; }
.nx-popover {
  position: absolute; right: 0; top: calc(100% + calc(12px * var(--u, 1))); min-width: calc(190px * var(--u, 1)); z-index: 30;
  list-style: none; margin: 0; padding: calc(10px * var(--u, 1)) 0; background: var(--nx-white); border: 1px solid var(--nx-line);
}
.nx-popover a { display: block; padding: calc(9px * var(--u, 1)) calc(16px * var(--u, 1)); text-decoration: none; font-size: var(--fs-label); letter-spacing: .06em; text-transform: uppercase; color: var(--nx-muted); }
.nx-popover a:hover, .nx-popover a.is-active { color: var(--nx-black); }

.nx-chips { display: flex; gap: calc(8px * var(--u, 1)); padding: 0 var(--nx-gutter) calc(20px * var(--u, 1)); overflow-x: auto; scrollbar-width: none; }
.nx-chips::-webkit-scrollbar { display: none; }
.nx-chip-link {
  flex-shrink: 0; padding: calc(8px * var(--u, 1)) calc(12px * var(--u, 1)); border: 1px solid var(--nx-line); text-decoration: none;
  font: 500 var(--fs-xs)/1 var(--nx-text); letter-spacing: .08em; text-transform: uppercase;
}
.nx-chip-link:hover { border-color: var(--nx-black); }
.nx-chip-link.is-active { background: var(--nx-black); border-color: var(--nx-black); color: var(--nx-white); }

.nx-empty { padding: calc(120px * var(--u, 1)) var(--nx-gutter); display: grid; justify-items: center; gap: calc(24px * var(--u, 1)); text-align: center; }

/* Filter sheet */
.nx-filter { padding: 0 !important; }
.nx-filter-head, .nx-filter-foot { display: flex; align-items: center; justify-content: space-between; padding: 0 var(--nx-gutter); }
.nx-filter-head { height: calc(var(--nx-announce-h) + var(--nx-bar-h)); border-bottom: 1px solid var(--nx-line); flex-shrink: 0; }
.nx-filter-body { flex: 1; padding: calc(8px * var(--u, 1)) var(--nx-gutter) calc(24px * var(--u, 1)); overflow-y: auto; }
.nx-filter-foot { gap: calc(10px * var(--u, 1)); padding-top: calc(14px * var(--u, 1)); padding-bottom: calc(14px * var(--u, 1)); border-top: 1px solid var(--nx-line); }
.nx-filter-foot .nx-btn { flex: 1; }

.nx-acc { border-bottom: 1px solid var(--nx-line); }
.nx-acc summary {
  position: relative; list-style: none; cursor: pointer; padding: calc(16px * var(--u, 1)) calc(24px * var(--u, 1)) calc(16px * var(--u, 1)) 0;
  display: flex; justify-content: space-between; align-items: center;
}
.nx-acc summary::-webkit-details-marker { display: none; }
.nx-acc summary::before,
.nx-acc summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: calc(10px * var(--u, 1)); height: 1px;
  background: currentColor;
}
.nx-acc summary::after { transform: rotate(90deg); transition: transform .35s var(--nx-ease); }
.nx-acc[open]:not(.is-closing) summary::after { transform: rotate(0); }
.nx-acc-body { padding: 0 0 calc(18px * var(--u, 1)); }
.nx-radio-list { display: grid; gap: 2px; }
.nx-radio-list label { display: flex; align-items: center; gap: calc(10px * var(--u, 1)); padding: calc(6px * var(--u, 1)) 0; cursor: pointer; font-size: var(--fs-body); }
.nx-radio-list label.is-group { margin-top: calc(8px * var(--u, 1)); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; font-size: var(--fs-label); }
.nx-radio-list label.is-child { padding-left: calc(22px * var(--u, 1)); }
.nx-radio-list input { accent-color: var(--nx-black); margin: 0; }
.nx-price-range { display: grid; grid-template-columns: 1fr 1fr; gap: calc(12px * var(--u, 1)); }
.nx-price-range label { display: grid; gap: calc(6px * var(--u, 1)); font-size: var(--fs-label); }
.nx-price-range input, .nx-news-form input {
  height: calc(40px * var(--u, 1)); border: 0; border-bottom: 1px solid var(--nx-black); border-radius: 0; padding: 0;
  font: 400 var(--fs-body)/1 var(--nx-text); background: none; outline: 0;
}
.nx-switch { display: flex; align-items: center; gap: calc(12px * var(--u, 1)); padding: calc(18px * var(--u, 1)) 0; cursor: pointer; }
.nx-switch input {
  appearance: none; -webkit-appearance: none; margin: 0; width: calc(32px * var(--u, 1)); height: calc(18px * var(--u, 1)); border-radius: calc(9px * var(--u, 1));
  background: var(--nx-line); position: relative; cursor: pointer; transition: background .2s;
}
.nx-switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: calc(14px * var(--u, 1)); height: calc(14px * var(--u, 1)); border-radius: 50%; background: #fff; transition: transform .2s; }
.nx-switch input:checked { background: var(--nx-black); }
.nx-switch input:checked::after { transform: translateX(calc(14px * var(--u, 1))); }

/* ---------- Product detail ---------- */
.nx-pdp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 calc(60px * var(--u, 1)); padding: 0 var(--nx-gutter) calc(40px * var(--u, 1)) 0; }
.nx-pdp-gallery { display: grid; grid-template-columns: calc(76px * var(--u, 1)) minmax(0, 1fr); gap: calc(20px * var(--u, 1)); align-items: start; padding-left: calc(20px * var(--u, 1)); }
.nx-pdp-thumbs { list-style: none; margin: 0; padding: calc(20px * var(--u, 1)) 0 0; display: grid; gap: calc(8px * var(--u, 1)); position: sticky; top: calc(var(--nx-announce-h) + var(--nx-bar-h)); }
.nx-pdp-thumb { display: block; width: calc(60px * var(--u, 1)); aspect-ratio: 3 / 4; padding: 0; border: 1px solid transparent; background: var(--nx-tile); cursor: pointer; overflow: hidden; }
.nx-pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nx-pdp-thumb.is-active { border-color: var(--nx-black); }
.nx-pdp-images { display: grid; gap: 2px; grid-column: 2; }
.nx-pdp-gallery:not(:has(.nx-pdp-thumbs)) .nx-pdp-images { grid-column: 1 / -1; }
.nx-pdp-image { margin: 0; aspect-ratio: 3 / 4; background: var(--nx-tile); overflow: hidden; }
.nx-pdp-image img { width: 100%; height: 100%; object-fit: cover; }
.nx-pdp-dots { display: none; }

.nx-pdp-sticky { position: sticky; top: calc(var(--nx-announce-h) + var(--nx-bar-h) + calc(30px * var(--u, 1))); padding-top: calc(30px * var(--u, 1)); max-width: calc(480px * var(--u, 1)); }
.nx-crumbs { display: flex; flex-wrap: wrap; gap: calc(6px * var(--u, 1)); margin-bottom: calc(26px * var(--u, 1)); font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--nx-muted); }
.nx-crumbs a { text-decoration: none; }
.nx-crumbs a:hover { color: var(--nx-black); }
.nx-pdp-title { margin: 0; font: 500 var(--fs-title)/1.35 var(--nx-text); letter-spacing: .01em; }
.nx-pdp-code { margin: calc(6px * var(--u, 1)) 0 calc(18px * var(--u, 1)); font-size: var(--fs-xs); letter-spacing: .06em; color: var(--nx-muted); }
.nx-pdp-price { margin: 0; font: 600 var(--fs-title)/1 var(--nx-text); }
.nx-pdp-buy { display: grid; grid-template-columns: calc(120px * var(--u, 1)) 1fr; gap: 2px; margin: calc(24px * var(--u, 1)) 0 calc(26px * var(--u, 1)); }
.nx-pdp-buy .nx-btn { height: calc(48px * var(--u, 1)); }
.nx-qty { display: grid; grid-template-columns: calc(36px * var(--u, 1)) 1fr calc(36px * var(--u, 1)); background: var(--nx-soft); height: calc(48px * var(--u, 1)); }
.nx-qty button { border: 0; background: none; cursor: pointer; font-size: calc(16px * var(--u, 1)); }
.nx-qty button:disabled { opacity: .3; cursor: default; }
.nx-qty input { width: 100%; border: 0; background: none; text-align: center; font: 500 var(--fs-body)/1 var(--nx-text); -moz-appearance: textfield; }
.nx-qty input::-webkit-inner-spin-button, .nx-qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.nx-pdp-accs { border-top: 1px solid var(--nx-line); }
.nx-prose { font-size: var(--fs-body); line-height: 1.7; color: var(--nx-ink-2); }
.nx-prose p { margin: 0 0 calc(10px * var(--u, 1)); }
.nx-prose a { text-decoration: underline; text-underline-offset: calc(3px * var(--u, 1)); }

.nx-related { border-top: 1px solid var(--nx-line); }

@media (max-width: 900px) {
  .nx-pdp { grid-template-columns: 1fr; padding: 0; }
  .nx-pdp-gallery { display: block; padding: 0; position: relative; }
  .nx-pdp-thumbs { display: none; }
  .nx-pdp-images {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; scrollbar-width: none;
  }
  .nx-pdp-images::-webkit-scrollbar { display: none; }
  .nx-pdp-image { flex: 0 0 100%; scroll-snap-align: start; }
  .nx-pdp-dots { position: absolute; left: 0; right: 0; bottom: calc(14px * var(--u, 1)); display: flex; justify-content: center; gap: calc(6px * var(--u, 1)); }
  .nx-pdp-dots span { width: calc(6px * var(--u, 1)); height: calc(6px * var(--u, 1)); border-radius: 50%; background: rgba(0,0,0,.2); }
  .nx-pdp-dots span.is-active { background: var(--nx-black); }
  .nx-pdp-sticky { position: static; padding: calc(20px * var(--u, 1)) var(--nx-gutter) calc(10px * var(--u, 1)); max-width: none; }
}

/* ---------- Footer ---------- */
.nx-footer { padding: calc(70px * var(--u, 1)) var(--nx-gutter) 0; border-top: 1px solid var(--nx-line); margin-top: 0; }
.nx-footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(calc(280px * var(--u, 1)), 1.6fr); gap: calc(32px * var(--u, 1)); }
.nx-footer-title { margin: 0 0 calc(18px * var(--u, 1)); font: 600 var(--fs-label)/1 var(--nx-text); letter-spacing: .06em; }
.nx-footer li { margin-bottom: calc(10px * var(--u, 1)); }
.nx-footer a, .nx-footer-linkbtn {
  color: var(--nx-ink-2); text-decoration: none; font: 400 var(--fs-label)/1.3 var(--nx-text); background: none; border: 0; padding: 0; cursor: pointer;
}
.nx-footer a:hover, .nx-footer-linkbtn:hover { color: var(--nx-black); text-decoration: underline; text-underline-offset: calc(3px * var(--u, 1)); }
.nx-footer-news-head { display: flex; justify-content: space-between; gap: calc(18px * var(--u, 1)); }
.nx-footer-news-head p { margin: 0; max-width: calc(160px * var(--u, 1)); font-size: var(--fs-xs); line-height: 1.4; }
.nx-news-form { display: flex; align-items: flex-end; gap: calc(12px * var(--u, 1)); margin: calc(10px * var(--u, 1)) 0 calc(18px * var(--u, 1)); border-bottom: 1px solid var(--nx-black); }
.nx-news-form input { flex: 1; border-bottom: 0; text-transform: uppercase; letter-spacing: .06em; font-size: var(--fs-label); }
.nx-news-form button { background: none; border: 0; padding: 0 0 calc(13px * var(--u, 1)); cursor: pointer; font: 400 var(--fs-label)/1 var(--nx-text); letter-spacing: .06em; color: var(--nx-muted); }
.nx-news-form button:hover { color: var(--nx-black); }
.nx-check { display: flex; gap: calc(10px * var(--u, 1)); align-items: flex-start; font-size: var(--fs-xs); line-height: 1.5; color: var(--nx-ink-2); cursor: pointer; }
.nx-check input { margin: 2px 0 0; accent-color: var(--nx-black); }
.nx-footer-pay { display: flex; gap: calc(18px * var(--u, 1)); align-items: center; margin-top: calc(48px * var(--u, 1)); }
.nx-footer-pay img { height: calc(18px * var(--u, 1)); width: auto; filter: grayscale(1); opacity: .8; }
.nx-footer-mark {
  margin: calc(40px * var(--u, 1)) calc(var(--nx-gutter) * -1) 0; padding: 0 var(--nx-gutter);
  font-family: var(--nx-wide); font-stretch: 125%; font-weight: 900; line-height: .78;
  font-size: 27vw; letter-spacing: -.02em; text-align: center; white-space: nowrap; overflow: hidden;
  user-select: none;
}
.nx-footer-bottom {
  display: flex; justify-content: space-between; gap: calc(12px * var(--u, 1)); flex-wrap: wrap;
  padding: calc(18px * var(--u, 1)) 0 calc(22px * var(--u, 1)); font-size: var(--fs-xs); letter-spacing: .04em; color: var(--nx-muted);
}
.nx-footer-bottom a { color: inherit; font-size: inherit; }
@media (max-width: 1024px) {
  .nx-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-footer-news { grid-column: 1 / -1; order: -1; }
}

/* ---------- Cart drawer (legacy markup, restyled) ---------- */
.cart-drawer-backdrop { background: rgba(0, 0, 0, .35) !important; }
.cart-drawer-panel { border-radius: 0 !important; box-shadow: none !important; font-family: var(--nx-text); }
.cart-drawer-header { border-bottom: 1px solid var(--nx-line) !important; }
.cart-drawer-title { font: 500 var(--fs-body)/1 var(--nx-text) !important; letter-spacing: .08em !important; text-transform: uppercase; }
.cart-item-thumb-box, .cart-empty-icon-box { border-radius: 0 !important; background: var(--nx-tile) !important; }
.cart-item-title { font: 400 var(--fs-body)/1.4 var(--nx-text) !important; text-transform: uppercase; letter-spacing: .02em; }
.cart-item-price, .cart-summary-price { font-family: var(--nx-text) !important; color: var(--nx-black) !important; }
.cart-drawer-checkout-btn, .cart-empty-link-btn {
  border-radius: 0 !important; background: var(--nx-black) !important; color: var(--nx-white) !important;
  font: 500 var(--fs-label)/1 var(--nx-text) !important; letter-spacing: .08em !important; text-transform: uppercase; box-shadow: none !important;
}

/* Page loader: plain white */
#page-loading-overlay { background: rgba(255, 255, 255, .9) !important; }
.page-loading-logo-wrap { display: none !important; }

/* Legacy main.css sets overflow-x:hidden on <main>, which turns it into the sticky
   containing scroller and pushes sticky bars down by the header height. clip avoids that. */
main.nx-main { overflow: visible; overflow-x: clip; }

/* Cookie consent: monochrome */
.analytics-consent { border-radius: 0 !important; box-shadow: none !important; border-color: var(--nx-line) !important; color: var(--nx-ink-2) !important; font-family: var(--nx-text) !important; }
.analytics-consent h2 { font: 600 var(--fs-label)/1.3 var(--nx-text) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--nx-black) !important; }
.analytics-consent-actions button {
  border-radius: 0 !important; border-color: var(--nx-black) !important; color: var(--nx-black) !important;
  font: 500 var(--fs-label)/1 var(--nx-text) !important; letter-spacing: .08em; text-transform: uppercase;
}
.analytics-consent-actions button[data-accept] { background: var(--nx-black) !important; color: var(--nx-white) !important; }
html, body { overflow-x: clip !important; overflow-y: visible !important; }

/* ---------- Auth (login / register / forgot password) ---------- */
.nx-auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100svh - var(--nx-announce-h) - var(--nx-bar-h)); }
.nx-auth-form { display: flex; align-items: center; justify-content: center; padding: calc(60px * var(--u, 1)) var(--nx-gutter); }
.nx-auth-visual { position: relative; background: var(--nx-tile); overflow: hidden; }
.nx-auth-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .nx-auth { grid-template-columns: 1fr; min-height: 0; } .nx-auth-visual { display: none; } }

.nx-auth .auth-card { width: 100%; max-width: calc(400px * var(--u, 1)); }
.nx-auth .auth-title { margin: 0 0 calc(26px * var(--u, 1)); text-align: center; font: 400 var(--fs-heading)/1.2 var(--nx-text); letter-spacing: 0; }
.nx-auth .auth-subtitle { margin: 0 0 calc(22px * var(--u, 1)); font-size: var(--fs-body); line-height: 1.5; color: var(--nx-muted); text-align: center; }
.nx-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: calc(26px * var(--u, 1)); }
.nx-auth-tabs a {
  padding: 0 0 calc(12px * var(--u, 1)); text-align: center; text-decoration: none; font-size: var(--fs-body); color: var(--nx-muted);
  border-bottom: 1px solid var(--nx-line);
}
.nx-auth-tabs a.is-active { color: var(--nx-black); border-bottom: 2px solid var(--nx-black); }
.nx-auth-tabs a:hover { color: var(--nx-black); }
.nx-auth .auth-form { display: grid; gap: calc(16px * var(--u, 1)); }
.nx-auth .auth-field-group { display: grid; gap: calc(8px * var(--u, 1)); }
.nx-auth .auth-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: calc(12px * var(--u, 1)); }
.nx-auth .auth-label { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--fs-body); color: var(--nx-black); }
.nx-auth .auth-forgot-link, .nx-auth .auth-text-btn {
  font-size: var(--fs-label); color: var(--nx-muted); text-decoration: underline; text-underline-offset: calc(3px * var(--u, 1)); background: none; border: 0; padding: 0; cursor: pointer;
}
.nx-auth .auth-input, .nx-auth .auth-otp-digit {
  width: 100%; height: calc(48px * var(--u, 1)); padding: 0 calc(14px * var(--u, 1)); border: 1px solid #d4d4d4; border-radius: calc(6px * var(--u, 1)); background: var(--nx-white);
  font: 400 var(--fs-body)/1 var(--nx-text); color: var(--nx-black); outline: 0; box-shadow: none; transition: border-color .2s;
}
.nx-auth .auth-input:focus, .nx-auth .auth-otp-digit:focus { border-color: var(--nx-black); }
.nx-auth .auth-input::placeholder { color: #b5b5b5; }
.nx-auth .auth-input-wrap { position: relative; }
.nx-auth .auth-input-wrap .auth-input { padding-right: calc(46px * var(--u, 1)); }
.nx-auth .auth-password-toggle {
  position: absolute; right: calc(6px * var(--u, 1)); top: 50%; transform: translateY(-50%); width: calc(36px * var(--u, 1)); height: calc(36px * var(--u, 1));
  display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--nx-muted);
}
.nx-auth .auth-password-toggle svg { width: calc(17px * var(--u, 1)); height: calc(17px * var(--u, 1)); }
.nx-auth .auth-password-toggle:hover { color: var(--nx-black); }
.nx-auth .auth-submit-btn {
  height: calc(48px * var(--u, 1)); margin-top: calc(4px * var(--u, 1)); border: 0; border-radius: calc(8px * var(--u, 1)); background: var(--nx-black); color: var(--nx-white);
  font: 400 var(--fs-body)/1 var(--nx-text); cursor: pointer; transition: opacity .2s;
}
.nx-auth .auth-submit-btn:hover { opacity: .85; }
.nx-auth .auth-submit-btn:disabled { opacity: .5; cursor: wait; }
.nx-auth .auth-footer-switch { display: flex; gap: calc(6px * var(--u, 1)); font-size: var(--fs-body); color: var(--nx-muted); }
.nx-auth .auth-footer-switch a { color: var(--nx-black); text-decoration: none; }
.nx-auth .auth-footer-switch a:hover { text-decoration: underline; text-underline-offset: calc(3px * var(--u, 1)); }
.nx-auth .auth-checkbox-row { display: flex; gap: calc(10px * var(--u, 1)); align-items: flex-start; font-size: var(--fs-label); line-height: 1.5; color: var(--nx-ink-2); }
.nx-auth .auth-checkbox { margin: 2px 0 0; accent-color: var(--nx-black); width: calc(14px * var(--u, 1)); height: calc(14px * var(--u, 1)); flex-shrink: 0; }
.nx-auth .auth-checkbox-link { color: var(--nx-black); text-decoration: underline; text-underline-offset: calc(3px * var(--u, 1)); }
.nx-auth .auth-step-panel { display: none; }
.nx-auth .auth-step-panel.active { display: block; }
.nx-auth .auth-otp-group { display: grid; grid-template-columns: repeat(6, 1fr); gap: calc(8px * var(--u, 1)); }
.nx-auth .auth-otp-digit { padding: 0; text-align: center; font-size: calc(16px * var(--u, 1)); }
.nx-auth .auth-otp-digit.is-filled { border-color: var(--nx-black); }
.nx-auth .auth-resend-row { display: flex; gap: calc(8px * var(--u, 1)); align-items: center; font-size: var(--fs-label); }
.auth-alert { display: none; margin-bottom: calc(18px * var(--u, 1)); padding: calc(12px * var(--u, 1)) calc(14px * var(--u, 1)); font-size: var(--fs-body); line-height: 1.5; border: 1px solid var(--nx-line); }
.auth-alert.is-error, .auth-alert.is-success { display: block; }
.auth-alert.is-error { border-color: #b42318; color: #b42318; }
.auth-alert.is-success { border-color: var(--nx-black); color: var(--nx-black); }
.auth-alert-action { margin-top: calc(8px * var(--u, 1)); }
.auth-alert-btn { background: none; border: 0; padding: 0; font: 500 var(--fs-label)/1 var(--nx-text); text-decoration: underline; text-underline-offset: calc(3px * var(--u, 1)); cursor: pointer; color: inherit; }

/* ---------- Cart page ---------- */
.nx-cart { padding: 0 var(--nx-gutter) calc(80px * var(--u, 1)); }
.nx-cart .cart-page-container { max-width: calc(1180px * var(--u, 1)); margin: 0 auto; padding: 0; }
.nx-cart-steps { border-bottom: 1px solid var(--nx-line); }
.nx-cart-steps ol { list-style: none; display: flex; gap: calc(8px * var(--u, 1)); margin: 0; padding: calc(16px * var(--u, 1)) 0; font-size: var(--fs-xs); color: #bdbdbd; }
.nx-cart-steps li + li::before { content: "/"; margin-right: calc(8px * var(--u, 1)); color: #d4d4d4; }
.nx-cart-steps li.is-active { color: var(--nx-black); font-weight: 500; }
.nx-cart-steps h1 { display: inline; font: inherit; margin: 0; }

.nx-cart .cart-grid-layout { display: grid; grid-template-columns: minmax(0, 1fr) calc(340px * var(--u, 1)); gap: 0 calc(56px * var(--u, 1)); align-items: start; }
@media (max-width: 992px) { .nx-cart .cart-grid-layout { grid-template-columns: 1fr; } }
.nx-cart .cart-card { background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0; }
.nx-cart .cart-items-card { grid-column: 1 / -1; }
.nx-cart .cart-card-title { margin: 0 0 calc(18px * var(--u, 1)); font: 600 var(--fs-body)/1 var(--nx-text); letter-spacing: 0; color: var(--nx-black); }

.nx-cart-head, .nx-cart .cart-page-item {
  display: grid; grid-template-columns: minmax(0, 1fr) calc(140px * var(--u, 1)) calc(160px * var(--u, 1)) calc(140px * var(--u, 1)); align-items: start; gap: calc(16px * var(--u, 1));
}
.nx-cart-head { padding: calc(16px * var(--u, 1)) 0; border-bottom: 1px solid var(--nx-line); font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--nx-ink-2); }
.nx-cart-head span:last-child { text-align: right; }
.nx-cart .cart-page-item { padding: calc(20px * var(--u, 1)) 0; border-bottom: 1px solid var(--nx-line); background: none; border-radius: 0; box-shadow: none; font-size: var(--fs-body); }
.nx-cart-product { display: flex; gap: calc(18px * var(--u, 1)); min-width: 0; }
.nx-cart .cart-item-photo-box { width: calc(72px * var(--u, 1)); flex-shrink: 0; aspect-ratio: 3 / 4; background: var(--nx-tile); border-radius: 0; overflow: hidden; }
.nx-cart .cart-item-photo { width: 100%; height: 100%; object-fit: cover; }
.nx-cart .cart-item-title-text { margin: 0; font: 400 var(--fs-body)/1.4 var(--nx-text); }
.nx-cart .cart-item-title-text a { text-decoration: none; }
.nx-cart .cart-item-unit-price { display: none; margin: calc(6px * var(--u, 1)) 0 0; color: var(--nx-muted); font-size: var(--fs-body); }
.nx-cart .cart-stepper-box { display: inline-flex; align-items: center; gap: calc(10px * var(--u, 1)); border: 0; background: none; padding: 0; }
.nx-cart .cart-stepper-btn {
  width: calc(26px * var(--u, 1)); height: calc(26px * var(--u, 1)); border-radius: 50%; border: 0; background: var(--nx-soft); cursor: pointer; font-size: var(--fs-body); line-height: 1; color: var(--nx-black);
}
.nx-cart .cart-stepper-btn:hover { background: var(--nx-black); color: var(--nx-white); }
.nx-cart .cart-stepper-val { width: calc(24px * var(--u, 1)); border: 0; background: none; text-align: center; font: 400 var(--fs-body)/1 var(--nx-text); }
.nx-cart-total { display: grid; justify-items: end; gap: calc(12px * var(--u, 1)); }
.nx-cart .cart-item-total-price { font: 400 var(--fs-body)/1 var(--nx-text); color: var(--nx-black); }
.nx-cart .cart-item-delete-btn {
  width: calc(28px * var(--u, 1)); height: calc(28px * var(--u, 1)); display: grid; place-items: center; border: 1px solid var(--nx-line); border-radius: 0; background: none; cursor: pointer; color: var(--nx-black);
}
.nx-cart .cart-item-delete-btn svg { width: calc(13px * var(--u, 1)); height: calc(13px * var(--u, 1)); }
.nx-cart .cart-item-delete-btn:hover { border-color: var(--nx-black); }
.nx-cart-links { display: flex; gap: calc(10px * var(--u, 1)); padding: calc(18px * var(--u, 1)) 0 calc(36px * var(--u, 1)); font-size: var(--fs-label); color: #bdbdbd; }
.nx-cart-links a, .nx-cart-links button { color: #9a9a9a; text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.nx-cart-links a:hover, .nx-cart-links button:hover { color: var(--nx-black); }
@media (max-width: 768px) {
  .nx-cart-head { display: none; }
  .nx-cart .cart-page-item { grid-template-columns: 1fr auto; grid-template-areas: "product total" "stepper total"; row-gap: calc(12px * var(--u, 1)); }
  .nx-cart-product { grid-area: product; }
  .nx-cart-price { display: none; }
  .nx-cart .cart-stepper-box { grid-area: stepper; margin-left: calc(90px * var(--u, 1)); }
  .nx-cart-total { grid-area: total; }
  .nx-cart .cart-item-unit-price { display: block; }
}

/* Delivery + payment form */
.nx-cart .cart-order-info-card { padding-top: calc(8px * var(--u, 1)) !important; }
.nx-cart .cart-checkout-form, .nx-cart .cart-card-fields { display: grid; gap: calc(16px * var(--u, 1)); border: 0; padding: 0; margin: 0; }
.nx-cart .cart-checkout-form[hidden], .nx-cart .cart-card-fields[hidden] { display: none; }
.nx-cart .form-row-2, .nx-cart .form-row-3 { display: grid; gap: calc(12px * var(--u, 1)); grid-template-columns: 1fr 1fr; }
.nx-cart .form-row-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 600px) { .nx-cart .form-row-2, .nx-cart .form-row-3 { grid-template-columns: 1fr; } }
.nx-cart .form-field-group { display: grid; gap: calc(8px * var(--u, 1)); margin: 0; }
.nx-cart .form-field-label { font: 400 var(--fs-body)/1.2 var(--nx-text); color: var(--nx-black); }
.nx-cart .required-star { color: var(--nx-black); }
.nx-cart .optional-label { color: var(--nx-muted); }
.nx-cart .form-field-input, .nx-cart .form-field-textarea, .nx-cart .custom-select-trigger {
  width: 100%; min-height: calc(46px * var(--u, 1)); padding: 0 calc(14px * var(--u, 1)); border: 1px solid #d4d4d4 !important; border-radius: calc(6px * var(--u, 1)) !important;
  background: var(--nx-white) !important; box-shadow: none !important; font: 400 var(--fs-body)/1.2 var(--nx-text); color: var(--nx-black);
}
.nx-cart .form-field-textarea { padding: calc(14px * var(--u, 1)); min-height: calc(90px * var(--u, 1)); resize: vertical; }
.nx-cart .form-field-input:focus, .nx-cart .form-field-textarea:focus, .nx-cart .custom-select-trigger:focus { border-color: var(--nx-black) !important; outline: 0; }
.nx-cart .form-field-input.is-disabled { background: var(--nx-soft) !important; color: var(--nx-muted); }
.nx-cart .custom-select-dropdown { border-radius: 0 !important; box-shadow: none !important; border: 1px solid var(--nx-black) !important; }
/* Card preview: same as the Grinokta checkout (rounded card, flips to the back while the CVV is typed) */
.nx-cart .checkout-card-preview { max-width: calc(400px * var(--u, 1)); margin: 0 auto calc(20px * var(--u, 1)); }
.nx-cart .checkout-card-face { border-radius: calc(20px * var(--u, 1)); box-shadow: 0 16px 36px -10px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.04) inset; }
.nx-cart .checkout-card-magnetic-strip { box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 1px 0 rgba(255,255,255,.05); }
.nx-cart .checkout-card-signature-row { border-radius: calc(4px * var(--u, 1)); box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.nx-cart .checkout-card-signature-name { display: block; font: italic 400 calc(17px * var(--u, 1))/1.1 "Snell Roundhand", "Segoe Script", "Brush Script MT", cursive; color: #3A3D44; opacity: .8; margin-top: calc(3px * var(--u, 1)); white-space: nowrap; overflow: hidden; }
.nx-cart .cart-card-security { font-size: var(--fs-label); line-height: 1.5; color: var(--nx-muted); }
.nx-cart .cart-card-security a { color: var(--nx-black); }
.nx-cart .cart-payment-back-btn { justify-self: start; background: none; border: 0; padding: 0; font: 400 var(--fs-label)/1 var(--nx-text); text-decoration: underline; text-underline-offset: calc(3px * var(--u, 1)); cursor: pointer; color: var(--nx-ink-2); }

/* Summary */
.nx-cart .cart-sidebar-column { position: sticky; top: calc(var(--nx-announce-h) + var(--nx-bar-h) + calc(20px * var(--u, 1))); }
.nx-cart .cart-summary-card { border-top: 1px solid var(--nx-line) !important; padding-top: calc(18px * var(--u, 1)) !important; }
.nx-cart .cart-summary-line, .nx-cart .cart-summary-total-row { display: flex; justify-content: space-between; padding: calc(7px * var(--u, 1)) 0; font-size: var(--fs-body); color: var(--nx-black); }
.nx-cart .summary-line-val, .nx-cart .summary-total-val { font: 400 var(--fs-body)/1 var(--nx-text); color: var(--nx-black); }
.nx-cart .free-shipping { text-transform: uppercase; }
.nx-cart .cart-summary-divider { height: 1px; background: var(--nx-line); margin: calc(10px * var(--u, 1)) 0; }
.nx-cart .summary-total-label, .nx-cart .summary-total-val { font-weight: 600; }
.nx-cart .cart-quote-message { font-size: var(--fs-label); color: var(--nx-muted); }
.nx-cart .payment-method-section { margin: calc(18px * var(--u, 1)) 0 calc(8px * var(--u, 1)); }
.nx-cart .payment-method-title { display: block; margin-bottom: calc(10px * var(--u, 1)); font: 600 var(--fs-body)/1 var(--nx-text); }
.nx-cart .payment-option-card {
  display: flex; align-items: center; gap: calc(10px * var(--u, 1)); padding: calc(12px * var(--u, 1)) calc(14px * var(--u, 1)); border: 1px solid var(--nx-black) !important;
  border-radius: 0 !important; background: none !important; box-shadow: none !important; font-size: var(--fs-body);
}
.nx-cart .payment-option-card input { accent-color: var(--nx-black); }
.nx-cart .payment-radio-custom { display: none; }
.nx-cart .cart-consent-box { margin: calc(10px * var(--u, 1)) 0 0; padding: 0; background: none; border: 0; }
.nx-cart .cart-consent-label { display: flex; gap: calc(10px * var(--u, 1)); align-items: flex-start; font-size: var(--fs-label); line-height: 1.5; color: var(--nx-ink-2); cursor: pointer; }
.nx-cart .cart-consent-label input { margin: 2px 0 0; accent-color: var(--nx-black); flex-shrink: 0; }
.nx-cart .cart-consent-label a { color: var(--nx-black); text-decoration: underline; text-underline-offset: calc(3px * var(--u, 1)); }
.nx-cart .cart-error-alert { margin-top: calc(14px * var(--u, 1)); padding: calc(10px * var(--u, 1)) calc(12px * var(--u, 1)); border: 1px solid #b42318; border-radius: 0; background: none; color: #b42318; font-size: var(--fs-body); }
.nx-cart .cart-submit-btn {
  width: 100%; height: calc(44px * var(--u, 1)); margin-top: calc(18px * var(--u, 1)); border: 0; border-radius: 0; background: var(--nx-black); color: var(--nx-white);
  font: 500 var(--fs-body)/1 var(--nx-text); box-shadow: none; cursor: pointer; transition: opacity .2s;
}
.nx-cart .cart-submit-btn:hover { opacity: .85; transform: none; }
.nx-cart .cart-submit-btn:disabled { opacity: .5; }
.nx-cart .cart-payment-terms { margin-top: calc(12px * var(--u, 1)); }

/* Empty cart */
.nx-cart .cart-empty-state { flex-direction: column; align-items: center; gap: calc(12px * var(--u, 1)); padding: calc(140px * var(--u, 1)) 0; text-align: center; background: none; border: 0; }
.nx-cart .cart-empty-state-title { margin: 0; font: 400 var(--fs-label)/1.3 var(--nx-text); letter-spacing: .04em; }
.nx-cart .cart-empty-state-desc { margin: 0; font-size: var(--fs-label); color: var(--nx-ink-2); }
.nx-cart .cart-empty-state-btn { background: none !important; border: 0; padding: 0; color: var(--nx-black) !important; font-size: var(--fs-label); text-decoration: underline; text-underline-offset: calc(3px * var(--u, 1)); box-shadow: none; }

/* ---------- Cart drawer ---------- */
.cart-drawer-panel { width: min(calc(600px * var(--u, 1)), 100vw) !important; padding: 0 !important; }
.cart-drawer-header { padding: calc(28px * var(--u, 1)) calc(40px * var(--u, 1)) calc(20px * var(--u, 1)) !important; border-bottom: 0 !important; }
.cart-drawer-title { font: 400 var(--fs-heading)/1 var(--nx-text) !important; letter-spacing: 0 !important; text-transform: none !important; }
.cart-drawer-title sup { font-size: var(--fs-xs); vertical-align: super; }
.cart-drawer-close { background: none !important; border: 0 !important; width: calc(28px * var(--u, 1)); height: calc(28px * var(--u, 1)); color: var(--nx-black) !important; box-shadow: none !important; }
.cart-drawer-body { padding: 0 calc(40px * var(--u, 1)) !important; }
.cart-drawer-empty { align-items: flex-start !important; text-align: left !important; padding: calc(20px * var(--u, 1)) 0 !important; gap: calc(18px * var(--u, 1)); }
.cart-drawer-empty .cart-empty-text { font-size: var(--fs-body); margin: 0; color: var(--nx-black); }
.cart-drawer-empty .cart-empty-link-btn {
  background: none !important; color: var(--nx-black) !important; padding: 0 !important; height: auto !important;
  font: 400 var(--fs-body)/1 var(--nx-text) !important; letter-spacing: 0 !important; text-transform: none !important; text-decoration: underline; text-underline-offset: calc(3px * var(--u, 1));
}
.cart-drawer-item { padding: calc(18px * var(--u, 1)) 0 !important; border-bottom: 0 !important; gap: calc(18px * var(--u, 1)) !important; }
.cart-item-thumb-box { width: calc(110px * var(--u, 1)) !important; height: auto !important; aspect-ratio: 3 / 4; }
.cart-item-thumb { object-fit: cover; }
.cart-item-title { text-transform: none !important; }
.cart-item-attr { font-size: var(--fs-label) !important; color: var(--nx-muted) !important; }
.cart-item-remove-btn { color: var(--nx-black) !important; background: none !important; }
.cart-drawer-footer { padding: 0 calc(40px * var(--u, 1)) calc(28px * var(--u, 1)) !important; border-top: 0 !important; background: none !important; }
.cart-drawer-summary-row { border-top: 1px solid var(--nx-black); padding: calc(16px * var(--u, 1)) 0 calc(20px * var(--u, 1)) !important; }
.cart-summary-label { font-size: var(--fs-body) !important; color: var(--nx-black) !important; text-transform: none !important; letter-spacing: 0 !important; }
.cart-drawer-checkout-btn { height: calc(44px * var(--u, 1)) !important; text-transform: none !important; letter-spacing: 0 !important; font-size: var(--fs-body) !important; }
@media (max-width: 600px) {
  .cart-drawer-header, .cart-drawer-body, .cart-drawer-footer { padding-left: calc(20px * var(--u, 1)) !important; padding-right: calc(20px * var(--u, 1)) !important; }
  .cart-item-thumb-box { width: calc(84px * var(--u, 1)) !important; }
}

/* Cart: neutralise legacy heading font and colours */
.nx-cart, .nx-cart :where(h1, h2, h3, p, span, a, button, label, input, textarea) { font-family: var(--nx-text); }
.nx-cart .summary-total-label, .nx-cart .summary-total-val { font-size: var(--fs-body) !important; font-weight: 600 !important; letter-spacing: 0 !important; }
.nx-cart .payment-option-text { font-size: var(--fs-body) !important; font-weight: 400 !important; }
.nx-cart .custom-select-text, .nx-cart .custom-select-text.placeholder { color: var(--nx-black); font-size: var(--fs-body); }
.nx-cart .custom-select-text.placeholder { color: #9a9a9a; }
.nx-cart .custom-select-trigger:disabled { background: var(--nx-soft) !important; }
.nx-cart .free-shipping { color: var(--nx-black) !important; }
.nx-cart .cart-summary-card { margin-top: 0; }

/* ---------- Home: pinned banner stack (enabled by esma.js with .is-stacked) ---------- */
.nx-stack.is-stacked { position: relative; height: calc(var(--nx-slides) * 100svh); }
.nx-stack.is-stacked .nx-stack-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.nx-stack.is-stacked .nx-stack-slide {
  position: absolute; inset: 0; z-index: calc(var(--i) + 1); overflow: hidden;
  transform: translate3d(0, 100%, 0); will-change: transform;
}
.nx-stack.is-stacked .nx-stack-slide:first-child { transform: none; }
/* The slide being covered drifts up a little and darkens, for depth. */
.nx-stack.is-stacked .nx-stack-slide > * {
  height: 100%; min-height: 0;
  transform: translate3d(0, calc(var(--nx-cover, 0) * -14%), 0); will-change: transform;
}
.nx-stack.is-stacked .nx-stack-slide::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: #000; opacity: calc(var(--nx-cover, 0) * .45);
}
.nx-stack.is-stacked .nx-banner-image, .nx-stack.is-stacked .nx-split .nx-banner-image { height: 100%; min-height: 0; }
.nx-stack.is-stacked .nx-split { height: 100%; }
@media (max-width: 768px) {
  .nx-stack.is-stacked .nx-split .nx-banner-image { height: 50%; }
}
/* Image banners zoom out gently as they slide in. */
.nx-stack.is-stacked .nx-stack-media { transform: scale(calc(1 + (1 - var(--nx-enter, 1)) * .12)); transition: none; }
.nx-stack.is-stacked .nx-banner-image:hover img { transform: scale(calc(1 + (1 - var(--nx-enter, 1)) * .12)); }

/* Headline reveal */
.nx-stack.is-stacked .nx-reveal { opacity: 0; transform: translate3d(0, calc(28px * var(--u, 1)), 0); transition: opacity .9s var(--nx-ease), transform .9s var(--nx-ease); }
.nx-stack.is-stacked .nx-stack-slide.is-in .nx-reveal { opacity: 1; transform: none; }
.nx-stack.is-stacked .nx-stack-slide.is-in .nx-reveal:nth-child(2) { transition-delay: .08s; }
.nx-stack.is-stacked .nx-stack-slide.is-in .nx-reveal:nth-child(3) { transition-delay: .16s; }
.nx-stack.is-stacked .nx-stack-slide.is-in .nx-reveal:nth-child(4) { transition-delay: .24s; }

/* Home header hides while scrolling down, returns on scroll up. */
.nx-home .nx-header { transition: transform .45s var(--nx-ease), background .3s var(--nx-ease), color .3s var(--nx-ease); }
.nx-home .nx-header.is-hidden { transform: translate3d(0, -100%, 0); }

/* Campaign banner: coloured gradient with a large faint serif word behind the headline. */
.nx-banner-type { position: relative; overflow: hidden; isolation: isolate; }
.nx-banner-type > :not(.nx-type-watermark) { position: relative; z-index: 1; }
.nx-type-watermark {
  position: absolute; z-index: 0; inset: 50% auto auto 50%; transform: translate(-50%, -50%);
  font-style: normal;
  font-size: clamp(calc(160px * var(--u, 1)), 34vw, calc(560px * var(--u, 1))); line-height: .8; letter-spacing: -.03em; white-space: nowrap;
  color: rgba(0, 0, 0, .22); mix-blend-mode: multiply; pointer-events: none; user-select: none;
}
.nx-stack.is-stacked .nx-stack-slide:first-child .nx-type-watermark {
  transform: translate(-50%, calc(-50% + var(--nx-cover, 0) * 18%)) scale(calc(1 + var(--nx-cover, 0) * .08));
}
.nx-type-title, .nx-type-kicker { text-shadow: 0 2px calc(30px * var(--u, 1)) rgba(0, 0, 0, .18); }

/* ---------- Content pages (about, contact) ---------- */
.nx-page { padding-bottom: calc(90px * var(--u, 1)); }
.nx-page-head { padding: calc(50px * var(--u, 1)) var(--nx-gutter) calc(36px * var(--u, 1)); display: grid; gap: calc(12px * var(--u, 1)); }
.nx-page-title {
  margin: 0; font-family: var(--nx-wide); font-stretch: 125%; font-weight: 900; line-height: .95;
  font-size: clamp(calc(34px * var(--u, 1)), 6vw, calc(84px * var(--u, 1))); letter-spacing: -.01em;
}
.nx-page-hero { position: relative; height: 78svh; min-height: calc(420px * var(--u, 1)); overflow: hidden; background: var(--nx-tile); }
.nx-page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nx-page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.35)); }
.nx-page-hero-title {
  position: absolute; z-index: 1; left: var(--nx-gutter); right: var(--nx-gutter); bottom: 7vh; margin: 0; color: var(--nx-white);
  font-family: var(--nx-wide); font-stretch: 125%; font-weight: 900; line-height: .9; font-size: clamp(calc(44px * var(--u, 1)), 9vw, calc(140px * var(--u, 1))); letter-spacing: -.01em;
}
.nx-page-intro { padding: calc(90px * var(--u, 1)) var(--nx-gutter); max-width: calc(980px * var(--u, 1)); }
.nx-page-intro p { margin: 0; font: 400 clamp(calc(18px * var(--u, 1)), 2.2vw, calc(28px * var(--u, 1)))/1.45 var(--nx-text); letter-spacing: -.01em; }
.nx-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.nx-feature-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--nx-tile); }
.nx-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.nx-feature-copy { padding: calc(60px * var(--u, 1)) clamp(calc(24px * var(--u, 1)), 7vw, calc(120px * var(--u, 1))); display: grid; gap: calc(18px * var(--u, 1)); max-width: calc(640px * var(--u, 1)); }
.nx-feature-title { margin: 0; font-family: var(--nx-wide); font-stretch: 125%; font-weight: 900; font-size: clamp(calc(28px * var(--u, 1)), 4vw, calc(56px * var(--u, 1))); line-height: .95; }
.nx-feature-copy p { margin: 0; font-size: var(--fs-body); line-height: 1.8; color: var(--nx-ink-2); }
.nx-feature.is-reversed .nx-feature-media { order: 2; }
@media (max-width: 800px) {
  .nx-feature { grid-template-columns: 1fr; }
  .nx-feature.is-reversed .nx-feature-media { order: 0; }
  .nx-feature-copy { padding: calc(36px * var(--u, 1)) var(--nx-gutter) calc(56px * var(--u, 1)); }
}
.nx-page-section { padding: calc(80px * var(--u, 1)) var(--nx-gutter) 0; max-width: calc(900px * var(--u, 1)); }
.nx-page-section > .nx-label { margin-bottom: calc(18px * var(--u, 1)); }
.nx-faq { border-top: 1px solid var(--nx-line); }
.nx-faq summary { text-transform: none; letter-spacing: 0; font-size: var(--fs-body); font-weight: 400; }

/* Contact */
.nx-contact-grid { display: grid; grid-template-columns: minmax(calc(220px * var(--u, 1)), 1fr) minmax(0, 2fr); gap: calc(60px * var(--u, 1)); padding: 0 var(--nx-gutter); }
@media (max-width: 860px) { .nx-contact-grid { grid-template-columns: 1fr; gap: calc(40px * var(--u, 1)); } }
.nx-contact-info { display: grid; gap: calc(28px * var(--u, 1)); align-content: start; border-top: 1px solid var(--nx-line); padding-top: calc(24px * var(--u, 1)); }
.nx-contact-info .nx-label { margin-bottom: calc(8px * var(--u, 1)); color: var(--nx-muted); }
.nx-contact-info a, .nx-contact-info p { display: block; margin: 0 0 calc(4px * var(--u, 1)); font-size: var(--fs-body); line-height: 1.6; text-decoration: none; }
.nx-contact-info a:hover { text-decoration: underline; text-underline-offset: calc(3px * var(--u, 1)); }
.nx-contact-form { border-top: 1px solid var(--nx-line); padding-top: calc(24px * var(--u, 1)); }
.nx-contact-form > .nx-label { margin-bottom: calc(22px * var(--u, 1)); }

/* Shared form fields */
.nx-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: calc(18px * var(--u, 1)); }
@media (max-width: 600px) { .nx-form-grid { grid-template-columns: 1fr; } }
.nx-field { display: grid; gap: calc(8px * var(--u, 1)); font-size: var(--fs-body); }
.nx-field.is-wide { grid-column: 1 / -1; }
.nx-field input, .nx-field textarea, .nx-form .custom-select-trigger {
  width: 100%; min-height: calc(46px * var(--u, 1)); padding: 0 calc(14px * var(--u, 1)); border: 1px solid #d4d4d4 !important; border-radius: calc(6px * var(--u, 1)) !important;
  background: var(--nx-white) !important; box-shadow: none !important; font: 400 var(--fs-body)/1.3 var(--nx-text); color: var(--nx-black); outline: 0;
}
.nx-field textarea { padding: calc(14px * var(--u, 1)); resize: vertical; }
.nx-field input:focus, .nx-field textarea:focus, .nx-form .custom-select-trigger:focus { border-color: var(--nx-black) !important; }
.nx-form .custom-select-text { font-size: var(--fs-body); color: var(--nx-black); }
.nx-form .custom-select-text.placeholder { color: #9a9a9a; }
.nx-form .custom-select-dropdown { border-radius: 0 !important; box-shadow: none !important; border: 1px solid var(--nx-black) !important; }
.nx-form .nx-check { font-size: var(--fs-label); }
.nx-form .nx-check a { color: var(--nx-black); text-decoration: underline; text-underline-offset: calc(3px * var(--u, 1)); }
.nx-form .contact-kvkk-wrap.is-invalid label { color: #b42318; }
.nx-field-error { margin: 0; font-size: var(--fs-label); color: #b42318; }
.nx-form-submit { margin-top: calc(24px * var(--u, 1)); min-width: calc(200px * var(--u, 1)); }
.contact-alert { display: none; margin-bottom: calc(18px * var(--u, 1)); padding: calc(12px * var(--u, 1)) calc(14px * var(--u, 1)); font-size: var(--fs-body); line-height: 1.5; border: 1px solid var(--nx-line); }
.contact-alert.is-error, .contact-alert.is-success { display: block; }
.contact-alert.is-error { border-color: #b42318; color: #b42318; }
.contact-alert.is-success { border-color: var(--nx-black); color: var(--nx-black); }

.nx-field input[type="checkbox"] { width: calc(14px * var(--u, 1)); min-height: 0; height: calc(14px * var(--u, 1)); padding: 0; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--nx-black); border: 0 !important; }
.notfound-page { min-height: 60vh; }
.notfound-code { font-family: var(--nx-wide) !important; font-stretch: 125%; font-weight: 900 !important; }

/* ======================================================================
   Brand accents (from the Esma Kozmetik / Takıştırtak identity):
   black + gold, with nude/champagne grounds. Used sparingly on top of the
   monochrome layout.
   ====================================================================== */
:root {
  --nx-gold-1: #8a6a2f;
  --nx-gold-2: #c9a24d;
  --nx-gold-3: #f0d58c;
  --nx-gold: linear-gradient(100deg, var(--nx-gold-1) 0%, var(--nx-gold-2) 28%, var(--nx-gold-3) 50%, var(--nx-gold-2) 72%, var(--nx-gold-1) 100%);
  --nx-nude: #f3e6df;
  --nx-champagne: #efe6da;
  --nx-tile: #f5efea;
  --nx-soft: #f5f1ed;
}

/* Gold headline text */
.is-gold .nx-type-title, .is-gold .nx-auth-mark-main {
  background: var(--nx-gold); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  text-shadow: none; animation: nx-gold-sheen 8s ease-in-out infinite;
}
.is-gold .nx-type-kicker, .is-gold .nx-type-note, .is-gold .nx-auth-slogan { color: #e8d3a0; }
@keyframes nx-gold-sheen { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
@media (prefers-reduced-motion: reduce) { .is-gold .nx-type-title, .is-gold .nx-auth-mark-main { animation: none; } }

/* Watermark: gold outline on dark banners, white on light ones */
.nx-type-watermark { color: rgba(0, 0, 0, .05); mix-blend-mode: normal; }
.is-gold .nx-type-watermark { color: transparent; -webkit-text-stroke: 1px rgba(201, 162, 77, .22); }

/* Split banners made of type tiles */
.nx-split .nx-banner-type { min-height: 85svh; padding: calc(60px * var(--u, 1)) var(--nx-gutter); }
.nx-split .nx-type-title { font-size: clamp(calc(34px * var(--u, 1)), 5.2vw, calc(84px * var(--u, 1))); }
.nx-stack.is-stacked .nx-split .nx-banner-type { min-height: 0; height: 100%; }
@media (max-width: 768px) {
  .nx-split .nx-banner-type { min-height: 60svh; }
  .nx-stack.is-stacked .nx-split .nx-banner-type { height: 50%; }
}
.nx-banner-type .nx-type-note { margin-top: calc(18px * var(--u, 1)); text-decoration: underline; text-underline-offset: calc(5px * var(--u, 1)); }

/* Small accents */
.nx-chip { background: var(--nx-nude); }
.nx-chip-link.is-active { background: var(--nx-black); }
.nx-menu-badge { color: var(--nx-gold-2); }
.nx-footer-mark { background: var(--nx-gold); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* Auth: brand panel instead of a photo */
.nx-auth-visual.is-gold {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(22px * var(--u, 1));
  background: radial-gradient(ellipse 70% 60% at 50% 0%, #2a2116 0%, rgba(42,33,22,0) 70%), #070707;
  color: #fff; overflow: hidden; position: relative;
}
.nx-auth-visual .nx-type-watermark { font-size: clamp(calc(140px * var(--u, 1)), 22vw, calc(360px * var(--u, 1))); }
.nx-auth-mark { position: relative; display: flex; flex-direction: column; align-items: center; gap: calc(10px * var(--u, 1)); }
.nx-auth-mark-main { font-family: var(--nx-wide); font-stretch: 125%; font-weight: 900; font-size: clamp(calc(56px * var(--u, 1)), 7vw, calc(110px * var(--u, 1))); line-height: .9; }
.nx-auth-mark-sub { font-family: var(--nx-wide); font-stretch: 125%; font-weight: 600; font-size: var(--fs-body); letter-spacing: .4em; color: #e8d3a0; }
.nx-auth-slogan { position: relative; font: 400 var(--fs-body)/1 var(--nx-text); letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 900px) { .nx-auth-visual.is-gold { display: none; } }

/* ======================================================================
   Plain text pages (about, policies, FAQ) — small uppercase title + text
   ====================================================================== */
.nx-doc { padding: calc(40px * var(--u, 1)) var(--nx-gutter) calc(100px * var(--u, 1)); max-width: calc(1440px * var(--u, 1)); }
.nx-doc-title { margin: 0 0 calc(28px * var(--u, 1)); font: 500 var(--fs-label)/1.3 var(--nx-text); letter-spacing: .04em; text-transform: uppercase; }
.nx-doc-body { font-size: var(--fs-body); line-height: 1.65; color: var(--nx-black); text-align: justify; }
.nx-doc-body p { margin: 0 0 calc(18px * var(--u, 1)); }
.nx-doc-body h2, .nx-doc-body h3, .nx-doc-body h4 { margin: calc(34px * var(--u, 1)) 0 calc(12px * var(--u, 1)); font: 500 var(--fs-label)/1.3 var(--nx-text); letter-spacing: .06em; text-transform: uppercase; text-align: left; }
.nx-doc-body ul, .nx-doc-body ol { margin: 0 0 calc(18px * var(--u, 1)); padding-left: calc(18px * var(--u, 1)); }
.nx-doc-body li { margin-bottom: calc(6px * var(--u, 1)); }
.nx-doc-body a { text-decoration: underline; text-underline-offset: calc(3px * var(--u, 1)); }
.nx-doc-body table { width: 100%; border-collapse: collapse; margin: 0 0 calc(18px * var(--u, 1)); font-size: var(--fs-body); }
.nx-doc-body th, .nx-doc-body td { padding: calc(10px * var(--u, 1)) calc(12px * var(--u, 1)); border-bottom: 1px solid var(--nx-line); text-align: left; vertical-align: top; }
.nx-doc-body .policy-highlight-box { margin: 0 0 calc(24px * var(--u, 1)); padding: 0; border: 0; background: none; font-weight: 500; }
.nx-doc-body svg { display: none; }

.nx-doc-faq { border-top: 0; }
.nx-doc-q { border-bottom: 0; }
.nx-doc-q summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: calc(20px * var(--u, 1));
  padding: calc(11px * var(--u, 1)) 0; font: 400 var(--fs-label)/1.4 var(--nx-text); letter-spacing: .06em; text-transform: uppercase; color: var(--nx-black);
}
.nx-doc-q summary::-webkit-details-marker { display: none; }
.nx-doc-q summary::after { content: ""; flex-shrink: 0; width: calc(14px * var(--u, 1)); height: calc(14px * var(--u, 1));
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; }
.nx-doc-q[open] summary { color: var(--nx-muted); }
.nx-doc-q[open] summary::after { background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat; color: var(--nx-black); }
.nx-doc-a { padding: 2px 0 calc(22px * var(--u, 1)); font-size: var(--fs-body); line-height: 1.65; }
.nx-doc-a p { margin: 0 0 calc(14px * var(--u, 1)); }
.nx-doc-a .nx-doc-a-title { font-weight: 600; }
.nx-doc-a a { text-decoration: underline; text-underline-offset: calc(3px * var(--u, 1)); }

/* ======================================================================
   Contact — three columns: details, map, form
   ====================================================================== */
.nx-contact { padding: calc(50px * var(--u, 1)) var(--nx-gutter) calc(100px * var(--u, 1)); }
.nx-contact-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: calc(30px * var(--u, 1)); max-width: calc(1300px * var(--u, 1)); margin: 0 auto; align-items: start; }
@media (max-width: 980px) { .nx-contact-cols { grid-template-columns: 1fr; } }
.nx-contact .nx-contact-info { border: 0; padding: 0; gap: 0; }
.nx-contact-info section { padding: 0 0 calc(22px * var(--u, 1)); margin-bottom: calc(22px * var(--u, 1)); border-bottom: 1px solid var(--nx-line); }
.nx-contact-info section:last-child { border-bottom: 0; }
.nx-contact-info h2 { margin: 0 0 calc(14px * var(--u, 1)); font: 500 var(--fs-label)/1.3 var(--nx-text); }
.nx-contact-info p { margin: 0 0 calc(12px * var(--u, 1)); font-size: var(--fs-label); line-height: 1.5; color: var(--nx-ink-2); }
.nx-contact-info a { display: inline; font-size: inherit; }
.nx-contact-map { position: relative; min-height: calc(560px * var(--u, 1)); background: var(--nx-tile); }
.nx-contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.2); }
.nx-map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(16px * var(--u, 1)); padding: calc(30px * var(--u, 1)); text-align: center; font-size: var(--fs-label); color: var(--nx-ink-2); }
.nx-map-consent[hidden] { display: none; }
.nx-contact .nx-contact-form { border: 0; padding: 0; }
.nx-contact-form h2 { margin: 0 0 calc(10px * var(--u, 1)); font: 500 var(--fs-label)/1.3 var(--nx-text); }
.nx-contact-form form { display: grid; gap: calc(6px * var(--u, 1)); }

/* Underlined fields (contact, order tracking) */
.nx-uline { display: grid; gap: calc(4px * var(--u, 1)); padding-top: calc(14px * var(--u, 1)); font-size: var(--fs-label); font-weight: 500; }
.nx-uline input, .nx-uline textarea, .nx-form .nx-uline .custom-select-trigger {
  width: 100%; min-height: calc(34px * var(--u, 1)); padding: calc(6px * var(--u, 1)) 0; border: 0 !important; border-bottom: 1px solid #cfcfcf !important; border-radius: 0 !important;
  background: none !important; box-shadow: none !important; font: 400 var(--fs-body)/1.3 var(--nx-text); color: var(--nx-black); outline: 0;
}
.nx-uline textarea { min-height: calc(120px * var(--u, 1)); resize: vertical; }
.nx-uline input:focus, .nx-uline textarea:focus, .nx-form .nx-uline .custom-select-trigger:focus { border-bottom-color: var(--nx-black) !important; }
.nx-form .nx-uline .custom-select-trigger { padding: calc(6px * var(--u, 1)) 0 !important; }
.nx-form .nx-uline .custom-select-text { font-size: var(--fs-label); }
.nx-contact-form .nx-check { margin-top: calc(14px * var(--u, 1)); font-size: var(--fs-label); }
.nx-btn-round { border-radius: calc(6px * var(--u, 1)); margin-top: calc(18px * var(--u, 1)); height: calc(46px * var(--u, 1)); font-size: var(--fs-body); letter-spacing: 0; text-transform: none; width: 100%; }

/* ======================================================================
   Order tracking
   ====================================================================== */
.nx-track { padding: calc(30px * var(--u, 1)) var(--nx-gutter) calc(100px * var(--u, 1)); }
.nx-track .order-tracking-container { max-width: calc(900px * var(--u, 1)); margin: 0 auto; padding: 0; }
.nx-track-head { text-align: center; margin: 0 0 calc(70px * var(--u, 1)); }
.nx-track-title { margin: 0; font: 400 var(--fs-page)/1.2 var(--nx-text); letter-spacing: .04em; }
.nx-track-form { max-width: calc(470px * var(--u, 1)); margin: 0 auto; display: grid; gap: calc(16px * var(--u, 1)); justify-items: center; }
.nx-track-hint { margin: 0; font-size: var(--fs-body); line-height: 1.6; font-style: italic; text-align: center; }
.nx-track-hint a { text-decoration: none; }
.nx-track-hint strong { font-weight: 700; }
.nx-track-input { position: relative; width: 100%; }
.nx-track-input input {
  width: 100%; height: calc(50px * var(--u, 1)); padding: 0 calc(40px * var(--u, 1)) 0 calc(16px * var(--u, 1)); border: 0; border-bottom: 2px solid var(--nx-black); border-radius: calc(6px * var(--u, 1)) calc(6px * var(--u, 1)) 0 0;
  background: #fafafa; font: italic 400 var(--fs-body)/1 var(--nx-text); color: var(--nx-black); outline: 0;
}
.nx-track-input input::placeholder { color: #9a9a9a; }
.nx-track-input .order-input-clear { position: absolute; right: calc(10px * var(--u, 1)); top: 50%; transform: translateY(-50%); background: none; border: 0; cursor: pointer; color: var(--nx-muted); }
.nx-track-btn {
  display: inline-flex; align-items: center; gap: calc(10px * var(--u, 1)); height: calc(46px * var(--u, 1)); padding: 0 calc(30px * var(--u, 1)); margin-top: calc(6px * var(--u, 1));
  background: var(--nx-black); color: var(--nx-white); border: 0; cursor: pointer; font: 400 var(--fs-body)/1 var(--nx-text); letter-spacing: .04em;
}
.nx-track-btn:hover { opacity: .85; }
.nx-track .order-tracking-loader, .nx-track .order-tracking-error-card, .nx-track .order-tracking-result-section { margin-top: calc(60px * var(--u, 1)); }
.nx-track .order-detail-card, .nx-track .order-tracking-error-card { border: 1px solid var(--nx-line) !important; background: none !important; }
.nx-track :is(h2, h3) { font-family: var(--nx-text) !important; letter-spacing: 0 !important; }
.nx-footer-mark { background: none; color: var(--nx-black); -webkit-text-fill-color: currentColor; }
.nx-banner-type:not(.is-gold) .nx-type-title, .nx-banner-type:not(.is-gold) .nx-type-kicker { text-shadow: none; }

/* ======================================================================
   Order success, payment result, copyright — same plain language as tracking
   ====================================================================== */
.order-success-page, .payment-result-page, .contact-page-wrapper { background: var(--nx-white) !important; }
.payment-result-card, .order-success-page [class*="card"] { border-color: var(--nx-line) !important; background: none !important; }
.success-main-title, #paymentResultTitle, .contact-page-wrapper .contact-header h1 {
  font: 400 var(--fs-page)/1.25 var(--nx-text) !important; letter-spacing: .04em !important; text-transform: uppercase;
}
.order-success-page :is(h2, h3), .payment-result-page :is(h2, h3) { font-family: var(--nx-text) !important; letter-spacing: 0 !important; }
.order-success-page [class*="icon"]:not(svg) { background: none !important; color: var(--nx-black) !important; border: 1px solid var(--nx-black); }
.order-success-page a[class*="btn"], .order-success-page button[class*="btn"], .payment-result-page a, .payment-result-page button {
  border-radius: 0 !important; font-family: var(--nx-text) !important; letter-spacing: .02em;
}
.contact-page-wrapper .contact-header { text-align: center; margin-bottom: calc(40px * var(--u, 1)); }
.contact-page-wrapper .contact-header p { font-size: var(--fs-body); font-style: italic; color: var(--nx-black); }
.contact-page-wrapper .contact-form-card, .contact-page-wrapper form { background: none !important; border: 0 !important; padding: 0 !important; }
.contact-page-wrapper .contact-input, .contact-page-wrapper .contact-textarea, .contact-page-wrapper textarea, .contact-page-wrapper input[type="text"], .contact-page-wrapper input[type="email"], .contact-page-wrapper input[type="url"], .contact-page-wrapper input[type="tel"] {
  border: 0 !important; border-bottom: 1px solid #cfcfcf !important; border-radius: 0 !important; background: none !important; padding-left: 0 !important;
}
.contact-page-wrapper .contact-input:focus, .contact-page-wrapper textarea:focus { border-bottom-color: var(--nx-black) !important; }
.contact-page-wrapper .contact-field-label { font: 500 var(--fs-label)/1.3 var(--nx-text) !important; }
.contact-page-wrapper .contact-submit-btn { border-radius: calc(6px * var(--u, 1)) !important; background: var(--nx-black) !important; color: #fff !important; }

/* ======================================================================
   Smooth dropdowns
   ====================================================================== */
/* Side-menu groups: grid rows 0fr -> 1fr animates to the content's natural height. */
.nx-collapse {
  display: grid; grid-template-rows: 0fr; opacity: 0;
  transition: grid-template-rows .45s var(--nx-ease), opacity .3s ease;
}
.nx-collapse > * { overflow: hidden; min-height: 0; }
.nx-collapse.is-open { grid-template-rows: 1fr; opacity: 1; }
.nx-collapse .nx-menu-sub li { transform: translateY(-6px); opacity: 0; transition: transform .4s var(--nx-ease), opacity .3s ease; }
.nx-collapse.is-open .nx-menu-sub li { transform: none; opacity: 1; }
.nx-collapse.is-open .nx-menu-sub li:nth-child(2) { transition-delay: .03s; }
.nx-collapse.is-open .nx-menu-sub li:nth-child(3) { transition-delay: .06s; }
.nx-collapse.is-open .nx-menu-sub li:nth-child(4) { transition-delay: .09s; }
.nx-collapse.is-open .nx-menu-sub li:nth-child(5) { transition-delay: .12s; }
.nx-collapse.is-open .nx-menu-sub li:nth-child(n+6) { transition-delay: .15s; }
.nx-menu-plus::after { transition: transform .35s var(--nx-ease); }
.nx-menu-link { transition: opacity .2s ease; }

/* <details> accordions: content fades while esma.js animates the height. */
details.nx-acc > :not(summary), details.nx-doc-q > :not(summary) { transition: opacity .3s ease; }
details.is-opening > :not(summary) { animation: nx-fade-in .38s ease both; }
details.is-closing > :not(summary) { opacity: 0; }
details.nx-doc-q.is-closing summary::after { background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; }
details.nx-doc-q.is-closing summary { color: var(--nx-black); }
@keyframes nx-fade-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Sort popover */
.nx-popover {
  display: block; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s ease, transform .3s var(--nx-ease), visibility 0s linear .3s;
}
.nx-popover.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .3s var(--nx-ease), visibility 0s; }

/* Custom selects (city / district / neighbourhood / contact subject) */
.custom-select-dropdown {
  display: flex !important; animation: none !important;
  opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none;
  transition: opacity .22s ease, transform .3s var(--nx-ease), visibility 0s linear .3s;
}
.custom-select-wrapper.open .custom-select-dropdown {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  transition: opacity .22s ease, transform .3s var(--nx-ease), visibility 0s;
}
.custom-select-chevron { transition: transform .35s var(--nx-ease) !important; }

@media (prefers-reduced-motion: reduce) {
  .nx-collapse, .nx-collapse .nx-menu-sub li, .nx-popover, .custom-select-dropdown, .nx-acc summary::after { transition: none !important; }
  details.is-opening > :not(summary) { animation: none; }
}
/* Keep the collapsed group at 0px: spacing lives on the items, not on the clipped list. */
.nx-collapse .nx-menu-sub { padding: 0 0 0 calc(14px * var(--u, 1)); }
.nx-collapse .nx-menu-sub li:last-child a { padding-bottom: calc(16px * var(--u, 1)); }

/* ---------- Favourites ---------- */
.nx-fav {
  position: absolute; top: calc(8px * var(--u, 1)); right: calc(8px * var(--u, 1)); z-index: 2; width: calc(34px * var(--u, 1)); height: calc(34px * var(--u, 1)); display: grid; place-items: center;
  border: 0; background: none; cursor: pointer; color: var(--nx-black);
  opacity: 0; transition: opacity .25s ease, transform .2s ease;
}
.nx-card:hover .nx-fav, .nx-fav:focus-visible, .nx-fav.is-active { opacity: 1; }
@media (hover: none) { .nx-fav { opacity: 1; } }
.nx-fav:hover { transform: scale(1.08); }
.nx-fav.is-active svg { fill: currentColor; }
.nx-fav-inline { position: static; opacity: 1; width: calc(28px * var(--u, 1)); height: calc(28px * var(--u, 1)); margin-right: -6px; flex-shrink: 0; }
.nx-pdp-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: calc(16px * var(--u, 1)); }
.nx-fav-link { gap: calc(4px * var(--u, 1)); }
.nx-fav-count { font-size: var(--fs-label); letter-spacing: 0; }
.nx-favorites .nx-fav-slot { display: contents; }
.nx-favorites .nx-fav-slot[hidden] { display: none; }
.success-badge-circle[hidden], .success-details-card[hidden] { display: none !important; }

/* ---------- Campaigns & payment options ---------- */
.nx-doc-lead { margin: -14px 0 calc(28px * var(--u, 1)); font-size: var(--fs-body); color: var(--nx-ink-2); }
.nx-campaigns { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, calc(380px * var(--u, 1))), 1fr)); gap: 2px; }
.nx-campaign {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: calc(12px * var(--u, 1)); min-height: calc(340px * var(--u, 1)); padding: calc(32px * var(--u, 1));
  background: var(--nx-bg); color: var(--nx-fg); text-decoration: none; overflow: hidden;
}
.nx-campaign-badge { position: absolute; top: calc(20px * var(--u, 1)); left: calc(20px * var(--u, 1)); padding: calc(5px * var(--u, 1)) calc(8px * var(--u, 1)); background: rgba(255,255,255,.92); color: var(--nx-black); font: 600 var(--fs-xs)/1 var(--nx-text); letter-spacing: .08em; }
.nx-campaign .nx-campaign-title { font-family: var(--nx-wide); font-stretch: 125%; font-weight: 900; font-size: clamp(calc(26px * var(--u, 1)), 2.6vw, calc(40px * var(--u, 1))); line-height: .95; max-width: 14ch; }
.nx-campaign-text { font-size: var(--fs-body); line-height: 1.5; max-width: 40ch; opacity: .9; }
.nx-campaign-cta { margin-top: calc(6px * var(--u, 1)); font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase; text-decoration: underline; text-underline-offset: calc(4px * var(--u, 1)); }
.nx-campaign.is-gold .nx-campaign-text, .nx-campaign.is-gold .nx-campaign-cta { color: #e8d3a0; }
.nx-campaign:hover .nx-campaign-cta { opacity: .7; }
.nx-pay-logos { display: flex; align-items: center; gap: calc(24px * var(--u, 1)); margin-top: calc(26px * var(--u, 1)); }
.nx-pay-logos img { width: auto; filter: grayscale(1); opacity: .85; }
.nx-pay-logos img { height: calc(20px * var(--u, 1)) !important; max-width: none; }
.nx-campaign:not(.is-gold) .nx-campaign-title { text-shadow: none; }

/* ---------- Product imagery ----------
   Cards and gallery frames use the images' own 2:3 ratio, so photos fill them edge to edge.
   Packshots whose background was removed (files named *-cut.*, see server/seed) sit centred on a
   warm studio tile, which gives the catalogue one consistent look. */
:root { --nx-studio: #f3ede7; }
.nx-card-media { aspect-ratio: 2 / 3; }
.nx-pdp-image, .nx-pdp-thumb { aspect-ratio: 2 / 3; }
.nx-card-media, .nx-pdp-image, .nx-pdp-thumb, .cart-item-photo-box, .cart-item-thumb-box { background: var(--nx-studio) !important; }
.nx-card-img { object-fit: cover; transition: opacity .5s var(--nx-ease), transform .9s var(--nx-ease); }
.nx-card:hover .nx-card-img:not(.nx-card-img-hover) { transform: scale(1.025); }
.nx-card-img[src*="-cut."], .nx-pdp-image img[src*="-cut."], .nx-pdp-thumb img[src*="-cut."],
.cart-item-photo[src*="-cut."], .cart-item-thumb[src*="-cut."], .search-result-card img[src*="-cut."] { object-fit: contain; }
.nx-pdp-image img { object-fit: cover; }
.cart-item-photo-box, .cart-item-thumb-box { aspect-ratio: 2 / 3 !important; }
.search-result-card img { width: calc(54px * var(--u, 1)) !important; height: calc(81px * var(--u, 1)) !important; background: var(--nx-studio); object-fit: cover; }
/* Header over a light banner: dark text instead of white. */
.nx-header.is-overlay.is-light:not(.is-solid) { color: var(--nx-black); }
/* Banners between product rows are full-screen like the opening. */
.nx-stack:not(.is-stacked) .nx-split .nx-banner-type { min-height: 100svh; }
@media (max-width: 768px) { .nx-stack:not(.is-stacked) .nx-split .nx-banner-type { min-height: 60svh; } }
.nx-pdp-image img[src*="-cut."] { padding: 8% 10%; box-sizing: border-box; }
.nx-fav-link.has-items svg { fill: currentColor; }

/* ---------- Information pages: header band and About ---------- */
.nx-page-band { min-height: 46svh; padding: calc(70px * var(--u, 1)) var(--nx-gutter); gap: calc(16px * var(--u, 1)); }
.nx-page-band .nx-type-title { margin: 0; font-size: clamp(calc(40px * var(--u, 1)), 7vw, calc(112px * var(--u, 1))); max-width: 16ch; }
.nx-page-band .nx-type-kicker { font-size: clamp(calc(12px * var(--u, 1)), 1.3vw, calc(18px * var(--u, 1))); }
.nx-page-band .nx-type-watermark { font-size: clamp(calc(160px * var(--u, 1)), 26vw, calc(420px * var(--u, 1))); }
@media (max-width: 768px) { .nx-page-band { min-height: 34svh; padding: calc(50px * var(--u, 1)) var(--nx-gutter); } }
.nx-page-band + .nx-main.nx-doc { padding-top: calc(48px * var(--u, 1)); }
.nx-about-intro { padding: clamp(calc(56px * var(--u, 1)), 9vw, calc(120px * var(--u, 1))) var(--nx-gutter); max-width: calc(1100px * var(--u, 1)); margin: 0 auto; text-align: center; }
.nx-about-intro p { margin: 0; font: 400 clamp(calc(20px * var(--u, 1)), 2.4vw, calc(32px * var(--u, 1)))/1.4 var(--nx-text); letter-spacing: -.01em; }
.nx-feature-media { aspect-ratio: 2 / 3; max-height: 92svh; background: var(--nx-studio); }
.nx-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.nx-feature-copy { justify-self: center; }
.nx-feature.is-text-only { grid-template-columns: 1fr; }
.nx-about-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; padding: clamp(calc(56px * var(--u, 1)), 8vw, calc(110px * var(--u, 1))) var(--nx-gutter); }
@media (max-width: 768px) { .nx-about-tiles { grid-template-columns: 1fr; } }
.nx-about-tile { display: grid; gap: calc(14px * var(--u, 1)); text-decoration: none; }
.nx-about-tile-media { display: block; aspect-ratio: 2 / 3; background: var(--nx-studio); overflow: hidden; }
.nx-about-tile-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .9s var(--nx-ease); }
.nx-about-tile:hover .nx-about-tile-media img { transform: scale(1.04); }
.nx-about-tile-label { font: 500 var(--fs-label)/1 var(--nx-text); letter-spacing: .08em; text-decoration: underline; text-underline-offset: calc(4px * var(--u, 1)); }
.nx-page-band .nx-type-title, .nx-page-band .nx-type-kicker { text-transform: uppercase; }
.nx-about .nx-feature { align-items: stretch; }
.nx-about .nx-feature-media { aspect-ratio: auto; height: min(88svh, calc(980px * var(--u, 1))); max-height: none; }
.nx-about .nx-feature-media img { object-position: center 20%; }
.nx-about .nx-feature-copy { align-self: center; }
@media (max-width: 800px) { .nx-about .nx-feature-media { height: 70svh; } }

/* ---------- Product tiles: white at rest, warm cream on hover ----------
   Cut-out packshots (*-cut.*) stay put and the tile warms up; photo covers keep the
   Nocturne-style swap to the second image. */
:root { --nx-studio: #ffffff; --nx-studio-hover: #f3ede7; }
.nx-card-media, .nx-about-tile-media { background: var(--nx-studio) !important; transition: background-color .45s var(--nx-ease); }
.nx-card:hover .nx-card-media, .nx-card:focus-within .nx-card-media,
.nx-about-tile:hover .nx-about-tile-media { background: var(--nx-studio-hover) !important; }
.nx-card-media:has(.nx-card-img[src*="-cut."]) .nx-card-img-hover { display: none; }
.nx-pdp-image, .nx-pdp-thumb, .cart-item-photo-box, .cart-item-thumb-box, .search-result-card img { background: #ffffff !important; }
.nx-card-media { box-shadow: inset 0 0 0 1px #f0ebe6; }

/* Watermark word: outlined Archivo (the display face) instead of a third typeface. */
.nx-type-watermark {
  font-family: var(--nx-wide) !important; font-stretch: 125%; font-weight: 900 !important; letter-spacing: -.02em;
  color: transparent !important; -webkit-text-stroke: 1.5px rgba(0, 0, 0, .08); mix-blend-mode: normal;
}
.is-gold .nx-type-watermark { -webkit-text-stroke: 1.5px rgba(201, 162, 77, .2) !important; }

/* Campaigns: wide stacked banners, like the reference's campaign page */
.nx-campaign-list { display: grid; gap: calc(20px * var(--u, 1)); max-width: calc(1240px * var(--u, 1)); margin: 0 auto; }
.nx-campaign-banner { min-height: clamp(calc(320px * var(--u, 1)), 42vw, calc(560px * var(--u, 1))); padding: calc(60px * var(--u, 1)) var(--nx-gutter); gap: calc(18px * var(--u, 1)); }
.nx-campaign-banner .nx-type-title { font-size: clamp(calc(34px * var(--u, 1)), 6vw, calc(92px * var(--u, 1))); max-width: 16ch; }
.nx-campaign-banner .nx-campaign-badge { top: calc(24px * var(--u, 1)); left: calc(24px * var(--u, 1)); }
.nx-campaign-banner .nx-campaign-text { font: 400 var(--fs-body)/1.5 var(--nx-text); max-width: 46ch; opacity: .9; }
.nx-campaign-banner.is-gold .nx-campaign-text { color: #e8d3a0; }
.nx-doc .nx-pay-logos { margin-top: calc(36px * var(--u, 1)); }

/* Model gallery banner: 2–4 portrait photos side by side, title over a soft bottom shade */
.nx-gallery { position: relative; display: block; height: 100svh; min-height: calc(520px * var(--u, 1)); overflow: hidden; background: #f1eeea; color: #fff; }
.nx-gallery-row { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--nx-cols, 4), 1fr); gap: 2px; background: #fff; }
.nx-gallery-cell { position: relative; overflow: hidden; }
.nx-gallery-cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.2s var(--nx-ease); }
.nx-gallery:hover .nx-gallery-cell img { transform: scale(1.03); }
.nx-gallery::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.5)); }
.nx-gallery-copy { position: absolute; left: 0; right: 0; bottom: 9vh; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: calc(14px * var(--u, 1)); text-align: center; padding: 0 var(--nx-gutter); }
.nx-gallery-kicker { font: 600 var(--fs-label)/1 var(--nx-text); letter-spacing: .24em; color: #e8d3a0; }
.nx-gallery-title { font-family: var(--nx-wide); font-stretch: 125%; font-weight: 900; font-size: clamp(calc(34px * var(--u, 1)), 6vw, calc(96px * var(--u, 1))); line-height: .92; letter-spacing: -.01em; text-transform: uppercase; }
.nx-gallery-note { font: 500 var(--fs-label)/1 var(--nx-text); letter-spacing: .16em; text-transform: uppercase; padding-bottom: calc(4px * var(--u, 1)); border-bottom: 1px solid currentColor; }
.nx-stack.is-stacked .nx-gallery { height: 100%; min-height: 0; }
@media (max-width: 768px) {
  .nx-gallery-row { grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; }
  .nx-gallery:not([style*="--nx-cols: 2"]) .nx-gallery-row { grid-template-rows: 1fr 1fr; }
  .nx-gallery-cell:nth-child(n+5) { display: none; }
  .nx-gallery-copy { bottom: 6vh; }
}

/* Big display titles scale with the screen so long Turkish words ("GÜZELLİĞİNİZE", "SEÇENEKLERİ")
   never run off a phone screen (Archivo 125% is ~0.85em per capital). */
.nx-type-title { font-size: clamp(calc(28px * var(--u, 1)), 7.6vw, calc(120px * var(--u, 1))); }
.nx-page-band .nx-type-title { font-size: clamp(calc(26px * var(--u, 1)), 7vw, calc(112px * var(--u, 1))); }
.nx-split .nx-type-title { font-size: clamp(calc(28px * var(--u, 1)), 5.2vw, calc(84px * var(--u, 1))); }
.nx-campaign-banner .nx-type-title { font-size: clamp(calc(26px * var(--u, 1)), 6vw, calc(92px * var(--u, 1))); }
.nx-banner-title { overflow-wrap: break-word; }
@media (max-width: 768px) {
  .nx-split .nx-type-title { font-size: clamp(calc(26px * var(--u, 1)), 8vw, calc(44px * var(--u, 1))); }
  .nx-split .nx-banner-title { font-size: clamp(calc(26px * var(--u, 1)), 8vw, calc(44px * var(--u, 1))); }
}

/* Model gallery banner: calmer title, readable kicker over light studio photos */
.nx-gallery::after { background: linear-gradient(180deg, rgba(0,0,0,0) 38%, rgba(0,0,0,.18) 60%, rgba(0,0,0,.62)); }
.nx-gallery-title { font-size: clamp(calc(28px * var(--u, 1)), 5vw, calc(76px * var(--u, 1))); max-width: 18ch; }
.nx-gallery-kicker { color: #f3e3b8; text-shadow: 0 1px calc(12px * var(--u, 1)) rgba(0,0,0,.35); }
.nx-gallery-title, .nx-gallery-note { text-shadow: 0 2px calc(24px * var(--u, 1)) rgba(0,0,0,.25); }

/* Phones: a pinned split banner is two equal rows that fill the screen (no gap showing the slide below). */
@media (max-width: 768px) {
  .nx-stack.is-stacked .nx-split { grid-template-rows: 1fr 1fr; background: var(--nx-bg, #000); }
  .nx-stack.is-stacked .nx-split .nx-banner-image,
  .nx-stack.is-stacked .nx-split .nx-banner-type { height: 100%; min-height: 0; }
}

/* Footer sign-up: e-mail row + consent box inside the same form */
.nx-news-form { display: block; border-bottom: 0; margin: calc(10px * var(--u, 1)) 0 0; }
.nx-news-row { display: flex; align-items: flex-end; gap: calc(12px * var(--u, 1)); margin-bottom: calc(18px * var(--u, 1)); border-bottom: 1px solid var(--nx-black); }

/* Touch screens (no hover): "Sepete ekle" sits under the price as a slim outlined button. */
@media (hover: none) {
  .nx-card { display: flex; flex-direction: column; }
  .nx-card-info { order: 1; }
  .nx-card-quick {
    order: 2; display: block; margin: calc(10px * var(--u, 1)) calc(10px * var(--u, 1)) 0; height: calc(34px * var(--u, 1)); border: 1px solid var(--nx-black);
    background: transparent; color: var(--nx-black); cursor: pointer;
    font: 600 var(--fs-xs)/calc(32px * var(--u, 1)) var(--nx-text); letter-spacing: .1em;
  }
  .nx-card-quick:active { background: var(--nx-black); color: var(--nx-white); }
}
@media (hover: none) and (min-width: 769px) { .nx-card-quick { margin: calc(10px * var(--u, 1)) 0 0; } }

/* Typographic banner call-to-action button */
.nx-type-button {
  display: inline-block; margin-top: calc(30px * var(--u, 1)); padding: calc(15px * var(--u, 1)) calc(30px * var(--u, 1)); border: 1px solid currentColor;
  font: 600 var(--fs-label)/1 var(--nx-text); letter-spacing: .16em; text-transform: uppercase;
  transition: background-color .3s var(--nx-ease), color .3s var(--nx-ease);
}
.nx-banner-type:hover .nx-type-button { background: var(--nx-fg, #111); color: var(--nx-bg, #fff); }
.is-gold .nx-type-button { color: #111; background: linear-gradient(100deg, #b8913f, #e6c879 50%, #b8913f); border-color: transparent; }
.is-gold.nx-banner-type:hover .nx-type-button { background: #f0d58c; color: #111; }
.nx-type-button + .nx-type-note { margin-top: calc(16px * var(--u, 1)); opacity: .75; text-decoration: none; font-size: var(--fs-xs); letter-spacing: .1em; }

/* "Scroll" hint on the first banner */
.nx-scroll-hint {
  position: absolute; left: 50%; bottom: calc(26px * var(--u, 1)); z-index: 3; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: calc(10px * var(--u, 1)); color: #e8d3a0;
  font: 600 var(--fs-xs)/1 var(--nx-text); letter-spacing: .24em;
}
.nx-scroll-hint-light { color: #111; }
.nx-scroll-hint i { width: 1px; height: calc(38px * var(--u, 1)); background: currentColor; opacity: .35; position: relative; overflow: hidden; }
.nx-scroll-hint i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: currentColor; animation: nx-scroll-line 1.8s var(--nx-ease) infinite; }
@keyframes nx-scroll-line { to { top: 100%; } }
@media (prefers-reduced-motion: reduce) { .nx-scroll-hint i::after { animation: none; top: 30%; } }

/* The scroll hint is a direct child of the slide: keep it out of the slide-child sizing/drift rule. */
.nx-stack.is-stacked .nx-stack-slide > .nx-scroll-hint { height: auto; transform: translateX(-50%); will-change: auto; }

/* Phones: four header icons (search, account, favourites, cart) must not touch the centred logo. */
@media (max-width: 768px) {
  .nx-bar-right { gap: calc(9px * var(--u, 1)); }
  .nx-bar-right svg { width: calc(19px * var(--u, 1)); height: calc(19px * var(--u, 1)); }
  .nx-cart-count { margin-left: -2px; }
}
@media (max-width: 360px) { .nx-logo-main { font-size: calc(19px * var(--u, 1)); } .nx-bar-right { gap: calc(6px * var(--u, 1)); } }
@media (hover: none) { .nx-card-info { flex: 1 0 auto; } }

/* Campaigns page: full-screen black & gold entry banner, the list starts below it */
.nx-campaign-hero .nx-banner-type { min-height: calc(100svh - var(--nx-announce-h, 0px) - var(--nx-bar-h, calc(64px * var(--u, 1)))); padding: calc(60px * var(--u, 1)) var(--nx-gutter); }
.nx-campaign-hero + .nx-main.nx-doc { padding-top: calc(56px * var(--u, 1)); scroll-margin-top: calc(80px * var(--u, 1)); }

/* ---------- Banner stack, reference-site model ----------
   Height: one screen per banner change × 1.24 (the extra 24% is the hold after each change).
   Only the incoming banner moves; no darkening, drift or zoom on the banner underneath. */
.nx-stack.is-stacked { height: calc(var(--nx-stack-count, var(--nx-slides)) * 100svh); background: #000; }
.nx-stack.is-stacked .nx-stack-slide { will-change: transform; backface-visibility: hidden; }
.nx-stack.is-stacked .nx-stack-slide > * { transform: none; will-change: auto; }
.nx-stack.is-stacked .nx-stack-slide > .nx-scroll-hint { transform: translateX(-50%); }
.nx-stack.is-stacked .nx-stack-slide::after { display: none; }
.nx-stack.is-stacked .nx-stack-media,
.nx-stack.is-stacked .nx-banner-image:hover img { transform: none; }


/* About page: readable copy next to the large photos, clearer category tiles */
.nx-about .nx-feature-copy { max-width: calc(520px * var(--u, 1)); }
.nx-about .nx-feature-index { display: block; margin-bottom: calc(18px * var(--u, 1)); font: 600 var(--fs-label)/1 var(--nx-text); letter-spacing: .2em; color: #a08a5a; }
.nx-about .nx-feature-title { margin: 0 0 calc(22px * var(--u, 1)); }
.nx-about .nx-feature-copy p { margin: 0; font: 400 clamp(calc(15px * var(--u, 1)), 1.15vw, calc(17px * var(--u, 1)))/1.75 var(--nx-text); color: #333; max-width: 42ch; }
.nx-about-tiles-head { padding: clamp(calc(56px * var(--u, 1)), 8vw, calc(110px * var(--u, 1))) var(--nx-gutter) 0; }
.nx-about-tiles { padding-top: calc(22px * var(--u, 1)); }
.nx-about-tile-media { aspect-ratio: 4 / 5; }
.nx-about-tile-label {
  display: inline-flex; align-items: center; gap: calc(8px * var(--u, 1)); text-decoration: none;
  font-family: var(--nx-wide); font-stretch: 125%; font-weight: 800; font-size: clamp(calc(13px * var(--u, 1)), 1.2vw, calc(17px * var(--u, 1))); letter-spacing: .02em; text-transform: uppercase;
}
.nx-about-tile-label span { transition: transform .3s var(--nx-ease); }
.nx-about-tile:hover .nx-about-tile-label span { transform: translateX(calc(4px * var(--u, 1))); }
@media (max-width: 768px) {
  .nx-about .nx-feature-copy { padding: calc(36px * var(--u, 1)) var(--nx-gutter) calc(48px * var(--u, 1)); }
  .nx-about-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(8px * var(--u, 1)); padding-bottom: calc(56px * var(--u, 1)); }
  .nx-about-tile { gap: calc(10px * var(--u, 1)); }
  .nx-about-tile-media { aspect-ratio: 3 / 4; }
  .nx-about-tile-label { font-size: calc(10px * var(--u, 1)); gap: calc(4px * var(--u, 1)); }
}

/* Band sub-line (e.g. the About intro sentence under the title) */
.nx-page-band-text { position: relative; margin: calc(6px * var(--u, 1)) 0 0; max-width: 46ch; font: 400 clamp(calc(14px * var(--u, 1)), 1.2vw, calc(17px * var(--u, 1)))/1.6 var(--nx-text); letter-spacing: .01em; opacity: .8; }
.nx-about .nx-page-band + .nx-feature { margin-top: 0; }
.nx-about-tile-label span { font-family: var(--nx-text); font-weight: 600; }

/* Contact: on phones the map (or its consent box) is a short strip, not half a screen */
@media (max-width: 860px) {
  .nx-contact-map { min-height: 0; aspect-ratio: 4 / 3; max-height: calc(320px * var(--u, 1)); }
  .nx-map-consent { gap: calc(12px * var(--u, 1)); padding: calc(20px * var(--u, 1)); }
}

/* ======================================================================
   THE button (views/partials/components/button.ejs). One size everywhere:
   44px high · 22px side padding · square corners · 1px border ·
   Inter 500 11px uppercase · .08em tracking · hover inverts.
   !important keeps older page stylesheets (cart, profile, auth…) from
   re-sizing it; variants only change colours.
   ====================================================================== */
.nx-btn {
  display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: calc(8px * var(--u, 1));
  box-sizing: border-box !important; height: calc(44px * var(--u, 1)) !important; min-height: calc(44px * var(--u, 1)) !important; padding: 0 calc(22px * var(--u, 1)) !important; margin: 0;
  border: 1px solid var(--nx-black) !important; border-radius: 0 !important; box-shadow: none !important;
  background: var(--nx-black) !important; color: var(--nx-white) !important;
  font: 500 var(--fs-label)/1 var(--nx-text) !important; letter-spacing: .08em !important; text-transform: uppercase !important;
  text-decoration: none !important; white-space: nowrap; cursor: pointer; width: auto;
  transition: background-color .2s, color .2s, border-color .2s, opacity .2s;
}
.nx-btn:hover, .nx-btn:focus-visible { background: var(--nx-white) !important; color: var(--nx-black) !important; }
.nx-btn span { font: inherit !important; letter-spacing: inherit !important; color: inherit !important; }
.nx-btn-ghost { background: var(--nx-white) !important; color: var(--nx-black) !important; }
.nx-btn-ghost:hover, .nx-btn-ghost:focus-visible { background: var(--nx-black) !important; color: var(--nx-white) !important; }
.nx-btn-soft { background: var(--nx-soft) !important; border-color: var(--nx-soft) !important; color: var(--nx-black) !important; }
.nx-btn-soft:hover, .nx-btn-soft:focus-visible { background: var(--nx-black) !important; border-color: var(--nx-black) !important; color: var(--nx-white) !important; }
.nx-btn-block { display: flex !important; width: 100% !important; }
.nx-btn[disabled], .nx-btn.is-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.nx-pdp-buy .nx-btn { height: calc(44px * var(--u, 1)) !important; }
/* Spacing where a button follows form content */
.nx-contact-form .nx-btn-block, .auth-form .nx-btn-block, form .nx-btn-block { margin-top: calc(18px * var(--u, 1)); }

/* Contact map: shown directly (like the reference site), link to Google Maps underneath */
.nx-contact-map-wrap { display: grid; gap: calc(12px * var(--u, 1)); align-content: start; }
.nx-contact-map-link { justify-self: start; font-size: var(--fs-label); letter-spacing: .04em; }
/* FAQ / payment questions: the open question stays black (grey looked disabled) */
.nx-doc-q[open] > summary { color: var(--nx-black); }

/* Packshots cut from ad posters keep their white ground; multiply lets it take the tile colour
   (white at rest, cream on hover) so no white box ever shows. */
img[src*="-pack-cut."] { mix-blend-mode: multiply; }

/* Product page, desktop: images stacked and scrolled (each one screen high), info column sticky;
   thumbnails jump to an image and follow the scroll. */
@media (min-width: 769px) {
  .nx-pdp-images { gap: calc(12px * var(--u, 1)); padding-top: calc(20px * var(--u, 1)); }
  .nx-pdp-image { height: min(calc(100svh - var(--nx-announce-h) - var(--nx-bar-h) - calc(40px * var(--u, 1))), calc(1000px * var(--u, 1))); width: auto; max-width: 100%; aspect-ratio: 2 / 3; margin: 0 auto; scroll-margin-top: calc(var(--nx-announce-h) + var(--nx-bar-h) + calc(20px * var(--u, 1))); }
}
@keyframes nx-fade { from { opacity: 0; } to { opacity: 1; } }
/* Product specifications (from the description) */
.nx-specs { margin: calc(14px * var(--u, 1)) 0 0; display: grid; border-top: 1px solid var(--nx-line); }
.nx-specs div { display: grid; grid-template-columns: minmax(calc(120px * var(--u, 1)), 40%) 1fr; gap: calc(12px * var(--u, 1)); padding: calc(9px * var(--u, 1)) 0; border-bottom: 1px solid var(--nx-line); }
.nx-specs dt { color: var(--nx-muted); font-size: var(--fs-body); }
.nx-specs dd { margin: 0; font-size: var(--fs-body); color: var(--nx-black); }
.nx-pdp-code { letter-spacing: .04em; }
/* Product page: quantity box and "Sepete ekle" exactly the same height (button standard: 44px) */
.nx-qty { height: calc(44px * var(--u, 1)); box-sizing: border-box; }
.nx-pdp-buy { align-items: stretch; }

/* ======================================================================
   Form fields (boxed): same language as the buttons — square corners,
   44px high, 1px light border, black border on focus.
   Used by the cart / checkout, sign-in & register, profile and other forms.
   ====================================================================== */
.nx-cart .form-field-input, .nx-cart .custom-select-trigger,
.nx-auth .auth-input,
.nx-field input, .nx-form .custom-select-trigger {
  border-radius: 0 !important; min-height: calc(44px * var(--u, 1)) !important; height: calc(44px * var(--u, 1)) !important; box-sizing: border-box;
}
.nx-cart .form-field-textarea, .nx-field textarea { border-radius: 0 !important; }
.nx-auth .auth-otp-digit { border-radius: 0 !important; }
.nx-cart .custom-select-dropdown, .nx-form .custom-select-dropdown { border-radius: 0 !important; }
.cart-drawer-note { margin: -4px 0 calc(14px * var(--u, 1)); font-size: var(--fs-label); color: var(--nx-muted); }
/* Photos re-shot onto the shared white studio ground also take the tile colour (white → cream on hover). */
img[src*="-studio."] { mix-blend-mode: multiply; }

/* Legal pages: one title (the full name), smaller so long names fit; readable text width */
.nx-page-band.is-legal .nx-type-title { font-size: clamp(calc(24px * var(--u, 1)), 4.2vw, calc(64px * var(--u, 1))); max-width: 22ch; }
.policy-body { max-width: calc(860px * var(--u, 1)); margin: 0 auto; }

/* Tablets in landscape / small laptops (769–1100px): the text header items need less room around the centred logo */
@media (min-width: 769px) and (max-width: 1100px) {
  .nx-bar-right { gap: calc(18px * var(--u, 1)); }
  .nx-logo-main { font-size: calc(26px * var(--u, 1)); }
  .nx-logo-sub { font-size: calc(9px * var(--u, 1)); }
}

/* ======================================================================
   Large screens: every fixed size in the stylesheets is written as
   calc(Npx * var(--u, 1)); raising --u scales type, header, buttons,
   spacing and icons together (viewport-based banners are unaffected).
   ====================================================================== */
:root { --u: 1; }
/* Big screens look like a ~1600px wide layout: 1920 → 1.2, 2560 → 1.6, 3840 → 2.4 */
@media (min-width: 1800px) { :root { --u: 1.2; } }
@media (min-width: 2300px) { :root { --u: 1.6; } }
@media (min-width: 3200px) { :root { --u: 2.4; } }
/* inline SVG icons carry width/height attributes: size them with the scale too */
.nx-bar svg, .nx-fav svg, .nx-fav-link svg, .cart-drawer-close svg, .nx-qty button, .nx-sheet-head svg { width: calc(20px * var(--u, 1)); height: calc(20px * var(--u, 1)); }
.nx-fav svg { width: calc(16px * var(--u, 1)); height: calc(16px * var(--u, 1)); }
/* Cart drawer title: "Sepetim (4 ürün)" */
.cart-drawer-title .cart-drawer-count { font-size: .7em; font-weight: 400; color: var(--nx-muted); letter-spacing: 0; vertical-align: middle; }
/* Header "FAVORİLER (2)": count in the same type as "SEPET (4)"; on phones the filled heart is enough */
.nx-fav-link .nx-fav-count { font-size: inherit; letter-spacing: 0; }
@media (max-width: 768px) { .nx-fav-link .nx-fav-count { display: none; } }
/* Phones: text header (ARA · FAVORİ · SEPET (0)) in small caps-size type that fits beside the logo */
@media (max-width: 768px) {
  .nx-bar-right { gap: 10px; }
  .nx-bar-right .nx-text-btn { font-size: 10px; letter-spacing: .06em; }
  .nx-bar-right .nx-cart-count { font-size: 10px; margin-left: 1px; }
}
@media (max-width: 360px) { .nx-bar-right { gap: 7px; } .nx-bar-right .nx-text-btn, .nx-bar-right .nx-cart-count { font-size: 9px; } }
@media (max-width: 768px) {
  .nx-bar-left { gap: 12px; }
  .nx-search-left { font-size: 10px; letter-spacing: .06em; }
  .nx-bar-right .nx-search-right { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); padding: 0; }
}
/* The left "ARA" exists only on phones */
.nx-bar-left .nx-search-left { display: none; }
@media (max-width: 768px) { .nx-bar-left .nx-search-left { display: inline-flex; } }
/* Cart: the first product row keeps the same top spacing as the others (it touched the header line) */
.nx-cart .cart-page-item:first-child { padding-top: calc(20px * var(--u, 1)); }
.nx-cart .checkout-card-back-brand { gap: calc(6px * var(--u, 1)); letter-spacing: .18em; color: #C9A24D; align-items: baseline; }
.nx-cart .checkout-card-back-logo { font: 900 calc(13px * var(--u, 1))/1 "Arial Black", Arial, sans-serif; letter-spacing: .02em; }
.nx-cart .checkout-card-back-brand span { font-size: calc(8px * var(--u, 1)); font-weight: 700; }
/* Desktop header: category links beside the menu button */
.nx-bar-cats { display: none; }
@media (min-width: 1024px) {
  .nx-bar-left { gap: calc(28px * var(--u, 1)); }
  .nx-bar-cats { display: flex; align-items: center; gap: calc(28px * var(--u, 1)); }
}
/* Product cards: names and prices read clearly next to the large photos */
.nx-card-title { font-size: calc(14px * var(--u, 1)); }
.nx-card-price { font-size: calc(15px * var(--u, 1)); font-weight: 600; }
@media (max-width: 768px) { .nx-card-title { font-size: calc(13px * var(--u, 1)); } .nx-card-price { font-size: calc(14px * var(--u, 1)); } }
/* Quantity stepper: − / + fill the full height so they line up with the number (they got the 20px icon box) */
.nx-qty button { width: auto; height: 100%; display: flex; align-items: center; justify-content: center; padding: 0; line-height: 1; }
.nx-qty input { height: 100%; padding: 0; }
/* Side menu: page links follow the categories (no empty gap); credits sit at the bottom */
.nx-menu-foot { margin-top: calc(28px * var(--u, 1)); }
.nx-menu-bottom { margin-top: auto; padding-top: calc(32px * var(--u, 1)); display: grid; gap: calc(6px * var(--u, 1)); font-size: var(--fs-label); letter-spacing: .04em; color: var(--nx-muted); }
.nx-menu-bottom p { margin: 0; }
.nx-menu-bottom a { color: var(--nx-ink-2, #333); text-decoration: none; }
.nx-menu-social { display: flex; flex-wrap: wrap; gap: calc(6px * var(--u, 1)) calc(16px * var(--u, 1)); margin-bottom: calc(10px * var(--u, 1)); }
.nx-menu-social a { text-decoration: underline; text-underline-offset: calc(3px * var(--u, 1)); }
