:root {
  --plf-commerce-bg: #091415;
  --plf-commerce-surface: #102224;
  --plf-commerce-surface-strong: #173033;
  --plf-commerce-surface-soft: rgba(255, 255, 255, .035);
  --plf-commerce-border: rgba(229, 189, 112, .22);
  --plf-commerce-border-strong: rgba(229, 189, 112, .48);
  --plf-commerce-gold: #e5bd70;
  --plf-commerce-gold-bright: #f4d392;
  --plf-commerce-ink: #fff9ee;
  --plf-commerce-muted: #b9ceca;
  --plf-commerce-success: #83d8ac;
  --plf-commerce-danger: #ffb8a8;
  --plf-commerce-shadow: 0 24px 70px rgba(0, 0, 0, .34);
  --plf-account-bg: var(--plf-commerce-bg);
  --plf-account-surface: var(--plf-commerce-surface);
  --plf-account-surface-strong: var(--plf-commerce-surface-strong);
  --plf-account-border: var(--plf-commerce-border);
  --plf-account-gold: var(--plf-commerce-gold);
  --plf-account-ink: var(--plf-commerce-ink);
  --plf-account-muted: var(--plf-commerce-muted);
  --plf-account-danger: var(--plf-commerce-danger);
}

.customer-commerce-header,
.customer-commerce-header *,
.customer-commerce-shell,
.customer-commerce-shell *,
.customer-commerce-mini-popover,
.customer-commerce-mini-popover *,
.customer-commerce-mini-backdrop,
.customer-commerce-toast,
.customer-commerce-toast * {
  box-sizing: border-box;
}

.sr-only,
.customer-auth-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  padding: 0 !important;
}

/* Header commerce controls */
.customer-commerce-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  color: var(--plf-commerce-ink);
}

.customer-commerce-header-link,
.customer-commerce-header > a,
.customer-commerce-header > button,
.customer-commerce-mini > a,
.customer-commerce-mini > button {
  position: relative;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 4px;
  padding: 0 13px;
  color: var(--plf-commerce-ink);
  background: transparent;
  box-shadow: none;
  font: inherit;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}

.customer-commerce-header-link:hover,
.customer-commerce-header-link:focus-visible,
.customer-commerce-header > a:hover,
.customer-commerce-header > a:focus-visible,
.customer-commerce-header > button:hover,
.customer-commerce-header > button:focus-visible,
.customer-commerce-mini > a:hover,
.customer-commerce-mini > a:focus-visible,
.customer-commerce-mini > button:hover,
.customer-commerce-mini > button:focus-visible {
  border-color: rgba(255, 255, 255, .72);
  color: var(--plf-commerce-ink);
  background: rgba(255, 255, 255, .06);
}

.customer-commerce-header-link:focus-visible,
.customer-commerce-header > a:focus-visible,
.customer-commerce-header > button:focus-visible,
.customer-commerce-mini > a:focus-visible,
.customer-commerce-mini > button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .72);
  outline-offset: 3px;
}

.customer-commerce-header-link:active,
.customer-commerce-header > a:active,
.customer-commerce-header > button:active { transform: translateY(1px); }

.customer-commerce-header-favorites[aria-pressed="true"],
.customer-commerce-header-favorites.is-active {
  border-color: rgba(255, 255, 255, .62);
  color: var(--plf-commerce-ink);
  background: rgba(255, 255, 255, .08);
}

.pl-homepage .nav__actions .theme-button {
  border-width: 1px;
  border-radius: 4px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.pl-homepage .nav__actions .theme-button__label {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.customer-commerce-favorite-toggle.is-active,
.customer-commerce-favorite-toggle[aria-pressed="true"] {
  border-color: var(--plf-commerce-gold-bright) !important;
  color: #182223 !important;
  background: var(--plf-commerce-gold-bright) !important;
  box-shadow: 0 0 0 3px rgba(229, 189, 112, .16);
}

.customer-commerce-label { min-width: 0; }

.customer-commerce-badge,
.customer-commerce-header-badge {
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid #0b0c0e;
  border-radius: 999px;
  padding: 0 5px;
  color: #0b0c0e;
  background: #f4f4f5;
  font-size: .68rem;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.customer-commerce-badge[hidden],
.customer-commerce-header-badge[hidden] { display: none !important; }

.customer-commerce-header-favorites > .customer-commerce-header-badge,
.customer-commerce-mini .customer-commerce-header-badge {
  position: absolute;
  z-index: 2;
  top: -6px;
  right: -5px;
}

/* Desktop mini-cart / mini-favorites */
.customer-commerce-mini { position: relative; display: inline-flex; flex: 0 0 auto; }
body.customer-commerce-cart-open { overflow: hidden; overscroll-behavior: none; }

.customer-commerce-popover,
.customer-commerce-mini-popover {
  --plf-commerce-surface: #121519;
  --plf-commerce-surface-strong: #181c21;
  --plf-commerce-border: #2a3037;
  --plf-commerce-border-strong: #3b424c;
  --plf-commerce-gold: #f4f4f5;
  --plf-commerce-gold-bright: #f4f4f5;
  --plf-commerce-ink: #f4f4f5;
  --plf-commerce-muted: #a2a8b3;
  position: absolute;
  z-index: 1200;
  top: calc(100% + 12px);
  right: 0;
  width: min(420px, calc(100vw - 32px));
  max-height: min(640px, calc(100dvh - 110px));
  border: 1px solid var(--plf-commerce-border-strong);
  border-radius: 4px;
  padding: 0;
  color: var(--plf-commerce-ink);
  background: #0b0c0e;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .38);
}

.customer-commerce-mini-popover {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  overscroll-behavior: contain;
}

.customer-commerce-popover[hidden],
.customer-commerce-mini-popover[hidden] { display: none !important; }
.customer-commerce-mini-backdrop[hidden] { display: none !important; }

.customer-commerce-popover::before,
.customer-commerce-mini-popover::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 26px;
  width: 11px;
  height: 11px;
  border-top: 1px solid var(--plf-commerce-border-strong);
  border-left: 1px solid var(--plf-commerce-border-strong);
  background: #0b0c0e;
  transform: rotate(45deg);
}

.customer-commerce-mini-backdrop { display: none; }
.customer-commerce-mini-handle { display: none; }

.customer-commerce-mini-header {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 44px;
  align-items: center;
  gap: 10px;
  padding: 17px 17px 14px;
  border-bottom: 1px solid #2a3037;
}

.customer-commerce-mini-header h2 {
  min-width: 0;
  margin: 0;
  color: var(--plf-commerce-ink);
  font-size: 1.15rem;
  line-height: 1.2;
}

.customer-commerce-mini-count {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #3b424c;
  border-radius: 4px;
  padding: 5px 10px;
  color: var(--plf-commerce-ink);
  background: transparent;
  font-size: .75rem;
  font-weight: 900;
  white-space: nowrap;
}

.customer-commerce-mini-close {
  width: 44px;
  height: 44px;
  border: 1px solid #3b424c;
  border-radius: 4px;
  padding: 0;
  color: var(--plf-commerce-ink);
  background: transparent;
  font: inherit;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.customer-commerce-mini-close:hover,
.customer-commerce-mini-close:focus-visible {
  border-color: #f4f4f5;
  color: #f4f4f5;
  background: #181c21;
  outline: 2px solid rgba(244, 244, 245, .55);
  outline-offset: 2px;
}

.customer-commerce-mini-content {
  min-width: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 4px 17px 2px;
  scrollbar-width: thin;
}

.customer-commerce-mini-list {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.customer-commerce-mini-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  border-bottom: 1px solid #2a3037;
  padding: 13px 0;
}

.customer-commerce-mini-item:last-child { border-bottom: 0; }
.customer-commerce-mini-item img { width: 64px; height: 72px; border-radius: 3px; object-fit: cover; background: #181c21; }
.customer-commerce-mini-item > * { min-width: 0; }
.customer-commerce-mini-item strong,
.customer-commerce-mini-item p { overflow-wrap: anywhere; }
.customer-commerce-mini-item p { margin: 5px 0 0; color: var(--plf-commerce-muted); font-size: .78rem; line-height: 1.45; }

.customer-commerce-mini-item-body { min-width: 0; }
.customer-commerce-mini-item-top { min-width: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.customer-commerce-mini-item-title { min-width: 0; color: var(--plf-commerce-ink); font-size: .9rem; line-height: 1.35; }
.customer-commerce-mini-price { flex: 0 0 auto; max-width: 145px; color: var(--plf-commerce-ink); font-size: .78rem; line-height: 1.35; text-align: right; }
.customer-commerce-mini-config,
.customer-commerce-mini-controls { display: none; }

.customer-commerce-mini-empty {
  min-height: 150px;
  display: grid;
  place-content: center;
  gap: 7px;
  padding: 24px 10px;
  text-align: center;
}
.customer-commerce-mini-empty strong { color: var(--plf-commerce-ink); font-size: 1rem; }
.customer-commerce-mini-empty p { max-width: 290px; margin: 0; color: var(--plf-commerce-muted); font-size: .82rem; line-height: 1.5; }

.customer-commerce-mini-footer {
  min-width: 0;
  display: grid;
  gap: 9px;
  border-top: 1px solid #2a3037;
  padding: 14px 17px 17px;
  background: #0d0e10;
}

.customer-commerce-mini-summary { min-width: 0; display: grid; gap: 4px; margin-bottom: 2px; }
.customer-commerce-mini-summary > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; color: var(--plf-commerce-muted); font-size: .84rem; }
.customer-commerce-mini-summary strong { color: var(--plf-commerce-ink); text-align: right; }
.customer-commerce-mini-summary p { margin: 0; color: var(--plf-commerce-muted); font-size: .74rem; line-height: 1.45; }
.customer-commerce-mini-footer > .customer-commerce-button,
.customer-commerce-mini-footer > .customer-commerce-secondary { width: 100%; }

.customer-commerce-mini-popover .customer-commerce-button,
.customer-commerce-mini-popover .customer-commerce-secondary,
.customer-commerce-mini-popover .customer-commerce-text-button,
.customer-commerce-mini-popover .customer-commerce-text-link {
  border-width: 1px;
  border-radius: 4px;
  box-shadow: none;
}
.customer-commerce-mini-popover .customer-commerce-button {
  border-color: #f4f4f5;
  color: #0b0c0e;
  background: #f4f4f5;
}
.customer-commerce-mini-popover .customer-commerce-secondary,
.customer-commerce-mini-popover .customer-commerce-text-button,
.customer-commerce-mini-popover .customer-commerce-text-link {
  border-color: #3b424c;
  color: #f4f4f5;
  background: transparent;
}
.customer-commerce-mini-popover .customer-commerce-button:hover,
.customer-commerce-mini-popover .customer-commerce-button:focus-visible {
  border-color: #f4f4f5;
  color: #f4f4f5;
  background: #181c21;
  outline-color: rgba(244, 244, 245, .55);
}
.customer-commerce-mini-popover .customer-commerce-secondary:hover,
.customer-commerce-mini-popover .customer-commerce-secondary:focus-visible,
.customer-commerce-mini-popover .customer-commerce-text-button:hover,
.customer-commerce-mini-popover .customer-commerce-text-button:focus-visible,
.customer-commerce-mini-popover .customer-commerce-text-link:hover,
.customer-commerce-mini-popover .customer-commerce-text-link:focus-visible {
  border-color: #f4f4f5;
  color: #f4f4f5;
  background: #181c21;
  outline-color: rgba(244, 244, 245, .55);
}
.customer-commerce-mini-popover .customer-commerce-cart-quantity {
  border-color: #3b424c;
  border-radius: 4px;
  background: transparent;
}
.customer-commerce-mini-popover .customer-commerce-cart-quantity input {
  border-color: #2a3037;
}

/* Keep the previously corrected public-header geometry. */
@media (min-width: 1121px) {
  header.nav[aria-label="Ana navigasyon"] {
    grid-template-columns: auto minmax(0, 1fr) max-content;
    gap: clamp(14px, 1.8vw, 28px);
  }
  header.nav[aria-label="Ana navigasyon"] .nav__links { min-width: 0; gap: clamp(10px, 1.4vw, 22px); }
  header.nav[aria-label="Ana navigasyon"] .nav__actions,
  header.nav[aria-label="Ana navigasyon"] .customer-commerce-header { min-width: max-content; }
  header.nav[aria-label="Ana navigasyon"] .customer-commerce-header { flex: 0 0 auto; }
}

@media (min-width: 1121px) {
  body.pl-order-page .customer-commerce-header-favorites .customer-commerce-label,
  body.pl-order-page .customer-commerce-header-cart .customer-commerce-label { display: none; }
  body.pl-order-page .customer-commerce-header-favorites,
  body.pl-order-page .customer-commerce-header-cart { width: 44px; padding-inline: 6px; }
  body.pl-order-page .customer-commerce-header-favorites::before { content: "♡"; font-size: 1.08rem; }
  body.pl-order-page .customer-commerce-header-cart::before {
    content: "";
    width: 15px;
    height: 12px;
    border: 2px solid currentColor;
    border-radius: 2px 2px 4px 4px;
  }
  body.pl-order-page .customer-commerce-header-cart::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    width: 8px;
    height: 5px;
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 7px 7px 0 0;
    transform: translateX(-50%);
  }
}

@media (min-width: 901px) and (max-width: 1120px) {
  header.nav[aria-label="Ana navigasyon"] {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "brand actions" "links links";
    row-gap: 10px;
  }
  header.nav[aria-label="Ana navigasyon"] .nav__brand { grid-area: brand; }
  header.nav[aria-label="Ana navigasyon"] .nav__actions { grid-area: actions; min-width: max-content; }
  header.nav[aria-label="Ana navigasyon"] .nav__links {
    grid-area: links;
    justify-self: stretch;
    max-width: 100%;
    overflow-x: auto;
  }
}

/* Account page shell */
body[data-customer-auth-page="account"] {
  min-width: 320px;
  overflow-x: clip;
  background: var(--plf-commerce-bg);
}

body[data-customer-auth-page="account"] .customer-auth-page {
  display: block;
  min-height: 100vh;
  padding: clamp(18px, 3vw, 42px) 18px clamp(42px, 5vw, 76px);
  background:
    radial-gradient(circle at 12% -18%, rgba(218, 176, 94, .22), transparent 36rem),
    radial-gradient(circle at 92% 112%, rgba(43, 104, 101, .2), transparent 34rem),
    linear-gradient(135deg, #081213, #112123 58%, #0a1718);
}

body[data-customer-auth-page="account"] .customer-auth-page > .customer-auth-brand {
  width: fit-content;
  margin: 0 auto clamp(16px, 2vw, 26px);
}

body[data-customer-auth-page="account"] .customer-auth-account {
  display: block;
  width: 100%;
  min-width: 0;
}

body[data-customer-auth-page="account"] #customerAccountLoading,
body[data-customer-auth-page="account"] #customerAccountBlocked {
  width: min(560px, 100%);
  max-width: 560px;
  margin: clamp(40px, 10vh, 110px) auto 0;
}

.customer-commerce-shell {
  width: min(1440px, 100%);
  min-width: 0;
  min-height: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(226px, 270px) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--plf-commerce-border);
  border-radius: 26px;
  background: rgba(9, 23, 24, .9);
  box-shadow: var(--plf-commerce-shadow);
}

.customer-commerce-nav {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 25px 16px 18px;
  border-right: 1px solid var(--plf-commerce-border);
  background: linear-gradient(180deg, #172d2f 0%, #0c1b1d 100%);
}

.customer-commerce-nav-brand,
.customer-commerce-nav a.customer-commerce-nav-brand {
  min-height: 58px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  margin: 0 6px 22px;
  border: 0;
  padding: 0;
  color: var(--plf-commerce-ink);
  background: transparent;
  text-decoration: none;
}

.customer-commerce-nav-brand img {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  object-fit: contain;
  filter: drop-shadow(0 7px 14px rgba(0, 0, 0, .28));
}

.customer-commerce-nav-brand span { min-width: 0; display: grid; gap: 3px; }
.customer-commerce-nav-brand strong { overflow-wrap: anywhere; color: var(--plf-commerce-gold-bright); font-size: 1rem; line-height: 1.15; }
.customer-commerce-nav-brand small { color: var(--plf-commerce-muted); font-size: .76rem; letter-spacing: .035em; }

.customer-commerce-nav-list {
  min-width: 0;
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.customer-commerce-nav-list a,
.customer-commerce-nav > a:not(.customer-commerce-nav-brand) {
  min-width: 0;
  min-height: 46px;
  display: flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 12px;
  color: #deebe6;
  background: transparent;
  font-size: .9rem;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

.customer-commerce-nav-list a:hover,
.customer-commerce-nav-list a:focus-visible,
.customer-commerce-nav-list a[aria-current="page"],
.customer-commerce-nav-list a.is-active,
.customer-commerce-nav > a:not(.customer-commerce-nav-brand):hover,
.customer-commerce-nav > a:not(.customer-commerce-nav-brand):focus-visible,
.customer-commerce-nav > a:not(.customer-commerce-nav-brand)[aria-current="page"] {
  border-color: rgba(229, 189, 112, .52);
  color: #fffaf0;
  background: rgba(229, 189, 112, .13);
  outline: none;
}

.customer-commerce-nav-list a:focus-visible,
.customer-commerce-nav > a:focus-visible { outline: 3px solid rgba(229, 189, 112, .23); outline-offset: 2px; }

.customer-commerce-nav-logout {
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  border: 1px solid rgba(255, 184, 168, .48);
  border-radius: 12px;
  padding: 0 13px;
  color: #ffe5df;
  background: rgba(116, 43, 33, .22);
  font: inherit;
  font-size: .88rem;
  font-weight: 800;
  cursor: pointer;
}

.customer-commerce-nav-logout:hover,
.customer-commerce-nav-logout:focus-visible {
  border-color: var(--plf-commerce-danger);
  background: rgba(137, 50, 37, .45);
  outline: 3px solid rgba(255, 184, 168, .18);
  outline-offset: 2px;
}

.customer-commerce-main {
  min-width: 0;
  min-height: 680px;
  padding: clamp(24px, 3vw, 44px);
  color: var(--plf-commerce-ink);
  background:
    radial-gradient(circle at 88% 0, rgba(229, 189, 112, .08), transparent 30rem),
    linear-gradient(145deg, rgba(20, 39, 41, .94), rgba(9, 24, 25, .97));
}

.customer-commerce-main > *,
.customer-commerce-card > *,
.customer-commerce-product-card > *,
.customer-commerce-cart-item > *,
.customer-commerce-favorite-card > * { min-width: 0; }

.customer-commerce-main[aria-busy="true"] { display: grid; place-items: center; }

.customer-commerce-section-header,
.customer-commerce-panel-heading {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 25px;
}

.customer-commerce-section-header > div,
.customer-commerce-panel-heading > div { min-width: 0; }

.customer-commerce-section-header h1,
.customer-commerce-section-header h2,
.customer-commerce-panel-heading h1,
.customer-commerce-panel-heading h2,
.customer-commerce-main h1,
.customer-commerce-main h2,
.customer-commerce-main h3 {
  margin: 0;
  color: var(--plf-commerce-ink);
  overflow-wrap: anywhere;
}

.customer-commerce-section-header h1,
.customer-commerce-section-header h2,
.customer-commerce-panel-heading h1,
.customer-commerce-panel-heading h2 {
  flex: 0 0 auto;
  font-size: clamp(1.45rem, 2.7vw, 2.2rem);
  line-height: 1.14;
}

.customer-commerce-section-header p,
.customer-commerce-panel-heading p,
.customer-commerce-main p {
  color: var(--plf-commerce-muted);
  line-height: 1.58;
  overflow-wrap: anywhere;
}

.customer-commerce-section-header p,
.customer-commerce-panel-heading p { max-width: 720px; margin: 8px 0 0; }

.customer-commerce-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 24px;
}

.customer-commerce-summary-card {
  min-width: 0;
  min-height: 118px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  border: 1px solid rgba(229, 189, 112, .19);
  border-radius: 17px;
  padding: 18px;
  color: var(--plf-commerce-ink);
  background: linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.customer-commerce-summary-card:hover,
.customer-commerce-summary-card:focus-visible {
  border-color: var(--plf-commerce-border-strong);
  background: rgba(229, 189, 112, .09);
  outline: 3px solid rgba(229, 189, 112, .16);
  outline-offset: 2px;
  transform: translateY(-2px);
}

.customer-commerce-summary-card span,
.customer-commerce-summary-card small { color: var(--plf-commerce-muted); font-size: .86rem; font-weight: 750; }
.customer-commerce-summary-card strong { color: var(--plf-commerce-gold-bright); font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; }

.customer-commerce-cards,
.customer-commerce-list,
.customer-commerce-favorite-grid {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.customer-commerce-cards,
.customer-commerce-favorite-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.customer-commerce-card,
.customer-commerce-product-card,
.customer-commerce-favorite-card,
.customer-commerce-panel,
.customer-commerce-order-card,
.customer-commerce-form,
.customer-commerce-empty,
.customer-commerce-error {
  min-width: 0;
  border: 1px solid rgba(229, 189, 112, .18);
  border-radius: 17px;
  padding: 18px;
  color: var(--plf-commerce-ink);
  background: rgba(4, 14, 15, .3);
}

.customer-commerce-card,
.customer-commerce-product-card,
.customer-commerce-favorite-card {
  display: grid;
  gap: 11px;
  align-content: start;
}

.customer-commerce-card h3,
.customer-commerce-product-card h3,
.customer-commerce-favorite-card h3 { font-size: 1.04rem; line-height: 1.35; }
.customer-commerce-card p,
.customer-commerce-product-card p,
.customer-commerce-favorite-card p { margin: 0; font-size: .9rem; }
.customer-commerce-panel + .customer-commerce-panel,
.customer-commerce-card + .customer-commerce-card,
.customer-commerce-order-card + .customer-commerce-order-card { margin-top: 14px; }

.customer-commerce-product-card {
  grid-template-columns: minmax(104px, 148px) minmax(0, 1fr);
  padding: 0;
  overflow: hidden;
}

.customer-commerce-product-media {
  position: relative;
  min-height: 156px;
  overflow: hidden;
  background: linear-gradient(145deg, #203638, #102224);
}

.customer-commerce-product-media img {
  width: 100%;
  height: 100%;
  min-height: 156px;
  display: block;
  object-fit: cover;
}

.customer-commerce-product-body { min-width: 0; display: grid; gap: 10px; align-content: center; padding: 18px; }

.customer-commerce-product-status,
.customer-commerce-status {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(131, 216, 172, .35);
  border-radius: 999px;
  padding: 4px 9px;
  color: #bdf1d4;
  background: rgba(30, 105, 72, .2);
  font-size: .75rem;
  font-weight: 850;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.customer-commerce-product-status.is-unavailable,
.customer-commerce-product-status.is-error,
.customer-commerce-status.is-unavailable,
.customer-commerce-status.is-error {
  border-color: rgba(255, 184, 168, .42);
  color: #ffe0d8;
  background: rgba(132, 47, 35, .24);
}

.customer-commerce-config-grid,
.customer-commerce-config-list {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.customer-commerce-config-grid > *,
.customer-commerce-config-list > * {
  min-width: 0;
  color: var(--plf-commerce-muted);
  font-size: .82rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

/* Cart */
.customer-commerce-cart-layout {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(18px, 2.4vw, 30px);
  align-items: start;
}

.customer-commerce-cart-list { min-width: 0; display: grid; gap: 14px; }

.customer-commerce-cart-item {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(96px, 132px) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(229, 189, 112, .19);
  border-radius: 17px;
  padding: 15px;
  color: var(--plf-commerce-ink);
  background: rgba(4, 14, 15, .32);
}

.customer-commerce-cart-item > :last-child { grid-column: 2; }

.customer-commerce-cart-item img {
  width: 100%;
  max-width: 132px;
  aspect-ratio: 1 / 1;
  display: block;
  border-radius: 13px;
  object-fit: cover;
  background: #203638;
}

.customer-commerce-cart-item h3 { margin: 0 0 7px; font-size: 1.03rem; }
.customer-commerce-cart-item p { margin: 0; color: var(--plf-commerce-muted); font-size: .87rem; line-height: 1.5; }
.customer-commerce-cart-item strong { overflow-wrap: anywhere; color: var(--plf-commerce-gold-bright); }

.customer-commerce-cart-summary {
  position: sticky;
  top: 20px;
  min-width: 0;
  display: grid;
  gap: 12px;
  border: 1px solid var(--plf-commerce-border-strong);
  border-radius: 18px;
  padding: 20px;
  background: linear-gradient(155deg, rgba(28, 51, 53, .94), rgba(7, 20, 21, .96));
  box-shadow: 0 20px 48px rgba(0, 0, 0, .24);
}

.customer-commerce-cart-summary h3 { margin-bottom: 4px; }

.customer-commerce-summary-row,
.customer-commerce-cart-summary-row,
.customer-commerce-total {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(229, 189, 112, .14);
  color: var(--plf-commerce-muted);
}

.customer-commerce-summary-row:last-of-type,
.customer-commerce-cart-summary-row:last-of-type { border-bottom: 0; }
.customer-commerce-summary-row strong,
.customer-commerce-cart-summary-row strong,
.customer-commerce-total strong { color: var(--plf-commerce-ink); text-align: right; overflow-wrap: anywhere; }
.customer-commerce-total { margin: 18px 0; font-size: 1.05rem; }
.customer-commerce-total strong { color: var(--plf-commerce-gold-bright); font-size: 1.16rem; }

.customer-commerce-quantity,
.customer-commerce-cart-quantity {
  width: fit-content;
  max-width: 100%;
  display: inline-grid;
  grid-template-columns: 44px minmax(48px, 62px) 44px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(229, 189, 112, .36);
  border-radius: 12px;
  background: rgba(0, 0, 0, .16);
}

.customer-commerce-quantity button,
.customer-commerce-cart-quantity button {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  color: var(--plf-commerce-ink);
  background: transparent;
  font: inherit;
  font-size: 1.08rem;
  font-weight: 900;
  cursor: pointer;
}

.customer-commerce-quantity input,
.customer-commerce-cart-quantity input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 0;
  border-right: 1px solid rgba(229, 189, 112, .22);
  border-left: 1px solid rgba(229, 189, 112, .22);
  padding: 0 5px;
  color: var(--plf-commerce-ink);
  background: transparent;
  font: inherit;
  font-weight: 850;
  text-align: center;
  appearance: textfield;
}

.customer-commerce-quantity input::-webkit-inner-spin-button,
.customer-commerce-cart-quantity input::-webkit-inner-spin-button { margin: 0; appearance: none; }

/* Buttons and forms */
.customer-commerce-button,
.customer-commerce-action,
.customer-commerce-secondary,
.customer-commerce-danger,
.customer-commerce-text-button,
.customer-commerce-text-link,
.customer-commerce-main .button,
.customer-commerce-main input[type="submit"] {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--plf-commerce-gold);
  border-radius: 11px;
  padding: 9px 15px;
  color: #142021;
  background: var(--plf-commerce-gold);
  font: inherit;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}

.customer-commerce-secondary,
.customer-commerce-text-button,
.customer-commerce-text-link {
  border-color: rgba(229, 189, 112, .45);
  color: var(--plf-commerce-ink);
  background: rgba(255, 255, 255, .025);
}

.customer-commerce-text-button,
.customer-commerce-text-link { padding-inline: 12px; }

.customer-commerce-danger {
  border-color: rgba(255, 184, 168, .65);
  color: #ffe5df;
  background: rgba(136, 44, 31, .24);
}

.customer-commerce-button:hover,
.customer-commerce-button:focus-visible,
.customer-commerce-action:hover,
.customer-commerce-action:focus-visible,
.customer-commerce-secondary:hover,
.customer-commerce-secondary:focus-visible,
.customer-commerce-text-button:hover,
.customer-commerce-text-button:focus-visible,
.customer-commerce-text-link:hover,
.customer-commerce-text-link:focus-visible {
  border-color: var(--plf-commerce-gold-bright);
  color: #0f1819;
  background: var(--plf-commerce-gold-bright);
  outline: 3px solid rgba(229, 189, 112, .2);
  outline-offset: 2px;
}

.customer-commerce-danger:hover,
.customer-commerce-danger:focus-visible {
  border-color: #ffd0c5;
  color: #fff;
  background: rgba(159, 56, 42, .62);
  outline: 3px solid rgba(255, 184, 168, .17);
  outline-offset: 2px;
}

.customer-commerce-button:active,
.customer-commerce-action:active,
.customer-commerce-secondary:active,
.customer-commerce-danger:active { transform: translateY(1px); }

.customer-commerce-button[disabled],
.customer-commerce-action[disabled],
.customer-commerce-secondary[disabled],
.customer-commerce-danger[disabled],
.customer-commerce-main button[disabled],
.customer-commerce-main [aria-disabled="true"] {
  opacity: .52;
  pointer-events: none;
  cursor: wait;
}

.customer-commerce-actions {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.customer-commerce-card-top {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.customer-commerce-form { display: grid; gap: 14px; }
.customer-commerce-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.customer-commerce-field,
.customer-commerce-form label { min-width: 0; display: grid; gap: 7px; color: #fff7e8; font-size: .88rem; font-weight: 750; }

.customer-commerce-form input,
.customer-commerce-form select,
.customer-commerce-form textarea,
.customer-commerce-inline-field select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid rgba(213, 233, 225, .34);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--plf-commerce-ink);
  background: rgba(0, 0, 0, .2);
  font: inherit;
}

.customer-commerce-form textarea { min-height: 104px; resize: vertical; }
.customer-commerce-form input:focus,
.customer-commerce-form select:focus,
.customer-commerce-form textarea:focus,
.customer-commerce-inline-field select:focus {
  border-color: var(--plf-commerce-gold);
  outline: 3px solid rgba(229, 189, 112, .2);
  outline-offset: 1px;
}
.customer-commerce-form option,
.customer-commerce-inline-field option { color: #142021; }

.customer-commerce-inline-field {
  min-width: 0;
  display: grid;
  gap: 7px;
  margin-top: 10px;
  font-size: .86rem;
  font-weight: 750;
}

.customer-commerce-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--plf-commerce-muted); font-size: .86rem; }

/* Empty/error/loading states */
.customer-commerce-empty,
.customer-commerce-error {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: clamp(28px, 5vw, 48px) 18px;
  text-align: center;
}

.customer-commerce-empty h2,
.customer-commerce-empty h3,
.customer-commerce-error h2,
.customer-commerce-error h3 { margin: 0; }
.customer-commerce-empty p,
.customer-commerce-error p { max-width: 600px; margin: 0; }
.customer-commerce-empty .customer-commerce-button,
.customer-commerce-error .customer-commerce-button { margin-top: 6px; }
.customer-commerce-error { border-color: rgba(255, 184, 168, .4); background: rgba(105, 35, 27, .17); }

.customer-commerce-loading {
  width: min(100%, 720px);
  display: grid;
  gap: 12px;
}

.customer-commerce-loading span,
.customer-commerce-loading-card {
  min-width: 0;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(223, 239, 232, .065), rgba(229, 189, 112, .2), rgba(223, 239, 232, .065));
  background-size: 220% 100%;
  animation: customer-commerce-shimmer 1.25s infinite linear;
}
.customer-commerce-loading span:nth-child(2) { width: 76%; }
.customer-commerce-loading span:nth-child(3) { width: 52%; }
@keyframes customer-commerce-shimmer { to { background-position: -220% 0; } }

/* Order status */
.customer-commerce-status-timeline {
  display: grid;
  gap: 11px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.customer-commerce-status-timeline li {
  position: relative;
  min-width: 0;
  padding: 0 0 0 27px;
  color: var(--plf-commerce-muted);
  font-size: .87rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.customer-commerce-status-timeline li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(229, 189, 112, .52);
  border-radius: 50%;
  background: #102022;
}

.customer-commerce-status-timeline li.is-done,
.customer-commerce-status-timeline li.is-current { color: var(--plf-commerce-ink); font-weight: 750; }
.customer-commerce-status-timeline li.is-done::before,
.customer-commerce-status-timeline li.is-current::before { border-color: var(--plf-commerce-gold); background: var(--plf-commerce-gold); }
.customer-commerce-status-timeline li.is-current::before { box-shadow: 0 0 0 5px rgba(229, 189, 112, .13); }
.customer-commerce-status-timeline li.is-cancelled { color: var(--plf-commerce-danger); }
.customer-commerce-order-line { padding-top: 10px; border-top: 1px solid rgba(229, 189, 112, .12); }

/* Toast / snackbar */
.customer-commerce-toast {
  position: fixed;
  z-index: 10000;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  width: min(420px, calc(100vw - 32px));
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--plf-commerce-border-strong);
  border-radius: 15px;
  padding: 12px 14px;
  color: var(--plf-commerce-ink);
  background: linear-gradient(145deg, #173033, #0c2021);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .48);
  font-size: .9rem;
  font-weight: 750;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.customer-commerce-toast[hidden] { display: none !important; }
.customer-commerce-toast.is-success,
.customer-commerce-toast.success { border-color: rgba(131, 216, 172, .68); }
.customer-commerce-toast.is-error,
.customer-commerce-toast.error { border-color: rgba(255, 184, 168, .72); background: linear-gradient(145deg, #4a2520, #211919); }

.customer-commerce-toast button {
  min-width: 44px;
  min-height: 44px;
  flex: 0 0 auto;
  margin-left: auto;
  border: 1px solid rgba(229, 189, 112, .5);
  border-radius: 10px;
  padding: 7px 11px;
  color: var(--plf-commerce-gold-bright);
  background: transparent;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}
.customer-commerce-toast button:hover,
.customer-commerce-toast button:focus-visible { color: #142021; background: var(--plf-commerce-gold-bright); outline: 3px solid rgba(229, 189, 112, .2); outline-offset: 2px; }

/* Order-page header integration */
body.pl-order-page .top-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "brand links utilities";
  align-items: center;
}
body.pl-order-page .premium-nav-brand { grid-area: brand; }
body.pl-order-page .premium-nav-links { grid-area: links; min-width: 0; }
body.pl-order-page .premium-nav-utilities { grid-area: utilities; display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: max-content; }
body.pl-order-page .premium-nav-utilities .customer-commerce-header { flex: 0 0 auto; min-width: max-content; }

@media (min-width: 1101px) {
  html.pl-order-v2-ready body.pl-order-v2-ready .top-actions,
  html.pl-order-v2-ready body.pl-order-v2-ready.dark .top-actions,
  html.pl-order-v2-ready body.pl-order-v2-ready.prestij-question-flow .top-actions {
    grid-template-columns: 236px minmax(0, 1fr) max-content !important;
  }
  html.pl-order-v2-ready body.pl-order-v2-ready .premium-nav-links { gap: clamp(12px, 1.7vw, 30px) !important; }
  html.pl-order-v2-ready body.pl-order-v2-ready .premium-nav-utilities {
    width: max-content !important;
    min-width: max-content !important;
    flex: 0 0 auto !important;
    justify-self: end !important;
  }
  html.pl-order-v2-ready body.pl-order-v2-ready .premium-nav-utilities .customer-commerce-header {
    min-width: max-content !important;
    flex: 0 0 auto !important;
  }
}

@media (min-width: 1101px) and (max-width: 1440px) {
  html.pl-order-v2-ready body.pl-order-v2-ready .top-actions,
  html.pl-order-v2-ready body.pl-order-v2-ready.dark .top-actions,
  html.pl-order-v2-ready body.pl-order-v2-ready.prestij-question-flow .top-actions {
    left: 24px !important;
    width: calc(100% - 48px) !important;
    padding-inline: 24px !important;
    gap: 14px !important;
  }
  .customer-commerce-header-link,
  .customer-commerce-header > a,
  .customer-commerce-header > button { padding-inline: 11px; }
}

@media (max-width: 1100px) {
  .customer-commerce-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .customer-commerce-cart-layout { grid-template-columns: minmax(0, 1fr); }
  .customer-commerce-cart-summary { position: static; }
  body.pl-order-page .top-actions { grid-template-columns: 1fr auto; grid-template-areas: "brand utilities" "links links"; gap: 10px 14px; }
  body.pl-order-page .premium-nav-links { justify-content: flex-start; }
}

@media (max-width: 900px) {
  .customer-commerce-shell { min-height: 0; display: block; border-radius: 21px; }
  .customer-commerce-favorite-grid { grid-template-columns: minmax(0, 1fr); }
  .customer-commerce-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 15px;
    border-right: 0;
    border-bottom: 1px solid var(--plf-commerce-border);
  }
  .customer-commerce-nav-brand,
  .customer-commerce-nav a.customer-commerce-nav-brand { min-height: 48px; margin: 0; }
  .customer-commerce-nav-list {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    padding: 2px 2px 5px;
  }
  .customer-commerce-nav-list a { min-height: 44px; white-space: nowrap; overflow-wrap: normal; }
  .customer-commerce-nav-logout { grid-column: 2; grid-row: 1; width: auto; min-width: 80px; margin: 2px 0; }
  .customer-commerce-main { min-height: 600px; }
  .customer-commerce-product-card { grid-template-columns: 120px minmax(0, 1fr); }
  .customer-commerce-cart-item { grid-template-columns: 108px minmax(0, 1fr); }
  .customer-commerce-cart-item > :last-child { grid-column: 2; }
  html.pl-order-v2-ready body.pl-order-v2-ready .top-actions,
  html.pl-order-v2-ready body.pl-order-v2-ready.dark .top-actions,
  html.pl-order-v2-ready body.pl-order-v2-ready.prestij-question-flow .top-actions {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "brand" "utilities" "nav" !important;
  }
  html.pl-order-v2-ready body.pl-order-v2-ready .premium-nav-utilities {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: space-between !important;
  }
}

@media (max-width: 760px) {
  body[data-customer-auth-page="account"] .customer-auth-page { padding: 12px 10px 34px; }
  .customer-commerce-main { min-height: 540px; padding: 22px 16px 28px; }
  .customer-commerce-section-header,
  .customer-commerce-panel-heading { display: grid; gap: 10px; margin-bottom: 20px; }
  .customer-commerce-cards,
  .customer-commerce-favorite-grid,
  .customer-commerce-form-grid { grid-template-columns: minmax(0, 1fr); }
  .customer-commerce-product-card { grid-template-columns: 104px minmax(0, 1fr); }
  .customer-commerce-product-media,
  .customer-commerce-product-media img { min-height: 146px; }
  .customer-commerce-popover { display: none !important; }
  .customer-commerce-mini-backdrop {
    position: fixed;
    z-index: 1490;
    inset: 0;
    display: block;
    background: rgba(0, 0, 0, .74);
    backdrop-filter: blur(3px);
    animation: customer-commerce-fade-in .2s ease both;
  }
  .customer-commerce-mini-popover {
    position: fixed;
    z-index: 1500;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: min(72dvh, 720px);
    max-height: calc(100dvh - max(16px, env(safe-area-inset-top)));
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    border-width: 1px 0 0;
    border-radius: 8px 8px 0 0;
    background: #0b0c0e;
    box-shadow: 0 -18px 48px rgba(0, 0, 0, .42);
    animation: customer-commerce-sheet-in .24s ease-out both;
  }
  .customer-commerce-mini-popover::before { display: none; }
  .customer-commerce-mini-handle {
    width: 48px;
    height: 5px;
    display: block;
    justify-self: center;
    margin: 9px 0 0;
    border-radius: 999px;
    background: #777e89;
  }
  .customer-commerce-mini-header { padding: 8px 16px 11px; }
  .customer-commerce-mini-content { padding: 0 16px; }
  .customer-commerce-mini-list { gap: 12px; padding-block: 12px; }
  .customer-commerce-mini-item { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; border: 1px solid #2a3037; border-radius: 4px; padding: 12px; background: #111316; }
  .customer-commerce-mini-item:last-child { border-bottom: 1px solid #2a3037; }
  .customer-commerce-mini-item img { width: 76px; height: 94px; }
  .customer-commerce-mini-item-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .customer-commerce-mini-price { max-width: none; text-align: left; }
  .customer-commerce-mini-brief { display: none; }
  .customer-commerce-mini-config {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 9px 0 0;
    padding: 0;
    list-style: none;
  }
  .customer-commerce-mini-config li {
    max-width: 100%;
    border: 1px solid #3b424c;
    border-radius: 3px;
    padding: 4px 7px;
    color: var(--plf-commerce-muted);
    background: transparent;
    font-size: .68rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }
  .customer-commerce-mini-controls { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 11px; }
  .customer-commerce-mini-controls .customer-commerce-cart-quantity { grid-template-columns: 44px 48px 44px; }
  .customer-commerce-mini-controls .customer-commerce-actions { gap: 6px; }
  .customer-commerce-mini-controls .customer-commerce-text-link,
  .customer-commerce-mini-controls .customer-commerce-text-button { min-height: 44px; border-color: transparent; padding-inline: 8px; font-size: .76rem; }
  .customer-commerce-mini-controls .customer-commerce-mini-remove { color: var(--plf-commerce-danger); }
  .customer-commerce-mini-footer { padding: 12px 16px max(16px, env(safe-area-inset-bottom)); }
  body.customer-commerce-cart-open .customer-commerce-toast { top: max(12px, env(safe-area-inset-top)); bottom: auto; }
  @keyframes customer-commerce-sheet-in { from { transform: translateY(28px); } to { transform: translateY(0); } }
  @keyframes customer-commerce-fade-in { from { opacity: 0; } to { opacity: 1; } }
  html.pl-order-v2-ready body.pl-order-v2-ready .top-actions,
  html.pl-order-v2-ready body.pl-order-v2-ready.dark .top-actions,
  html.pl-order-v2-ready body.pl-order-v2-ready.prestij-question-flow .top-actions {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "brand" "utilities" "nav" !important;
  }
  html.pl-order-v2-ready body.pl-order-v2-ready .premium-nav-utilities {
    grid-area: utilities !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 600px) {
  .customer-commerce-summary-grid { grid-template-columns: minmax(0, 1fr); }
  .customer-commerce-summary-card { min-height: 92px; }
  .customer-commerce-summary-card strong { font-size: 1.65rem; }
  .customer-commerce-config-grid,
  .customer-commerce-config-list { grid-template-columns: minmax(0, 1fr); }
  .customer-commerce-cart-item { grid-template-columns: 82px minmax(0, 1fr); gap: 12px; padding: 13px; }
  .customer-commerce-cart-item > :last-child { grid-column: 1 / -1; }
  .customer-commerce-cart-item img { max-width: 82px; }
  body.pl-order-page .top-actions {
    position: static;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand utilities" "links links";
    align-items: center;
    gap: 9px 10px;
  }
  body.pl-order-page .premium-nav-links { display: flex; width: 100%; overflow-x: auto; justify-content: flex-start; }
  body.pl-order-page .premium-nav-utilities { gap: 6px; }
  body.pl-order-page .customer-commerce-header { gap: 5px; }
  body.pl-order-page .customer-commerce-header-link,
  body.pl-order-page .customer-commerce-header > a,
  body.pl-order-page .customer-commerce-header > button,
  body.pl-order-page .customer-commerce-mini > a,
  body.pl-order-page .customer-commerce-mini > button {
    min-width: 44px;
    min-height: 44px;
    padding: 0 8px;
    font-size: 0;
  }
  body.pl-order-page .customer-commerce-header-link::before,
  body.pl-order-page .customer-commerce-header > a::before,
  body.pl-order-page .customer-commerce-header > button::before { font-size: .68rem; content: "Hesap"; }
  body.pl-order-page .customer-commerce-header[data-customer-signed-in="false"] .customer-commerce-header-link:not(.customer-commerce-header-favorites):not(.customer-commerce-header-cart)::before,
  body.pl-order-page .customer-commerce-header[data-customer-signed-in="false"] > a:not(.customer-commerce-header-favorites):not(.customer-commerce-header-cart)::before { content: "Giriş"; }
  body.pl-order-page .customer-commerce-header-favorites::before { content: "Favori" !important; }
  body.pl-order-page .customer-commerce-header-cart::before,
  body.pl-order-page .customer-commerce-mini > a::before,
  body.pl-order-page .customer-commerce-mini > button::before { content: "Sepet" !important; font-size: .68rem; }
  body.pl-order-page .customer-commerce-header-cart::after { display: none; }
  body.pl-order-page .customer-commerce-label { display: none; }
  body.pl-order-page .customer-commerce-badge,
  body.pl-order-page .customer-commerce-header-badge { border-width: 1px; font-size: .64rem; }
}

@media (max-width: 480px) {
  body[data-customer-auth-page="account"] .customer-auth-page > .customer-auth-brand { margin-bottom: 12px; }
  .customer-commerce-shell { border-radius: 17px; }
  .customer-commerce-nav { padding: 12px; }
  .customer-commerce-nav-brand,
  .customer-commerce-nav a.customer-commerce-nav-brand { grid-template-columns: 40px minmax(0, 1fr); }
  .customer-commerce-nav-brand img { width: 40px; height: 40px; }
  .customer-commerce-nav-brand small { display: none; }
  .customer-commerce-nav-logout { min-width: 72px; padding-inline: 10px; }
  .customer-commerce-main { padding: 20px 13px 25px; }
  .customer-commerce-card,
  .customer-commerce-favorite-card,
  .customer-commerce-panel,
  .customer-commerce-order-card,
  .customer-commerce-form,
  .customer-commerce-empty,
  .customer-commerce-error { padding: 14px; border-radius: 14px; }
  .customer-commerce-product-card { grid-template-columns: minmax(0, 1fr); }
  .customer-commerce-product-media,
  .customer-commerce-product-media img { min-height: 188px; max-height: 240px; }
  .customer-commerce-actions > .customer-commerce-button,
  .customer-commerce-actions > .customer-commerce-action,
  .customer-commerce-actions > .customer-commerce-secondary,
  .customer-commerce-actions > .customer-commerce-danger,
  .customer-commerce-actions > .customer-commerce-text-button,
  .customer-commerce-actions > .customer-commerce-text-link { width: 100%; }
  .customer-commerce-cart-summary { padding: 16px; }
  .customer-commerce-toast {
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    width: calc(100vw - 20px);
  }
}

@media (max-width: 390px) {
  body[data-customer-auth-page="account"] .customer-auth-page { padding-inline: 8px; }
  .customer-commerce-main { padding-inline: 11px; }
  .customer-commerce-nav { padding-inline: 10px; }
  .customer-commerce-nav-list a { padding-inline: 10px; font-size: .82rem; }
  .customer-commerce-cart-item { grid-template-columns: 70px minmax(0, 1fr); }
  .customer-commerce-cart-item img { max-width: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  .customer-commerce-header-link,
  .customer-commerce-summary-card,
  .customer-commerce-button,
  .customer-commerce-action,
  .customer-commerce-secondary,
  .customer-commerce-danger { transition: none; }
  .customer-commerce-mini-popover,
  .customer-commerce-mini-backdrop { animation: none; }
  .customer-commerce-loading span,
  .customer-commerce-loading-card { animation: none; }
}
