:root {
  --bg: #f6efe5;
  --panel: rgba(255, 252, 245, 0.94);
  --panel-strong: #fff7eb;
  --line: rgba(69, 54, 34, 0.12);
  --text: #251d14;
  --muted: #6d6256;
  --green: #355738;
  --green-deep: #234227;
  --orange: #f08a21;
  --shadow: 0 18px 45px rgba(48, 33, 18, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Source Sans 3", Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(246, 239, 229, 0.9) 0%, rgba(246, 239, 229, 0.98) 100%),
    url("/ecommerce/static/landing/papagayo-hero-background.jpg") center top / cover fixed no-repeat;
}

.site-shell { min-height: 100vh; }

.preview-ribbon {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 8px 16px;
  background: #182433;
  color: #fff;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0;
}

.store-template-fresh_market {
  --green: #14745c;
  --green-deep: #0f513f;
  --orange: #e87b2f;
}

.store-template-catalog_simple {
  --bg: #f7f8fa;
  --panel: rgba(255, 255, 255, 0.96);
  --panel-strong: #fff;
  --green: #206bc4;
  --green-deep: #1b4f8a;
  --orange: #626976;
}

.store-template-catalog_simple .hero {
  min-height: 520px;
}

.store-template-catalog_simple .hero-content {
  min-height: calc(520px - 120px);
}

body.store-template-real_estate_catalog {
  --bg: #f4f6f8;
  --panel: rgba(255, 255, 255, 0.96);
  --panel-strong: #ffffff;
  --line: rgba(15, 35, 58, 0.13);
  --text: #111827;
  --muted: #526174;
  --green: #0f5f8c;
  --green-deep: #072744;
  --orange: #b9873d;
  --shadow: 0 22px 52px rgba(10, 31, 52, 0.12);
  background:
    linear-gradient(180deg, #ffffff 0%, #f3f6f9 58%, #eef2f6 100%),
    radial-gradient(circle at 88% 14%, rgba(15, 95, 140, 0.08), transparent 28%);
  font-family: "Source Sans 3", Arial, sans-serif;
}

.store-template-real_estate_catalog .hero {
  min-height: 690px;
}

.store-template-real_estate_catalog .hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.94) 54%, rgba(235, 241, 247, 0.78) 100%),
    radial-gradient(circle at 84% 30%, rgba(185, 135, 61, 0.11), transparent 32%);
}

.store-template-real_estate_catalog .hero-content {
  min-height: calc(690px - 120px);
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.78fr);
  gap: 64px;
  align-items: center;
}

.store-template-real_estate_catalog .hero-copy h1 {
  max-width: 760px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(58px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: 0;
  color: #111827;
}

.store-template-real_estate_catalog .hero-lead {
  max-width: 600px;
  font-size: 21px;
  line-height: 1.7;
  color: #526174;
}

.store-template-real_estate_catalog .brand img,
.store-template-real_estate_catalog .brand-mark,
.store-template-real_estate_catalog .hero-card,
.store-template-real_estate_catalog .product-card,
.store-template-real_estate_catalog .service-cards article,
.store-template-real_estate_catalog .cta-section,
.store-template-real_estate_catalog .footer-card,
.store-template-real_estate_catalog .store-banner,
.store-template-real_estate_catalog .store-text-block {
  border-radius: 8px;
}

.store-template-real_estate_catalog .brand img {
  width: 252px;
  height: 72px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 8px 12px;
  border: 1px solid rgba(15, 35, 58, 0.08);
  box-shadow: 0 18px 36px rgba(10, 31, 52, 0.1);
}

.store-template-real_estate_catalog .brand img + .brand-copy {
  display: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--green-deep);
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  font-family: "Josefin Sans", sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.store-template-real_estate_catalog .hero-card img,
.store-template-real_estate_catalog .hero-card-placeholder {
  aspect-ratio: 16 / 9;
}

.store-template-real_estate_catalog .hero-card {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 26px 60px rgba(10, 31, 52, 0.14);
}

.store-template-real_estate_catalog .hero-card-copy {
  padding: 28px 30px 24px;
}

.store-template-real_estate_catalog .hero-card-copy strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1;
  color: #072744;
}

.store-template-real_estate_catalog .hero-card-copy span {
  color: #16835d;
  font-size: 16px;
  font-weight: 800;
}

.store-template-real_estate_catalog .hero-card-copy p {
  margin-top: 18px;
  color: #526174;
  font-size: 17px;
}

.store-template-real_estate_catalog .eyebrow {
  color: #b9873d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.28em;
}

.store-template-real_estate_catalog .topbar {
  padding-top: 30px;
}

.store-template-real_estate_catalog .top-actions {
  gap: 22px;
}

.store-template-real_estate_catalog .top-actions > a:not(.cta-whatsapp):not(.cart-link) {
  color: #072744;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.store-template-real_estate_catalog .top-actions > a:not(.cta-whatsapp):not(.cart-link):hover {
  color: #0f5f8c;
}

.store-template-real_estate_catalog .cta-whatsapp {
  min-height: 46px;
  padding: 0 22px;
  background: #24a06f;
  color: #fff;
  box-shadow: 0 16px 34px rgba(36, 160, 111, 0.22);
}

.store-template-real_estate_catalog .hero-actions .btn {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 800;
}

.store-template-real_estate_catalog .hero-actions .btn.primary {
  background: #0f5f8c;
}

.store-template-real_estate_catalog .hero-actions .btn.ghost {
  background: #fff;
  border-color: rgba(15, 35, 58, 0.16);
  color: #072744;
}

.hero-card-placeholder,
.product-image-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  background:
    linear-gradient(135deg, rgba(32, 107, 196, 0.08), rgba(42, 157, 116, 0.08)),
    #eef3f8;
  color: var(--green-deep);
  font-weight: 700;
}

.hero-card-placeholder {
  min-height: 280px;
  font-size: 18px;
}

.product-image-placeholder {
  aspect-ratio: 4 / 3;
  font-size: 15px;
}

.store-template-real_estate_catalog .product-card img,
.store-template-real_estate_catalog .product-image-placeholder {
  aspect-ratio: 16 / 11;
}

.store-template-real_estate_catalog .property-media {
  position: relative;
  overflow: hidden;
  background: #eef3f8;
}

.store-template-real_estate_catalog .property-media img,
.store-template-real_estate_catalog .property-media .product-image-placeholder {
  transition: transform .22s ease;
}

.store-template-real_estate_catalog .property-card:hover .property-media img {
  transform: scale(1.025);
}

.property-badge,
.property-photo-count {
  position: absolute;
  z-index: 2;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.property-badge {
  top: 12px;
  left: 12px;
  background: rgba(7, 39, 68, 0.92);
  color: #fff;
}

.property-photo-count {
  right: 12px;
  bottom: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-deep);
  border: 1px solid var(--line);
}

.property-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.property-kicker span + span {
  position: relative;
  padding-left: 10px;
}

.property-kicker span + span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: var(--orange);
}

.property-filterbar {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(170px, 0.9fr) minmax(240px, 1.3fr) auto;
  gap: 12px;
  align-items: end;
  margin: -4px 0 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 30px rgba(25, 35, 48, 0.06);
}

.property-filterbar label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.property-filterbar select,
.property-filterbar input,
.property-filterbar button {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.property-filterbar button {
  cursor: pointer;
  font-weight: 800;
  background: #b9873d;
  color: #fff;
  text-transform: uppercase;
}

.is-hidden {
  display: none !important;
}

.store-template-real_estate_catalog .product-copy h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  line-height: 1.06;
  color: #102033;
}

.store-template-real_estate_catalog .product-meta strong {
  color: #0f5f8c;
  font-size: 20px;
}

.store-template-real_estate_catalog .cart-product-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.store-template-real_estate_catalog .section {
  padding: 68px 0;
}

.store-template-real_estate_catalog .section-head {
  max-width: 820px;
}

.store-template-real_estate_catalog .section-head h2,
.store-template-real_estate_catalog .service-copy h2,
.store-template-real_estate_catalog .cta-copy h2,
.store-template-real_estate_catalog .footer-card h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: #111827;
  line-height: 1.02;
}

.store-template-real_estate_catalog .section-head p {
  color: #526174;
  font-size: 19px;
}

.store-template-real_estate_catalog .category-strip a {
  border-radius: 999px;
  border-color: rgba(15, 35, 58, 0.12);
  background: #fff;
  color: #072744;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(10, 31, 52, 0.05);
}

.store-template-real_estate_catalog .category-strip a span {
  color: #16835d;
}

.store-template-real_estate_catalog .product-card {
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(10, 31, 52, 0.09);
}

.store-template-real_estate_catalog .product-copy {
  padding: 24px;
}

.store-template-real_estate_catalog .product-copy p {
  color: #526174;
}

.store-template-real_estate_catalog .product-meta {
  align-items: flex-start;
}

.store-template-real_estate_catalog .cart-product-actions .btn {
  border-radius: 4px;
  font-weight: 800;
}

.store-template-real_estate_catalog .btn,
.store-template-real_estate_catalog .cta-whatsapp,
.store-template-real_estate_catalog .cart-product-actions input {
  border-radius: 4px;
}

.store-template-real_estate_catalog .hero {
  min-height: auto;
  background: #fff;
}

.store-template-real_estate_catalog .hero-overlay {
  display: none;
}

.store-template-real_estate_catalog .hero-inner {
  width: 100%;
  max-width: none;
}

.store-template-real_estate_catalog .topbar {
  width: min(1280px, calc(100% - 88px));
  min-height: 108px;
  margin: 0 auto;
  padding: 14px 0;
}

.store-template-real_estate_catalog .brand img {
  width: 360px;
  height: 86px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.store-template-real_estate_catalog .top-actions {
  gap: 30px;
}

.store-template-real_estate_catalog .top-actions > a:not(.cta-whatsapp):not(.cart-link) {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.store-template-real_estate_catalog .cta-whatsapp {
  min-height: 44px;
  padding: 0 24px;
  background: #4a9cf3;
  box-shadow: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.store-template-real_estate_catalog .hero-content.real-estate-page-title {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 285px;
  padding: 0;
  place-items: center;
  overflow: hidden;
}

.store-template-real_estate_catalog .real-estate-page-title img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86);
}

.store-template-real_estate_catalog .real-estate-page-title::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(61, 103, 153, 0.52);
}

.store-template-real_estate_catalog .real-estate-page-title-copy {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 48px));
  text-align: center;
}

.store-template-real_estate_catalog .real-estate-page-title h1 {
  margin: 0;
  color: #fff;
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.1;
}

.real-estate-breadcrumb {
  display: flex;
  gap: 22px;
  align-items: center;
  min-height: 78px;
  padding: 0 max(44px, calc((100vw - 1280px) / 2));
  border-bottom: 1px solid rgba(15, 35, 58, 0.1);
  background: #fff;
  color: #8a9099;
  font-size: 16px;
}

.real-estate-breadcrumb a {
  color: #3f9cff;
  text-decoration: none;
}

.real-estate-breadcrumb span {
  position: relative;
}

.real-estate-breadcrumb span::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 18px;
  margin-right: 22px;
  vertical-align: middle;
  background: rgba(15, 35, 58, 0.16);
}

.store-template-real_estate_catalog .category-section {
  display: none;
}

.store-template-real_estate_catalog .featured-section {
  display: none;
}

.store-template-real_estate_catalog .catalog-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
  align-items: start;
  width: min(1280px, calc(100% - 88px));
  padding: 64px 0;
}

.store-template-real_estate_catalog .catalog-section .section-head {
  grid-column: 1 / -1;
  max-width: 780px;
}

.store-template-real_estate_catalog .section-head h2 {
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 500;
  line-height: 1.08;
}

.store-template-real_estate_catalog .section-head p {
  max-width: 620px;
  font-size: 18px;
}

.store-template-real_estate_catalog .catalog-section .property-filterbar {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 34px;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.store-template-real_estate_catalog .catalog-section .property-filterbar::before {
  content: "Encuentra tu propiedad";
  margin-bottom: 6px;
  color: #111827;
  font-size: 28px;
  font-weight: 500;
}

.store-template-real_estate_catalog .catalog-section .property-filterbar label {
  gap: 8px;
  color: #111827;
  font-size: 14px;
}

.store-template-real_estate_catalog .catalog-section .property-filterbar select,
.store-template-real_estate_catalog .catalog-section .property-filterbar input,
.store-template-real_estate_catalog .catalog-section .property-filterbar button {
  min-height: 52px;
  border-radius: 0;
}

.store-template-real_estate_catalog .catalog-section .property-filterbar button {
  margin-top: 6px;
  background: #ffdc4a;
  color: #0f172a;
  letter-spacing: 0.08em;
}

.store-template-real_estate_catalog .catalog-section .catalog-grid {
  grid-column: 1;
  grid-row: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.store-template-real_estate_catalog .product-card {
  border-radius: 0;
  box-shadow: none;
}

.store-template-real_estate_catalog .property-media img,
.store-template-real_estate_catalog .property-media .product-image-placeholder {
  border-radius: 0;
}

.store-template-real_estate_catalog .product-copy h3 {
  color: #3497ff;
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.18;
}

.store-template-real_estate_catalog .product-meta {
  gap: 18px;
  border-top: 1px solid rgba(15, 35, 58, 0.12);
  padding-top: 18px;
}

.store-template-real_estate_catalog .product-meta strong {
  color: #3497ff;
  font-size: 18px;
}

.catalog-empty {
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 24px;
  color: var(--muted);
}

.catalog-empty strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 20px;
}

.catalog-empty p {
  margin: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 241, 232, 0.96) 0%, rgba(247, 241, 232, 0.88) 42%, rgba(247, 241, 232, 0.58) 100%),
    radial-gradient(circle at top left, rgba(240, 138, 33, 0.18), transparent 28%);
}

.hero-inner,
.section {
  position: relative;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

.brand-copy strong {
  display: block;
  font-family: "Josefin Sans", sans-serif;
  font-size: 30px;
  line-height: 1;
}

.brand-copy span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-actions a {
  color: var(--green-deep);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}

.cta-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff !important;
  box-shadow: 0 12px 25px rgba(240, 138, 33, 0.24);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-link span {
  min-width: 24px;
  min-height: 24px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  text-align: center;
  font-size: 13px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  min-height: calc(720px - 120px);
  padding: 12px 0 60px;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
}

.eyebrow.small { margin-bottom: 8px; }

.hero-copy h1,
.section-head h2,
.service-copy h2,
.cta-copy h2 {
  margin: 0;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 700;
  line-height: .96;
}

.hero-copy h1 {
  font-size: clamp(52px, 8vw, 118px);
  max-width: 780px;
}

.hero-lead {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.6;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 700;
  background: rgba(255,255,255,.8);
  color: var(--text);
}

.btn.primary {
  background: var(--green);
  border-color: transparent;
  color: #fff;
}

.btn.ghost {
  background: rgba(255,255,255,.54);
}

.hero-card,
.product-card,
.service-cards article,
.cta-section,
.footer-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-card {
  overflow: hidden;
  border-radius: 34px;
  display: grid;
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.hero-card-copy {
  padding: 22px 24px 18px;
}

.hero-card-copy strong {
  display: block;
  font-family: "Josefin Sans", sans-serif;
  font-size: 34px;
  color: var(--green-deep);
}

.hero-card-copy span {
  display: block;
  margin-top: 4px;
  color: var(--orange);
  font-weight: 700;
}

.hero-card-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.section {
  padding: 56px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head h2,
.service-copy h2,
.cta-copy h2 {
  font-size: clamp(34px, 4vw, 62px);
}

.section-head p,
.service-copy p,
.cta-copy p,
.service-list li,
.service-cards span {
  color: var(--muted);
  line-height: 1.7;
  font-size: 18px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.category-section,
.featured-section,
.banner-section,
.text-block-section {
  padding-bottom: 18px;
}

.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category-strip a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--green-deep);
  text-decoration: none;
  font-weight: 700;
}

.category-strip span {
  color: var(--orange);
}

.featured-grid .product-card {
  border-color: rgba(53, 87, 56, 0.25);
}

.store-banner {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.store-banner img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 24px;
}

.store-banner h2,
.store-text-block h2 {
  margin: 0;
  font-family: "Josefin Sans", sans-serif;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1;
}

.store-banner p,
.store-text-block p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.store-text-block {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.store-text-block.align-center { text-align: center; }
.store-text-block.align-left { text-align: left; }
.store-text-block.align-right { text-align: right; }

.product-card {
  overflow: hidden;
  border-radius: 28px;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #fff;
}

.product-copy {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.product-copy h3 {
  margin: 0;
  font-family: "Josefin Sans", sans-serif;
  font-size: 34px;
  line-height: 1;
}

.product-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.product-meta span {
  color: var(--muted);
  font-size: 15px;
}

.product-meta strong {
  color: var(--green-deep);
  font-size: 24px;
}

.cart-product-actions {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.cart-product-actions input,
.cart-item input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  font: inherit;
  background: rgba(255,255,255,.72);
  color: var(--text);
}

.cart-product-actions .btn {
  min-height: 42px;
  border-radius: 999px;
}

.service-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: start;
}

.service-list {
  margin: 16px 0 0;
  padding-left: 20px;
}

.service-list li { margin-bottom: 6px; }

.service-cards {
  display: grid;
  gap: 16px;
}

.service-cards article {
  border-radius: 24px;
  padding: 20px;
}

.service-cards strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Josefin Sans", sans-serif;
  font-size: 28px;
  color: var(--green-deep);
}

.cta-section {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  border-radius: 34px;
  padding: 28px 30px;
  margin-bottom: 28px;
}

.site-footer {
  padding-top: 0;
  padding-bottom: 60px;
}

.cart-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  max-width: min(360px, calc(100% - 36px));
  padding: 12px 16px;
  border-radius: 18px;
  background: var(--green-deep);
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
  font-weight: 700;
}

.cart-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cart-page-shell {
  background:
    linear-gradient(180deg, rgba(246, 239, 229, 0.96) 0%, rgba(246, 239, 229, 1) 100%),
    url("/ecommerce/static/landing/papagayo-hero-background.jpg") center top / cover fixed no-repeat;
}

.cart-page-header {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.cart-page h1 {
  margin: 0;
  font-family: "Josefin Sans", sans-serif;
  font-size: clamp(38px, 6vw, 78px);
  line-height: 1;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 24px;
  align-items: start;
}

.checkout-form {
  display: grid;
  gap: 16px;
}

.checkout-form section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 22px;
}

.checkout-form h2 {
  grid-column: 1 / -1;
  margin: 0;
  font-family: "Josefin Sans", sans-serif;
  font-size: 34px;
  line-height: 1;
}

.checkout-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 700;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 11px 13px;
  font: inherit;
  background: rgba(255,255,255,.82);
  color: var(--text);
}

.checkout-form textarea { resize: vertical; }
.checkout-form .span-2 { grid-column: 1 / -1; }
.checkout-form .is-muted {
  opacity: .62;
}

.checkout-alert {
  margin-bottom: 18px;
  border: 1px solid rgba(204, 90, 0, .32);
  border-radius: 22px;
  padding: 12px 16px;
  background: rgba(255, 246, 230, .96);
  color: #8a4b00;
  font-weight: 700;
}

.checkout-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.checkout-line span {
  color: var(--muted);
}

.checkout-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.confirmation-page {
  display: grid;
  place-items: center;
  min-height: 560px;
}

.confirmation-card {
  width: min(820px, 100%);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 34px;
}

.confirmation-card h1 {
  margin: 0;
  font-family: "Josefin Sans", sans-serif;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 1;
}

.confirmation-card p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.checkout-confirm-items {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.confirmation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.confirmation-grid div {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px;
  background: rgba(255,255,255,.58);
}

.confirmation-grid span,
.confirmation-grid strong {
  display: block;
}

.confirmation-grid span {
  color: var(--muted);
}

.cart-items,
.cart-summary {
  display: grid;
  gap: 12px;
}

.cart-item,
.cart-summary,
.cart-empty {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.cart-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 110px 120px 100px;
  gap: 14px;
  align-items: center;
  padding: 14px;
}

.cart-item img {
  width: 96px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
}

.cart-item h2 {
  margin: 0;
  font-family: "Josefin Sans", sans-serif;
  font-size: 26px;
  line-height: 1;
}

.cart-item p {
  margin: 7px 0 0;
  color: var(--muted);
}

.cart-summary,
.cart-empty {
  padding: 22px;
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.cart-summary-line strong {
  color: var(--green-deep);
}

.footer-card {
  border-radius: 34px;
  padding: 28px 30px;
}

.footer-card h2 {
  margin: 0;
  font-family: "Josefin Sans", sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

.footer-lines {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.footer-lines p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.store-template-real_estate_catalog .service-section {
  display: block;
  width: min(1280px, calc(100% - 88px));
  padding: 48px 0 32px;
}

.store-template-real_estate_catalog .service-copy h2,
.store-template-real_estate_catalog .cta-copy h2,
.store-template-real_estate_catalog .footer-card h2 {
  font-family: "Source Sans 3", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.12;
}

.store-template-real_estate_catalog .service-copy h2 {
  max-width: 760px;
  font-size: clamp(32px, 3vw, 44px);
}

.store-template-real_estate_catalog .service-copy p,
.store-template-real_estate_catalog .service-list {
  max-width: 820px;
  color: #46566b;
  font-size: 17px;
  line-height: 1.6;
}

.store-template-real_estate_catalog .service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  max-width: none;
}

.store-template-real_estate_catalog .service-list li {
  min-height: 74px;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgba(15, 35, 58, 0.12);
  background: #fff;
}

.store-template-real_estate_catalog .service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.store-template-real_estate_catalog .service-cards article {
  border-radius: 0;
  min-height: 126px;
  padding: 22px 24px;
  box-shadow: none;
}

.store-template-real_estate_catalog .service-cards strong {
  margin-bottom: 6px;
  color: #072744;
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.store-template-real_estate_catalog .service-cards span {
  color: #526174;
  font-size: 17px;
}

.store-template-real_estate_catalog .cta-section {
  width: min(1280px, calc(100% - 88px));
  min-height: auto;
  margin: 26px auto 28px;
  padding: 30px 34px;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}

.store-template-real_estate_catalog .cta-copy h2 {
  max-width: 700px;
  font-size: clamp(30px, 2.8vw, 42px);
}

.store-template-real_estate_catalog .cta-copy p {
  max-width: 640px;
  color: #46566b;
  font-size: 18px;
}

.store-template-real_estate_catalog .cta-actions {
  margin-top: 0;
}

.store-template-real_estate_catalog .cta-actions .btn {
  min-width: 190px;
  border-radius: 0;
}

.store-template-real_estate_catalog .site-footer {
  width: min(1280px, calc(100% - 88px));
  padding: 0 0 54px;
}

.store-template-real_estate_catalog .footer-card {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(220px, .9fr) minmax(180px, .8fr) auto;
  gap: 24px;
  align-items: start;
  padding: 32px 36px;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}

.store-template-real_estate_catalog .footer-card h2 {
  color: #072744;
  font-size: clamp(24px, 2.2vw, 34px);
  text-transform: uppercase;
}

.store-template-real_estate_catalog .footer-lines {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.store-template-real_estate_catalog .footer-lines p {
  font-size: 15px;
}

.store-template-real_estate_catalog .footer-contact-block,
.store-template-real_estate_catalog .footer-action-block {
  display: grid;
  gap: 8px;
  color: #34465c;
}

.store-template-real_estate_catalog .footer-contact-block strong {
  color: #072744;
  font-size: 18px;
  line-height: 1.25;
}

.store-template-real_estate_catalog .footer-contact-block a,
.store-template-real_estate_catalog .footer-contact-block span {
  color: #34465c;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.45;
}

.store-template-real_estate_catalog .footer-contact-block a:hover {
  color: #146c9d;
}

.store-template-real_estate_catalog .footer-social-block {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-template-real_estate_catalog .footer-social-block a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #d9e1ea;
  color: #072744;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.store-template-real_estate_catalog .footer-social-block a:hover {
  border-color: #146c9d;
  color: #146c9d;
}

.store-template-real_estate_catalog .footer-action-block {
  justify-items: end;
  min-width: 160px;
}

.store-template-real_estate_catalog .footer-action-block .btn {
  min-width: 150px;
  border-radius: 0;
}

.store-template-real_estate_catalog .footer-action-block small {
  max-width: 240px;
  color: #5a6878;
  font-size: 13px;
  line-height: 1.45;
  text-align: right;
}

@media (max-width: 1100px) {
  .store-template-real_estate_catalog .hero {
    min-height: auto;
  }

  .store-template-real_estate_catalog .hero-content {
    min-height: auto;
  }

  .store-template-real_estate_catalog .hero-copy h1 {
    font-size: 54px;
  }

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

  .store-template-real_estate_catalog .topbar {
    width: min(100%, calc(100% - 40px));
  }

  .store-template-real_estate_catalog .hero-content.real-estate-page-title {
    min-height: 240px;
  }

  .store-template-real_estate_catalog .catalog-section {
    grid-template-columns: 1fr;
    width: min(100%, calc(100% - 40px));
  }

  .store-template-real_estate_catalog .service-section,
  .store-template-real_estate_catalog .cta-section,
  .store-template-real_estate_catalog .site-footer {
    width: min(100%, calc(100% - 40px));
  }

  .store-template-real_estate_catalog .service-section {
    grid-template-columns: 1fr;
  }

  .store-template-real_estate_catalog .service-list,
  .store-template-real_estate_catalog .service-cards {
    grid-template-columns: 1fr;
  }

  .store-template-real_estate_catalog .footer-card {
    display: grid;
    grid-template-columns: 1fr;
  }

  .store-template-real_estate_catalog .footer-lines {
    justify-content: flex-start;
  }

  .store-template-real_estate_catalog .footer-action-block {
    justify-items: start;
  }

  .store-template-real_estate_catalog .footer-action-block small {
    text-align: left;
  }

  .store-template-real_estate_catalog .catalog-section .property-filterbar {
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-template-real_estate_catalog .catalog-section .property-filterbar::before {
    grid-column: 1 / -1;
  }

  .store-template-real_estate_catalog .catalog-section .catalog-grid {
    grid-column: 1;
    grid-row: 3;
  }

  .hero-content,
  .catalog-grid,
  .store-banner,
  .cart-layout,
  .checkout-layout,
  .service-section,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .store-template-real_estate_catalog .hero {
    min-height: auto;
  }

  .store-template-real_estate_catalog .hero-content {
    gap: 0;
    padding-top: 0;
  }

  .store-template-real_estate_catalog .hero-copy h1 {
    font-size: 40px;
    line-height: 1.06;
  }

  .store-template-real_estate_catalog .hero-lead {
    font-size: 17px;
  }

  .store-template-real_estate_catalog .hero-card {
    padding: 16px;
  }

  .store-template-real_estate_catalog .brand img {
    width: 270px;
    height: 66px;
  }

  .store-template-real_estate_catalog .product-copy h3 {
    font-size: 22px;
  }

  .store-template-real_estate_catalog .cart-product-actions {
    grid-template-columns: 1fr;
  }

  .store-template-real_estate_catalog .property-media img,
  .store-template-real_estate_catalog .property-media .product-image-placeholder {
    aspect-ratio: 4 / 3;
  }

  .property-filterbar {
    grid-template-columns: 1fr;
  }

  .store-template-real_estate_catalog .topbar {
    width: min(100%, calc(100% - 24px));
    min-height: auto;
    gap: 14px;
  }

  .store-template-real_estate_catalog .top-actions {
    gap: 12px;
  }

  .store-template-real_estate_catalog .top-actions > a:not(.cta-whatsapp):not(.cart-link) {
    font-size: 12px;
  }

  .store-template-real_estate_catalog .hero-content.real-estate-page-title {
    min-height: 190px;
  }

  .store-template-real_estate_catalog .real-estate-page-title h1 {
    font-size: 34px;
  }

  .real-estate-breadcrumb {
    min-height: auto;
    padding: 18px 12px;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
  }

  .real-estate-breadcrumb span::before {
    height: 14px;
    margin-right: 12px;
  }

  .store-template-real_estate_catalog .catalog-section {
    width: min(100%, calc(100% - 24px));
    padding: 38px 0;
  }

  .store-template-real_estate_catalog .service-section,
  .store-template-real_estate_catalog .cta-section,
  .store-template-real_estate_catalog .site-footer {
    width: min(100%, calc(100% - 24px));
  }

  .store-template-real_estate_catalog .service-section {
    padding: 36px 0;
  }

  .store-template-real_estate_catalog .service-list,
  .store-template-real_estate_catalog .service-cards {
    grid-template-columns: 1fr;
  }

  .store-template-real_estate_catalog .service-copy h2,
  .store-template-real_estate_catalog .cta-copy h2 {
    font-size: 32px;
  }

  .store-template-real_estate_catalog .cta-section {
    display: grid;
    padding: 24px;
  }

  .store-template-real_estate_catalog .cta-actions .btn {
    width: 100%;
  }

  .store-template-real_estate_catalog .catalog-section .property-filterbar {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .store-template-real_estate_catalog .catalog-section .catalog-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner,
  .section {
    width: min(100%, calc(100% - 24px));
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    min-height: auto;
    padding-bottom: 38px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .cart-item,
  .checkout-form section,
  .confirmation-grid,
  .cart-product-actions {
    grid-template-columns: 1fr;
  }

  .checkout-form .span-2 {
    grid-column: auto;
  }

  .cart-item img {
    width: 100%;
  }

  .hero-lead,
  .section-head p,
  .service-copy p,
  .cta-copy p,
  .service-list li,
  .service-cards span {
    font-size: 17px;
  }
}
