:root {
  color-scheme: light;
  --canvas: #fff;
  --surface: #f7f7f7;
  --surface-card: #fff;
  --ink: #222;
  --body: #3f3f3f;
  --muted: #6a6a6a;
  --hairline: #ddd;
  --accent: #ff385c;
  --accent-active: #e00b41;
  --on-accent: #fff;
  --radius-card: 14px;
  --radius-button: 999px;
  --container: 1280px;
  --section: 64px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[data-theme="miro"] {
  --canvas: #fff;
  --surface: #f7f8fa;
  --surface-card: #fff;
  --ink: #1c1c1e;
  --body: #555a6a;
  --muted: #6b6f7e;
  --hairline: #e0e2e8;
  --accent: #1c1c1e;
  --accent-active: #2c2c34;
  --on-accent: #fff;
  --radius-card: 20px;
  --radius-button: 999px;
  --container: 1280px;
  --section: 96px;
  --font: "Segoe UI", Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  height: 80px;
  padding: 0 max(24px, calc((100vw - var(--container)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--hairline);
  background: color-mix(in srgb, var(--canvas) 94%, transparent);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}
.brand img { width: auto; height: 34px; }
.site-header nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.site-header nav > a:not(.header-contact):hover { text-decoration: underline; }
.header-contact {
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius-button);
  padding: 12px 20px;
  font-weight: 700;
}
.brand-stripe { display: none; }

[data-theme="miro"] .site-header { height: 72px; }
[data-theme="miro"] .brand img { height: 34px; }
[data-theme="miro"] .header-contact {
  background: #1c1c1e;
  color: #fff;
}
[data-theme="miro"] .brand-stripe {
  display: block;
  width: 100%;
  height: 5px;
  margin: 0;
  background: #ffd02f;
}

.hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section) 24px;
  min-height: 390px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 64px;
}
.hero h1 {
  max-width: 820px;
  margin: 8px 0 20px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -2px;
}
.hero > div > p:last-child { max-width: 620px; color: var(--body); font-size: 18px; }
.hero-search-results {
  min-height: auto;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  padding-top: 48px;
  padding-bottom: 48px;
}
[data-theme="miro"] .hero.hero-search-results {
  min-height: auto;
  grid-template-columns: minmax(0, 760px);
  align-items: start;
  padding-top: 18px;
  padding-bottom: 18px;
}
[data-theme="miro"] .hero-search-results .search { padding: 22px; }
[data-theme="miro"] .hero-search-results .miro-notes { display: none; }
.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.search {
  padding: 24px;
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: 32px;
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
}
.search label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.search > div {
  display: grid;
  grid-template-columns: 1fr auto;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  overflow: hidden;
}
.search input {
  min-width: 0;
  padding: 16px 20px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}
.search button {
  margin: 5px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  cursor: pointer;
}

[data-theme="miro"] .hero {
  min-height: 540px;
  grid-template-columns: 1.05fr .95fr;
}
[data-theme="miro"] .hero h1 {
  color: #050038;
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 500;
  letter-spacing: -2px;
}
[data-theme="miro"] .search {
  position: relative;
  padding: 32px;
  border-color: #eef0f3;
  border-radius: 28px;
  box-shadow: rgba(5, 0, 56, .08) 0 12px 32px -4px;
}
[data-theme="miro"] .search > div { border-radius: 8px; background: #f7f8fa; }
[data-theme="miro"] .search button { border-radius: 999px; background: #1c1c1e; }
.miro-notes {
  min-height: 150px;
  margin-top: 28px;
  position: relative;
}
.miro-notes a {
  position: absolute;
  width: 126px;
  padding: 22px 14px;
  border-radius: 4px;
  color: #050038;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  box-shadow: rgba(5, 0, 56, .08) 0 8px 18px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.miro-notes a:hover,
.miro-notes a:focus-visible {
  z-index: 2;
  box-shadow: rgba(5, 0, 56, .18) 0 12px 24px;
  outline: 2px solid #050038;
  outline-offset: 3px;
}
.miro-notes a:nth-child(1) { left: 2%; top: 20px; background: #ffd02f; transform: rotate(-5deg); }
.miro-notes a:nth-child(2) { left: 35%; top: 2px; background: #ffc6c6; transform: rotate(3deg); }
.miro-notes a:nth-child(3) { right: 2%; top: 32px; background: #c3faf5; transform: rotate(-2deg); }
.miro-notes a:nth-child(1):hover,
.miro-notes a:nth-child(1):focus-visible { transform: rotate(-2deg) translateY(-4px); }
.miro-notes a:nth-child(2):hover,
.miro-notes a:nth-child(2):focus-visible { transform: rotate(1deg) translateY(-4px); }
.miro-notes a:nth-child(3):hover,
.miro-notes a:nth-child(3):focus-visible { transform: rotate(0) translateY(-4px); }

.catalog-section, .related {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px var(--section);
}
.section-heading {
  margin-bottom: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.section-heading h2 { margin: 4px 0 0; font-size: clamp(26px, 3vw, 38px); }
.section-heading > p { color: var(--muted); }
[data-theme="miro"] .section-heading h2 { color: #050038; font-weight: 500; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 20px;
}
.product-card { min-width: 0; }
.product-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--surface);
}
.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.product-card:hover .product-photo img { transform: scale(1.025); }
.photo-count {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: #222;
  font-size: 11px;
  font-weight: 700;
}
.product-copy { padding: 14px 2px 0; }
.product-copy h3 {
  margin: 0 0 4px;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-copy p { margin: 0; color: var(--muted); font-size: 14px; }
[data-theme="miro"] .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px 24px; }
[data-theme="miro"] .product-card {
  padding: 14px;
  border: 1px solid #eef0f3;
  border-radius: 28px;
}
[data-theme="miro"] .product-card:nth-child(4n+1) { background: #fff8e0; }
[data-theme="miro"] .product-card:nth-child(4n+2) { background: #fde0f0; }
[data-theme="miro"] .product-card:nth-child(4n+3) { background: #c3faf5; }
[data-theme="miro"] .product-card:nth-child(4n) { background: #ffc6c6; }
[data-theme="miro"] .product-photo { aspect-ratio: 4 / 3; border-radius: 16px; }
[data-theme="miro"] .product-copy { padding: 18px 8px 8px; }
[data-theme="miro"] .product-copy h3 { color: #050038; font-size: 20px; font-weight: 500; }
[data-theme="miro"] .photo-count { background: #ffd02f; color: #1c1c1e; }

.empty-state {
  padding: 80px 24px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  text-align: center;
}
.empty-state h1, .empty-state h2 { margin: 8px 0; }
.empty-state p { color: var(--muted); }
.page-error { margin: 80px auto; max-width: 760px; }
.primary-link { display: inline-block; margin-top: 20px; padding: 14px 24px; background: var(--accent); color: var(--on-accent); border-radius: var(--radius-button); font-weight: 700; }
.pagination { margin-top: 48px; display: flex; justify-content: center; align-items: center; gap: 24px; }
.pagination a { font-weight: 700; text-decoration: underline; }

.product-detail {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section) 24px;
}
.product-title { margin-bottom: 40px; }
.product-title h1 { max-width: 980px; margin: 8px 0; font-size: clamp(36px, 5vw, 64px); line-height: 1.05; }
.product-title > p:last-child { color: var(--muted); }
[data-theme="miro"] .product-title h1 { color: #050038; font-weight: 500; }
.product-description {
  max-width: 900px;
  margin: -12px 0 40px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}
.product-description h2 { margin: 7px 0 16px; }
.product-description p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--body);
  line-height: 1.75;
}
[data-theme="airbnb"] .product-description {
  border-color: #ebebeb;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--surface);
}
.gallery figure img { width: 100%; height: 100%; object-fit: cover; }
.gallery-feature { grid-column: 1 / -1; max-height: 880px; }
.gallery-feature img { object-fit: contain !important; }
[data-theme="airbnb"] .gallery figure:not(.gallery-feature) { aspect-ratio: 1 / 1; }
[data-theme="miro"] .gallery { gap: 24px; }
[data-theme="miro"] .gallery figure { padding: 10px; border: 1px solid #eef0f3; border-radius: 20px; }
[data-theme="miro"] .gallery figure:not(.gallery-feature) { aspect-ratio: 4 / 3; }

.inquiry-card {
  margin-top: 48px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
}
.inquiry-card h2 { margin: 7px 0; }
.inquiry-card p:last-child { margin-bottom: 0; color: var(--body); }
.inquiry-card a {
  flex: 0 0 auto;
  padding: 15px 24px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius-button);
  font-weight: 700;
}
[data-theme="miro"] .inquiry-card {
  background: #1c1c1e;
  color: #fff;
  border: 0;
  border-radius: 32px;
}
[data-theme="miro"] .inquiry-card .eyebrow,
[data-theme="miro"] .inquiry-card p:last-child { color: #a5a8b5; }
[data-theme="miro"] .inquiry-card a { background: #fff; color: #1c1c1e; }

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  min-height: 52px;
  padding: 0 19px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
  font-size: 14px;
  font-weight: 700;
}
.whatsapp-float svg { width: 23px; height: 23px; fill: currentColor; }
[data-theme="miro"] .whatsapp-float {
  background: #ffd02f;
  color: #1c1c1e;
}

footer {
  padding: 64px max(24px, calc((100vw - var(--container)) / 2));
  border-top: 1px solid var(--hairline);
  color: var(--body);
}
footer img { height: 28px; width: auto; margin-bottom: 22px; }
footer p { max-width: 620px; }
.footer-links { margin-top: 24px; }
.footer-links a { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
footer .legal { margin-top: 32px; color: var(--muted); font-size: 13px; }
[data-theme="miro"] footer { background: #1c1c1e; color: #fff; }
[data-theme="miro"] footer img { filter: none; }
[data-theme="miro"] footer .legal,
[data-theme="miro"] footer p { color: #a5a8b5; }

.guide {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}
.guide-hero { max-width: 840px; margin-bottom: 40px; }
.guide-hero h1 {
  margin: 10px 0 18px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 1;
  letter-spacing: -2px;
}
.guide-hero > p:last-child { color: var(--body); font-size: 20px; }
[data-theme="miro"] .guide-hero h1 { color: #050038; font-weight: 500; }
.guide-intro {
  margin-bottom: 64px;
  padding: 24px 28px;
  border-left: 5px solid var(--accent);
  border-radius: 0 18px 18px 0;
  background: var(--surface);
}
[data-theme="miro"] .guide-intro { border-color: #ffd02f; }
.guide-intro p { margin: 6px 0 0; color: var(--body); }
.guide-step {
  margin: 0 0 48px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 48px;
  border: 1px solid var(--hairline);
  border-radius: 30px;
  background: var(--surface-card);
}
.guide-step:nth-of-type(even) .guide-copy { order: 2; }
.guide-step img { width: 100%; border-radius: 24px; }
.guide-copy > span {
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 800;
}
[data-theme="miro"] .guide-copy > span { background: #ffd02f; color: #1c1c1e; }
.guide-copy h2 { margin: 16px 0 12px; font-size: clamp(27px, 4vw, 38px); line-height: 1.1; }
.guide-copy p, .guide-copy li { color: var(--body); }
.guide-copy ul { padding-left: 20px; }
.guide-copy li { margin: 8px 0; }
.guide-tips { padding: 48px 0; }
.guide-tips > h2 { font-size: 36px; }
.guide-tips > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-tips article { padding: 24px; border-radius: 20px; background: var(--surface); }
.guide-tips h3 { margin-top: 0; }
.guide-tips p { margin-bottom: 0; color: var(--body); }
.guide-source { padding-top: 24px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 14px; }
.guide-source a { text-decoration: underline; }
.article-guide { max-width: 980px; }
.article-guide .guide-hero { margin-bottom: 32px; }
.article-cover {
  width: 100%;
  margin-bottom: 48px;
  border-radius: 28px;
}
.article-content {
  max-width: 820px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.75;
}
.article-content h2 {
  margin: 64px 0 20px;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.15;
}
.article-content h3 {
  margin: 38px 0 14px;
  font-size: clamp(22px, 3vw, 29px);
  line-height: 1.25;
}
.article-content p, .article-content li { color: var(--body); }
.article-content ul { padding-left: 24px; }
.article-content li { margin: 8px 0; }
.article-content a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
[data-theme="miro"] .article-content a { color: #050038; }
.article-content figure { margin: 24px 0 30px; }
.article-content figure img {
  width: 100%;
  border-radius: 22px;
}
.article-toc {
  padding: 24px 28px;
  display: grid;
  gap: 10px;
  border-radius: 18px;
  background: var(--surface);
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 36px; }
  .product-grid, [data-theme="miro"] .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 680px) {
  .site-header { padding: 0 16px; }
  .site-header nav > a:not(.header-contact) { display: none; }
  .brand img { max-width: 190px; height: 27px; }
  .hero {
    padding: 44px 16px 52px;
    min-height: auto;
    gap: 28px;
  }
  .hero h1, [data-theme="miro"] .hero h1 {
    margin-top: 0;
    font-size: clamp(36px, 11vw, 46px);
    letter-spacing: -1.4px;
  }
  .hero > div > p:last-child { font-size: 16px; }
  .search { padding: 16px; border-radius: var(--radius-card); }
  .catalog-section, .related, .product-detail { padding-left: 16px; padding-right: 16px; }
  .product-grid,
  [data-theme="miro"] .product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 8px;
    column-gap: 12px;
    row-gap: 8px;
  }
  .product-card,
  [data-theme="miro"] .product-card {
    width: 100%;
    margin: 0;
    align-self: start;
  }
  .product-photo,
  [data-theme="miro"] .product-photo {
    aspect-ratio: auto;
    min-height: 150px;
  }
  .product-photo img,
  [data-theme="miro"] .product-photo img {
    height: auto;
    min-height: 150px;
    object-fit: cover;
  }
  .product-copy { padding-top: 10px; }
  .product-copy h3 { font-size: 14px; white-space: normal; }
  .product-copy p { font-size: 12px; }
  [data-theme="miro"] .product-card { padding: 8px; border-radius: 18px; }
  [data-theme="miro"] .product-copy { padding: 12px 4px 4px; }
  [data-theme="miro"] .product-copy h3 { font-size: 16px; }
  .photo-count {
    left: 8px;
    top: 8px;
    padding: 4px 7px;
    font-size: 9px;
  }
  .section-heading { align-items: end; }
  .section-heading h2 { font-size: 28px; }
  .section-heading > p { margin-bottom: 4px; font-size: 13px; }
  [data-theme="miro"] .hero {
    padding-top: 36px;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr);
  }
  [data-theme="miro"] .hero h1 {
    max-width: 100%;
    font-size: clamp(39px, 12vw, 50px);
    line-height: .98;
  }
  [data-theme="miro"] .search {
    width: 100%;
    padding: 18px 14px 14px;
    border-radius: 22px;
  }
  [data-theme="miro"] .search > div {
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
  }
  [data-theme="miro"] .search input {
    width: 100%;
    padding: 13px 12px;
    font-size: 14px;
  }
  [data-theme="miro"] .search button {
    margin: 4px;
    padding: 0 14px;
    font-size: 13px;
  }
  [data-theme="miro"] .search > .miro-notes {
    min-height: 0;
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
  .miro-notes a {
    position: static;
    width: auto;
    min-width: 0;
    padding: 14px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-wrap: anywhere;
    font-size: clamp(10px, 3vw, 12px);
    line-height: 1.15;
  }
  .miro-notes a:nth-child(1) { transform: rotate(-2deg); }
  .miro-notes a:nth-child(2) { transform: rotate(2deg); }
  .miro-notes a:nth-child(3) { transform: rotate(-1deg); }
  .gallery { grid-template-columns: 1fr; }
  .gallery-feature { grid-column: auto; }
  .inquiry-card { align-items: stretch; flex-direction: column; }
  .inquiry-card a { text-align: center; }
  .whatsapp-float { right: 14px; bottom: 14px; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { width: 54px; padding: 0; justify-content: center; }
  .guide { padding: 48px 16px 72px; }
  .guide-hero h1 { font-size: 44px; }
  .guide-hero > p:last-child { font-size: 17px; }
  .guide-intro { margin-bottom: 36px; padding: 20px; }
  .guide-step {
    margin-bottom: 24px;
    padding: 18px;
    grid-template-columns: 1fr;
    gap: 22px;
    border-radius: 22px;
  }
  .guide-step:nth-of-type(even) .guide-copy { order: initial; }
  .guide-step img { border-radius: 16px; }
  .guide-tips > div { grid-template-columns: 1fr; }
  .article-cover { margin-bottom: 32px; border-radius: 18px; }
  .article-content { font-size: 16px; }
  .article-content h2 { margin-top: 48px; }
  .article-content h3 { margin-top: 32px; }
  .article-toc { padding: 20px; }
}
