/* Sino Maison — Premium Home Products */
:root {
  --teal: #1a4a4a;
  --teal-mid: #2a6b6b;
  --teal-soft: #3d8a8a;
  --gold: #c4a574;
  --gold-light: #d4bc94;
  --cream: #f7f3ec;
  --cream-dark: #ebe4d8;
  --white: #ffffff;
  --charcoal: #2c2c2c;
  --text: #3a3a3a;
  --text-light: #6b6b6b;
  --border: #e5ddd0;
  --shadow: 0 8px 32px rgba(26, 74, 74, 0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none !important;
  line-height: 1.15;
}

.logo-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--teal) !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo-tag {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold) !important;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav a:hover,
.nav a.active { color: var(--teal); }

.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 0.85rem !important;
}

.nav-cta:hover { background: var(--teal-mid) !important; color: var(--white) !important; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--teal);
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, #1a4a4a 0%, #0f3333 55%, #1a3d3d 100%);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(196, 165, 116, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(61, 138, 138, 0.15) 0%, transparent 45%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; padding: 100px 0 80px; max-width: 680px; }

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.6rem, 5.5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 22px;
  color: var(--white);
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none !important;
}

.btn-primary {
  background: var(--gold);
  color: var(--teal) !important;
}

.btn-primary:hover { background: var(--gold-light); color: var(--teal) !important; }

.btn-outline {
  background: transparent;
  color: var(--white) !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold) !important;
}

.btn-dark {
  background: var(--teal);
  color: var(--white) !important;
}

.btn-dark:hover { background: var(--teal-mid); color: var(--white) !important; }

.btn-outline-dark {
  background: transparent;
  color: var(--teal) !important;
  border: 1px solid var(--teal);
}

.btn-outline-dark:hover {
  background: var(--teal);
  color: var(--white) !important;
}

/* Sections */
.section { padding: 90px 0; }

.section-cream { background: var(--cream); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 14px;
}

.section-header p { color: var(--text-light); }

/* Category cards */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.cat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none !important;
  color: inherit;
  display: block;
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.cat-card-img {
  height: 200px;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-card-body { padding: 22px 24px 26px; }

.cat-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  color: var(--teal);
  margin-bottom: 6px;
}

.cat-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.cat-card .link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-transform: uppercase;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.feature h3 {
  font-size: 1.05rem;
  color: var(--teal);
  margin-bottom: 8px;
  font-weight: 600;
}

.feature p { font-size: 0.92rem; color: var(--text-light); }

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 14px;
  border: 1px solid var(--border);
}

/* Product gallery */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.product-card:hover { box-shadow: var(--shadow); }

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #faf8f5;
  padding: 12px;
}

.product-card-body { padding: 16px 18px 20px; }

.product-card h3 {
  font-size: 1rem;
  color: var(--teal);
  margin-bottom: 4px;
  font-weight: 600;
}

.product-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.5;
}

.product-sku {
  color: var(--gold);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

/* Catalog page gallery */
.catalog-pages {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.catalog-page {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.catalog-page img { width: 100%; }

.catalog-page-cap {
  padding: 12px 18px;
  font-size: 0.85rem;
  color: var(--text-light);
  background: var(--cream);
  border-top: 1px solid var(--border);
}

/* Page hero */
.page-hero {
  background: var(--teal);
  color: var(--white);
  padding: 72px 0 56px;
  text-align: center;
}

.page-hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto;
}

/* Content */
.content-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.content-wrap h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  color: var(--teal);
  margin: 36px 0 14px;
  font-weight: 500;
}

.content-wrap p { margin-bottom: 16px; color: var(--text); }

.content-wrap ul {
  margin: 0 0 20px 1.2rem;
  color: var(--text);
}

.content-wrap li { margin-bottom: 8px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.1rem;
  color: var(--teal);
  margin-bottom: 8px;
}

.contact-info p { color: var(--text-light); margin-bottom: 20px; }

.contact-info a.email {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--teal);
}

.form-note {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}

.form-note p { margin-bottom: 12px; font-size: 0.95rem; }

/* CTA band */
.cta-band {
  background: var(--teal);
  text-align: center;
  padding: 72px 0;
  color: var(--white);
}

.cta-band h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
  margin: 0 auto 28px;
}

/* Footer */
.footer {
  background: #122e2e;
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer .logo-name { color: var(--white) !important; }
.footer .logo-tag { color: var(--gold) !important; }

.footer-brand p {
  font-size: 0.88rem;
  margin-top: 14px;
  max-width: 280px;
  line-height: 1.6;
}

.footer h4 {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Coming soon badge */
.badge-soon {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--cream);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 3px;
  font-weight: 600;
  border: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 28px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-inner { padding: 72px 0 56px; }
}

/* ========== Collections dropdown (desktop + mobile) ========== */
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav > a,
.nav > .nav-dropdown {
  flex-shrink: 0;
}
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Invisible hover bridge prevents accidental close between trigger and menu. */
.nav-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
  background: transparent;
}
.nav-dropdown-menu {
  margin-top: 8px;
}
.nav-dropdown-trigger {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  white-space: nowrap;
}
.nav-caret {
  font-size: 0.65em;
  line-height: 1;
  opacity: 0.75;
}
/* Dropdown: keep a continuous hover path from trigger to menu.
   The previous 6px gap caused the menu to disappear while the pointer
   moved down to the first option. */
.nav-dropdown-menu {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  padding: 8px 0;
  margin: 0;
  background: #ffffff;
  border: 1px solid #e5e0d8;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(26, 74, 74, 0.14);
  z-index: 200;
  flex-direction: column;
}
.nav-dropdown-menu a {
  display: block !important;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 18px !important;
  margin: 0 !important;
  color: #1a4a4a !important;
  font-size: 0.9rem !important;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  background: transparent !important;
  border-radius: 0 !important;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: #f7f3ec !important;
  color: #1a4a4a !important;
}
/* Show only on hover (desktop) or .open (mobile tap) */
.nav-dropdown:hover > .nav-dropdown-menu,
.nav-dropdown.open > .nav-dropdown-menu {
  display: flex !important;
}

/* ========== Sticky collection switcher ========== */
.collection-bar {
  background: #f7f3ec;
  border-bottom: 1px solid #e5e0d8;
  padding: 10px 0;
  position: sticky;
  top: 80px;
  z-index: 40;
}
.collection-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  align-items: center;
}
.collection-bar a {
  font-size: 0.8rem;
  font-weight: 500;
  color: #1a4a4a;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  background: transparent;
}
.collection-bar a:hover {
  border-color: #e5e0d8;
  background: #fff;
}
.collection-bar a.active {
  background: #1a4a4a;
  color: #fff !important;
  border-color: #1a4a4a;
}

@media (max-width: 900px) {
  .nav-dropdown {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .nav-dropdown-menu {
    position: static !important;
    margin-top: 0;
    min-width: 0;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 4px 0 4px 12px;
    background: transparent;
  }
  .nav-dropdown:hover > .nav-dropdown-menu {
    display: none !important; /* mobile uses tap .open only */
  }
  .nav-dropdown.open > .nav-dropdown-menu {
    display: flex !important;
  }
  .collection-bar { top: 60px; }
}
