/* Ila and Nin Art — colors and type carried over from the Shopify theme */
:root {
  --bg: #f6f0eb;
  --fg: #103948;
  --muted: #4d6b76;
  --sage: #879a89;
  --green: #1b4733;
  --rust: #bc5631;
  --line: rgba(16, 57, 72, 0.15);
  --card: #ffffff;
  --font: 'Cormorant', Georgia, serif;
  --wrap: 1200px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 1.2rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.2em; }
h1, h2, h3 { font-weight: 500; line-height: 1.2; margin: 0 0 0.6em; letter-spacing: 0.03em; }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
svg.fill { fill: currentColor; stroke: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 750px) { .wrap { padding: 0 2.5rem; } }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.95rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--fg); color: #fff; padding: 0.5rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

/* Announcement + header */
.announcement { background: var(--fg); color: #fff; text-align: center; font-size: 0.95rem; padding: 0.55rem 1rem; }
.announcement a { text-decoration: none; }
.announcement a:hover { text-decoration: underline; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-top: 1rem; padding-bottom: 0.5rem; }
.logo { grid-column: 2; justify-self: center; }
.logo img { width: 130px; height: auto; }
@media (min-width: 750px) { .logo img { width: 170px; } }
.icon-btn { background: none; border: 0; color: inherit; padding: 0.6rem; cursor: pointer; display: inline-flex; font-size: 1.1rem; }
.menu-toggle { grid-column: 1; grid-row: 1; justify-self: start; }
.search-toggle { grid-column: 3; grid-row: 1; justify-self: end; }
.header-spacer { display: none; }
@media (min-width: 990px) {
  .menu-toggle { display: none; }
  .search-toggle { grid-column: 1; justify-self: start; }
}

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: none; }
.site-nav a, .site-nav summary { text-decoration: none; display: block; padding: 0.6rem 0.9rem; cursor: pointer; }
.site-nav a:hover, .site-nav summary:hover, .site-nav [aria-current='page'] { text-decoration: underline; }
.site-nav summary { list-style: none; display: flex; align-items: center; gap: 0.2rem; }
.site-nav summary::-webkit-details-marker { display: none; }
.site-nav details[open] summary svg { transform: rotate(180deg); }
.site-nav.open > ul { display: block; padding-bottom: 1rem; }
.site-nav.open .has-sub ul { padding-left: 1rem; }
@media (min-width: 990px) {
  .site-nav > ul { display: flex; justify-content: center; flex-wrap: wrap; padding-bottom: 0.5rem; }
  .has-sub { position: relative; }
  .has-sub ul { position: absolute; left: 0; top: 100%; background: var(--bg); border: 1px solid var(--line); min-width: 240px; padding: 0.5rem 0; z-index: 20; box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
}

/* Sections */
.section { padding: 3rem 0; }
@media (min-width: 750px) { .section { padding: 4rem 0; } }
.section-title { margin-bottom: 1.5rem; }
.page-title { margin-bottom: 1.5rem; }
.count { margin-top: -0.75rem; }

/* Buttons */
.button {
  display: inline-block; background: var(--fg); color: #fff; border: 1px solid var(--fg);
  padding: 0.8rem 2rem; font: inherit; font-size: 1.05rem; letter-spacing: 0.08em; text-decoration: none;
  border-radius: var(--radius); cursor: pointer; transition: background 0.2s, color 0.2s; text-align: center;
}
.button:hover { background: transparent; color: var(--fg); }
.button-secondary { background: transparent; color: var(--fg); }
.button-secondary:hover { background: var(--fg); color: #fff; }
.button-light { background: #fcfcfc; color: var(--fg); border-color: #fcfcfc; border-radius: 40px; }
.button-light:hover { background: transparent; color: #fff; }
.button-full { display: block; width: 100%; margin-bottom: 0.5rem; }
.button-disabled { background: #c9c6c2; border-color: #c9c6c2; color: #fff; cursor: not-allowed; display: block; }

/* Product grid */
.grid { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
@media (min-width: 750px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 1.5rem; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card a { text-decoration: none; display: block; }
.card h3 { margin: 0.8rem 0 0.2rem; font-size: 1.15rem; }
.card a:hover h3 { text-decoration: underline; }
.card-media { position: relative; aspect-ratio: 1; background: #ece5de; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: contain; transition: opacity 0.4s, transform 0.6s; }
.card-media .alt { position: absolute; inset: 0; opacity: 0; }
.card a:hover .card-media.has-alt .alt { opacity: 1; }
.card a:hover .card-media:not(.has-alt) img { transform: scale(1.03); }
.price { margin: 0; }
.price s { color: var(--muted); }
.badge { position: absolute; left: 0.6rem; bottom: 0.6rem; background: var(--fg); color: #fff; font-size: 0.85rem; padding: 0.15rem 0.8rem; border-radius: 40px; }
.badge.inline { position: static; vertical-align: middle; }
.collections h3 { display: flex; align-items: center; gap: 0.4rem; }

/* Image with text */
.image-text { display: grid; background: var(--sage); color: #fff; }
.image-text + .image-text { margin-top: 0; }
.image-text-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.image-text-copy { padding: 2.5rem 2rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.lede { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.35; margin: 0; }
@media (min-width: 750px) {
  .image-text, .image-text.reverse { grid-template-columns: 1fr 1fr; }
  .image-text-copy { padding: 3rem; }
}

/* Banner */
.banner { min-height: 260px; background-size: cover; background-position: center; }
@media (min-width: 750px) { .banner { min-height: 420px; } }

/* Events */
.events { list-style: none; padding: 0; margin: 0; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.event { background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.event-media { position: relative; }
.event-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.event-date { position: absolute; top: 0; left: 0; background: rgba(16, 57, 72, 0.85); color: #fff; padding: 0.5rem 0.9rem; font-size: 1rem; }
.event-body { padding: 1.25rem 1.5rem 1.5rem; }
.event-when { font-weight: 600; margin-bottom: 0.3rem; }
.events.past { opacity: 0.75; }
.section-title.past { margin-top: 3rem; }

/* Product page */
.product { display: grid; gap: 2rem; }
@media (min-width: 900px) { .product { grid-template-columns: 1.3fr 1fr; gap: 4rem; align-items: start; } .product-info { position: sticky; top: 1.5rem; } }
.product-main { background: #ece5de; }
.product-main img { width: 100%; max-height: 80vh; object-fit: contain; margin: 0 auto; }
.thumbs { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; gap: 0.6rem; flex-wrap: wrap; }
.thumb { border: 1px solid transparent; padding: 0; background: #ece5de; cursor: pointer; width: 80px; height: 80px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active { border-color: var(--fg); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.85rem; margin-bottom: 0.4rem; }
.eyebrow a { text-decoration: none; }
.price.large { font-size: 1.5rem; margin-bottom: 1.5rem; }
.rte { margin-top: 1.5rem; }
.rte img { margin: 1rem 0; }

/* Content pages */
.page-hero { margin: 0 0 2rem; width: 100%; }
.split { display: grid; gap: 2rem; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }
.split .rte { margin-top: 0; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery img:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.faq h2 { margin-top: 2rem; font-size: 1.6rem; }
.faq details { border-bottom: 1px solid var(--line); padding: 0.4rem 0; }
.faq summary { cursor: pointer; padding: 0.6rem 0; font-size: 1.25rem; font-weight: 500; list-style-position: outside; }
.faq details p { margin: 0.2rem 0 1rem; }

/* Forms */
input, textarea { font: inherit; color: inherit; background: transparent; border: 1px solid rgba(16, 57, 72, 0.55); border-radius: var(--radius); padding: 0.7rem 0.9rem; width: 100%; }
input:focus, textarea:focus { outline: 2px solid var(--fg); outline-offset: 0; }
.contact-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.contact-form label { display: grid; gap: 0.3rem; }
.contact-form .row { display: grid; gap: 1rem; }
@media (min-width: 600px) { .contact-form .row { grid-template-columns: 1fr 1fr; } }
.contact-form .button { justify-self: start; }
.form-status { margin: 0; min-height: 1.5em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--rust); }
.search-form { display: flex; gap: 0.75rem; margin-bottom: 2rem; }
.search-form input { flex: 1; }

/* Newsletter + footer */
.newsletter { padding: 3.5rem 0; border-top: 1px solid var(--line); }
.newsletter h2 { color: var(--green); font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.inline-form { position: relative; max-width: 420px; margin: 1.5rem auto 0; }
.inline-form input { padding-right: 3rem; }
.inline-form button { position: absolute; right: 0.3rem; top: 0.3rem; background: none; border: 0; color: inherit; padding: 0.55rem; cursor: pointer; }
.inline-form .form-status { margin-top: 0.6rem; }
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0; font-size: 0.95rem; }
.footer-inner { display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.25rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.social a { display: inline-flex; padding: 0.4rem; font-size: 1.3rem; }

.placeholder { width: 100%; height: 100%; background: #e5ddd5; }
[hidden] { display: none !important; }
.pre { white-space: pre-line; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.linklike { font: inherit; background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.loading { padding: 2rem 0; text-align: center; }
.logo-text { font-size: 2.4rem; font-weight: 600; letter-spacing: 0.02em; color: var(--green); line-height: 1; display: block; padding: 1rem 0; }
.faq details > div { margin: 0.2rem 0 1rem; }
.faq details > div p:last-child { margin-bottom: 0; }
select { font: inherit; color: inherit; background: transparent; border: 1px solid rgba(16, 57, 72, 0.55); border-radius: var(--radius); padding: 0.7rem 0.9rem; width: 100%; }
.event-actions { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; margin: 0; font-size: 1rem; }

/* ---------- Gallery (marketing) version ---------- */
.hero { position: relative; min-height: 70vh; background-size: cover; background-position: center; display: flex; align-items: flex-end; color: #fff; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16, 57, 72, 0.9), rgba(16, 57, 72, 0.45) 55%, rgba(16, 57, 72, 0.1)); }
.hero-inner { position: relative; padding-top: 4rem; padding-bottom: 3.5rem; max-width: var(--wrap); width: 100%; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.5rem); margin-bottom: 0.3em; }
.hero p { max-width: 36rem; font-size: 1.3rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.button-ghost { background: transparent; border-color: #fff; color: #fff; border-radius: 40px; }
.button-ghost:hover { background: #fff; color: var(--fg); }
.tint { background: #efe6de; }
.cta h2 { color: var(--green); }
.card-media.cover img { object-fit: cover; }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.chip { font: inherit; font-size: 1.05rem; background: transparent; color: var(--fg); border: 1px solid var(--line); border-radius: 40px; padding: 0.35rem 1.1rem; cursor: pointer; }
.chip:hover { border-color: var(--fg); }
.chip.active { background: var(--fg); color: #fff; border-color: var(--fg); }

.masonry { list-style: none; margin: 0 0 2rem; padding: 0; columns: 2; column-gap: 0.75rem; }
@media (min-width: 750px) { .masonry { columns: 3; column-gap: 1.25rem; } }
@media (min-width: 1100px) { .masonry { columns: 4; } }
.tile { break-inside: avoid; margin-bottom: 0.75rem; }
@media (min-width: 750px) { .tile { margin-bottom: 1.25rem; } }
.tile a { display: block; position: relative; text-decoration: none; overflow: hidden; background: #ece5de; }
.tile img { width: 100%; height: auto; transition: transform 0.6s; }
.tile a:hover img { transform: scale(1.03); }
.tile-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 0.9rem 0.7rem; color: #fff; background: linear-gradient(to top, rgba(16, 57, 72, 0.85), transparent); display: flex; flex-direction: column; line-height: 1.3; opacity: 0; transition: opacity 0.3s; }
.tile-caption span { font-size: 0.95rem; opacity: 0.85; }
.tile a:hover .tile-caption, .tile a:focus-visible .tile-caption { opacity: 1; }
@media (hover: none) { .tile-caption { opacity: 1; } }
.tile .badge { top: 0.6rem; bottom: auto; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10, 30, 38, 0.92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; max-width: min(90vw, 1100px); text-align: center; color: #fff; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; }
.lightbox figcaption { margin-top: 0.8rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.3rem 1rem; align-items: baseline; }
.lightbox .muted { color: #c7d3d6; }
.lb-link { color: #fff; }
.lightbox .icon-btn { position: fixed; color: #fff; font-size: 2.4rem; line-height: 1; padding: 0.8rem 1rem; }
.lb-close { top: 0.5rem; right: 0.5rem; font-size: 1.6rem !important; }
.lb-prev { left: 0.25rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 0.25rem; top: 50%; transform: translateY(-50%); }
.status { font-size: 1.1rem; margin-bottom: 0; }
.status.available::before { content: '● '; color: var(--green); }
.status.sold { color: var(--muted); }
.price { font-size: 1.5rem; margin: .25rem 0 1rem; color: var(--fg); }

/* Events calendar */
.calendar { background: var(--card); border: 1px solid var(--line); padding: 1rem; margin-bottom: 3rem; }
@media (min-width: 750px) { .calendar { padding: 1.5rem 2rem 2rem; } }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal-head h2 { margin: 0; font-size: 1.6rem; }
.cal-prev svg { transform: rotate(90deg); }
.cal-next svg { transform: rotate(-90deg); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.cal-dow { text-align: center; font-size: 0.9rem; color: var(--muted); padding-bottom: 0.3rem; }
.cal-cell { font: inherit; color: inherit; background: var(--bg); border: 0; min-height: 3rem; padding: 0.3rem; text-align: left; display: flex; flex-direction: column; gap: 0.15rem; cursor: pointer; overflow: hidden; }
@media (min-width: 750px) { .cal-cell { min-height: 5.5rem; padding: 0.4rem 0.5rem; } }
.cal-cell.empty { background: transparent; cursor: default; }
.cal-cell span { font-size: 0.95rem; }
.cal-cell em { display: none; font-style: normal; font-size: 0.8rem; line-height: 1.2; background: var(--fg); color: #fff; padding: 0.1rem 0.3rem; border-radius: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 750px) { .cal-cell em { display: block; } }
.cal-cell.has-event { background: #dfe7e0; }
.cal-cell.has-event span::after { content: ' •'; color: var(--rust); }
@media (min-width: 750px) { .cal-cell.has-event span::after { content: ''; } }
.cal-cell.today span { font-weight: 700; text-decoration: underline; }
.cal-cell:hover:not(.empty) { outline: 1px solid var(--fg); }
.cal-detail { margin-top: 1.25rem; }
.cal-detail h3 { margin-bottom: 0.4rem; }
.cal-detail ul { margin: 0; padding-left: 1.2rem; }
