/* ============================================
   ECHOES OF EARTH — Shared Stylesheet
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Inter:wght@300;400;500&display=swap');

/* --- CSS Variables --- */
:root {
  --olive: #6B7F4E;
  --olive-dark: #556640;
  --olive-light: #8A9E6C;
  --cream: #F5F2ED;
  --cream-dark: #EBE6DE;
  --gold: #B8975A;
  --gold-light: #D4B87A;
  --charcoal: #2E2E2C;
  --charcoal-light: #4A4A47;
  --white: #FDFCFA;
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

/* --- Skip Link (Accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 2000;
  background: var(--olive);
  color: var(--cream);
  padding: 12px 24px;
  font-size: 0.85rem;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
}

.skip-link:focus {
  top: 0;
}

/* Product card as link — remove default link styling */
a.product-card {
  color: inherit;
  text-decoration: none;
  display: block;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--charcoal);
  background-color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: 0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: 0.01em; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }

p {
  font-size: 1rem;
  max-width: 640px;
}

.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

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

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

.section--olive h2,
.section--olive h3 {
  color: var(--cream);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 36px;
  border: 1px solid var(--charcoal);
  background: transparent;
  color: var(--charcoal);
  cursor: pointer;
  transition: all var(--transition);
}

.btn:hover {
  background: var(--charcoal);
  color: var(--cream);
}

.btn--light {
  border-color: var(--cream);
  color: var(--cream);
}

.btn--light:hover {
  background: var(--cream);
  color: var(--charcoal);
}

.btn--olive {
  border-color: var(--olive);
  color: var(--olive);
}

.btn--olive:hover {
  background: var(--olive);
  color: var(--cream);
}

.btn--filled {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--cream);
}

.btn--filled:hover {
  background: var(--olive-dark);
  border-color: var(--olive-dark);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253, 252, 250, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(107, 127, 78, 0.1);
  transition: background var(--transition);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charcoal);
  line-height: 1;
}

.site-logo span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--olive);
  margin-top: 2px;
  font-weight: 400;
}

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

.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--olive);
  transition: width var(--transition);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Shop Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  cursor: pointer;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 24px 32px 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 1000;
  width: 600px;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--white);
}

/* Invisible bridge between trigger and menu to prevent hover gap */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 20px;
  display: none;
}

.nav-dropdown:hover::after {
  display: block;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.dropdown-item:hover {
  background: var(--cream);
}

.dropdown-item img {
  width: 100px;
  height: 100px;
  min-width: 100px;
  min-height: 100px;
  max-width: 100px;
  max-height: 100px;
  object-fit: cover;
  border-radius: 50%;
}

.dropdown-item span {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  font-family: var(--font-body);
}

.dropdown-all {
  grid-column: 1 / -1;
  justify-content: center;
  border-top: 1px solid var(--cream);
  margin-top: 4px;
  padding-top: 8px;
  padding-bottom: 0;
}

.dropdown-all span {
  font-size: 0.75rem;
  color: var(--olive);
}

.dropdown-all:hover span {
  color: var(--charcoal);
}

/* Override nav-links a styles for dropdown items */
.nav-links .dropdown-item::after {
  display: none;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  margin: 6px 0;
  transition: all var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  aspect-ratio: 8 / 5;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  margin-top: 72px;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(46, 46, 44, 0.3) 0%,
    rgba(46, 46, 44, 0.15) 40%,
    transparent 70%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 24px;
  padding-top: 6vh;
  max-width: 700px;
}

.hero-content h1 {
  color: var(--white);
  font-weight: 300;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0 auto 36px;
  max-width: 540px;
  color: rgba(253, 252, 250, 0.9);
  text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  margin-top: 72px;
  padding: 60px 0 40px;
  background-color: var(--cream);
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero p {
  margin: 0 auto;
  color: var(--charcoal-light);
  font-size: 1.05rem;
}

/* ============================================
   HOMEPAGE SECTIONS
   ============================================ */

/* The Difference */
.difference {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.difference-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 2px;
}

.difference-text h2 {
  margin-bottom: 24px;
}

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

.difference-text .btn {
  margin-top: 12px;
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(46,46,44,0.6) 0%, rgba(46,46,44,0.05) 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 30px 16px;
  transition: background var(--transition);
}

.category-card:hover .category-card-overlay {
  background: linear-gradient(to top, rgba(46,46,44,0.7) 0%, rgba(46,46,44,0.1) 60%);
}

.category-card-overlay h3 {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Sub-Category Navigation (Rings) */
.subcategory-nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 40px 0;
}

.subcategory-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.subcategory-card:hover {
  transform: translateY(-4px);
}

.subcategory-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--olive-light);
  transition: border-color 0.2s ease;
}

.subcategory-card:hover img {
  border-color: var(--olive);
}

.subcategory-card span {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--charcoal);
  letter-spacing: 0.04em;
}

.subcategory-heading {
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin: 50px 0 24px;
  padding-top: 20px;
  border-top: 1px solid var(--olive-light);
}

.subcategory-section:first-child .subcategory-heading {
  border-top: none;
  margin-top: 20px;
}

.coming-soon {
  font-style: italic;
  color: var(--charcoal-light);
  padding: 40px 0;
  text-align: center;
}

/* Origin Badges */
.origin-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.badge-item {
  text-align: center;
}

.badge-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--cream);
}

.badge-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: brightness(0.45);
}

.badge-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 4px;
}

.section--olive .badge-icon {
  background: rgba(253, 252, 250, 0.15);
}

.badge-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.badge-item p {
  font-size: 0.9rem;
  color: var(--charcoal-light);
  margin: 0 auto;
}

.section--olive .badge-item p {
  color: rgba(245, 242, 237, 0.7);
}

/* Featured image strip */
.featured-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.featured-strip img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 2px;
}

/* ============================================
   OUR STORY
   ============================================ */
.story-section {
  padding: 50px 0;
}

.story-section:nth-child(even) {
  background-color: var(--cream);
}

/* Side-by-side layout for text + image sections */
.story-row {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.story-row--reverse {
  flex-direction: row-reverse;
}

.story-row .story-block {
  flex: 1;
  max-width: none;
  margin: 0;
  padding: 0;
}

.story-row .story-image {
  flex: 0 0 42%;
  margin: 0;
  padding: 0;
}

.story-row .story-image img {
  max-height: none;
  aspect-ratio: 4 / 5;
  min-height: 200px;
}

/* Standalone text/image blocks (no row) */
.story-block {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.story-block p {
  color: var(--charcoal-light);
  margin-bottom: 18px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.story-block p:last-child {
  margin-bottom: 0;
}

.story-image {
  margin: 32px auto;
  max-width: 800px;
  padding: 0 24px;
}

.story-image img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 2px;
}

/* Video section */
.story-video-section {
  padding: 50px 0;
  text-align: center;
  background-color: var(--cream);
}

.story-video-section h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.story-video-section .video-subtitle {
  max-width: 540px;
  margin: 0 auto 36px;
  color: var(--charcoal-light);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.8;
  padding: 0 24px;
}

.story-video-container {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 9 / 16;
  border-radius: 6px;
  overflow: hidden;
  background: var(--charcoal);
  margin: 0 auto;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.story-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-item {
  margin-bottom: 48px;
}

.video-item:last-child {
  margin-bottom: 0;
}

.video-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.video-caption {
  max-width: 480px;
  margin: 0 auto 24px;
  color: var(--charcoal-light);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.7;
}

.story-values {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.story-values ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.story-values li {
  padding-left: 0;
  font-size: 1.02rem;
  color: var(--charcoal-light);
  line-height: 1.7;
}

.story-values li strong {
  color: var(--charcoal);
  font-weight: 500;
}

.story-closing {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.story-closing p {
  margin: 0 auto 18px;
  font-size: 1.05rem;
  color: var(--charcoal-light);
  line-height: 1.8;
}

.story-closing .signature {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--charcoal);
  margin: 24px 0;
}

.story-closing .btn-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

/* Mobile: stack side-by-side layouts */
@media (max-width: 768px) {
  .story-row {
    flex-direction: column;
    gap: 24px;
  }
  .story-row--reverse {
    flex-direction: column;
  }
  .story-row .story-image {
    flex: none;
    width: 100%;
  }
  .story-row .story-image img {
    aspect-ratio: auto;
    max-height: 480px;
    width: 100%;
    object-fit: cover;
  }
  .story-section {
    padding: 36px 0;
  }
}

/* ============================================
   SHOP
   ============================================ */

/* Filters */
.shop-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid var(--cream-dark);
  background: transparent;
  color: var(--charcoal-light);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--olive);
  color: var(--olive);
  background: rgba(107, 127, 78, 0.06);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  cursor: pointer;
  transition: transform var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  margin-bottom: 16px;
  background: var(--cream);
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-img img {
  transform: scale(1.04);
}

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(253, 252, 250, 0.92);
  backdrop-filter: blur(4px);
  padding: 5px 10px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: 2px;
}

.product-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--olive);
}

.product-info {
  text-align: center;
}

.product-info h3 {
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 6px;
}

.product-card-size {
  font-size: 0.8rem;
  color: var(--charcoal-light);
  font-weight: 400;
  margin-bottom: 4px;
  letter-spacing: 0.03em;
}

.product-info .price {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--charcoal-light);
  font-weight: 400;
}

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

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--charcoal-light);
  margin-bottom: 24px;
  font-size: 1.02rem;
  line-height: 1.8;
}

.contact-details {
  margin-top: 36px;
}

.contact-details .detail-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: var(--charcoal-light);
}

.detail-item .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.social-links a {
  width: 44px;
  height: 44px;
  border: 1px solid var(--cream-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
}

.social-links a:hover {
  border-color: var(--olive);
  background: rgba(107, 127, 78, 0.06);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal-light);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  padding: 14px 16px;
  border: 1px solid var(--cream-dark);
  background: var(--white);
  color: var(--charcoal);
  outline: none;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--olive);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form .btn {
  align-self: flex-start;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--charcoal);
  color: rgba(245, 242, 237, 0.6);
  padding: 60px 0 30px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

.footer-brand .site-logo {
  color: var(--cream);
  margin-bottom: 16px;
}

.footer-brand .site-logo span {
  color: var(--olive-light);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 20px;
  font-weight: 400;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 12px;
  color: rgba(245, 242, 237, 0.6);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--cream);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 30px 24px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(245, 242, 237, 0.1);
  text-align: center;
  font-size: 0.8rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-toggle { display: block; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transition: right 0.4s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 0.95rem;
  }

  /* Mobile dropdown */
  .nav-dropdown {
    width: 100%;
    text-align: center;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    width: 100% !important;
    min-width: unset;
    box-shadow: none;
    display: none;
    padding: 8px 0 0 0;
    opacity: 1;
    visibility: visible;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .dropdown-item {
    flex-direction: row;
    padding: 8px;
    gap: 12px;
    justify-content: flex-start;
  }

  .dropdown-item img {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
  }

  .dropdown-all {
    grid-column: unset;
    border-top: none;
    padding-left: 52px;
  }

  .nav-dropdown::after {
    display: none !important;
  }

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

  .hero {
    aspect-ratio: 4 / 3;
    min-height: 480px;
  }

  /* Difference */
  .difference {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .difference-img {
    height: 350px;
    order: 1;
  }
  .difference-text {
    order: 0;
  }

  /* Category Grid */
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* More carousel mobile */
  .more-card {
    width: 160px;
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  /* Sub-category nav mobile */
  .subcategory-nav {
    gap: 20px;
  }

  .subcategory-card img {
    width: 80px;
    height: 80px;
  }

  .subcategory-card span {
    font-size: 0.85rem;
  }

  /* Origin Badges */
  .origin-badges {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Featured strip */
  .featured-strip {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .featured-strip img {
    height: 280px;
  }

  /* Shop */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

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

  .product-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.8rem;
  }
}

/* ============================================
   PRODUCT DETAIL
   ============================================ */
.back-link {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--charcoal-light);
  transition: color var(--transition);
}

.back-link:hover {
  color: var(--olive);
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-detail-img {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.product-detail-img img {
  width: 100%;
  height: auto;
  display: block;
}

.product-detail-info h1 {
  margin-bottom: 12px;
}

.product-detail-price {
  font-size: 1.2rem;
  color: var(--charcoal-light);
  margin-bottom: 16px;
}

.product-detail-sold {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--cream-dark);
  color: var(--charcoal-light);
  padding: 4px 12px;
  margin-left: 8px;
  vertical-align: middle;
}

.product-detail-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--charcoal-light);
  background: var(--cream);
  padding: 6px 14px;
  margin-bottom: 24px;
  border-radius: 2px;
}

.product-detail-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--olive);
}

/* Continue Browsing */
.continue-browsing {
  text-align: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--olive-light);
}

.continue-browsing .back-link {
  font-size: 0.9rem;
  color: var(--olive);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

.continue-browsing .back-link:hover {
  color: var(--charcoal);
}

/* More from Category Carousel */
.more-heading {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.more-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.more-carousel-track {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.more-carousel-track::-webkit-scrollbar {
  display: none;
}

.more-carousel {
  display: flex;
  gap: 24px;
}

.carousel-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--olive-light);
  background: var(--white);
  color: var(--charcoal);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow:hover {
  background: var(--olive);
  color: var(--white);
  border-color: var(--olive);
}

.more-card {
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  width: 220px;
}

.more-card:hover {
  transform: translateY(-4px);
}

.more-card-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 12px;
}

.more-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.more-card:hover .more-card-img img {
  transform: scale(1.05);
}

.more-card h3 {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.more-card p {
  font-size: 0.85rem;
  color: var(--charcoal-light);
}

.product-specs {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0;
}

.product-specs li {
  font-size: 0.9rem;
  line-height: 2;
  color: var(--charcoal);
}

.product-specs li strong {
  color: var(--charcoal);
  font-weight: 600;
  min-width: 140px;
  display: inline-block;
}

.inlay-care-link {
  margin-top: 20px;
}

.inlay-care-link a {
  font-size: 0.85rem;
  color: var(--olive);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color var(--transition);
}

.inlay-care-link a:hover {
  color: var(--charcoal);
  text-decoration: underline;
}

.product-detail-status {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--charcoal-light);
  margin-bottom: 16px;
  font-style: italic;
}

.sold-inquiry {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--olive-light);
}

.sold-inquiry p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--charcoal-light);
  margin-bottom: 20px;
}

.btn--outline {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid var(--olive);
  color: var(--olive);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--transition);
  font-family: var(--font-body);
}

.btn--outline:hover {
  background: var(--olive);
  color: var(--white);
}

.product-detail-desc {
  color: var(--charcoal-light);
  line-height: 1.85;
  margin-top: 28px;
  margin-bottom: 32px;
  font-size: 1.02rem;
}

.product-sold-overlay {
  position: absolute;
  inset: 0;
  background: rgba(253, 252, 250, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-sold-overlay span {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: rgba(253, 252, 250, 0.9);
  padding: 8px 24px;
}

@media (max-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============================================
   POLICY PAGES
   ============================================ */
.policy-nav {
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
  padding: 16px 0;
}

.policy-nav .container {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.policy-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  transition: color var(--transition);
}

.policy-nav a:hover {
  color: var(--olive);
}

.policy-content {
  max-width: 720px;
  margin: 0 auto;
}

.policy-content h2 {
  margin-bottom: 32px;
}

.policy-content h3 {
  font-size: 1.15rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.policy-content p {
  color: var(--charcoal-light);
  margin-bottom: 16px;
  font-size: 1.02rem;
  line-height: 1.85;
}

.policy-content a {
  color: var(--olive);
  text-decoration: underline;
}

.policy-content ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
  padding-left: 20px;
  list-style: disc;
}

.policy-content li {
  font-size: 1.02rem;
  color: var(--charcoal-light);
  line-height: 1.75;
}

/* ============================================
   CUSTOM WORK PAGE
   ============================================ */
.custom-content {
  max-width: 720px;
  margin: 0 auto;
}

.custom-content h2 {
  margin-bottom: 24px;
}

.custom-content p {
  color: var(--charcoal-light);
  margin-bottom: 16px;
  font-size: 1.02rem;
  line-height: 1.85;
}

.custom-content a {
  color: var(--olive);
  text-decoration: underline;
}

.custom-steps {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 16px;
}

.custom-steps li {
  counter-increment: step;
  padding-left: 48px;
  position: relative;
}

.custom-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--olive);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-steps li strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.custom-steps li p {
  color: var(--charcoal-light);
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 0;
}

.custom-notes {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px;
  background: var(--cream);
  border-radius: 2px;
}

.custom-notes p {
  font-size: 0.9rem;
  color: var(--charcoal-light);
  margin-bottom: 8px;
  text-align: left;
}

.custom-notes p:last-child {
  margin-bottom: 0;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--cream-dark);
}

.faq-item summary {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--charcoal);
  padding: 24px 40px 24px 0;
  cursor: pointer;
  position: relative;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--charcoal-light);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item summary:hover {
  color: var(--olive);
}

.faq-answer {
  padding: 0 0 24px;
}

.faq-answer p {
  color: var(--charcoal-light);
  font-size: 1.02rem;
  line-height: 1.85;
}

.faq-answer a {
  color: var(--olive);
  text-decoration: underline;
}

/* --- Animations / Fade-in --- */
/* Content is visible by default; JS adds .fade-ready to body to enable animations */
.fade-ready .fade-in {
  opacity: 1;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-ready .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
