/* === RozLT Storefront === */

:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --ink: #1f1a17;
  --ink-soft: #5a4f48;
  --muted: #8a7d74;
  --accent: #8a6a3b;
  --accent-dark: #6b4f25;
  --line: #e9e2d8;
  --shadow: 0 8px 24px rgba(40, 28, 12, 0.08);
  --radius: 10px;
  --nav-w: 290px;
  --header-h: 60px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--accent); }

/* === Layout === */
.app {
  display: flex;
  min-height: 100vh;
}

/* === Mobile top bar === */
.topbar {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  z-index: 50;
  align-items: center;
  padding: 0 16px;
  justify-content: space-between;
}

.topbar .brand-mini {
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 18px;
  color: var(--ink);
}

.topbar .brand-mini span { color: var(--accent); }

.hamburger {
  background: transparent;
  border: 0;
  width: 42px;
  height: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform .25s, opacity .2s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === Sidebar === */
.sidebar {
  width: var(--nav-w);
  background: var(--surface);
  border-right: 1px solid var(--line);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  flex-shrink: 0;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
}

.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 30px;
  letter-spacing: 4px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: var(--ink);
}
.brand span { color: var(--accent); }
.tagline {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 28px 0;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav > ul > li {
  margin: 2px 0;
}

.nav a, .nav .nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink-soft);
  padding: 10px 12px;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  letter-spacing: .3px;
  transition: background .15s, color .15s;
}
.nav a:hover, .nav .nav-toggle:hover {
  background: var(--bg);
  color: var(--accent-dark);
}
.nav a.active {
  background: var(--bg);
  color: var(--accent-dark);
  font-weight: 600;
}

.nav .caret {
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform .2s;
  margin-left: 8px;
}
.nav li.open > .nav-toggle .caret { transform: rotate(45deg); }

.nav .submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding-left: 12px;
  border-left: 1px solid var(--line);
  margin-left: 12px;
}
.nav li.open > .submenu { max-height: 600px; }

.nav .submenu a, .nav .submenu .nav-toggle {
  font-size: 13.5px;
  padding: 8px 10px;
}

.sidebar-foot {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.sidebar-foot a { color: var(--ink-soft); display: block; padding: 4px 0; }

/* === Main === */
.main {
  flex: 1;
  min-width: 0;
}

.content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 56px 80px;
}

/* === Hero (home) === */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 0 56px;
  background:
    linear-gradient(120deg, rgba(31,26,23,.55), rgba(31,26,23,.25)),
    url('../pictures/EXCLUSIVE/BARCELONA/BARCELONA%201.jpg') center / cover no-repeat;
  color: #fff;
}
.hero-inner {
  max-width: 720px;
}
.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  margin: 0 0 18px;
  font-weight: 700;
}
.hero p {
  font-size: clamp(15px, 1.6vw, 19px);
  max-width: 560px;
  margin: 0 0 28px;
  color: rgba(255,255,255,.92);
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 13px 26px;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: .5px;
  border: 0;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn.ghost {
  background: transparent;
  border: 1.5px solid #fff;
  color: #fff;
  margin-left: 10px;
}
.btn.ghost:hover { background: #fff; color: var(--accent-dark); }

/* === Section === */
section.block {
  padding: 72px 56px;
  max-width: 1280px;
  margin: 0 auto;
}
h2.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(26px, 3.4vw, 38px);
  margin: 0 0 14px;
  color: var(--ink);
}
.section-sub {
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 40px;
}

/* === Range cards === */
.range-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.range-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.range-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(40,28,12,.14);
}
.range-card .img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: var(--bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Fallback for browsers that don't compute aspect-ratio on empty flex children */
@supports not (aspect-ratio: 4 / 3) {
  .range-card .img { height: 0; padding-bottom: 75%; }
}
.range-card .body {
  padding: 22px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.range-card h3 {
  margin: 0 0 8px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  letter-spacing: 2px;
  color: var(--ink);
}
.range-card p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 14.5px;
}
.range-card .links {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.range-card .links a {
  font-size: 13px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--ink-soft);
}
.range-card .links a:hover { border-color: var(--accent); color: var(--accent-dark); }

/* === Page header for product pages === */
.page-head {
  padding: 64px 56px 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.crumb {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.page-head h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 4.8vw, 54px);
  margin: 0 0 14px;
  letter-spacing: 1px;
  max-width: 760px;
  line-height: 1.1;
}
.page-head p.lead {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 16px;
}
.page-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.page-actions a {
  font-size: 13px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--ink-soft);
  background: var(--surface);
}
.page-actions a:hover { border-color: var(--accent); color: var(--accent-dark); }

/* === Gallery viewer === */
.gallery-toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 12px 56px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.gallery-toolbar .group { display: flex; gap: 8px; align-items: center; }
.gallery-toolbar select,
.gallery-toolbar button {
  font-family: inherit;
  font-size: 13px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  border-radius: 20px;
  cursor: pointer;
  transition: all .15s;
}
.gallery-toolbar button:hover,
.gallery-toolbar select:hover { border-color: var(--accent); color: var(--accent-dark); }
.gallery-toolbar button.on {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.gallery-toolbar .label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.gallery {
  padding: 24px 56px 80px;
  max-width: 1280px;
  margin: 0 auto;
}

.decor-block {
  margin: 0 0 56px;
  scroll-margin-top: 80px;
}
.decor-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  gap: 16px;
  flex-wrap: wrap;
}
.decor-head h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  margin: 0;
  letter-spacing: 3px;
}
.decor-head .meta {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Slideshow rotation view */
.decor-stage {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
}
.decor-stage .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .8s ease;
  cursor: zoom-in;
}
.decor-stage .slide.active { opacity: 1; }
.decor-stage .dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
}
.decor-stage .dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.decor-stage .dots button.active {
  background: #fff;
  transform: scale(1.25);
}
.decor-stage .nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  border: 0;
  cursor: pointer;
  font-size: 20px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s;
}
.decor-stage:hover .nav-arrow { opacity: 1; }
.decor-stage .nav-arrow.prev { left: 14px; }
.decor-stage .nav-arrow.next { right: 14px; }

/* Vertical scroll list of all images */
.decor-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.decor-list .thumb {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  cursor: zoom-in;
  transition: transform .25s, box-shadow .25s;
}
.decor-list .thumb:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow);
}

/* === Lightbox === */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 6, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  user-select: none;
}
.lightbox.open { display: flex; }
.lightbox .stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  transition: transform .25s ease;
  cursor: grab;
  transform-origin: center center;
}
.lightbox img.grabbing { cursor: grabbing; transition: none; }
.lightbox .lb-ctrl {
  position: absolute;
  display: flex;
  gap: 8px;
}
.lightbox .lb-top { top: 18px; right: 18px; }
.lightbox .lb-bot {
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,.08);
  border-radius: 30px;
  padding: 6px 10px;
}
.lightbox button {
  background: rgba(255,255,255,.1);
  border: 0;
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: background .15s;
}
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lightbox .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  font-size: 22px;
}
.lightbox .arrow.prev { left: 24px; }
.lightbox .arrow.next { right: 24px; }
.lightbox .counter {
  position: absolute;
  top: 24px;
  left: 24px;
  color: rgba(255,255,255,.7);
  font-size: 13px;
  letter-spacing: 2px;
}

/* === PDF Viewer page === */
.pdf-wrap {
  height: calc(100vh - 0px);
  display: flex;
  flex-direction: column;
}
.pdf-bar {
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.pdf-bar h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  margin: 0;
  letter-spacing: 1.5px;
}
.pdf-bar .right { display: flex; gap: 10px; }
.pdf-bar a {
  font-size: 13px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--ink-soft);
}
.pdf-bar a:hover { border-color: var(--accent); color: var(--accent-dark); }
.pdf-bar a.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.pdf-bar a.primary:hover { background: var(--accent-dark); }
.pdf-frame {
  flex: 1;
  border: 0;
  width: 100%;
  background: #2a2520;
}

/* === About / contact === */
.prose {
  max-width: 760px;
}
.prose p { color: var(--ink-soft); margin: 0 0 18px; }
.prose h3 {
  font-family: 'Playfair Display', Georgia, serif;
  margin: 32px 0 10px;
  color: var(--ink);
}
.prose a,
.contact-card a,
.page-head .lead a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color .15s, background .15s;
}
.prose a:hover,
.contact-card a:hover,
.page-head .lead a:hover {
  color: #fff;
  background: var(--accent);
  text-decoration-color: var(--accent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  margin: 0 0 12px;
}
.contact-card p { margin: 6px 0; color: var(--ink-soft); }
.contact-card a { color: var(--accent-dark); }

/* === Footer === */
.foot {
  border-top: 1px solid var(--line);
  padding: 26px 56px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  background: var(--surface);
}

/* === Responsive === */
@media (max-width: 1024px) {
  .topbar { display: flex; }
  .app { padding-top: var(--header-h); }
  .sidebar {
    position: fixed;
    top: var(--header-h);
    left: 0;
    bottom: 0;
    height: calc(100vh - var(--header-h));
    transform: translateX(-100%);
    transition: transform .25s ease;
    z-index: 40;
    box-shadow: 6px 0 24px rgba(0,0,0,.06);
  }
  .sidebar.open { transform: translateX(0); }
  .nav-backdrop {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(15,10,6,.4);
    z-index: 30;
    display: none;
  }
  .nav-backdrop.open { display: block; }
  .hero { padding: 0 28px; min-height: 78vh; }
  section.block { padding: 48px 28px; }
  .page-head { padding: 36px 28px 20px; }
  .gallery-toolbar { padding: 12px 28px; }
  .gallery { padding: 16px 28px 56px; }
  .foot { padding: 22px 28px; flex-direction: column; gap: 6px; }
  .range-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .range-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 0 20px; }
  section.block { padding: 40px 20px; }
  .page-head { padding: 28px 20px 16px; }
  .gallery-toolbar { padding: 10px 20px; }
  .gallery { padding: 12px 20px 40px; }
  .foot { padding: 20px; }
  .decor-stage { aspect-ratio: 4 / 3; }
  .lightbox .arrow.prev { left: 8px; }
  .lightbox .arrow.next { right: 8px; }
}
