/* ============================================================
   LUXORA IMPEX — styles.css
   Edit colors, fonts, and layout here. Then refresh the browser.
   ============================================================ */

/* Fonts are loaded with <link> tags in each page <head> (faster than @import). */

:root {
  --cream: #f3eee6;
  --cream-deep: #e8e1d4;
  --paper: #faf7f2;
  --ink: #1a1916;
  --ink-soft: #3f3c38;
  --muted: #6e6860;
  --taupe: #9c7a55;
  --taupe-light: #c4a882;
  --line: #e4ddd2;
  --surface: #fffcf8;
  --header-h: 4.75rem;
  --font: "Jost", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-display: "Marcellus", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --shadow: 0 18px 50px -24px rgb(26 25 22 / 0.28);
  --radius: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-optical-sizing: auto;
}

:focus-visible {
  outline: 2px solid var(--taupe);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
[role="button"] {
  font-family: inherit;
  cursor: pointer;
}

::selection {
  background: var(--taupe);
  color: var(--cream);
}

.wrap {
  width: min(1440px, calc(100% - 1.5rem));
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .wrap {
    width: min(1440px, calc(100% - 6rem));
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgb(243 238 230 / 0.97);
  transition: background-color 300ms ease, color 300ms ease, box-shadow 300ms ease;
}

@media (min-width: 1024px) and (hover: hover) {
  .site-header {
    background: rgb(243 238 230 / 0.88);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1440px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.logo {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.nav-desktop {
  display: none;
  gap: 3rem;
}

.nav-desktop a {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--ink);
  position: relative;
}

.icon-btn.solid {
  background: var(--ink);
  color: var(--cream);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--taupe);
  color: var(--cream);
  font-size: 10px;
  font-weight: 600;
  display: grid;
  place-items: center;
  padding: 0 4px;
}

.cart-count[hidden],
.wa-badge[hidden] {
  display: none;
}

.menu-toggle {
  display: grid;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0.5rem 1.25rem 1rem;
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  color: var(--ink-soft);
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .mobile-nav {
    display: none !important;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 150ms ease, background 150ms ease;
}

.btn:hover {
  background: var(--ink-soft);
}

.btn:active {
  transform: scale(0.96);
}

.btn-lg {
  height: 56px;
  padding: 0 32px;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgb(26 25 22 / 0.15);
}

.btn-outline:hover {
  background: rgb(232 225 212 / 0.4);
  border-color: rgb(26 25 22 / 0.4);
}

.btn-inverse {
  background: var(--cream);
  color: var(--ink);
}

/* ---------- Home header over hero ---------- */
.home .site-header {
  position: fixed;
  left: 0;
  right: 0;
}

.home .site-header.is-over-hero {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: var(--cream);
}

.home .site-header.is-over-hero .nav-desktop a {
  color: rgb(255 255 255 / 0.85);
}

.home .site-header.is-over-hero .nav-desktop a:hover {
  color: #fff;
}

.home .site-header.is-over-hero .icon-btn {
  color: #fff;
}

.home .site-header.is-over-hero .icon-btn.solid {
  background: rgb(255 255 255 / 0.16);
  border: 1px solid rgb(255 255 255 / 0.35);
}

.home .site-header.menu-open {
  background: var(--cream);
  color: var(--ink);
}

.home .site-header.menu-open .icon-btn {
  color: var(--ink);
}

/* ---------- Shared type ---------- */
.eyebrow {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
}

.display {
  margin: 0.75rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.12;
  text-wrap: balance;
}

.muted {
  color: var(--muted);
}

.ink-soft {
  color: var(--ink-soft);
}

/* ---------- Home sections ---------- */
.ticker {
  border-top: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.ticker::-webkit-scrollbar {
  display: none;
}

.ticker-inner {
  display: flex;
  gap: 2.5rem;
  padding: 1.5rem 0;
}

.ticker p {
  margin: 0;
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.section {
  padding: 5rem 0;
}

.section-paper {
  background: var(--paper);
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .section-head {
    flex-direction: row;
    align-items: flex-end;
  }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 0.85rem;
  margin-top: 1.75rem;
}

@media (min-width: 700px) {
  .product-grid,
  .product-grid.cols-3,
  .product-grid.cols-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 1.25rem;
    margin-top: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .product-grid.cols-3,
  .product-grid.cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem 1.5rem;
  }
}

@media (min-width: 1200px) {
  .product-grid[data-catalog-grid] {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2.25rem 1.25rem;
  }
}

@media (min-width: 1680px) {
  .product-grid[data-catalog-grid] {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* Related pieces on product pages: keep 3 small cards */
.product-grid.related {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 700px) {
  .product-grid.related {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 960px;
  }
}

.product-card {
  display: block;
}

.product-card .thumb {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 8px;
  background: var(--cream-deep);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  .product-card:hover img {
    transform: scale(1.035);
  }
  .product-card:hover h3 {
    color: var(--taupe);
  }
}

.product-meta {
  margin-top: 0.7rem;
}

.product-meta .cat {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-meta h3 {
  margin: 0.2rem 0 0;
  font-size: 1rem;
  line-height: 1.3;
  transition: color 200ms ease;
}

@media (min-width: 1024px) {
  .product-meta h3 {
    font-size: 1.08rem;
  }
}

.banner {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  background: var(--ink);
}

.banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.banner-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgb(26 25 22 / 0.7), rgb(26 25 22 / 0.35), transparent);
}

.banner-inner {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding: 4rem 0;
}

.banner-copy {
  max-width: 32rem;
  color: var(--cream);
}

.banner-copy .eyebrow {
  color: var(--taupe-light);
}

.banner-copy .display {
  color: var(--cream);
}

.banner-copy p {
  margin: 1rem 0 0;
  color: rgb(243 238 230 / 0.8);
}

.banner-copy .btn {
  margin-top: 2rem;
}

.atelier {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.atelier-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.atelier-photos img {
  width: 100%;
  min-height: 18rem;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.atelier-photos img:last-child {
  margin-top: 2.5rem;
}

.atelier p.body {
  margin: 1.25rem 0 0;
  max-width: 28rem;
  color: var(--ink-soft);
}

.atelier .btn {
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .atelier {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.quotes {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .quotes {
    grid-template-columns: repeat(3, 1fr);
  }
}

.quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--cream);
}

.quote blockquote {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.quote figcaption {
  margin-top: 2rem;
  font-size: 0.9rem;
}

.cta-dark {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  text-align: center;
  padding: 7rem 1.25rem;
}

.cta-dark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.cta-dark .inner {
  position: relative;
  max-width: 45rem;
  margin-inline: auto;
}

.cta-dark .display {
  color: var(--cream);
}

.cta-dark p {
  margin: 1.25rem auto 0;
  max-width: 28rem;
  color: rgb(243 238 230 / 0.75);
}

.cta-dark .btn {
  margin-top: 2rem;
}

/* ---------- Page headers ---------- */
.page-hero {
  padding: 2.75rem 0 0.5rem;
}

.page-hero .display {
  max-width: 40rem;
}

.page-hero .lede {
  margin: 1rem 0 0;
  max-width: 36rem;
  color: var(--ink-soft);
}

/* ---------- Catalog filters ---------- */
.filters {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  margin-top: 1.75rem;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.filter-btn {
  height: 44px;
  padding: 0 1.25rem;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.filter-btn.is-active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

/* ---------- Product detail ---------- */
.product-layout {
  display: grid;
  gap: 2rem;
  padding: 1.5rem 0 4rem;
}

.product-photo {
  overflow: hidden;
  border-radius: 20px;
  background: var(--cream-deep);
}

.product-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 72vh;
  object-fit: cover;
}

.product-info .price {
  margin: 1rem 0 0;
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
}

.product-info .tagline {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-info .desc {
  margin: 1.5rem 0 0;
  max-width: 28rem;
  color: var(--ink-soft);
}

.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

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

.specs dd {
  margin: 0.25rem 0 0;
}

.add-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.note {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}

@media (min-width: 1024px) {
  .product-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    gap: 4.5rem;
    max-width: 1240px;
    align-items: start;
    padding-top: 2.5rem;
  }

  .product-photo {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
  .product-photo img {
    aspect-ratio: 4 / 5;
    height: auto;
    max-height: calc(100vh - var(--header-h) - 4rem);
  }
}

.qty {
  display: inline-flex;
  align-items: center;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.qty button {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.qty span {
  width: 1.5rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-size: 0.9rem;
}

/* ---------- About / contact ---------- */
.about-photo {
  width: min(1440px, calc(100% - 2.5rem));
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.values h2 {
  margin: 0;
  font-size: 1.6rem;
}

.values {
  display: grid;
  gap: 3rem;
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .values {
    grid-template-columns: repeat(3, 1fr);
  }
}

.process {
  display: grid;
  gap: 3rem;
  align-items: center;
  padding: 5rem 0;
}

.process img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.process ol {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.process li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.process .num {
  color: var(--taupe);
  font-variant-numeric: tabular-nums;
}

@media (min-width: 1024px) {
  .process {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-grid {
  display: grid;
  gap: 4rem;
  padding: 4rem 0 6rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.panel {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 20px;
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .panel {
    padding: 2.5rem;
  }
}

form .field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

form .row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  form .row {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

input,
textarea {
  height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 0 1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  outline: none;
}

textarea {
  height: auto;
  min-height: 8rem;
  padding: 0.75rem 1rem;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgb(26 25 22 / 0.4);
  box-shadow: 0 0 0 3px rgb(26 25 22 / 0.08);
}

.success h2 {
  margin: 0.75rem 0 0;
  font-size: 1.75rem;
}

/* ---------- Cart ---------- */
.cart-layout {
  display: grid;
  gap: 3rem;
  padding-bottom: 5rem;
}

@media (min-width: 1024px) {
  .cart-layout {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.cart-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cart-line {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-line:last-child {
  border-bottom: 0;
}

.cart-line img {
  width: 7rem;
  height: 7rem;
  object-fit: cover;
  border-radius: 8px;
  background: var(--cream-deep);
}

.cart-line .grow {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.linkish {
  background: none;
  border: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.empty {
  text-align: center;
  padding: 4rem 2rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
}

/* ---------- Cart drawer ---------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgb(26 25 22 / 0.4);
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

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

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 71;
  width: min(28rem, 100%);
  height: 100%;
  background: var(--paper);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 300ms ease;
}

.drawer.open {
  transform: none;
}

.drawer-head h2 {
  margin: 0;
  font-size: 1.4rem;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.drawer-body {
  flex: 1;
  overflow: auto;
  padding: 1rem 1.5rem;
}

.drawer-foot {
  border-top: 1px solid var(--line);
  padding: 1.25rem 1.5rem;
}

.drawer-foot .btn {
  width: 100%;
  margin-top: 1rem;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.footer-grid {
  display: grid;
  gap: 3rem;
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 5fr 7fr;
  }
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .footer-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-cols h3,
.newsletter p.logo {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.newsletter .logo {
  letter-spacing: 0.22em;
  color: var(--ink);
}

.newsletter p.body {
  margin: 1rem 0 0;
  max-width: 24rem;
  color: var(--muted);
}

.newsletter form,
.newsletter .btn {
  display: flex;
  gap: 0.5rem;
  margin-top: 2rem;
  max-width: 28rem;
}

.newsletter > .btn {
  display: inline-flex;
  width: fit-content;
}

.footer-cols ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.footer-cols li + li {
  margin-top: 0.6rem;
}

.footer-cols a,
.footer-cols p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.legal {
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 0;
  font-size: 0.75rem;
  color: var(--muted);
}

@media (min-width: 640px) {
  .legal {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ---------- Motion ---------- */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.reveal {
  animation: fade-up 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.reveal-d1 {
  animation-delay: 90ms;
}
.reveal-d2 {
  animation-delay: 180ms;
}
.reveal-d3 {
  animation-delay: 270ms;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .reveal-d1,
  .reveal-d2,
  .reveal-d3,
  .ribbon-track,
  .lx-media img,
  .lx-video,
  .lx-glow,
  .lx-lines span,
  .lx-ch,
  .lx-impex,
  .lx-impex i,
  .lx-btn {
    animation: none !important;
  }
}

/* ---------- WhatsApp chat widget ---------- */
.wa-widget {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 90;
  font-family: var(--font);
}

.wa-fab {
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px -8px rgb(18 140 70 / 0.65);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.wa-fab:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 32px -8px rgb(18 140 70 / 0.75);
}

.wa-fab:active {
  transform: scale(0.96);
}

.wa-fab svg {
  display: block;
}

.wa-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 2px var(--cream);
}

.wa-widget.is-open .wa-badge {
  display: none;
}

.wa-panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  width: min(22.5rem, calc(100vw - 2rem));
  height: min(32rem, calc(100dvh - 8rem));
  display: flex;
  flex-direction: column;
  background: #efeae2;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgb(26 25 22 / 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms;
}

.wa-widget.is-open .wa-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: opacity 200ms ease, transform 200ms ease, visibility 0s;
}

.wa-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  background: #075e54;
  color: #fff;
}

.wa-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #128c7e;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.wa-head h2 {
  margin: 0;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.wa-head p {
  margin: 0.1rem 0 0;
  font-size: 0.72rem;
  opacity: 0.82;
}

.wa-head-text {
  flex: 1;
  min-width: 0;
}

.wa-close {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  border-radius: 8px;
}

.wa-close:hover {
  background: rgb(255 255 255 / 0.12);
}

.wa-thread {
  flex: 1;
  overflow: auto;
  padding: 0.9rem 0.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.wa-bubble {
  max-width: 82%;
  padding: 0.45rem 0.65rem 0.35rem;
  border-radius: 8px;
  font-size: 0.875rem;
  line-height: 1.4;
  box-shadow: 0 1px 1px rgb(0 0 0 / 0.08);
}

.wa-bubble.in {
  align-self: flex-start;
  background: #fff;
  color: #111b21;
  border-top-left-radius: 2px;
}

.wa-bubble.out {
  align-self: flex-end;
  background: #d9fdd3;
  color: #111b21;
  border-top-right-radius: 2px;
}

.wa-time {
  display: block;
  text-align: right;
  font-size: 0.65rem;
  color: #667781;
  margin-top: 0.2rem;
}

.wa-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.15rem 0.75rem 0.65rem;
}

.wa-chip {
  border: 1px solid #25d366;
  background: #fff;
  color: #075e54;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
}

.wa-chip:hover {
  background: #e7f8ee;
}

.wa-compose {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.6rem 0.7rem;
  background: #f0f2f5;
}

.wa-compose input {
  height: 42px;
  flex: 1;
  border: 0;
  border-radius: 999px;
  background: #fff;
  padding: 0 1rem;
  font: inherit;
  font-size: 0.9rem;
  box-shadow: none;
}

.wa-compose input:focus {
  box-shadow: none;
  border-color: transparent;
}

.wa-send {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.wa-send:hover {
  background: #1ebe5d;
}

.wa-hint {
  margin: 0;
  padding: 0 0.85rem 0.55rem;
  background: #f0f2f5;
  font-size: 0.68rem;
  color: #667781;
  text-align: center;
}

/* ---------- Performance helpers ---------- */
.banner,
.atelier,
.cta-dark,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

/* ---------- Small-screen polish ---------- */
@media (max-width: 640px) {
  .section {
    padding: 3.5rem 0;
  }
  .banner,
  .banner-inner {
    min-height: 60vh;
  }
  .atelier-photos img {
    min-height: 12rem;
  }
  .cta-dark {
    padding: 5rem 1.25rem;
  }
  .page-hero {
    padding: 2.25rem 0 1.25rem;
  }
  .filters {
    margin-top: 1.75rem;
    margin-inline: -0.75rem;
    padding-inline: 0.75rem;
  }
  .cart-line img {
    width: 5.5rem;
    height: 5.5rem;
  }
  .wa-widget {
    right: 0.9rem;
    bottom: 0.9rem;
  }
  .wa-fab {
    width: 54px;
    height: 54px;
  }
}

input, textarea {
  font-size: 16px; /* stops iPhone zooming into fields */
}

.drawer-open .wa-widget {
  display: none;
}

/* ============================================================
   RIBBON — floats left to right, forever
   ============================================================ */
.ribbon {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  padding: 1.15rem 0;
}

.ribbon::before,
.ribbon::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(2rem, 8vw, 7rem);
  z-index: 1;
  pointer-events: none;
}

.ribbon::before { left: 0; background: linear-gradient(to right, var(--ink), transparent); }
.ribbon::after { right: 0; background: linear-gradient(to left, var(--ink), transparent); }

.ribbon-track {
  display: flex;
  width: max-content;
  animation: ribbon-right 38s linear infinite;
  will-change: transform;
}

.ribbon:hover .ribbon-track {
  animation-play-state: paused;
}

.ribbon-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ribbon-item {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.45rem);
  white-space: nowrap;
  padding: 0 clamp(1.1rem, 2.5vw, 2rem);
}

.ribbon-star {
  color: var(--taupe-light);
  font-size: 0.8rem;
}

@keyframes ribbon-right {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

/* ============================================================
   FEATURED — 4 pieces
   ============================================================ */
.section-lede {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

/* ============================================================
   REVIEWS — cards, swipe on phones
   ============================================================ */
.reviews-head {
  flex-direction: row;
  align-items: flex-end;
}

.slider-arrows {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.arrow-btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgb(26 25 22 / 0.2);
  background: var(--surface);
  color: var(--ink);
  transition: background 200ms ease, color 200ms ease, opacity 200ms ease, border-color 200ms ease;
}

.arrow-btn:hover:not(:disabled) {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.arrow-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.reviews {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 86%;
  gap: 1rem;
  margin: 2.25rem -0.75rem 0;
  padding: 0.5rem 0.75rem 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.75rem;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.reviews::-webkit-scrollbar { display: none; }

.review {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 2.25rem 1.6rem 1.6rem;
  scroll-snap-align: start;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.8) inset, 0 22px 40px -30px rgb(60 45 30 / 0.45);
  overflow: hidden;
}

.review::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--taupe), var(--taupe-light), var(--taupe));
}

.review-mark {
  position: absolute;
  top: -0.9rem;
  right: 1.1rem;
  font-family: var(--font-display);
  font-size: 9rem;
  line-height: 1;
  color: var(--taupe-light);
  opacity: 0.28;
  pointer-events: none;
}

.review-stars {
  display: flex;
  gap: 3px;
  color: var(--taupe);
}

.review-stars svg { fill: currentColor; }

.review blockquote {
  position: relative;
  flex: 1;
  margin: 1.1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 1.05rem + 0.4vw, 1.4rem);
  line-height: 1.45;
  color: var(--ink);
}

.review figcaption {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.review-avatar {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--taupe), #6f5438);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.review-who {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  font-size: 0.95rem;
}

.review-who span { color: var(--muted); font-size: 0.85rem; }

.review-piece {
  margin-left: auto;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--cream);
  font-size: 0.75rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.slider-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgb(26 25 22 / 0.2);
  transition: width 250ms ease, background 250ms ease;
}

.slider-dots span.is-active {
  width: 26px;
  background: var(--taupe);
}

.swipe-hint {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

@media (min-width: 700px) {
  .reviews { grid-auto-columns: calc((100% - 1.25rem) / 2); gap: 1.25rem; }
}

@media (min-width: 1024px) {
  .reviews {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
  .slider-arrows,
  .slider-dots,
  .swipe-hint {
    display: none;
  }
  .review {
    transition: transform 300ms ease, box-shadow 300ms ease;
  }
  .review:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 50px -30px rgb(60 45 30 / 0.55);
  }
}


/* ============================================================
   HERO — "Luxora Impex" in lamplight
   ============================================================ */
.hero.lx {
  position: relative;
  display: grid;
  place-items: center;
  height: 100vh;
  height: 100svh;
  min-height: 32rem;
  overflow: hidden;
  isolation: isolate;
  background: #0f0a06;
  color: #f6ede1;
}

.lx-media {
  position: absolute;
  inset: -4% 0 0;
  z-index: -3;
  will-change: transform;
}

.lx-media picture,
.lx-media img,
.lx-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lx-media img,
.lx-video {
  object-fit: cover;
  object-position: 60% 38%;
  animation: lx-lights-on 3.2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* The room starts dark and the lamp "turns on" */
@keyframes lx-lights-on {
  0%   { opacity: 0; filter: brightness(0.2); transform: scale(1.08); }
  18%  { opacity: 1; filter: brightness(0.35); }
  24%  { filter: brightness(0.7); }
  28%  { filter: brightness(0.45); }
  36%  { filter: brightness(0.95); }
  100% { opacity: 1; filter: brightness(1); transform: scale(1); }
}

.lx-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 55% 42% at 50% 52%, rgb(15 10 6 / 0.45), transparent 75%),
    linear-gradient(to bottom, rgb(15 10 6 / 0.55) 0%, transparent 25%, transparent 62%, rgb(15 10 6 / 0.85) 100%);
}

/* Fine vertical lines, like light through sheer curtains */
.lx-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: flex;
  justify-content: space-evenly;
  pointer-events: none;
}

.lx-lines span {
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgb(246 237 225 / 0.1) 30%, rgb(246 237 225 / 0.1) 70%, transparent);
  transform-origin: top;
  animation: lx-line 2.4s cubic-bezier(0.65, 0, 0.35, 1) both;
}

.lx-lines span:nth-child(2) { animation-delay: 0.12s; }
.lx-lines span:nth-child(3) { animation-delay: 0.24s; }
.lx-lines span:nth-child(4) { animation-delay: 0.36s; }
.lx-lines span:nth-child(5) { animation-delay: 0.48s; }

@keyframes lx-line {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

/* The wordmark */
.lx-content {
  margin-top: clamp(4rem, 22vh, 13rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1rem;
  text-align: center;
  will-change: transform, opacity;
}

.lx-mark {
  margin: 0;
  font-family: var(--font);
  font-weight: 200;
  line-height: 1;
}

.lx-luxora {
  display: flex;
  justify-content: center;
  font-size: clamp(3.3rem, 1rem + 12.5vw, 12.5rem);
  letter-spacing: 0.16em;
  margin-right: -0.16em; /* optically centre the tracked word */
  color: #f8efe3;
  text-shadow: 0 0 40px rgb(255 190 120 / 0.18), 0 4px 30px rgb(0 0 0 / 0.35);
}

.lx-ch {
  display: inline-block;
  animation: lx-ch-in 1.8s calc(1.1s + var(--i) * 0.11s) cubic-bezier(0.19, 1, 0.22, 1) both;
}

@keyframes lx-ch-in {
  from { opacity: 0; transform: translateY(0.18em); filter: blur(12px); }
  60% { filter: blur(0); }
  to { opacity: 1; transform: none; filter: none; }
}

.lx-impex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.6vw, 2rem);
  margin-top: clamp(0.9rem, 2.2vw, 1.6rem);
  font-size: clamp(0.85rem, 0.55rem + 1.1vw, 1.45rem);
  font-weight: 400;
  color: #e3c9a4;
  animation: lx-fade 1.4s 2.2s ease both;
}

.lx-impex b {
  font-weight: 400;
  letter-spacing: 0.9em;
  margin-right: -0.9em;
}

.lx-impex i {
  display: block;
  width: clamp(3rem, 12vw, 9rem);
  height: 1px;
  background: linear-gradient(to right, transparent, currentColor);
  animation: lx-rule 1.6s 2.3s cubic-bezier(0.19, 1, 0.22, 1) both;
  transform-origin: right;
}

.lx-impex i:last-child {
  background: linear-gradient(to left, transparent, currentColor);
  transform-origin: left;
}

@keyframes lx-rule {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes lx-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Know Us */
.lx-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: clamp(2.5rem, 7vh, 4.5rem);
  height: 54px;
  padding: 0 1.6rem 0 2.1rem;
  border: 1px solid rgb(246 237 225 / 0.45);
  border-radius: 999px;
  color: #f6ede1;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  animation: lx-btn-in 1.2s 2.8s cubic-bezier(0.19, 1, 0.22, 1) both;
  transition: color 450ms ease, border-color 450ms ease;
}

.lx-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #f6ede1;
  transform: translateY(101%);
  transition: transform 450ms cubic-bezier(0.19, 1, 0.22, 1);
}

.lx-btn svg {
  transition: transform 450ms cubic-bezier(0.19, 1, 0.22, 1);
}

.lx-btn:hover,
.lx-btn:focus-visible {
  color: #1a120b;
  border-color: #f6ede1;
}

.lx-btn:hover::before,
.lx-btn:focus-visible::before {
  transform: none;
}

.lx-btn:hover svg {
  transform: translateX(4px);
}

@keyframes lx-btn-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 700px) {
  .lx-media img { object-position: 50% 30%; }
  .lx-content { margin-top: 26vh; }
  .lx-luxora { letter-spacing: 0.08em; margin-right: -0.08em; font-size: 18.5vw; }
  .lx-impex b { letter-spacing: 0.7em; margin-right: -0.7em; }
  .lx-lines span:nth-child(2),
  .lx-lines span:nth-child(4) { display: none; }
  .lx-btn { height: 50px; }
}

@media (max-height: 520px) and (orientation: landscape) {
  .lx-luxora { font-size: 22vh; }
  .lx-content { margin-top: 3rem; }
  .lx-btn { margin-top: 1.5rem; }
}

/* ============================================================
   LOCATION / MAP
   ============================================================ */
.loc-address {
  margin: 0 0 0.9rem;
}

.loc-map {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #e9e1d4;
  aspect-ratio: 16 / 10;
}

.loc-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.35) sepia(0.12);
}

.loc-map-card {
  background:
    radial-gradient(circle at 60% 45%, rgb(255 255 255 / 0.55), transparent 55%),
    linear-gradient(135deg, #ece3d4, #dccfbb);
}

.loc-grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgb(120 96 70 / 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgb(120 96 70 / 0.14) 1px, transparent 1px),
    linear-gradient(28deg, transparent 47%, rgb(255 255 255 / 0.8) 47%, rgb(255 255 255 / 0.8) 53%, transparent 53%),
    linear-gradient(-62deg, transparent 48%, rgb(255 255 255 / 0.65) 48%, rgb(255 255 255 / 0.65) 52%, transparent 52%);
  background-size: 34px 34px, 34px 34px, 100% 100%, 100% 100%;
  transform: rotate(-8deg);
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.loc-map-card:hover .loc-grid {
  transform: rotate(-8deg) scale(1.06);
}

.loc-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 10px 24px -8px rgb(26 25 22 / 0.6);
}

.loc-pin svg {
  transform: rotate(45deg);
}

.loc-open {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.loc-footer .loc-map {
  max-width: 20rem;
  aspect-ratio: 16 / 9;
}

.footer-wa {
  margin-top: 1rem;
}

/* Contact page */
.contact-cards {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.contact-cards { max-width: 22rem; }

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  transition: border-color 200ms ease, transform 200ms ease;
}

.contact-card:hover {
  border-color: var(--taupe);
  transform: translateY(-2px);
}

.cc-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card strong {
  font-size: 1.15rem;
  font-weight: 500;
}

.visit {
  padding-bottom: 5rem;
}

.visit-head {
  margin-bottom: 1.5rem;
}

.loc-contact .loc-map {
  aspect-ratio: 21 / 9;
  border-radius: 20px;
}

@media (max-width: 700px) {
  .loc-contact .loc-map { aspect-ratio: 4 / 3; }
}

@media (max-width: 767px) {
  .footer-cols > div:has(> [data-location]) {
    grid-column: 1 / -1;
  }
  .loc-footer .loc-map {
    max-width: none;
  }
}
