:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #f4efe6;
  --bg-warm: #eadcc9;
  --ink: #1a1814;
  --muted: #6b6458;
  --panel: #fffcf7;
  --line: #ddd4c6;
  --primary: #a05d35;
  --primary-strong: #7c4223;
  --accent: #285a4a;
  --accent-soft: #d9eadf;
  --promo: #c0392b;
  --promo-soft: #fdecea;
  --success: #2c5f4a;
  --shadow: 0 18px 40px rgba(45, 34, 22, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.82) 0%, rgba(244, 239, 230, 0.72) 40%, rgba(218, 234, 223, 0.5) 100%),
    var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

a {
  color: var(--accent);
}

.shop-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image:
    linear-gradient(rgba(26, 24, 20, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 24, 20, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px max(24px, env(safe-area-inset-right)) 14px max(24px, env(safe-area-inset-left));
  background: rgba(255, 252, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-mark {
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink);
}

.brand-tag {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-btn {
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.15s, border-color 0.15s;
}

.nav-btn:hover,
.nav-btn.active {
  background: var(--accent-soft);
  border-color: #c5ddd2;
}

.cart-btn {
  position: relative;
  border: none;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  white-space: nowrap;
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 8px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
}

.process-banner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px max(24px, env(safe-area-inset-right)) 14px max(24px, env(safe-area-inset-left));
  background: linear-gradient(90deg, #285a4a 0%, #634d36 48%, #a05d35 100%);
  color: #fff;
}

.process-card {
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.process-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.92rem;
}

.process-card span {
  font-size: 0.82rem;
  line-height: 1.45;
  opacity: 0.92;
}

.page-main {
  flex: 1;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 28px max(24px, env(safe-area-inset-right)) 40px max(24px, env(safe-area-inset-left));
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 420px);
  gap: 32px;
  align-items: center;
  margin-bottom: 44px;
  min-height: 460px;
}

.hero-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy .lead {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.6;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
}

.promo-strip {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--promo-soft);
  border: 1px solid #f5c6cb;
}

.promo-strip p {
  margin: 0;
  color: var(--promo);
  font-weight: 600;
  font-size: 1.05rem;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 8px;
  background: #211a15;
  box-shadow: var(--shadow);
  display: grid;
  place-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-room {
  position: relative;
  height: 100%;
  background:
    radial-gradient(circle at 62% 30%, rgba(255, 208, 128, 0.38), transparent 28%),
    linear-gradient(180deg, #4a3b2d 0 58%, #2d241c 58% 100%);
}

.hero-window {
  position: absolute;
  top: 12%;
  right: 11%;
  width: 34%;
  height: 38%;
  border: 8px solid #e9dcc8;
  background: linear-gradient(160deg, #f7dca5, #7da38f);
  box-shadow: 0 20px 70px rgba(255, 196, 104, 0.32);
}

.hero-pendant {
  position: absolute;
  top: 0;
  width: 2px;
  height: 34%;
  background: #201812;
}

.hero-pendant::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -30px;
  width: 66px;
  height: 46px;
  transform: translateX(-50%);
  border-radius: 8px 8px 34px 34px;
  background: linear-gradient(180deg, #e9dcc8, #b87943);
  box-shadow: 0 24px 55px rgba(255, 207, 130, 0.46);
}

.hero-pendant-one {
  left: 18%;
}

.hero-pendant-two {
  left: 36%;
  height: 26%;
}

.hero-sofa {
  position: absolute;
  left: 9%;
  bottom: 14%;
  width: 58%;
  height: 18%;
  border-radius: 18px 18px 8px 8px;
  background: #d6c0a3;
}

.hero-table {
  position: absolute;
  right: 12%;
  bottom: 13%;
  width: 24%;
  height: 7%;
  border-radius: 999px;
  background: #8b5a36;
}

.hero-lamp {
  position: absolute;
  right: 18%;
  bottom: 21%;
  width: 42px;
  height: 118px;
  border-bottom: 10px solid #d6c0a3;
}

.hero-lamp::before {
  content: "";
  position: absolute;
  left: 19px;
  bottom: 8px;
  width: 4px;
  height: 76px;
  background: #201812;
}

.hero-lamp::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 34px;
  border-radius: 999px 999px 8px 8px;
  background: #f3d38f;
  box-shadow: 0 18px 50px rgba(255, 210, 133, 0.5);
}

.hero-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(26, 24, 20, 0.72);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  border-radius: 8px;
  padding: 12px 20px;
  border: none;
}

.primary-btn {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

.primary-btn:hover {
  background: var(--primary-strong);
}

.secondary-btn {
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
}

.ghost-btn {
  background: transparent;
  color: var(--accent);
  border: 1px dashed #b8cfc3;
}

.section-title {
  margin: 0 0 8px;
  font-size: 1.6rem;
}

.section-lead {
  margin: 0 0 20px;
  color: var(--muted);
  max-width: 680px;
  line-height: 1.55;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.facet-panel {
  position: sticky;
  top: 92px;
  padding: 20px;
  border-radius: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.facet-panel h2 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.facet-panel > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.facet-group + .facet-group {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.facet-group h3 {
  margin: 0 0 10px;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.facet-options {
  display: grid;
  gap: 8px;
}

.facet-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
}

.facet-option input {
  accent-color: var(--accent);
}

.facet-actions {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.results-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.86rem;
}

.filter-chip button {
  border: none;
  background: transparent;
  color: inherit;
  padding: 0;
  line-height: 1;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.product-card {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(45, 34, 22, 0.07);
  transition: transform 0.15s, box-shadow 0.15s;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-thumb {
  aspect-ratio: 1.12;
  display: grid;
  background: #eadcc9;
}

.product-scene {
  --shade: #f8f2e7;
  --metal: #23201b;
  --wood: #9c6b3e;
  --light: rgba(255, 210, 132, 0.7);
  position: relative;
  overflow: hidden;
  min-height: 100%;
  background:
    radial-gradient(circle at 50% 38%, var(--light), transparent 34%),
    linear-gradient(180deg, #fffaf1 0 61%, #d8c5ab 61% 100%);
}

.tone-noir {
  --shade: #1f1d19;
  --metal: #191816;
}

.tone-blanc {
  --shade: #fbf7ed;
  --metal: #d6cbbb;
}

.tone-laiton {
  --shade: #c58a3d;
  --metal: #9b642b;
}

.tone-naturel {
  --shade: #c79861;
  --metal: #8e613a;
}

.scene-glow,
.scene-cord,
.scene-shade,
.scene-bulb,
.scene-base,
.scene-shadow {
  position: absolute;
  display: block;
}

.scene-glow {
  left: 50%;
  top: 38%;
  width: 42%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 214, 142, 0.62);
  filter: blur(22px);
}

.scene-cord {
  left: 50%;
  top: 0;
  width: 3px;
  height: 32%;
  background: var(--metal);
}

.scene-shade {
  left: 50%;
  top: 28%;
  width: 34%;
  height: 22%;
  transform: translateX(-50%);
  border-radius: 8px 8px 44% 44%;
  background: linear-gradient(180deg, color-mix(in srgb, var(--shade), #fff 20%), var(--shade));
  box-shadow: inset 0 -10px 18px rgba(0, 0, 0, 0.14);
}

.scene-bulb {
  left: 50%;
  top: 47%;
  width: 9%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #ffe6a9;
  box-shadow: 0 0 28px rgba(255, 214, 142, 0.78);
}

.scene-base {
  left: 50%;
  bottom: 18%;
  width: 28%;
  height: 6%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--metal);
}

.scene-shadow {
  left: 28%;
  bottom: 13%;
  width: 44%;
  height: 5%;
  border-radius: 50%;
  background: rgba(39, 30, 22, 0.16);
  filter: blur(4px);
}

.shape-plafonnier .scene-cord {
  display: none;
}

.shape-plafonnier .scene-shade {
  top: 16%;
  width: 48%;
  height: 17%;
  border-radius: 0 0 999px 999px;
}

.shape-plafonnier .scene-bulb {
  top: 31%;
}

.shape-plafonnier .scene-base {
  display: none;
}

.shape-applique .scene-cord {
  left: 28%;
  top: 30%;
  width: 20%;
  height: 4px;
}

.shape-applique .scene-shade {
  left: 54%;
  top: 31%;
  width: 30%;
  height: 19%;
  border-radius: 50% 8px 8px 50%;
}

.shape-applique .scene-base {
  left: 27%;
  bottom: auto;
  top: 36%;
  width: 10%;
  height: 22%;
  border-radius: 8px;
}

.shape-lampadaire .scene-cord,
.shape-bureau .scene-cord {
  display: none;
}

.shape-lampadaire .scene-shade {
  top: 18%;
  width: 38%;
}

.shape-lampadaire .scene-base {
  bottom: 14%;
  width: 36%;
}

.shape-lampadaire .scene-base::before,
.shape-bureau .scene-base::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 80%;
  width: 4px;
  height: 142px;
  transform: translateX(-50%);
  background: var(--metal);
}

.shape-bureau .scene-shade {
  top: 32%;
  width: 30%;
  height: 18%;
  transform: translateX(-40%) rotate(-16deg);
}

.shape-bureau .scene-base {
  bottom: 18%;
  width: 32%;
}

.product-scene.detail {
  border-radius: 8px;
}

.product-scene.mini {
  border-radius: 8px;
}

.product-scene.mini .scene-glow {
  filter: blur(8px);
}

.product-scene.mini .scene-shade {
  width: 40%;
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  flex: 1;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.meta-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
}

.product-body h3 {
  margin: 0;
  font-size: 1.05rem;
}

.product-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  flex: 1;
}

.product-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.product-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.product-actions button {
  flex: 1;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: 32px;
}

.detail-visual {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  background: var(--bg-warm);
  border: 1px solid var(--line);
}

.detail-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.detail-copy .info-block {
  margin: 18px 0;
  padding: 16px;
  border-radius: 14px;
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
}

.detail-copy .info-block p {
  margin: 0;
  line-height: 1.55;
}

.spec-list {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
  font-size: 0.94rem;
}

.checkout-shell {
  max-width: 820px;
  margin: 0 auto;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 24px;
}

.step-item {
  position: relative;
  padding: 12px 10px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  text-align: center;
}

.step-item.done {
  background: var(--accent-soft);
  border-color: #b8cfc3;
}

.step-item.current {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.18);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 6px;
  border-radius: 999px;
  background: var(--bg);
  font-size: 0.82rem;
  font-weight: 700;
}

.step-item.done .step-number,
.step-item.current .step-number {
  background: var(--accent);
  color: #fff;
}

.step-label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

.step-item.current .step-label {
  color: var(--ink);
  font-weight: 600;
}

.step-feedback {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff8e8;
  border: 1px solid #ecd39a;
}

.step-feedback strong {
  display: block;
  margin-bottom: 4px;
}

.checkout-panel {
  padding: 24px;
  border-radius: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.checkout-panel h2 {
  margin: 0 0 16px;
}

.cart-lines {
  display: grid;
  gap: 12px;
}

.cart-line {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.cart-line-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  background: var(--bg-warm);
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qty-controls button {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid label {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  outline: 2px solid rgba(44, 95, 74, 0.25);
  border-color: var(--accent);
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.order-summary {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
}

.confirmation-box {
  text-align: center;
  padding: 12px 0 4px;
}

.confirmation-box h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.confirmation-id {
  display: inline-block;
  margin: 12px 0 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}

.survey-banner {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff8ef 0%, #edf7f1 100%);
  border: 1px solid #d8e8de;
}

.survey-banner h3 {
  margin: 0 0 8px;
}

.survey-banner p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.55;
}

.survey-panel {
  max-width: 640px;
  margin: 0 auto;
}

.rating-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rating-btn {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.rating-btn.selected {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary-strong);
}

.empty-state {
  padding: 36px 20px;
  text-align: center;
  border-radius: 18px;
  background: var(--panel);
  border: 1px dashed var(--line);
  color: var(--muted);
}

.site-footer {
  margin-top: auto;
  padding: 22px max(24px, env(safe-area-inset-right)) 28px max(24px, env(safe-area-inset-left));
  border-top: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 900px) {
  .hero,
  .catalog-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .process-banner {
    grid-template-columns: 1fr;
  }

  .facet-panel {
    position: static;
  }

  .stepper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .site-header {
    flex-wrap: wrap;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .stepper {
    grid-template-columns: 1fr;
  }
}
