/* ============================================================
   Affinity Crystals — Shared Stylesheet
   Palette: warm white + pastels, cozy, clean
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=DM+Sans:wght@300;400;500&display=swap');

/* --- Tokens --- */
:root {
  --white:       #FFFFFF;
  --bg:          #FDFCFB;
  --bg-pink:     #FFF5F7;
  --bg-lavender: #F7F4FF;
  --bg-sage:     #F3F8F3;
  --bg-peach:    #FFF8F3;

  --pastel-pink:     #F2C4CE;
  --pastel-lavender: #C9C0E8;
  --pastel-sage:     #B5CEBA;
  --pastel-peach:    #F5D0B5;

  --accent:      #C2967A;   /* warm rose-terracotta */
  --accent-dark: #A07560;

  --text:        #2E2626;
  --text-mid:    #6B5C5C;
  --text-light:  #A89090;
  --border:      #EDE4E0;

  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   24px;

  --shadow-sm:   0 2px 8px rgba(180,140,130,0.10);
  --shadow-md:   0 6px 24px rgba(180,140,130,0.14);
  --shadow-lg:   0 12px 40px rgba(180,140,130,0.16);

  --font-head:   'Fraunces', Georgia, serif;
  --font-body:   'DM Sans', system-ui, sans-serif;

  --nav-h:       68px;
  --max-w:       1200px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p  { color: var(--text-mid); }

@media (max-width: 600px) {
  body { font-size: 15.5px; line-height: 1.58; }
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* --- Layout helpers --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav__logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pastel-lavender), var(--pastel-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent-dark);
  flex-shrink: 0;
  overflow: hidden;
}
.nav__logo img { width: 100%; height: 100%; object-fit: cover; }
.nav__name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .nav__name { font-size: 1.1rem; }
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav__link:hover, .nav__link.active {
  color: var(--text);
  background: var(--bg-pink);
}
/* Shop dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 180px;
  padding: 8px 0;
  z-index: 200;
}
.nav__dropdown:hover .nav__dropdown-menu { display: block; }
.nav__dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.88rem;
  color: var(--text-mid);
  transition: background 0.15s, color 0.15s;
}
.nav__dropdown-menu a:hover { background: var(--bg-pink); color: var(--text); }
.nav__cta {
  background: var(--accent-dark);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px rgba(160,117,96,0.35);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.nav__cta:hover {
  background: #8A6050 !important;
  color: var(--white) !important;
  box-shadow: 0 4px 16px rgba(160,117,96,0.45);
  transform: translateY(-1px);
}

/* Cart icon */
.nav__cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--text-mid);
  transition: color 0.2s, background 0.2s;
  margin-left: 4px;
  flex-shrink: 0;
}
.nav__cart:hover { color: var(--text); background: var(--bg-pink); }
.nav__cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 500;
  font-family: var(--font-body);
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  padding: 24px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding: 14px 16px;
  font-size: 1.05rem;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--border);
}
.nav__mobile a:hover { background: var(--bg-pink); color: var(--text); }
.nav__mobile .sub { padding-left: 32px; font-size: 0.95rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
}
.btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn--outline:hover { background: var(--accent); color: var(--white); }
.btn--ghost {
  background: transparent;
  color: var(--text-mid);
  border: 2px solid var(--border);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-card__img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg-pink) 0%, var(--bg-lavender) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.product-card__img-placeholder {
  font-size: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card__img-placeholder::before {
  content: '';
  display: block;
  width: 48px;
  height: 48px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='24%2C4 44%2C20 36%2C44 12%2C44 4%2C20' stroke='%23A07560' stroke-width='1.5' fill='none'/%3E%3Cline x1='4' y1='20' x2='44' y2='20' stroke='%23A07560' stroke-width='1.5'/%3E%3Cline x1='24' y1='4' x2='12' y2='44' stroke='%23A07560' stroke-width='1' stroke-opacity='0.5'/%3E%3Cline x1='24' y1='4' x2='36' y2='44' stroke='%23A07560' stroke-width='1' stroke-opacity='0.5'/%3E%3C%2Fsvg%3E") center/contain no-repeat;
  opacity: 0.3;
}
.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--white);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: uppercase;
}
.product-card__body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-card__name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--text);
}
.product-card__desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
  flex: 1;
}
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}
.product-card__price {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
}
.product-card__btn {
  background: var(--accent-dark);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(160,117,96,0.25);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.product-card__btn:hover {
  background: #8A6050;
  box-shadow: 0 4px 12px rgba(160,117,96,0.35);
  transform: translateY(-1px);
}

/* ============================================================
   CATEGORY FILTER BAR
   ============================================================ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-mid);
  background: var(--white);
  border: 1.5px solid var(--border);
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--pastel-lavender); color: var(--text); }
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  font-weight: 500;
}

/* Nav search toggle */
.nav__search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--text-mid);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.nav__search-toggle:hover,
.nav__search-toggle.active { color: var(--text); background: var(--bg-pink); }

/* Nav search panel */
.nav__search-panel {
  position: sticky;
  top: var(--nav-h);
  z-index: 99;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 14px 0;
}
.nav__search-panel__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border: 1.5px solid var(--pastel-lavender);
  border-radius: var(--radius-md);
  padding: 10px 16px;
}
.nav__search-panel__input {
  flex: 1;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  outline: none;
}
.nav__search-panel__input::placeholder { color: var(--text-light); }
.nav__search-panel__go {
  padding: 6px 18px;
  background: var(--accent-dark);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav__search-panel__go:hover { background: #8A6050; }
.nav__search-panel__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--text-light);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
}
.nav__search-panel__close:hover { color: var(--text); background: var(--bg-pink); }

/* Search tab button */
.filter-btn--search {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.filter-btn--search.active {
  background: var(--bg-lavender);
  border-color: var(--pastel-lavender);
  color: var(--text);
  font-weight: 400;
}

/* Search bar */
.search-bar {
  margin-bottom: 28px;
}
.search-bar__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1.5px solid var(--pastel-lavender);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  box-shadow: var(--shadow-sm);
}
.search-bar__input {
  flex: 1;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
}
.search-bar__input::placeholder { color: var(--text-light); }
.search-bar__clear {
  color: var(--text-light);
  display: flex;
  align-items: center;
  padding: 2px;
  border-radius: 4px;
  transition: color 0.15s;
}
.search-bar__clear:hover { color: var(--text); }
.search-bar__count {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 8px;
  padding-left: 4px;
}

/* Sold out */
.product-card--sold-out { opacity: 0.6; }
.product-card--sold-out .product-card__img::after {
  content: 'Sold Out';
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--text);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}
.btn-add-to-cart:disabled {
  background: var(--border);
  color: var(--text-light);
  cursor: not-allowed;
  box-shadow: none;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: calc(92vh - var(--nav-h));
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--bg-pink) 0%, var(--white) 45%, var(--bg-lavender) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--pastel-pink) 0%, transparent 70%);
  opacity: 0.35;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--pastel-lavender) 0%, transparent 70%);
  opacity: 0.3;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.hero__tagline {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero__title { margin-bottom: 20px; }
.hero__title em {
  font-style: italic;
  color: var(--accent);
}
.hero__sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__visual {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
}
.hero__visual-cell {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.hero__visual-cell--photo {
  position: relative;
  border-radius: 0;
  overflow: visible;
  /* Rustic wood frame wraps the photo, masking all four straight edges.
     border-image slices the wood border and the photo shows through. */
  border-style: solid;
  border-width: 22px 26px;
  border-image-source: url("../images/woodframe.png");
  border-image-slice: 51 58 50 58;
  border-image-repeat: stretch;
}
.hero__visual-cell--photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}
.hero__visual-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px;
}
.hero__visual-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero__visual-year {
  font-family: var(--font-head);
  font-size: 3rem;
  color: var(--text);
  line-height: 1;
  margin: 4px 0;
}
.hero__visual-tagline {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light);
}
.hero__visual-zh {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--text);
  letter-spacing: 0.15em;
}

/* ============================================================
   CATEGORY SHOWCASE (homepage)
   ============================================================ */
.categories { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.category-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  position: relative;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.category-card__bg {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.category-card--carved   .category-card__bg { background: linear-gradient(160deg, #F7E8F0, #EDD5E3); }
.category-card--polished .category-card__bg { background: linear-gradient(160deg, #E8EFF7, #D5E3ED); }
.category-card--acc      .category-card__bg { background: linear-gradient(160deg, #F7F0E8, #EDE3D5); }
.category-card--raw      .category-card__bg { background: linear-gradient(160deg, #EAF0E8, #D5EDD8); }
.category-card--wholesale .category-card__bg { background: linear-gradient(160deg, #F0E8F7, #E3D5ED); }
.category-card--wellness .category-card__bg { background: linear-gradient(160deg, #EEF0F7, #D8D5ED); }
.category-card__bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.category-card__label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 14px 14px;
  background: linear-gradient(transparent, rgba(255,255,255,0.92));
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--text);
  text-align: center;
}

/* ============================================================
   ABOUT STRIP (homepage)
   ============================================================ */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-strip__img {
  aspect-ratio: 4/5;
  position: relative;
  overflow: visible;
  border-style: solid;
  border-width: 22px 26px;
  border-image-source: url("../images/woodframe.png");
  border-image-slice: 51 58 50 58;
  border-image-repeat: stretch;
}
.about-strip__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.about-strip__text h2 { margin-bottom: 16px; }
.about-strip__text p { margin-bottom: 14px; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.trust-item__icon { display: flex; align-items: center; justify-content: center; height: 28px; }
.trust-item__title { font-size: 0.88rem; font-weight: 500; color: var(--text); }
.trust-item__sub   { font-size: 0.78rem; color: var(--text-light); }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  position: relative;
  overflow: hidden;
  padding: 76px 24px 64px;
  text-align: center;
  background:
    radial-gradient(circle at 86% 16%, var(--pastel-pink) 0%, transparent 36%),
    radial-gradient(circle at 10% 92%, var(--pastel-lavender) 0%, transparent 42%),
    linear-gradient(135deg, var(--bg-pink) 0%, var(--bg-lavender) 100%);
}
/* Faint flower-of-life motif — echoes the logo, adds depth */
.page-header::after {
  content: '';
  position: absolute;
  top: 50%; right: -80px;
  transform: translateY(-50%);
  width: 320px; height: 320px;
  opacity: 0.10;
  pointer-events: none;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23C2967A' stroke-width='1.1'><circle cx='100' cy='100' r='68'/><circle cx='100' cy='100' r='34'/><circle cx='100' cy='66' r='34'/><circle cx='100' cy='66' r='34' transform='rotate(60 100 100)'/><circle cx='100' cy='66' r='34' transform='rotate(120 100 100)'/><circle cx='100' cy='66' r='34' transform='rotate(180 100 100)'/><circle cx='100' cy='66' r='34' transform='rotate(240 100 100)'/><circle cx='100' cy='66' r='34' transform='rotate(300 100 100)'/></svg>") center/contain no-repeat;
}
.page-header > * { position: relative; z-index: 1; }
.page-header h1 { margin-bottom: 10px; }
.page-header p  { font-size: 1.05rem; color: var(--text-mid); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
}
.value-card__icon { display: flex; align-items: center; justify-content: center; height: 36px; margin-bottom: 12px; }
.value-card h4 { font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 8px; }
.value-card p { font-size: 0.88rem; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
}
.contact-card h3 { font-family: var(--font-head); font-size: 1.4rem; margin-bottom: 16px; }
.contact-card p  { font-size: 0.92rem; margin-bottom: 20px; }

.paynow-box {
  background: var(--bg-lavender);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin-bottom: 20px;
}
.paynow-box__qr {
  width: 140px;
  height: 140px;
  background: var(--white);
  border-radius: var(--radius-sm);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--text-light);
  border: 1px solid var(--border);
}
.paynow-box__label { font-size: 0.88rem; color: var(--text-mid); }
.paynow-box__label strong { color: var(--text); font-weight: 500; }

.enquiry-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 500; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 110px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer__brand p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-top: 10px;
  max-width: 260px;
  line-height: 1.7;
}
.footer__brand .tagline {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1rem;
  color: var(--accent);
  margin-top: 6px;
}
.footer__col h5 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 14px;
}
.footer__col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-light);
  flex-wrap: wrap;
  gap: 8px;
}
.footer__social { display: flex; gap: 14px; }
.footer__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--accent);
  transition: background 0.2s;
}
.footer__social a:hover { background: var(--accent); color: var(--white); }

/* ============================================================
   NEWSLETTER BANNER
   ============================================================ */
.newsletter {
  background: linear-gradient(135deg, var(--bg-pink) 0%, var(--bg-lavender) 100%);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  text-align: center;
}
.newsletter h2 { margin-bottom: 10px; }
.newsletter p  { margin-bottom: 28px; }
.newsletter__form {
  display: flex;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter__form input {
  flex: 1;
  min-width: 220px;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  background: var(--white);
}
.newsletter__form input:focus { border-color: var(--accent); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.testimonial-card__stars {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 2px;
}
.testimonial-card__quote {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  flex: 1;
}
.testimonial-card__author {
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.testimonial-card__author::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--border);
}
.testimonials-cta {
  text-align: center;
  margin-top: 32px;
  font-size: 0.88rem;
  color: var(--text-light);
}
.testimonials-cta a { color: var(--accent); text-decoration: underline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .hero { min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__sub { max-width: 100%; }
  /* Keep the hero photo on mobile — placed below the text — so the
     pale gradient never reads as empty. Constrained height + dissolve. */
  .hero__visual { max-width: 320px; margin: 0 auto; width: 100%; }
  .hero__visual-cell { aspect-ratio: 3/4; }
  .hero__visual-cell--photo { border-width: 18px 22px; }

  .about-strip { grid-template-columns: 1fr; }
  .about-strip__img { aspect-ratio: 16/9; }

  .trust-bar__inner { grid-template-columns: 1fr 1fr; }

  .footer__grid { grid-template-columns: 1fr 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
  .categories { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero__inner { padding: 56px 24px; }
  .trust-bar__inner { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .newsletter { padding: 36px 24px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-card__body { padding: 14px 14px 16px; }
  .product-card__desc { font-size: 0.8rem; }
  .product-card__footer { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 12px; }
  .product-card__btn { width: 100%; text-align: center; padding: 9px 12px; }
  .categories { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   FLOATING ENQUIRE BUTTON
   ============================================================ */
.fab-enquire {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-dark);
  color: var(--white);
  border-radius: 50px;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(160,117,96,0.45);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  border: none;
}
.fab-enquire:hover {
  background: #8A6050;
  box-shadow: 0 6px 28px rgba(160,117,96,0.55);
  transform: translateY(-2px);
}
.fab-enquire__icon { display: flex; align-items: center; justify-content: center; }
/* Pulse ring to draw the eye */
.fab-enquire::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50px;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: fab-pulse 2.8s ease-out infinite;
}
@keyframes fab-pulse {
  0%   { opacity: 0.6; transform: scale(1); }
  70%  { opacity: 0;   transform: scale(1.12); }
  100% { opacity: 0;   transform: scale(1.12); }
}
/* Collapse to icon-only on small screens */
@media (max-width: 600px) {
  .fab-enquire {
    bottom: 20px;
    right: 20px;
    padding: 14px 16px;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    justify-content: center;
  }
  .fab-enquire__label { display: none; }
}

/* ============================================================
   INSTAGRAM FEED
   ============================================================ */
.ig-skeleton {
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, var(--border) 25%, var(--bg-pink) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  aspect-ratio: 4/5;
  min-height: 260px;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card__header {
  padding: 36px 32px 28px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, var(--bg-pink) 0%, var(--bg-lavender) 100%);
}
.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
}
.service-card__name {
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--text);
  margin-bottom: 6px;
}
.service-card__tagline { font-size: 0.88rem; color: var(--text-light); font-style: italic; }
.service-card__body { padding: 28px 32px; }
.service-card__body p { font-size: 0.92rem; margin-bottom: 14px; }
.service-card__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0 24px;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  font-size: 0.85rem;
}
.service-card__meta-row { display: flex; justify-content: space-between; color: var(--text-mid); }
.service-card__meta-row strong { color: var(--text); font-weight: 500; }

/* ============================================================
   SOCIAL QR CODES
   ============================================================ */
.social-qr-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 16px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 760px) { .social-qr-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 420px) { .social-qr-grid { grid-template-columns: repeat(2, 1fr); } }
.social-qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.social-qr-item img {
  width: 100%;
  max-width: 110px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.social-qr-item span { font-size: 0.8rem; color: var(--text-mid); font-weight: 500; }

/* ============================================================
   UTILITY
   ============================================================ */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.gap-16 { gap: 16px; }
.flex   { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
