:root {
  --ink: #231f1b;
  --muted: #70695f;
  --paper: #fffaf2;
  --panel: #ffffff;
  --sage: #536f5b;
  --tomato: #b94a36;
  --mustard: #c68a2b;
  --line: rgba(35, 31, 27, 0.14);
  --shadow: 0 18px 55px rgba(35, 31, 27, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto auto;
  align-items: center;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(255, 250, 242, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.public-topbar {
  grid-template-columns: minmax(210px, 1fr) auto;
}

.villa-topbar {
  grid-template-columns: minmax(210px, 1fr) auto auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: white;
  font-family: Georgia, serif;
  font-size: 24px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

nav a:hover {
  color: var(--ink);
}

.private-badge {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(83, 111, 91, 0.22);
  border-radius: 999px;
  color: var(--sage);
  font-size: 13px;
  font-weight: 800;
}

.cart-button,
.primary-button,
.primary-link,
.secondary-link,
.filters button,
.icon-button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  background: var(--ink);
  color: white;
}

.cart-button strong {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--tomato);
  font-size: 12px;
}

.hero {
  position: relative;
  min-height: min(690px, calc(100vh - 72px));
  display: grid;
  align-items: end;
  overflow: hidden;
}

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 15, 12, 0.68), rgba(18, 15, 12, 0.26) 54%, rgba(18, 15, 12, 0.04)),
    linear-gradient(0deg, rgba(18, 15, 12, 0.6), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: 0 clamp(18px, 5vw, 68px) 54px;
  color: white;
}

.kicker,
.section-label {
  margin: 0 0 10px;
  color: var(--mustard);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 700px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 9vw, 92px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-link,
.secondary-link,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-weight: 800;
}

.primary-link,
.primary-button {
  background: var(--tomato);
  color: white;
}

.secondary-link {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: white;
}

.intro,
.products-section,
.info-grid,
.photo-band,
.order-band,
.private-panel,
.villa-note,
.villa-checkout,
.order-summary {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  padding: 74px 0 36px;
}

h2,
h3,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.intro p,
.order-band p,
.info-grid p,
.private-panel p {
  color: var(--muted);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

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

.filters button {
  padding: 0 13px;
  background: rgba(83, 111, 91, 0.1);
  color: var(--sage);
}

.filters button.is-active {
  background: var(--sage);
  color: white;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(35, 31, 27, 0.08);
}

.product-visual {
  display: grid;
  min-height: 150px;
  place-items: center;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), #fff2d8);
  color: rgba(255, 255, 255, 0.9);
  font-family: Georgia, serif;
  font-size: 54px;
}

.product-card p {
  min-height: 48px;
  color: var(--muted);
  font-size: 14px;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-foot strong {
  font-size: 18px;
}

.product-foot button {
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-weight: 800;
}

.availability {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(83, 111, 91, 0.22);
  border-radius: 6px;
  color: var(--sage);
  font-size: 13px;
  font-weight: 800;
}

.order-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-top: 58px;
  padding: 30px;
  background: #f3eadc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.photo-band {
  margin-top: 58px;
  padding: 30px;
  background: #f3eadc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 58px 0;
}

.info-grid article {
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.private-panel {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  margin-bottom: 54px;
  padding: 30px;
  background: #1f2722;
  color: white;
  border-radius: 8px;
}

.villa-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(22px, 4vw, 46px);
  width: min(1160px, calc(100% - 36px));
  margin: 42px auto 0;
  align-items: center;
}

.villa-hero img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.villa-hero h1,
.qr-card h1 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 0.98;
  letter-spacing: 0;
}

.villa-hero p,
.villa-note span,
.villa-checkout p,
.order-summary p,
.qr-card p {
  color: var(--muted);
}

.villa-note {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
  padding: 16px 18px;
  background: rgba(83, 111, 91, 0.1);
  border: 1px solid rgba(83, 111, 91, 0.18);
  border-radius: 8px;
}

.villa-checkout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 28px;
  margin-top: 58px;
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.order-summary {
  margin-top: 22px;
  margin-bottom: 58px;
  padding: 30px;
  background: #1f2722;
  color: white;
  border-radius: 8px;
}

.order-summary textarea {
  min-height: 260px;
  color: var(--ink);
}

.private-panel.is-visible {
  display: grid;
}

.private-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.villa-form,
.checkout-form {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  color: inherit;
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
}

textarea {
  min-height: 96px;
  resize: vertical;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  width: min(430px, 100%);
  height: 100%;
  padding: 22px;
  background: white;
  box-shadow: var(--shadow);
  transform: translateX(105%);
  transition: transform 180ms ease;
}

.cart-panel.is-open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.icon-button {
  width: 42px;
  background: #f1eee8;
  font-weight: 900;
}

.cart-items {
  display: grid;
  gap: 10px;
  overflow: auto;
  padding: 18px 0;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-line small {
  color: var(--muted);
}

.cart-line button {
  border: 0;
  background: transparent;
  color: var(--tomato);
  cursor: pointer;
  font-weight: 800;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fine-print {
  color: var(--muted);
  font-size: 12px;
}

.cart-next {
  width: 100%;
  margin-top: 16px;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  background: rgba(18, 15, 12, 0.44);
}

.backdrop.is-open {
  display: block;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.private-trigger {
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(35, 31, 27, 0.22);
  cursor: pointer;
}

.qr-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 18px;
  background:
    linear-gradient(135deg, rgba(83, 111, 91, 0.18), rgba(198, 138, 43, 0.16)),
    var(--paper);
}

.qr-card {
  width: min(560px, 100%);
  padding: clamp(24px, 5vw, 42px);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
}

.qr-card img {
  width: min(320px, 100%);
  margin: 18px auto;
  display: block;
  border: 12px solid white;
  box-shadow: 0 10px 28px rgba(35, 31, 27, 0.1);
}

.qr-url {
  overflow-wrap: anywhere;
  margin: 0 0 18px;
  padding: 12px;
  background: #f6f1e8;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .villa-topbar {
    grid-template-columns: 1fr auto;
  }

  .private-badge {
    display: none;
  }

  nav {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .intro,
  .section-head,
  .order-band,
  .private-panel.is-visible,
  .villa-checkout,
  .villa-note {
    display: block;
  }

  .villa-hero {
    grid-template-columns: 1fr;
  }

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

  .order-band .primary-button {
    margin-top: 12px;
  }
}

@media (max-width: 560px) {
  .topbar {
    gap: 12px;
    padding: 12px 14px;
  }

  .brand small,
  nav {
    display: none;
  }

  .brand strong {
    font-size: 13px;
  }

  .hero {
    min-height: 640px;
  }

  .hero-content {
    margin: 0 18px 38px;
  }

  .hero p {
    font-size: 16px;
  }

  .product-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .order-band,
  .photo-band,
  .villa-checkout {
    padding: 22px;
  }
}
