:root {
  --bg: #ffffff;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --pink-soft: #fde7f1;
  --pink-mid: #f4b7d3;
  --blue-soft: #e8f2ff;
  --blue-mid: #b9d6ff;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  color: var(--text);
}

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

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

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229,231,235,0.8);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 12px;
}

.brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.back-link {
  font-size: 0.95rem;
  color: #475569;
  font-weight: 700;
}

.hero {
  padding: 20px 0 8px;
}

.hero-card {
  overflow: hidden;
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--shadow);
  border: 1px solid #eef2f7;
}

.hero-cover {
  position: relative;
  height: 260px;
  background:
    linear-gradient(rgba(255,255,255,0) 0%, rgba(17,24,39,0.12) 100%),
    url('https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}

.hero-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.92);
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(15,23,42,0.08);
}

.hero-badge .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-mid), var(--blue-mid));
}

.hero-main {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
}

.hero-meta-simple {
  margin-top: 14px;
  display: grid;
  gap: 6px;
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .featured-catalogue-card {
    order: 1;
  }

  .quick-info-card {
    order: 2;
  }
}

.hero-meta-simple div {
  color: #475569;
}

.hero-tags {
  margin-top: 18px;
}
.title {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.08;
  font-weight: 700;
}

.subtitle {
  margin-top: 10px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 720px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  color: #334155;
  font-size: 0.94rem;
}

.soft-pink {
  background: #fff6fa;
  border-color: #f6d7e5;
}

.soft-blue {
  background: #f3f8ff;
  border-color: #dbeafe;
}

.hero-actions {
  display: grid;
  gap: 10px;
  min-width: 190px;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 0.96rem;
  font-weight: 700;
  transition: transform 0.15s ease, opacity 0.15s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.98;
}

.btn-primary {
  background: linear-gradient(135deg, #f8cade, #cfe6ff);
  color: #111827;
}

.btn-light {
  background: #fff;
  color: #111827;
  border: 1px solid var(--line);
}

.btn-whatsapp {
  background: #22c55e;
  color: #fff;
}

.section {
  padding: 28px 0 0;
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.card {
  background: var(--card);
  border: 1px solid #eef2f7;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 22px;
}

.section-title {
  margin: 0 0 14px;
  font-size: 1.25rem;
  font-weight: 700;
}

.about-text {
  margin: 0;
  color: #475569;
  line-height: 1.7;
  font-size: 0.98rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tag {
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.92rem;
  color: #334155;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.featured-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  cursor: pointer;
  border: 1px solid #edf2f7;
  background: #fff;
}

.featured-item img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.featured-item .label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(255,255,255,0.92);
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(15,23,42,0.08);
}

.featured-cta-wrap {
  margin-top: 16px;
}

.featured-cta {
  display: inline-block;
}

.side-list {
  display: grid;
  gap: 12px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #eef2f7;
  color: #475569;
  font-size: 0.95rem;
}

.info-row:last-child {
  border-bottom: 0;
}

.review-box {
  background: linear-gradient(135deg, #fff8fb, #f7fbff);
  border: 1px solid #f0e7ef;
  border-radius: 18px;
  padding: 16px;
  color: #475569;
  line-height: 1.6;
}

.review-source {
  margin-top: 8px;
}

.mt-16 {
  margin-top: 16px;
}

.gallery-page-head {
  margin-bottom: 18px;
}

.gallery-page-title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.gallery-page-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.gallery-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

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

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

.chip {
  white-space: nowrap;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 0.92rem;
  color: #334155;
  transition: 0.15s ease;
}

.chip.active {
  border-color: transparent;
  background: linear-gradient(135deg, #ffe6f0, #e6f1ff);
  color: #111827;
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #edf2f7;
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.gallery-card-info {
  padding: 12px;
}

.gallery-card-title {
  font-size: 0.96rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.gallery-card-sub {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.84rem;
}

.mini-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 9px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 700;
}

.empty {
  padding: 24px;
  border: 1px dashed #dbe3ed;
  border-radius: 18px;
  text-align: center;
  color: #64748b;
  background: #fbfdff;
  grid-column: 1 / -1;
}

.sticky-bar {
  position: sticky;
  bottom: 0;
  z-index: 22;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(229,231,235,0.9);
  margin-top: 28px;
}

.sticky-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 12px 0;
}

.sticky-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 12px 10px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  color: #111827;
  text-align: center;
}

.sticky-btn.primary {
  background: linear-gradient(135deg, #ffe2ee, #e7f2ff);
  border-color: transparent;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 60;
  padding: 16px;
}

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

.modal {
  width: min(680px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(15,23,42,0.25);
  animation: rise 0.2s ease;
}

@keyframes rise {
  from {
    transform: translateY(16px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #eef2f7;
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  z-index: 2;
}

.modal-close {
  border: 0;
  background: #f8fafc;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
}

.modal-body {
  padding: 18px;
}

.detail-image {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #edf2f7;
  background: #fff;
}

.detail-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.detail-meta {
  padding: 16px 2px 0;
}

.detail-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.detail-price {
  margin: 10px 0 0;
  color: #475569;
  font-size: 0.96rem;
  font-weight: 700;
}

.detail-desc {
  margin: 12px 0 0;
  color: #64748b;
  line-height: 1.65;
  font-size: 0.95rem;
}

.form-card {
  margin-top: 18px;
  background: #fafcff;
  border: 1px solid #eaf2fb;
  border-radius: 20px;
  padding: 16px;
}

.form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.88rem;
  color: #475569;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid #dbe3ed;
  background: #fff;
  border-radius: 14px;
  padding: 13px 14px;
  font-size: 0.96rem;
  color: #111827;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: #c8dbf8;
  box-shadow: 0 0 0 4px rgba(219,234,254,0.4);
}

textarea {
  min-height: 110px;
  resize: vertical;
  font-family: Arial, Helvetica, sans-serif;
}

.form-actions {
  margin-top: 14px;
}

.full-btn {
  width: 100%;
}

.form-note {
  margin-top: 10px;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.5;
}

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

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

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

  .hero-actions {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max), calc(100% - 20px));
  }

  .hero-cover {
    height: 220px;
  }

  .hero-main {
    padding: 16px;
  }

  .featured-item img {
    height: 150px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .gallery-card img {
    height: 170px;
  }

  .sticky-inner {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .detail-image img {
    height: 250px;
  }

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