/* ============================================================
   MANDALA ART — MAIN STYLESHEET
   Palette: #FAF8F4 (bg) · #2C2C2C (text) · #8B7355 (taupe)
            #C4956A (terra) · #4A7C7E (teal)
   Fonts: Cormorant Garamond (headings) · Inter (body)
   ============================================================ */

/* ─── CSS CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  --bg:          #FAF8F4;
  --bg-soft:     #F0EDE7;
  --text:        #2C2C2C;
  --text-muted:  #655c52; /* darkened for WCAG AA contrast against --bg-soft */
  --taupe:       #6a583e; /* darkened for WCAG AA contrast against --bg-soft */
  --terra:       #856038; /* darkened from #C4956A for WCAG AA text contrast on light backgrounds (4.5:1) */
  --terra-on-dark: #C4956A; /* original terra — already 5.2:1 on --text, use for terra text/accents on dark backgrounds */
  --terra-on-dark-soft: #DAB48D; /* lighter terra tint for small text on lighter dark surfaces (e.g. translucent cards) */
  --teal:        #4A7C7E;
  --teal-dark:   #356062;
  --white:       #FFFFFF;
  --border:      #ddd8d0;
  --shadow:      0 4px 24px rgba(44,44,44,0.08);
  --shadow-lg:   0 8px 48px rgba(44,44,44,0.14);
  --radius:      4px;
  --radius-lg:   12px;
  --max-w:       1200px;
  --nav-h:       72px;
  --transition:  0.3s ease;
}

/* ─── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }

p { max-width: 65ch; }

.italic { font-style: italic; }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-center p { margin-inline: auto; }

/* ─── UTILITIES ──────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin-inline: auto; padding-inline: 1.5rem; }

.section { padding-block: 5rem; }
.section--tight { padding-block: 3rem; }

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.btn-primary {
  background: var(--terra);
  color: var(--white);
}
.btn-primary:hover { background: #b07d52; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(196,149,106,0.35); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--text);
}
.btn-secondary:hover { background: var(--text); color: var(--white); }

.btn-teal {
  background: var(--teal);
  color: var(--white);
}
.btn-teal:hover { background: var(--teal-dark); transform: translateY(-1px); }

.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}
.btn-outline-teal:hover { background: var(--teal); color: var(--white); }

.tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 99px;
}

.tag--new { background: var(--terra); color: var(--white); }
.tag--sold { background: var(--text-muted); color: var(--white); }
.tag--collection { background: var(--bg-soft); color: var(--taupe); border: 1px solid var(--border); }

.divider {
  width: 48px;
  height: 2px;
  background: var(--terra);
  margin-block: 1rem;
}
.divider--center { margin-inline: auto; }

/* ─── NAVIGATION ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(250,248,244,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow); }

.nav__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}
.nav__logo span { color: var(--terra); }

.nav__links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav__links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1.5px;
  background: var(--terra);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav__links a:hover, .nav__links a.active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 1rem; }

.nav__cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--text);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background var(--transition);
}
.nav__cart-btn:hover { background: var(--taupe); }

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--terra);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
}
.cart-count[data-count="0"] { display: none; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 99;
}
.nav__mobile a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
}
.nav__mobile a:hover { color: var(--terra); }
.nav__mobile.open { display: flex; }

/* Page offset for fixed nav */
.page-content { padding-top: var(--nav-h); }

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: calc(90vh - var(--nav-h));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
}

.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem 4rem 1.5rem;
  max-width: 600px;
  margin-inline-start: auto;
}

.hero__eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 1rem;
}

.hero__title {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.08;
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__image {
  position: relative;
  overflow: hidden;
}

.hero__painting {
  width: 100%;
  height: 100%;
  min-height: 500px;
  background: radial-gradient(circle at 50% 50%,
    #F4C97A 0%, #C4956A 20%, #8B4513 42%,
    #4A7C7E 65%, #2a5a5c 82%, #1a3a3a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero__painting::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='400' height='400' viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='200' cy='200' r='180' fill='none' stroke='rgba(255,255,255,0.12)' stroke-width='1'/%3E%3Ccircle cx='200' cy='200' r='140' fill='none' stroke='rgba(255,255,255,0.1)' stroke-width='1'/%3E%3Ccircle cx='200' cy='200' r='100' fill='none' stroke='rgba(255,255,255,0.12)' stroke-width='1'/%3E%3Ccircle cx='200' cy='200' r='60' fill='none' stroke='rgba(255,255,255,0.15)' stroke-width='1.5'/%3E%3Ccircle cx='200' cy='200' r='30' fill='none' stroke='rgba(255,255,255,0.2)' stroke-width='2'/%3E%3C/svg%3E") center/cover no-repeat;
}

/* ─── VALUE STRIP ────────────────────────────────────────────── */
.value-strip {
  background: var(--text);
  color: var(--white);
  padding-block: 1.5rem;
}

.value-strip__inner {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.value-item__dot {
  width: 6px;
  height: 6px;
  background: var(--terra);
  border-radius: 50%;
}

/* ─── SECTION HEADERS ────────────────────────────────────────── */
.section-header { margin-bottom: 3rem; }
.section-header.text-center .divider { margin-inline: auto; }
.section-header__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.5rem;
}

/* ─── PAINTING CARDS ─────────────────────────────────────────── */
.paintings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.painting-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.painting-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.painting-card__image {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
}

.painting-card__img-bg {
  width: 100%;
  height: 100%;
  min-height: 260px;
  transition: transform 0.5s ease;
}
.painting-card:hover .painting-card__img-bg { transform: scale(1.04); }

.painting-card__img-photo {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.painting-card:hover .painting-card__img-photo { transform: scale(1.04); }

.painting-card__tags {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.painting-card__body { padding: 1.25rem; }

.painting-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.painting-card__meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.painting-card__inspiration {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.painting-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.painting-card__price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
}

.painting-card__btn {
  padding: 0.55rem 1.1rem;
  font-size: 0.78rem;
}

.painting-card--sold .painting-card__img-bg { filter: grayscale(0.4); }
.painting-card--sold .painting-card__img-photo { filter: grayscale(0.4); }

/* ─── FEATURED SECTION ───────────────────────────────────────── */
.featured { background: var(--bg); }
.featured .section-header { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.featured .section-header__left { margin-bottom: 0; }

/* ─── ABOUT SNIPPET ──────────────────────────────────────────── */
.about-snippet {
  background: var(--bg-soft);
}

.about-snippet__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-snippet__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.about-snippet__img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background: radial-gradient(ellipse at 30% 30%,
    #C4956A 0%, #8B7355 35%, #4A7C7E 70%, #2C2C2C 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.about-snippet__text .section-header { margin-bottom: 1.5rem; }
.about-snippet__text p { margin-bottom: 1.2rem; }
.about-snippet__text p:last-of-type { margin-bottom: 2rem; }

/* ─── PROCESS STRIP ──────────────────────────────────────────── */
.process-strip { background: var(--text); color: var(--white); }

.process-strip__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.process-step { text-align: center; }
.process-step__number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--terra-on-dark);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.75;
}
.process-step h3 { color: var(--white); margin-bottom: 0.75rem; }
.process-step p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-inline: auto; }

/* ─── INSTAGRAM STRIP ────────────────────────────────────────── */
.instagram-strip { background: var(--bg-soft); }
.instagram-strip .section-header { text-align: center; }

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

.instagram-item {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.instagram-item__bg {
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.instagram-item::after {
  content: '♡';
  position: absolute;
  inset: 0;
  background: rgba(44,44,44,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.instagram-item:hover::after { opacity: 1; }
.instagram-item:hover .instagram-item__bg { transform: scale(1.06); }

.instagram-strip__cta { text-align: center; margin-top: 2rem; }
.instagram-strip__handle { color: var(--terra); font-weight: 600; }

/* ─── TESTIMONIALS ───────────────────────────────────────────── */
.testimonials { background: var(--white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  color: var(--terra);
  opacity: 0.2;
  line-height: 1;
}

.testimonial__stars {
  color: var(--terra);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.testimonial__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial__author { font-weight: 600; font-size: 0.85rem; }
.testimonial__location { font-size: 0.8rem; color: var(--text-muted); }

/* ─── NEWSLETTER ─────────────────────────────────────────────── */
.newsletter { background: var(--terra); color: var(--white); text-align: center; }
.newsletter h2, .newsletter p { color: var(--white); }
.newsletter .divider { background: rgba(255,255,255,0.4); margin-inline: auto; }
#newsletter-subtitle { max-width: 480px; margin-inline: auto; }

.newsletter__form {
  display: flex;
  max-width: 480px;
  margin: 2rem auto 0;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.newsletter__input {
  flex: 1;
  padding: 0.9rem 1.25rem;
  border: none;
  outline: none;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--text);
}
.newsletter__btn {
  padding: 0.9rem 1.5rem;
  background: var(--text);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background var(--transition);
  white-space: nowrap;
}
.newsletter__btn:hover { background: #444; }
.newsletter__note { font-size: 0.78rem; color: rgba(255,255,255,0.95); margin-top: 1rem; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--text);
  color: var(--white);
  padding-block: 3.5rem 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.footer__brand-name span { color: var(--terra-on-dark); }
.footer__tagline { font-size: 0.9rem; color: rgba(255,255,255,0.55); margin-bottom: 1.5rem; }

.footer__socials { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.footer__social-link {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: background var(--transition);
}
.footer__social-link:hover { background: var(--terra); }

.footer__col h3 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__col a { font-size: 0.9rem; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer__col a:hover { color: var(--terra); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ─── CART SIDEBAR ───────────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44,44,44,0.5);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  background: var(--bg);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
}
.cart-sidebar.open { transform: translateX(0); }

.cart-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.cart-sidebar__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
}
.cart-close-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: all var(--transition);
}
.cart-close-btn:hover { background: var(--bg-soft); color: var(--text); }

.cart-items { flex: 1; overflow-y: auto; padding: 1.5rem; }

.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
}
.cart-empty__icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.3; }
.cart-empty p { color: var(--text-muted); font-size: 0.9rem; }

.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 1rem;
  align-items: start;
  padding-block: 1rem;
  border-bottom: 1px solid var(--border);
}

.cart-item__img {
  width: 70px; height: 70px;
  border-radius: var(--radius);
  overflow: hidden;
}
.cart-item__img-bg { width: 100%; height: 100%; }

.cart-item__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.cart-item__meta { font-size: 0.78rem; color: var(--text-muted); }
.cart-item__price { font-weight: 600; font-size: 0.95rem; }

.cart-item__remove {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: underline;
  margin-top: 0.4rem;
  display: block;
  cursor: pointer;
}
.cart-item__remove:hover { color: #c00; }

.cart-sidebar__footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.cart-total__label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
}
.cart-total__amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--terra);
}
.cart-region { margin-bottom: 0.75rem; }
.cart-checkout-btn { width: 100%; padding: 1rem; font-size: 0.9rem; border-radius: var(--radius); }
.cart-note { text-align: center; font-size: 0.75rem; color: var(--text-muted); margin-top: 0.75rem; }

/* ─── TOAST NOTIFICATIONS ────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  background: var(--text);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  animation: toastIn 0.3s ease, toastOut 0.3s ease 2.5s forwards;
  white-space: nowrap;
  border-left: 3px solid var(--terra);
}

@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-8px); } }

/* ─── SHOP PAGE ──────────────────────────────────────────────── */
.shop-hero {
  background: var(--bg-soft);
  padding-block: 4rem 3rem;
  text-align: center;
}
.shop-hero p { margin-inline: auto; color: var(--text-muted); }

.shop-filters {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding-block: 1.25rem;
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
}
.filter-toggle-btn {
  display: none;
}

.shop-filters__inner {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: nowrap;
}

.filter-group { display: flex; align-items: center; gap: 0.5rem; }
.filter-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }

.filter-select, .sort-select {
  padding: 0.45rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.82rem;
  color: var(--text);
  background: var(--bg);
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition);
}
.filter-select:focus, .sort-select:focus { border-color: var(--teal); }

.filter-btn {
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--bg);
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--terra);
  color: var(--terra);
  background: rgba(196,149,106,0.06);
}

.shop-filters__sort { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; }

.shop-results-count { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1.5rem; }

.shop-grid-section { padding-block: 3rem; }
.no-results { text-align: center; padding: 4rem; color: var(--text-muted); }

/* ─── ABOUT PAGE ─────────────────────────────────────────────── */
.about-hero {
  background: var(--text);
  color: var(--white);
  padding-block: 5rem;
  text-align: center;
}
.about-hero h1, .about-hero p { color: var(--white); }
.about-hero .divider { background: var(--terra); margin-inline: auto; }

.about-story__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-story__text h2 { margin-bottom: 1rem; }
.about-story__text p { margin-bottom: 1.25rem; color: var(--text-muted); }

.about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about-photo-placeholder {
  width: 100%; height: 100%; min-height: 450px;
  background: linear-gradient(135deg, #C4956A 0%, #8B7355 40%, #4A7C7E 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-align: center;
  flex-direction: column;
  gap: 0.5rem;
}

.about-philosophy { background: var(--bg-soft); }
.about-philosophy blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-style: italic;
  line-height: 1.4;
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
  color: var(--text);
}
.about-philosophy blockquote cite {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--terra);
  margin-top: 1.5rem;
  text-transform: uppercase;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
}
.process-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.process-card__icon { font-size: 2.5rem; margin-bottom: 1rem; }
.process-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.process-card p { font-size: 0.88rem; color: var(--text-muted); margin-inline: auto; }

.about-facts {
  background: var(--text);
  color: var(--white);
}
.about-facts h2 { color: var(--white); text-align: center; margin-bottom: 3rem; }

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}
.fact-item {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}
.fact-item__label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra-on-dark-soft);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.fact-item__value { font-size: 0.95rem; color: rgba(255,255,255,0.8); }

/* ─── CONTACT PAGE ───────────────────────────────────────────── */
.contact-hero {
  background: var(--bg-soft);
  padding-block: 4rem;
  text-align: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form-section h2 { margin-bottom: 0.5rem; }
.contact-form-section > p { color: var(--text-muted); margin-bottom: 2rem; }

.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--teal); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; padding: 1rem; font-size: 0.9rem; margin-top: 0.5rem; }

.contact-info { padding-top: 1rem; }
.contact-info h3 { margin-bottom: 1.5rem; }
.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-block: 1rem;
  border-bottom: 1px solid var(--border);
}
.contact-detail:last-of-type { border-bottom: none; }
.contact-detail__icon { font-size: 1.2rem; margin-top: 0.1rem; }
.contact-detail__text strong { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.2rem; }
.contact-detail__text span { font-size: 0.95rem; }

.contact-socials { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.contact-social-btn {
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 500;
  transition: all var(--transition);
}
.contact-social-btn:hover { border-color: var(--terra); color: var(--terra); }

/* FAQ */
.faq-section { background: var(--bg-soft); }
.faq-section .section-header { text-align: center; }

.faq-grid { max-width: 800px; margin-inline: auto; }

.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
  gap: 1rem;
}
.faq-question:hover { color: var(--terra); }
.faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.faq-item.open .faq-icon { background: var(--terra); border-color: var(--terra); color: var(--white); transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer-inner { padding: 0 1.5rem 1.25rem; font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ─── PAGE HEADER (reusable) ─────────────────────────────────── */
.page-header { background: var(--bg-soft); padding-block: 4rem; text-align: center; }
.page-header p { margin-inline: auto; color: var(--text-muted); }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero__text { max-width: 100%; padding: 4rem 1.5rem 3rem; text-align: center; }
  .hero__ctas { justify-content: center; }
  .hero__image { display: none; }
  .about-snippet__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-snippet__image { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .about-story__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-photo { display: none; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
  .process-strip__inner { grid-template-columns: 1fr; gap: 2rem; }
  /* Keep filters in one row on tablets by hiding labels and tightening selects */
  .filter-label { display: none; }
  .shop-filters__inner { gap: 0.5rem; }
  .filter-select, .sort-select { padding: 0.4rem 0.6rem; font-size: 0.78rem; }
  .filter-btn { padding: 0.4rem 0.65rem; font-size: 0.75rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav__links { display: none; }
  .nav__actions .btn { display: none; }
  .nav__burger { display: flex; }
  .paintings-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  /* Mobile filter toggle */
  .filter-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.65rem 1rem;
    background: var(--bg-soft);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text);
    cursor: pointer;
  }
  .shop-filters__inner {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
  }
  .shop-filters--open .shop-filters__inner {
    display: flex;
  }
  .filter-group {
    flex-wrap: wrap;
    width: 100%;
  }
  .filter-select, .sort-select { width: 100%; }
  .shop-filters__sort { margin-left: 0; width: 100%; }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter__form { flex-direction: column; border-radius: var(--radius); }
  .newsletter__input { border-radius: var(--radius) var(--radius) 0 0; }
  .newsletter__btn { border-radius: 0 0 var(--radius) var(--radius); }
}

@media (max-width: 480px) {
  .paintings-grid { grid-template-columns: 1fr; }
  .section { padding-block: 3.5rem; }
  .hero__title { font-size: 2.4rem; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { text-align: center; }
  .value-strip__inner { gap: 1.5rem; }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   HERO IMAGE — CMS OVERRIDE
   ============================================================ */
.hero__painting--has-image { background: none !important; }
.hero__painting--has-image::after { display: none; }
.hero__painting--has-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.hero__painting-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
  padding: 1.5rem 1.25rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.hero__painting-overlay-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.hero__painting-overlay-title {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero__painting-overlay-price {
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 500;
}
.hero__painting-overlay-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================================
   STUDIO GALLERY — REAL IMAGES + VIDEOS
   ============================================================ */
.instagram-item__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.instagram-item:hover .instagram-item__img { transform: scale(1.06); }

.instagram-item--video { cursor: pointer; }
.instagram-item__play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.25);
  transition: background var(--transition);
}
.instagram-item--video:hover .instagram-item__play-overlay { background: rgba(0,0,0,0.4); }
.instagram-item__play-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.instagram-item__play-icon::after {
  content: '';
  display: block;
  width: 0; height: 0;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent var(--text);
  margin-left: 3px;
}
.instagram-item__caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.instagram-item:hover .instagram-item__caption { opacity: 1; }

/* Video modal */
.video-modal {
  display: none; position: fixed; inset: 0; z-index: 500;
  align-items: center; justify-content: center;
}
.video-modal.open { display: flex; }
.video-modal__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.85);
}
.video-modal__content {
  position: relative; z-index: 1;
  width: min(900px, 90vw);
  aspect-ratio: 16/9;
}
.video-modal__content iframe {
  width: 100%; height: 100%;
  border: none; border-radius: var(--radius-lg);
}
.video-modal__close {
  position: absolute; top: -2.5rem; right: 0;
  background: none; border: none;
  color: white; font-size: 1.5rem;
  cursor: pointer; opacity: 0.8;
}
.video-modal__close:hover { opacity: 1; }

/* ============================================================
   PAINTING CARD LINKS
   ============================================================ */
.painting-card__link {
  display: block; width: 100%; height: 100%;
}
.painting-card__title-link {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
  text-decoration: none;
}
.painting-card__title-link:hover { color: var(--terra); }

/* ============================================================
   PRODUCT PAGE — painting.html
   ============================================================ */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--terra); }
.breadcrumb__sep { margin-inline: 0.5rem; }

.product-detail__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding-block: 4rem;
}
.product-detail__gallery {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

/* Carousel */
.carousel { position: relative; }
.carousel__viewport {
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}
.carousel__track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.carousel__slide { min-width: 100%; aspect-ratio: 1; }
.carousel__slide img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.carousel__slide--gradient {
  width: 100%;
  aspect-ratio: 1;
}
.carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
  border: none; border-radius: 50%;
  cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  transition: background var(--transition), transform var(--transition);
  z-index: 2;
}
.carousel__arrow:hover { background: white; transform: translateY(-50%) scale(1.05); }
.carousel__arrow--prev { left: 0.75rem; }
.carousel__arrow--next { right: 0.75rem; }
.carousel__dots {
  display: flex; justify-content: center; gap: 0.5rem;
  margin-top: 1rem;
}
.carousel__dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid var(--terra); background: transparent;
  cursor: pointer; transition: background var(--transition);
  padding: 0;
}
.carousel__dot.active { background: var(--terra); }

/* Product info */
.product-detail__tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.product-detail__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600; line-height: 1.1;
  margin-bottom: 0.25rem;
}
.product-detail__subtitle {
  font-size: 0.85rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}
.product-detail__price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; font-weight: 600;
  color: var(--terra);
  margin-bottom: 1.5rem;
}
.product-detail__meta-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin-bottom: 1.5rem;
}
.product-detail__meta-item {}
.product-detail__meta-label {
  font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.product-detail__meta-value {
  font-size: 0.95rem; font-weight: 500; color: var(--text);
}
.product-detail__colors { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.product-color-tag {
  padding: 0.25rem 0.75rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 0.78rem;
  text-transform: capitalize;
}
.product-detail__cart-btn { width: 100%; padding: 1rem; font-size: 0.9rem; margin-bottom: 1.5rem; }
.product-detail__divider { border: none; border-top: 1px solid var(--border); margin-block: 1.5rem; }
.product-detail__inspiration-label {
  font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.product-detail__inspiration-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-style: italic;
  line-height: 1.65; color: var(--text);
}

/* Related paintings */
.related-paintings { background: var(--bg-soft); padding-block: 4rem; }
.product-not-found { text-align: center; padding-block: 6rem; }

/* Responsive — product page */
@media (max-width: 1024px) {
  .product-detail__inner { grid-template-columns: 1fr; gap: 2rem; }
  .product-detail__gallery { position: static; }
  .carousel__arrow { width: 36px; height: 36px; font-size: 0.9rem; }
}
@media (max-width: 480px) {
  .product-detail__meta-grid { grid-template-columns: 1fr; }
  .product-detail__title { font-size: 2rem; }
}
