:root {
  --bg: #1e1510;
  --surface: #291d16;
  --card: #30221a;
  --text: #f5efe6;
  --muted: #b0a294;
  --accent: #e59246;
  --border: rgba(245, 239, 230, 0.1);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  background-color: var(--bg);
}

body {
  background: radial-gradient(circle at 50% 25%, #2b1e16 0%, #130d09 100%);
  color: var(--text);
  font-family: var(--font-sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 501px) {
  body {
    height: 100dvh;
    overflow: hidden;
    justify-content: center;
  }
}

.icon {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

.icon-lg {
  width: 18px;
  height: 18px;
}

[data-theme="light"] {
  --bg: #d9cbb8;
  --surface: #cbbba6;
  --card: #e3d7c6;
  --text: #2a2018;
  --muted: #66584b;
  --accent: #c95f2e;
  --border: rgba(42, 32, 24, 0.12);
}

[data-theme="light"] body,
body[data-theme="light"] {
  background: radial-gradient(circle at 50% 25%, #d6c8b5 0%, #bdad98 100%);
}

body[data-theme="light"] .m-header {
  background: linear-gradient(to bottom, rgba(217, 203, 184, 0.96) 65%, rgba(217, 203, 184, 0) 100%);
}

body[data-theme="light"] .hero-cover::after {
  background:
    linear-gradient(to right, #f6f1e9 18%, rgba(246, 241, 233, 0.45) 48%, rgba(246, 241, 233, 0) 76%),
    linear-gradient(to bottom, #f6f1e9 0%, rgba(246, 241, 233, 0) 22%, rgba(246, 241, 233, 0) 70%, #f6f1e9 100%);
}

body[data-theme="light"] .hero-cover img {
  filter: brightness(1.02) contrast(1.02);
}

body[data-theme="light"] .hero-clean-cta {
  background: rgba(42, 35, 29, 0.08);
}

body[data-theme="light"] .lamp-box-thumb img {
  filter: brightness(calc(0.65 + 0.38 * var(--lit))) saturate(calc(0.85 + 0.2 * var(--lit))) drop-shadow(0 0 calc(22px * var(--lit)) rgba(229, 146, 70, calc(0.45 * var(--lit))));
}

body[data-theme="light"] .lamp-box .p-btn-buy {
  background: rgba(42, 35, 29, 0.08);
}

.desktop-controls {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 60;
  display: flex;
  gap: 8px;
}

.desktop-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(26, 23, 20, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

body[data-theme="light"] .desktop-toggle {
  background: rgba(250, 247, 242, 0.92);
}

.phone-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.phone-bezel {
  position: relative;
  width: 390px;
  height: 800px;
  background: #1c1917;
  border-radius: 46px;
  padding: 11px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 28px 70px rgba(42, 35, 29, 0.28), 0 0 0 1px rgba(42, 35, 29, 0.08);
  overflow: hidden;
  transform-origin: center center;
  flex-shrink: 0;
  transition: width 0.25s ease, height 0.25s ease, border-radius 0.25s ease;
}

.phone-notch {
  position: absolute;
  top: 17px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 22px;
  background: #111;
  border-radius: 999px;
  z-index: 40;
  pointer-events: none;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 36px;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.phone-screen::-webkit-scrollbar {
  display: none;
}

.phone-stage.full-mode .phone-bezel {
  width: min(520px, 96vw);
  height: calc(100vh - 30px);
  border-radius: 24px;
  padding: 0;
  border: 1px solid var(--border);
}

.phone-stage.full-mode .phone-notch {
  display: none;
}

.phone-stage.full-mode .phone-screen {
  border-radius: 24px;
}

@media (max-width: 500px) {
  body {
    background: var(--bg);
  }

  .desktop-controls,
  .desktop-toggle,
  .phone-notch {
    display: none;
  }

  .phone-stage {
    padding-bottom: 0;
  }

  .phone-bezel {
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
    padding: 0;
    border: none;
    box-shadow: none;
  }

  .phone-screen {
    border-radius: 0;
  }
}

/* --- HEADER --- */
.m-header {
  position: sticky;
  top: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  margin-bottom: -76px;
  padding: 36px 20px 10px;
  background: linear-gradient(to bottom, rgba(30, 21, 16, 0.94) 65%, rgba(30, 21, 16, 0) 100%);
  backdrop-filter: blur(8px);
  border-bottom: none;
}

.m-header .logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.phone-stage.full-mode .m-header {
  height: 54px;
  margin-bottom: -54px;
  padding-top: 14px;
}

@media (max-width: 500px) {
  .m-header {
    height: 54px;
    margin-bottom: -54px;
    padding-top: 14px;
  }
}

.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 200;
  letter-spacing: 0.46em;
  padding-left: 0.46em;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
}

.logo span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--accent);
}

.m-header-centered .logo::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%);
  width: 24px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

.m-header-centered {
  justify-content: center;
}

.home-wrap {
  position: relative;
}

.home-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: -25%;
  right: -25%;
  height: 310px;
  pointer-events: none;
  z-index: 0;
  background: conic-gradient(from 0deg at 50% 50px,
      transparent 0deg,
      transparent 100deg,
      rgba(229, 146, 70, 0.14) 135deg,
      rgba(255, 198, 120, 0.30) 180deg,
      rgba(229, 146, 70, 0.14) 225deg,
      transparent 260deg,
      transparent 360deg);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, rgba(0, 0, 0, 0.65) 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, rgba(0, 0, 0, 0.65) 55%, transparent 100%);
  filter: blur(14px);
}

.home-hero-pure,
.home-boxes,
.home-footer {
  position: relative;
  z-index: 1;
}

.m-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  padding: 0;
  border: none;
}

.m-nav-link {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.73rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  padding: 4px 0;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.m-nav-link.active {
  background: transparent !important;
  color: var(--text) !important;
  font-weight: 500;
}

.m-nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.m-nav-menu {
  color: var(--text);
  display: inline-flex;
  align-items: center;
  opacity: 0.78;
}

.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.hero-eyebrow-row .hero-eyebrow {
  margin-bottom: 0;
  white-space: nowrap;
}

.hero-eyebrow-line {
  width: 36px;
  height: 1px;
  background: linear-gradient(to right, rgba(229, 146, 70, 0.75), transparent);
}

.collection-intro {
  padding: 20px 26px 8px;
  text-align: center;
}

.collection-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
}

.collection-divider span {
  flex: 1;
  max-width: 72px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(229, 146, 70, 0.55), transparent);
}

.collection-divider em {
  font-style: normal;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.collection-inspire {
  font-size: 0.84rem;
  font-weight: 300;
  color: rgba(245, 241, 234, 0.78);
  line-height: 1.5;
}

body[data-theme="light"] .collection-inspire {
  color: var(--muted);
}

.home-wrap {
  padding: 0;
  height: auto;
}

.home-hero-pure {
  padding: 112px 24px 36px;
  text-align: center;
}

.home-hero-pure .hero-eyebrow {
  margin-bottom: 14px;
}

.home-hero-pure h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.15rem;
  font-weight: 100;
  letter-spacing: 0.02em;
  line-height: 1.14;
  margin-bottom: 14px;
  color: var(--text);
}

.home-hero-pure h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 2.45rem;
  color: #e4a568;
}

.hero-pure-sub {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 28px;
}

.hero-scroll-indicator {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.scroll-thread {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, var(--accent));
}

.scroll-label {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-eyebrow {
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 400;
  margin-bottom: 8px;
}

.hero-cover-overlay h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 100;
  letter-spacing: 0.02em;
  line-height: 1.04;
  margin: 0 0 8px;
  color: var(--text);
}

.hero-cover-overlay h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 2.85rem;
  color: #e4a568;
}

.hero-cover-overlay p {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(245, 241, 234, 0.72);
  margin-bottom: 18px;
}

.hero-clean-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(245, 241, 234, 0.1);
  backdrop-filter: blur(10px);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.hero-clean-cta:hover {
  background: var(--text);
  color: var(--bg);
}

.home-footer {
  padding: 16px 20px 24px;
  scroll-snap-align: end;
}

.hero-photo-stage {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(42, 35, 29, 0.1);
  box-shadow: 0 14px 32px rgba(42, 35, 29, 0.12);
  margin-bottom: 14px;
  background: #1d1814;
}

.hero-photo-stage img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 55%;
  transition: filter 0.35s ease;
}

.lamp-glow {
  position: absolute;
  width: 90px;
  height: 110px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 198, 112, 0.85) 0%, rgba(255, 152, 56, 0.42) 45%, transparent 74%);
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.scroll-light-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(24, 20, 17, 0.72);
  backdrop-filter: blur(8px);
  color: #f9f2e7;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.hero-product-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  margin-bottom: 10px;
}

.hero-secondary-link {
  display: inline-block;
  font-size: 0.76rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  margin-top: 4px;
}

.home-boxes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  padding: 20px 0 40px;
  margin: 0;
  height: auto;
}

.lamp-box {
  --lit: 0;
  background: transparent;
  border: none;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.lamp-box-thumb {
  position: relative;
  width: 100%;
  height: 360px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  margin-bottom: 18px;
}

.lamp-box-thumb::before {
  content: "";
  position: absolute;
  inset: -28px;
  background: radial-gradient(circle at 50% 52%, rgba(255, 178, 88, 0.45) 0%, rgba(229, 146, 70, 0.14) 44%, transparent 70%);
  opacity: var(--lit);
  transition: opacity 0.24s ease-out;
  pointer-events: none;
}

.lamp-box-thumb img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: brightness(calc(0.14 + 0.98 * var(--lit))) saturate(calc(0.65 + 0.45 * var(--lit))) drop-shadow(0 0 calc(32px * var(--lit)) rgba(255, 168, 76, calc(0.55 * var(--lit))));
  transform: scale(calc(0.96 + 0.07 * var(--lit)));
  transition: filter 0.24s ease-out, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.lamp-box .p-badge {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 4px;
}

.lamp-box h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.lamp-box .p-price {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 14px;
  display: block;
}

.lamp-box .p-btn-buy {
  width: auto;
  min-width: 150px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 241, 234, 0.08);
  color: var(--text);
  border: none;
  border-radius: 999px;
  text-decoration: none;
  padding: 9px 22px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: background 0.25s ease, color 0.25s ease;
}

.lamp-box .p-btn-buy:hover {
  background: var(--text);
  color: var(--bg);
}

.home-hero-card h1 {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1.06;
  margin: 4px 0 10px;
}

.home-hero-card h1 em {
  color: var(--accent);
  font-style: italic;
}

.home-hero-card p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 16px;
}

.home-lineup {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  padding: 12px 6px 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(42, 35, 29, 0.08);
}

.cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--text);
  color: var(--card);
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 0.76rem;
  font-weight: 600;
  text-decoration: none;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(250, 247, 242, 0.75);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 0.76rem;
  font-weight: 600;
  text-decoration: none;
}

.home-sec-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 18px 0 10px;
}

.home-sec-title h2 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
}

.home-sec-title a {
  font-size: 0.74rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.swipe-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.swipe-row::-webkit-scrollbar {
  display: none;
}

.swipe-card {
  flex: 0 0 132px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.swipe-thumb {
  width: 100%;
  height: 86px;
  border-radius: 12px;
  background: radial-gradient(circle at 50% 50%, #ebe1d3 0%, #dcd0bf 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.swipe-card strong {
  font-size: 0.78rem;
  display: block;
}

.swipe-card span {
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
}

.home-footer {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--muted);
}

.m-nav-link.active {
  background: var(--text);
  color: var(--card);
}

/* --- HERO & MODEL SWITCHER --- */
.m-hero {
  padding: 12px 16px 8px;
}

.model-switcher {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.model-pill {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 7px 4px;
  border-radius: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.model-pill.active {
  border-color: var(--accent);
  background: var(--text);
  color: var(--card);
}

.m-eyebrow {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 2px;
}

.m-hero h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.06;
  margin-bottom: 10px;
}

.m-hero h1 em {
  color: var(--accent);
  font-style: italic;
}

/* --- 3D VIEWER --- */
.viewer-box {
  position: relative;
  width: 100%;
  height: 295px;
  border-radius: 22px;
  background: radial-gradient(circle at 50% 45%, #231e19 0%, #0e0d0c 100%);
  border: 1px solid var(--border);
  overflow: hidden;
}

#canvas-container {
  width: 100%;
  height: 100%;
  touch-action: none;
}

.viewer-hint {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  color: rgba(245, 241, 234, 0.5);
  pointer-events: none;
  white-space: nowrap;
}

.viewer-pills {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.v-pill {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 13, 12, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.71rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.18s ease;
}

.v-pill.active {
  border-color: var(--accent);
  background: var(--text);
  color: var(--card);
}

/* --- DIMMER & COLORWAYS --- */
.dimmer-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  padding: 9px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 0.85rem;
}

.dimmer-row input[type="range"] {
  flex: 1;
  accent-color: var(--accent);
  cursor: pointer;
}

.dimmer-pct {
  font-size: 0.76rem;
  color: var(--accent);
  font-weight: 700;
  min-width: 34px;
  text-align: right;
}

.q-group {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.q-label {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.q-label strong {
  color: var(--text);
}

.q-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.q-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(42, 35, 29, 0.15);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.q-dot.active {
  border-color: var(--text);
  transform: scale(1.16);
  box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--accent);
}

/* --- TABS --- */
.m-section {
  padding: 4px 16px 16px;
}

.tab-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 3px;
  margin-bottom: 10px;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  padding: 7px 4px;
  font-size: 0.76rem;
  font-weight: 600;
  border-radius: 9px;
  cursor: pointer;
}

.tab-btn.active {
  background: var(--card);
  color: var(--text);
  box-shadow: 0 2px 6px rgba(42, 35, 29, 0.06);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.m-list {
  list-style: none;
  display: grid;
  gap: 8px;
}

.m-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
}

.m-list li .m-icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7c5436;
  flex-shrink: 0;
}

.m-list li strong {
  display: block;
  font-size: 0.82rem;
}

.m-list li small {
  font-size: 0.72rem;
  color: var(--muted);
}

.info-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  font-size: 0.82rem;
  color: var(--muted);
}

.info-box strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}

.m-specs {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px 14px;
}

.m-specs>div {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
}

.m-specs>div:last-child {
  border-bottom: none;
}

.m-specs span {
  color: var(--muted);
}

/* --- STICKY BOTTOM BAR --- */
.m-bottom-bar {
  position: sticky;
  bottom: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px 14px;
  background: rgba(16, 14, 12, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
}

.m-price {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.1;
}

.m-ship {
  font-size: 0.7rem;
  color: var(--muted);
}

.m-buy-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

/* --- PRODUCTS CATALOG PAGE --- */
.p-page {
  padding: 14px 16px 24px;
}

.p-page h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.p-sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.filter-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 10px;
  scrollbar-width: none;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  white-space: nowrap;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}

.filter-chip.active {
  background: var(--text);
  color: var(--card);
  border-color: var(--text);
}

.p-grid {
  display: grid;
  gap: 11px;
}

.p-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: center;
  box-shadow: 0 4px 14px rgba(42, 35, 29, 0.04);
}

.p-thumb {
  width: 88px;
  height: 104px;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 55%, rgba(229, 146, 70, 0.16) 0%, #0d0c0b 75%);
  border: 1px solid var(--border);
  padding: 6px;
  overflow: hidden;
}

.p-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.p-badge {
  display: inline-block;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 2px;
}

.p-card h3 {
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.p-card p {
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.38;
  margin-bottom: 9px;
}

.p-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.p-price {
  font-size: 1.02rem;
  font-weight: 700;
}

.p-actions {
  display: flex;
  gap: 6px;
}

.p-btn-3d {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-decoration: none;
}

.p-btn-buy {
  background: var(--accent);
  border: none;
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

/* --- BOTTOM SHEET --- */
.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 13, 9, 0.72);
  backdrop-filter: blur(6px);
  display: none;
  align-items: flex-end;
  z-index: 50;
}

.sheet-backdrop.open {
  display: flex;
}

.bottom-sheet {
  width: 100%;
  max-height: 92%;
  overflow-y: auto;
  background: var(--bg);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  padding: 12px 22px 24px;
  border-top: 1px solid rgba(229, 146, 70, 0.32);
}

.sheet-handle {
  width: 36px;
  height: 2px;
  background: rgba(245, 239, 230, 0.22);
  border-radius: 999px;
  margin: 0 auto 16px;
}

.bottom-sheet h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 4px;
}

.sheet-sub {
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: var(--muted);
  margin-bottom: 14px;
}

.bottom-sheet input:not([type="checkbox"]):not([type="radio"]) {
  width: 100%;
  padding: 10px 2px;
  margin-bottom: 6px;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.bottom-sheet input:not([type="checkbox"]):not([type="radio"]):focus {
  border-bottom-color: var(--accent);
}

.sheet-success {
  padding: 12px;
  border-radius: 12px;
  background: rgba(217, 107, 56, 0.14);
  border: 1px solid var(--accent);
  font-size: 0.84rem;
  margin-bottom: 10px;
}

.sheet-close {
  width: 100%;
  margin-top: 8px;
  background: transparent;
  border: none;
  color: var(--muted);
  padding: 8px;
  font-size: 0.84rem;
  cursor: pointer;
}

/* ==========================================================================
   PRODUCT PAGE (SWISS-EDITORIAL, ZERO 3D, ZERO AI CLUTTER)
   ========================================================================== */

.pd-wrap {
  padding: 78px 0 92px;
}

.phone-stage.full-mode .pd-wrap,
@media (max-width: 500px) {
  .pd-wrap {
    padding-top: 56px;
  }
}

.pd-index-bar {
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
}

.pd-index-btn {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid transparent;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 12px 2px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.pd-index-btn.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.pd-stage {
  --pd-lit: 0.15;
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 48%, rgba(255, 174, 82, calc(0.32 * var(--pd-lit))) 0%, transparent 66%);
}

.pd-carousel {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.pd-carousel::-webkit-scrollbar {
  display: none;
}

.pd-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-slide-studio {
  padding: 24px 36px 46px;
}

.pd-slide-studio img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(calc(0.24 + 0.86 * var(--pd-lit))) saturate(calc(0.75 + 0.35 * var(--pd-lit))) drop-shadow(0 0 calc(32px * var(--pd-lit)) rgba(255, 166, 74, calc(0.45 * var(--pd-lit))));
  transition: filter 0.12s ease-out;
}

.pd-slide-room img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pd-slide-blend {
  position: relative;
}

.pd-slide-blend img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pd-blend-day {
  opacity: var(--pd-lit);
  transition: opacity 0.08s linear;
}

.pd-car-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(20, 15, 12, 0.55);
  backdrop-filter: blur(6px);
  color: #f5efe6;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pd-car-arrow.prev {
  left: 10px;
}

.pd-car-arrow.next {
  right: 10px;
}

.pd-car-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.pd-car-dot {
  width: 14px;
  height: 2px;
  background: var(--muted);
  opacity: 0.45;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.pd-car-dot.active {
  opacity: 1;
  background: var(--accent);
}

.pd-dimmer-wrap {
  padding: 12px 20px 0;
  max-height: 70px;
  overflow: hidden;
  transition: opacity 0.25s ease, max-height 0.25s ease, padding 0.25s ease;
}

.pd-dimmer-wrap.hidden {
  opacity: 0;
  max-height: 0;
  padding-top: 0;
  pointer-events: none;
}

.pd-dimmer-wrap .dimmer-row {
  margin: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 6px 2px 12px;
}

/* Architectural Dimension Overlay */
.pd-dims {
  position: absolute;
  inset: 24px 24px 48px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.pd-dims-always,
.pd-stage.show-dims .pd-dims {
  opacity: 1;
}

.pd-dim-h {
  position: absolute;
  right: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(229, 146, 70, 0.45);
  display: flex;
  align-items: center;
}

.pd-dim-h span {
  position: absolute;
  right: 8px;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  white-space: nowrap;
}

.pd-dim-w {
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: -6px;
  height: 1px;
  background: rgba(229, 146, 70, 0.45);
  display: flex;
  justify-content: center;
}

.pd-dim-w span {
  position: absolute;
  top: 6px;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  white-space: nowrap;
}

.pd-stage-bar {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
}

.pd-mode-switch {
  display: flex;
  gap: 14px;
}

.pd-mode-btn {
  background: transparent;
  border: none;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  padding: 2px 0;
  cursor: pointer;
}

.pd-mode-btn.active {
  color: var(--text);
  border-bottom-color: var(--text);
}

.pd-body {
  padding: 18px 20px 10px;
}

.pd-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.pd-head h1 {
  font-family: var(--font-serif);
  font-size: 2.05rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1;
}

.pd-head-num {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}

.pd-head-price {
  font-size: 1.15rem;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.pd-desc {
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 22px;
}

.pd-editions {
  border-top: 1px solid var(--border);
  margin-bottom: 22px;
}

.pd-ed-single {
  padding: 14px 2px;
  border-bottom: 1px solid var(--border);
}

.pd-ed-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.pd-ed-title {
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--text);
}

.pd-ed-single .pd-ed-tag {
  color: var(--accent);
}

.pd-color-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.96rem;
  line-height: 1.38;
  color: var(--muted);
  padding-left: 26px;
}

.pd-ed-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pd-swatch-sq {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
}

.pd-ed-tag {
  font-size: 0.72rem;
  color: var(--muted);
}

.pd-ed-row.active .pd-ed-tag {
  color: var(--accent);
}

/* Clean + / - Accordions */
.pd-acc-item {
  border-bottom: 1px solid var(--border);
}

.pd-acc-btn {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  padding: 14px 2px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.pd-acc-icon {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 300;
}

.pd-acc-panel {
  display: none;
  padding: 0 2px 14px;
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--muted);
}

.pd-acc-item.open .pd-acc-panel {
  display: block;
}

.pd-bottom-bar {
  position: sticky;
  bottom: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 15px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.pd-buy-btn {
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 2px;
  padding: 11px 26px;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

/* --- HEADER CART ICON (Product Page) --- */
.cart-icon-btn,
.cart-icon-btn:visited {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e59246 !important;
  text-decoration: none;
  padding: 4px;
  flex-shrink: 0;
  z-index: 2;
}

.cart-icon-btn svg {
  stroke: #e59246 !important;
}

.cart-icon-badge {
  position: absolute;
  top: -2px;
  right: -5px;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  border-radius: 999px;
  background: var(--accent);
  color: #1e1510;
  font-size: 0.6rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* --- CENTERED RECTANGULAR NOTIFICATION MODAL --- */
.center-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(19, 13, 9, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.center-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.center-modal {
  width: 100%;
  max-width: 310px;
  background: var(--bg);
  border: 1px solid rgba(229, 146, 70, 0.45);
  border-radius: 4px;
  padding: 18px 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
  transform: scale(0.95);
  transition: transform 0.22s ease;
}

.center-modal-backdrop.open .center-modal {
  transform: scale(1);
}

.center-modal h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 12px;
  text-align: center;
}

/* --- CART PAGE (Editorial Minimalist Mockup Match) --- */
.cart-screen {
  display: flex;
  flex-direction: column;
}

.cart-page-wrap {
  flex: 1;
  padding: 90px 22px 24px;
}

.phone-stage.full-mode .cart-page-wrap {
  padding-top: 72px;
}

@media (max-width: 500px) {
  .cart-page-wrap {
    padding-top: 72px;
  }
}

.cart-back-row {
  margin-bottom: 18px;
}

.cart-back-link {
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

.cart-list {
  display: flex;
  flex-direction: column;
}

.cart-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.cart-row:first-child {
  padding-top: 8px;
}

.cart-row-thumb {
  width: 78px;
  height: 78px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--card);
}

.cart-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-row-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cart-row-title {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
  line-height: 1.15;
}

.cart-row-color {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--muted);
}

.cart-row-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.cart-row-price {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}

.cart-footer-bar {
  position: sticky;
  bottom: 0;
  z-index: 20;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 14px 22px 22px;
}

.cart-footer-ship-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.cart-footer-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}

.cart-footer-label {
  font-size: 0.92rem;
  color: var(--muted);
}

.cart-footer-price {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
}

.cart-footer-btn {
  width: 100%;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 4px;
  padding: 14px 20px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Compact Delivery Selector (No Radio Dot, Highlighted Active Row) */
.ship-opt-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  margin-bottom: 6px;
  border-radius: 2px;
  background: rgba(245, 239, 230, 0.02);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ship-opt-compact input[type="radio"] {
  display: none;
}

.ship-opt-compact.active {
  border-color: var(--accent);
  background: rgba(229, 146, 70, 0.11);
}

.ship-opt-name {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text);
}

.ship-opt-compact.active .ship-opt-name,
.ship-opt-compact.active .ship-opt-price {
  color: var(--accent);
  font-weight: 500;
}

/* --- LEGAL CHECKBOX & PAGE (regulamin.html) --- */
.legal-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--muted);
  cursor: pointer;
  margin: 2px 0;
}

.legal-check input {
  width: auto !important;
  margin-top: 2px;
  accent-color: var(--accent);
}

.legal-check a {
  color: var(--accent);
  text-decoration: underline;
}

.input-invalid {
  border-bottom-color: var(--accent) !important;
}

.legal-invalid {
  color: var(--accent);
}

.form-error {
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--accent);
  border-left: 1px solid var(--accent);
  padding: 2px 0 2px 10px;
  margin: 2px 0;
}

.legal-wrap {
  padding: 94px 22px 48px;
}

.phone-stage.full-mode .legal-wrap {
  padding-top: 74px;
}

@media (max-width: 500px) {
  .legal-wrap {
    padding-top: 74px;
  }
}

.legal-wrap h1 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--text);
  margin: 6px 0 22px;
}

.legal-sec {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.legal-sec h2 {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.legal-sec p {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 6px;
}

.cart-trash-btn {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  padding: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.cart-trash-btn:hover {
  opacity: 1;
  transform: scale(1.08);
}

.cart-item-sub {
  display: block;
  margin-top: 2px;
}

/* --- ADDED TO CART SHEET --- */
.added-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 16px;
}

.added-preview img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.added-preview strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 2px;
}

.added-preview span {
  font-size: 0.78rem;
  color: var(--muted);
}

.sheet-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sheet-btn-sec {
  width: 100%;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 11px 20px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

/* --- CART PAGE (koszyk.html) --- */
.cart-wrap {
  padding: 90px 20px 44px;
}

.phone-stage.full-mode .cart-wrap {
  padding-top: 72px;
}

@media (max-width: 500px) {
  .cart-wrap {
    padding-top: 72px;
  }
}

.cart-head {
  margin-bottom: 16px;
}

.cart-head h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--text);
  margin-top: 2px;
}

.cart-preorder-note {
  background: transparent;
  border: none;
  border-left: 1px solid rgba(229, 146, 70, 0.65);
  border-radius: 0;
  padding: 2px 0 2px 12px;
  margin-bottom: 16px;
}

.cart-preorder-note strong {
  display: block;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 4px;
}

.cart-preorder-note p {
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--muted);
}

.cart-empty {
  text-align: center;
  padding: 46px 16px;
  border-top: 1px solid var(--border);
}

.cart-empty p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.cart-item-img {
  width: 68px;
  height: 76px;
  background: var(--card);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 6px;
}

.cart-item-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.cart-item-top strong {
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text);
}

.cart-rm {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}

.cart-item-sub {
  font-size: 0.74rem;
  color: var(--muted);
}

.cart-item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.qty-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 3px;
}

.qty-btn {
  background: transparent;
  border: none;
  color: var(--text);
  width: 26px;
  height: 24px;
  font-size: 0.9rem;
  cursor: pointer;
}

.qty-ctrl span {
  font-size: 0.78rem;
  padding: 0 8px;
  color: var(--text);
}

.cart-item-total {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}

.cart-section {
  margin-bottom: 20px;
}

.cart-sec-title {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.ship-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.ship-opt.active {
  border-color: var(--accent);
}

.ship-opt input {
  accent-color: var(--accent);
}

.ship-opt-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ship-opt-main strong {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text);
}

.ship-opt-main small {
  font-size: 0.7rem;
  color: var(--muted);
}

.ship-opt-price {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
}

.cart-summary {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 2px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sum-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--muted);
}

.sum-total {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  padding-top: 6px;
  border-top: 1px dashed var(--border);
}

.cart-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-form input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 11px 12px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  outline: none;
}

.cart-form input:focus {
  border-color: var(--accent);
}

.cart-success {
  text-align: center;
  padding: 36px 12px;
  border-top: 1px solid var(--border);
}

.cart-success h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--text);
  margin: 6px 0 12px;
}

.cart-success p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
}