/* Template organic-v1. Frozen: tenants are on it, so change it only to fix a serious bug.
   A redesign goes in a new version folder. Every rule is scoped under .theme-organic-v1
   so the editor can show a preview inside the marketplace's own (Bootstrap) page. */

@font-face { font-family: "Caprasimo"; font-weight: 400; font-display: swap; src: url("fonts/caprasimo-400.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url("fonts/figtree-400.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url("fonts/figtree-600.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-display: swap; src: url("fonts/figtree-700.woff2") format("woff2"); }

body.site-body { margin: 0; background: #f5ead8; -webkit-font-smoothing: antialiased; }

.theme-organic-v1 {
  --color-bg: #f5ead8;
  --color-text: #201e1d;
  --color-accent: #c67139;
  --color-divider: color-mix(in srgb, #201e1d 16%, transparent);
  --color-neutral-700: #645c50;
  --color-accent-100: #fff2eb;
  --color-accent-200: #ffe1d0;
  --color-accent-400: #f6a06b;
  --color-accent-600: #b2622d;
  --color-accent-700: #8c491a;
  --color-accent-800: #643312;
  --color-accent-900: #402310;
  --color-accent-2-100: #f0fae1;
  --color-accent-2-200: #e1eecc;
  --color-accent-2-500: #8fa073;
  --color-accent-2-700: #56633f;
  --color-accent-2-800: #3d472b;
  --color-accent-2-900: #272e1b;
  --font-heading: "Caprasimo", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --space-1: 4.4px;
  --space-2: 8.8px;
  --space-3: 13.2px;
  --space-4: 17.6px;
  --space-6: 26.4px;
  --space-8: 35.2px;
  --radius-lg: 28px;

  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  text-align: left;
}
.theme-organic-v1 *, .theme-organic-v1 *::before, .theme-organic-v1 *::after { box-sizing: border-box; }
.theme-organic-v1 h1, .theme-organic-v1 h2, .theme-organic-v1 h3 {
  font-family: var(--font-heading); font-weight: 400; line-height: 1.12; letter-spacing: -0.015em; margin: 0;
}
.theme-organic-v1 h2 { font-size: 32px; }
.theme-organic-v1 h3 { font-size: 25px; }
.theme-organic-v1 p { margin: 0; }
.theme-organic-v1 a { color: var(--color-accent-700); text-underline-offset: 3px; }
.theme-organic-v1 a:hover { color: var(--color-accent-800); }
.theme-organic-v1 :focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.theme-organic-v1 img { display: block; max-width: 100%; }

.og-root { min-height: 100vh; }
.og-page {
  max-width: 780px; margin: 0 auto; padding: var(--space-4) var(--space-4) 72px;
  display: flex; flex-direction: column; gap: 56px;
}
.og-washed { filter: saturate(0.6) contrast(0.85) brightness(1.1) opacity(0.94); }
.og-photo { width: 100%; height: 100%; object-fit: cover; }

/* — buttons and tags — */
.theme-organic-v1 .og-btn {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  font-family: var(--font-heading); font-weight: 400; line-height: 1.2;
  min-height: 52px; padding: 0 24px; font-size: 15px; border-radius: 999px;
  border: 1px solid transparent; color: var(--color-accent-900);
}
.theme-organic-v1 .og-btn-primary { background: var(--color-accent); color: var(--color-bg); padding: 0 32px; font-size: 17px; flex: 1 1 240px; max-width: 320px; }
.theme-organic-v1 .og-btn-primary:hover { background: var(--color-accent-600); color: var(--color-bg); }
.theme-organic-v1 .og-btn-primary:active { background: var(--color-accent-700); }
.theme-organic-v1 .og-btn-secondary { border-color: var(--color-accent-400); }
.theme-organic-v1 .og-btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); color: var(--color-accent-900); }
.og-tag { display: inline-flex; align-items: center; font-size: 11px; letter-spacing: 0.02em; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.og-tag-category { background: var(--color-accent-700); color: var(--color-accent-100); }
.og-tag-open { background: var(--color-accent-2-700); color: var(--color-accent-2-100); }
.og-tag-closed { background: var(--color-accent-100); color: var(--color-accent-800); }

/* — header — */
.og-header { display: flex; flex-direction: column; gap: var(--space-6); }
.og-hero { width: 100%; aspect-ratio: 4 / 3; max-height: 440px; border-radius: 36px; overflow: hidden; }
.og-info {
  background: var(--color-accent-200); border-radius: var(--radius-lg); padding: var(--space-8) var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-3);
}
.og-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.theme-organic-v1 .og-title { font-size: clamp(38px, 8vw, 56px); color: var(--color-accent-900); }
.og-meta { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); font-size: 15px; color: var(--color-accent-800); }
.og-meta span { white-space: nowrap; }
.theme-organic-v1 .og-description { margin-top: var(--space-2); font-size: 17px; line-height: 1.6; text-wrap: pretty; color: var(--color-accent-900); white-space: pre-line; }
.og-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }

/* — about — */
.og-about {
  background: var(--color-accent-2-200); border-radius: var(--radius-lg); padding: var(--space-8) var(--space-6);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-6); align-items: center;
}
.og-headshot { width: min(220px, 100%); aspect-ratio: 1; border-radius: 50%; padding: 10px; background: var(--color-accent-2-500); }
.og-headshot img, .og-headshot .og-initials { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.og-initials {
  display: grid; place-items: center; background: var(--color-accent-2-200);
  font-family: var(--font-heading); font-size: 56px; color: var(--color-accent-2-700);
}
.og-about-text { display: flex; flex-direction: column; gap: var(--space-3); max-width: 460px; }
.theme-organic-v1 .og-about h2 { color: var(--color-accent-2-900); }
.theme-organic-v1 .og-about p { font-size: 16px; line-height: 1.6; text-wrap: pretty; white-space: pre-line; }
.og-owner { font-size: 14px; font-weight: 600; color: var(--color-accent-2-800); }

/* — services, photos, reviews — */
.og-stack { display: flex; flex-direction: column; gap: var(--space-4); }
.og-card { display: flex; flex-direction: column; border-radius: calc(var(--radius-lg) * 1.15); }
.og-services { padding: var(--space-2) var(--space-6); background: var(--color-accent-100); }
.og-service {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px var(--space-4);
  padding: var(--space-4) 0; border-bottom: 1px solid var(--color-divider);
}
.og-service:last-child { border-bottom: 0; }
.og-service-name { font-size: 16px; font-weight: 600; }
.og-service-time { font-size: 14px; color: var(--color-neutral-700); }
.og-price {
  font-family: var(--font-heading); font-size: 16px; background: var(--color-accent); color: var(--color-bg);
  border-radius: 999px; padding: 4px 14px; align-self: center; grid-row: 1 / span 2; grid-column: 2;
}
.og-service-name, .og-service-time { grid-column: 1; }
.og-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--space-3); }
.og-gallery > div { aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; }
.og-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-3); }
.og-review { padding: var(--space-6); gap: var(--space-2); background: var(--color-accent-100); }
.og-stars { font-size: 18px; color: var(--color-accent); }
.theme-organic-v1 .og-review p { font-size: 16px; line-height: 1.55; text-wrap: pretty; }
.og-reviewer { font-size: 13px; color: var(--color-neutral-700); }

/* — hours and location — */
.og-visit { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-6); }
.og-hours { padding: var(--space-6); gap: var(--space-4); background: var(--color-accent-2-700); color: var(--color-accent-2-100); }
.og-hours-list { display: flex; flex-direction: column; gap: var(--space-2); font-size: 15px; }
.og-hours-row { display: flex; justify-content: space-between; gap: var(--space-4); }
.og-hours-row span:last-child { color: var(--color-accent-2-200); white-space: nowrap; flex-shrink: 0; }
.og-location { padding: var(--space-6); gap: var(--space-4); background: var(--color-accent-200); }
.theme-organic-v1 .og-location h3 { color: var(--color-accent-900); }
.og-address { font-size: 15px; line-height: 1.5; }
.theme-organic-v1 .og-phone { font-size: 15px; font-weight: 600; }

/* — closing — */
.og-closing {
  background: var(--color-accent-700); border-radius: var(--radius-lg); padding: var(--space-8) var(--space-6);
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4);
}
.theme-organic-v1 .og-closing h2 { color: var(--color-accent-100); }
.theme-organic-v1 .og-closing .og-btn { background: var(--color-bg); color: var(--color-accent-900); padding: 0 32px; font-size: 17px; }

/* — footer and empty states — */
.og-footer { text-align: center; font-size: 13px; color: var(--color-neutral-700); }
.og-coming-soon { max-width: 560px; margin: 0 auto; padding: 96px var(--space-4); text-align: center; display: flex; flex-direction: column; gap: var(--space-4); }
.theme-organic-v1 .og-coming-soon h1 { font-size: clamp(38px, 8vw, 56px); color: var(--color-accent-900); }
