/* ============================================================
   KnotCraft — Global Stylesheet
   Crafted Knots. Curated Floors.
   
   Color Palette:
     --bg-light   : #D5C2AC  (Light Sand)
     --bg-warm    : #A38D77  (Muted Warm Beige)
     --text-dark  : #090707  (Almost Black)
     --accent-1   : #323B42  (Dark Slate Gray)
     --accent-2   : #271A12  (Very Dark Brown)
   
   Typography:
     Headings : Playfair Display / Montserrat
     Body     : Inter
   ============================================================ */

/* ----------------------------
   CSS Custom Properties
   ---------------------------- */
:root {
  --bg-light: #D5C2AC;
  --bg-warm: #A38D77;
  --text-dark: #090707;
  --accent-1: #323B42;
  --accent-2: #271A12;
  --white: #ffffff;

  --radius: 12px;
  --radius-lg: 18px;
  --container-max: 1200px;
  --container-wide: 1400px;
  --nav-height: 72px;

  --shadow-soft: 0 6px 18px rgba(9, 7, 7, 0.08);
  --shadow-strong: 0 20px 40px rgba(9, 7, 7, 0.12);
  --shadow-card: 0 4px 12px rgba(9, 7, 7, 0.06);

  --transition-fast: 0.2s ease;
  --transition-med: 0.35s ease;
  --transition-slow: 0.5s ease;
}

/* ----------------------------
   Base / Reset
   ---------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--accent-1); }
button { font-family: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Montserrat', Georgia, serif;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

/* ----------------------------
   Utility Classes
   ---------------------------- */
.container { width: 92%; max-width: var(--container-max); margin: 0 auto; }
.container--wide { max-width: var(--container-wide); }
.visually-hidden {
  position: absolute !important; height: 1px; width: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.section-padding { padding: 60px 0; }
.section-padding--lg { padding: 80px 0; }
.text-center { text-align: center; }

.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: rgba(9, 7, 7, 0.7);
  max-width: 560px;
  line-height: 1.65;
}

/* ----------------------------
   Buttons
   ---------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  text-align: center;
  line-height: 1;
}

.btn-primary {
  background: var(--accent-1);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-strong);
}

.btn-secondary {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid rgba(9, 7, 7, 0.15);
}
.btn-secondary:hover {
  border-color: var(--accent-1);
  color: var(--accent-1);
}

.btn-white {
  background: var(--white);
  color: var(--text-dark);
  box-shadow: var(--shadow-soft);
}
.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-1px);
}

.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ----------------------------
   Header / Navigation
   Sticky, glassmorphism effect
   ---------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(1.1) blur(12px);
  -webkit-backdrop-filter: saturate(1.1) blur(12px);
  background: rgba(213, 194, 172, 0.88);
  border-bottom: 1px solid rgba(9, 7, 7, 0.06);
  transition: background var(--transition-med);
}

.nav-inner {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.logo {
  font-family: 'Playfair Display', 'Montserrat', serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 1.25rem;
  color: var(--text-dark);
}
.logo a { color: inherit; }
.tagline {
  font-size: 0.72rem;
  color: rgba(9, 7, 7, 0.55);
  font-weight: 500;
  display: none;
}

/* Primary Navigation */
.primary-nav { display: none; }
.primary-nav ul {
  display: flex;
  gap: 28px;
  font-weight: 600;
  font-size: 0.9rem;
}
.primary-nav a {
  position: relative;
  padding: 4px 0;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-2);
  transition: width var(--transition-med);
}
.primary-nav a:hover::after,
.primary-nav a.active::after { width: 100%; }

/* Header actions (search, cart, hamburger) */
.header-actions { display: flex; gap: 6px; align-items: center; }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  transition: background var(--transition-fast);
}
.icon-btn:hover { background: rgba(9, 7, 7, 0.06); }

/* Hamburger Menu Button */
.hamburger { display: flex; }
.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-dark);
  transition: all var(--transition-fast);
}
.hamburger-inner {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(9, 7, 7, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-med);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }

.mobile-menu-panel {
  position: absolute;
  right: 0;
  top: 0;
  width: 85%;
  max-width: 380px;
  height: 100%;
  background: var(--bg-light);
  padding: 28px;
  transform: translateX(100%);
  transition: transform var(--transition-med);
  overflow-y: auto;
}
.mobile-menu.is-open .mobile-menu-panel { transform: translateX(0); }

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.mobile-nav-links { display: flex; flex-direction: column; gap: 0; }
.mobile-nav-links a {
  display: block;
  padding: 16px 0;
  font-family: 'Playfair Display', 'Montserrat', serif;
  font-size: 1.3rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(9, 7, 7, 0.08);
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 7, 7, 0.6);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 120px 24px 24px;
  z-index: 150;
}
.search-overlay.is-open { display: flex; }
.search-box {
  width: 100%;
  max-width: 680px;
  background: var(--bg-light);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  animation: slideDown 0.3s ease;
}
.search-box input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid rgba(9, 7, 7, 0.1);
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  outline: none;
  transition: border-color var(--transition-fast);
}
.search-box input:focus { border-color: var(--accent-1); }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ----------------------------
   Hero Section
   ---------------------------- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(9, 7, 7, 0.55) 0%,
    rgba(9, 7, 7, 0.25) 50%,
    rgba(39, 26, 18, 0.15) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  max-width: 640px;
  padding: 40px 0;
}
.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.05;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Mini hero for subpages */
.hero--mini {
  min-height: 40vh;
  text-align: center;
}
.hero--mini .hero-content { max-width: 700px; margin: 0 auto; }
.hero--mini .hero-title { font-size: clamp(1.8rem, 4.5vw, 3rem); }

/* ----------------------------
   Featured Categories Grid
   ---------------------------- */
.categories-section { padding: 70px 0; }
.categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 28px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  cursor: pointer;
  transition: transform var(--transition-med);
}
.cat-card:hover { transform: scale(1.01); }
.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform var(--transition-slow);
}
.cat-card:hover img { transform: scale(1.06); }
.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 7, 7, 0.02) 0%, rgba(9, 7, 7, 0.55) 100%);
  z-index: 2;
}
.cat-card-content {
  position: relative;
  z-index: 3;
  color: var(--white);
}
.cat-card-content h3 {
  font-size: 1.35rem;
  margin: 0 0 4px;
}
.cat-card-content p {
  font-size: 0.85rem;
  opacity: 0.85;
  margin: 0;
}

/* ----------------------------
   Product Cards (Reusable)
   ---------------------------- */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}
.product-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.product-card:hover .product-card-media img { transform: scale(1.05); }
.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent-2);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-card-body { padding: 16px; }
.product-card-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 6px;
  line-height: 1.3;
}
.product-card-price {
  font-weight: 700;
  color: var(--accent-2);
  font-size: 1rem;
}
.product-card-colors {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(9, 7, 7, 0.1);
  cursor: pointer;
  transition: border-color var(--transition-fast);
}
.color-dot:hover,
.color-dot.active { border-color: var(--accent-1); }

/* ----------------------------
   Bestsellers Carousel
   ---------------------------- */
.carousel-section { padding: 60px 0; }
.carousel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}
.carousel-controls { display: none; gap: 8px; }
.carousel-controls .icon-btn {
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.carousel-controls .icon-btn:hover { background: var(--accent-1); color: var(--white); }

.products-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.products-track::-webkit-scrollbar { display: none; }
.products-track .product-card {
  min-width: 260px;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

/* ----------------------------
   Craftsmanship / Story Teaser
   (Homepage split section)
   ---------------------------- */
.craft-section { padding: 80px 0; background: rgba(163, 141, 119, 0.08); }
.craft-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.craft-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}
.craft-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.craft-content h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 16px;
}
.craft-content p {
  color: rgba(9, 7, 7, 0.8);
  line-height: 1.75;
  margin-bottom: 12px;
}
.craft-features {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.craft-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.craft-feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: rgba(50, 59, 66, 0.08);
  display: grid;
  place-items: center;
  color: var(--accent-1);
}
.craft-feature strong { display: block; font-size: 0.9rem; margin-bottom: 2px; }
.craft-feature span { font-size: 0.85rem; color: rgba(9, 7, 7, 0.65); }

/* ----------------------------
   Trust / Social Proof Bar
   ---------------------------- */
.trust-bar { padding: 50px 0; text-align: center; }
.trust-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}
.trust-stat { padding: 20px; }
.trust-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--accent-2);
  line-height: 1;
  margin-bottom: 6px;
}
.trust-stat-label {
  font-size: 0.85rem;
  color: rgba(9, 7, 7, 0.6);
  font-weight: 500;
}

/* ----------------------------
   Newsletter Section
   ---------------------------- */
.newsletter-section {
  padding: 60px 0;
  background: var(--accent-2);
  color: var(--white);
  text-align: center;
}
.newsletter-section h2 { color: var(--white); }
.newsletter-section p { color: rgba(255, 255, 255, 0.75); }
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 24px auto 0;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 10px;
  border: none;
  font-size: 0.95rem;
  font-family: inherit;
}
.newsletter-form button {
  padding: 14px 24px;
  border-radius: 10px;
  background: var(--bg-warm);
  color: var(--white);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.newsletter-form button:hover { background: var(--bg-light); color: var(--text-dark); }

/* ----------------------------
   Footer
   ---------------------------- */
.site-footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.footer-brand .logo { color: var(--white); font-size: 1.3rem; }
.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-top: 8px;
  max-width: 300px;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
}
.footer-social a:hover { background: var(--accent-1); color: var(--white); }

/* ----------------------------
   Breadcrumbs
   ---------------------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  font-size: 0.85rem;
  color: rgba(9, 7, 7, 0.55);
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(9, 7, 7, 0.55); }
.breadcrumb a:hover { color: var(--text-dark); }
.breadcrumb-sep { color: rgba(9, 7, 7, 0.3); }
.breadcrumb-current { color: var(--text-dark); font-weight: 600; }

/* White breadcrumb for heroes */
.breadcrumb--light { color: rgba(255, 255, 255, 0.6); }
.breadcrumb--light a { color: rgba(255, 255, 255, 0.6); }
.breadcrumb--light a:hover { color: var(--white); }
.breadcrumb--light .breadcrumb-sep { color: rgba(255, 255, 255, 0.3); }
.breadcrumb--light .breadcrumb-current { color: var(--white); }

/* ============================================================
   SHOP PAGE STYLES
   ============================================================ */

/* Filter Bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(9, 7, 7, 0.08);
  margin-bottom: 28px;
  align-items: center;
}
.filter-bar-label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-right: 8px;
}
.filter-select {
  padding: 10px 32px 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(9, 7, 7, 0.12);
  background: var(--white);
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text-dark);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23090707' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}
.filter-select:focus { border-color: var(--accent-1); outline: none; }

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(50, 59, 66, 0.08);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.filter-tag:hover { background: var(--accent-1); color: var(--white); }
.filter-tag.active { background: var(--accent-1); color: var(--white); }

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}
.result-count {
  font-size: 0.9rem;
  color: rgba(9, 7, 7, 0.55);
}
.sort-select {
  padding: 8px 30px 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(9, 7, 7, 0.1);
  background: var(--white);
  font-family: inherit;
  font-size: 0.85rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23090707' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  cursor: pointer;
}

.load-more {
  text-align: center;
  margin-top: 40px;
}

/* ============================================================
   PRODUCT DETAIL PAGE STYLES
   ============================================================ */
.pdp-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 24px 0 60px;
}

/* Image Gallery */
.pdp-gallery { position: relative; }
.pdp-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-warm);
}
.pdp-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-med);
}
.pdp-gallery-main.zoomed { cursor: zoom-out; overflow: hidden; }
.pdp-gallery-main.zoomed img { transform: scale(2); }

.pdp-gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
}
.pdp-thumb {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: border-color var(--transition-fast);
}
.pdp-thumb.active { border-color: var(--accent-1); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Product Info */
.pdp-info { padding: 8px 0; }
.pdp-brand {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 8px;
}
.pdp-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  margin-bottom: 12px;
}
.pdp-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.pdp-description {
  color: rgba(9, 7, 7, 0.75);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Size & Color Selectors */
.pdp-selector { margin-bottom: 20px; }
.pdp-selector-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.size-options { display: flex; gap: 8px; flex-wrap: wrap; }
.size-option {
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid rgba(9, 7, 7, 0.12);
  background: var(--white);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}
.size-option:hover { border-color: var(--accent-1); }
.size-option.active {
  background: var(--accent-1);
  color: var(--white);
  border-color: var(--accent-1);
}
.color-options { display: flex; gap: 10px; }
.color-option {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: inset 0 0 0 1px rgba(9, 7, 7, 0.1);
}
.color-option:hover { transform: scale(1.1); }
.color-option.active { border-color: var(--accent-1); }

/* Add to Cart */
.pdp-add-cart {
  display: flex;
  gap: 12px;
  margin: 28px 0;
  flex-wrap: wrap;
}
.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid rgba(9, 7, 7, 0.12);
  border-radius: 10px;
  overflow: hidden;
}
.qty-btn {
  width: 44px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  display: grid;
  place-items: center;
}
.qty-btn:hover { background: rgba(9, 7, 7, 0.04); }
.qty-value {
  width: 48px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  font-family: inherit;
}

/* Accordion */
.accordion { margin-top: 28px; border-top: 1px solid rgba(9, 7, 7, 0.08); }
.accordion-item { border-bottom: 1px solid rgba(9, 7, 7, 0.08); }
.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
}
.accordion-trigger svg {
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}
.accordion-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-med);
}
.accordion-panel-inner {
  padding: 0 0 20px;
  color: rgba(9, 7, 7, 0.75);
  line-height: 1.7;
  font-size: 0.92rem;
}

/* ============================================================
   OUR STORY PAGE STYLES
   ============================================================ */
.story-section { padding: 70px 0; }

.story-stagger {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.story-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
.story-block-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}
.story-block-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.story-block-content h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: 12px;
}
.story-block-content p {
  color: rgba(9, 7, 7, 0.75);
  line-height: 1.75;
}

/* Artisan Profiles */
.artisan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.artisan-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.artisan-card-media { aspect-ratio: 1 / 1; overflow: hidden; }
.artisan-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.artisan-card:hover .artisan-card-media img { transform: scale(1.05); }
.artisan-card-body { padding: 16px; }
.artisan-card-body h4 { font-size: 1rem; margin-bottom: 4px; }
.artisan-card-body p {
  font-size: 0.85rem;
  color: rgba(9, 7, 7, 0.6);
  margin: 0;
}

/* Timeline / Process */
.process-timeline {
  max-width: 700px;
  margin: 32px auto 0;
  position: relative;
  padding-left: 32px;
}
.process-timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(9, 7, 7, 0.1);
}
.process-step {
  position: relative;
  padding-bottom: 32px;
}
.process-step:last-child { padding-bottom: 0; }
.process-step::before {
  content: '';
  position: absolute;
  left: -25px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-1);
  border: 3px solid var(--bg-light);
}
.process-step h4 { font-size: 1.05rem; margin-bottom: 6px; }
.process-step p {
  color: rgba(9, 7, 7, 0.65);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   BESPOKE PAGE STYLES
   ============================================================ */
.bespoke-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}
.bespoke-feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.bespoke-feature-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(50, 59, 66, 0.08);
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--accent-1);
}
.bespoke-feature-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  margin-bottom: 8px;
}
.bespoke-feature-card p {
  color: rgba(9, 7, 7, 0.65);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* Bespoke Process Steps */
.bespoke-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 28px;
  counter-reset: step;
}
.bespoke-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  counter-increment: step;
}
.bespoke-step-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-2);
  line-height: 1;
  min-width: 48px;
}
.bespoke-step-content h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  margin-bottom: 6px;
}
.bespoke-step-content p {
  color: rgba(9, 7, 7, 0.65);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

/* Contact Form */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(9, 7, 7, 0.12);
  font-family: inherit;
  font-size: 0.92rem;
  background: var(--white);
  color: var(--text-dark);
  transition: border-color var(--transition-fast);
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-1);
  outline: none;
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23090707' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* ============================================================
   ANIMATIONS — Scroll Reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet (>=640px) */
@media (min-width: 640px) {
  .tagline { display: block; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .bespoke-features { grid-template-columns: repeat(2, 1fr); }
  .bespoke-steps { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: repeat(2, 1fr); }
  .trust-stats { grid-template-columns: repeat(4, 1fr); }
  .artisan-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Desktop (>=900px) */
@media (min-width: 900px) {
  .primary-nav { display: block; }
  .hamburger { display: none; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .craft-grid { grid-template-columns: 1fr 1fr; }
  .story-block { grid-template-columns: 1fr 1fr; }
  .story-block:nth-child(even) .story-block-media { order: 2; }
  .pdp-layout { grid-template-columns: 1fr 1fr; gap: 48px; }
  .carousel-controls { display: flex; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .bespoke-features { grid-template-columns: repeat(3, 1fr); }
  .artisan-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Large Desktop (>=1200px) */
@media (min-width: 1200px) {
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .products-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   INFO / SUBPAGE STYLES
   (Care Guide, Sustainability, Shipping & Returns, FAQ, Contact)
   ============================================================ */

/* Info Page Content Wrapper */
.info-page-content {
  max-width: 820px;
  margin: 0 auto;
}

.info-lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(9, 7, 7, 0.75);
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(9, 7, 7, 0.08);
}

/* Info Card (used across care, sustainability, shipping pages) */
.info-card {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(9, 7, 7, 0.06);
}
.info-card:last-of-type { border-bottom: none; }

.info-card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: rgba(50, 59, 66, 0.08);
  display: grid;
  place-items: center;
  color: var(--accent-1);
  flex-shrink: 0;
}

.info-card h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-bottom: 16px;
}
.info-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 20px 0 8px;
}
.info-card h3:first-of-type { margin-top: 0; }
.info-card p {
  color: rgba(9, 7, 7, 0.72);
  line-height: 1.75;
  font-size: 0.95rem;
  margin: 0 0 12px;
}
.info-card p:last-child { margin-bottom: 0; }

/* Info Steps (ordered list) */
.info-steps {
  padding-left: 20px;
  margin: 16px 0;
  color: rgba(9, 7, 7, 0.72);
  line-height: 1.75;
  font-size: 0.95rem;
}
.info-steps li {
  list-style: decimal;
  padding: 4px 0;
}

/* Info Table (shipping rates) */
.info-table {
  margin: 16px 0;
  border: 1px solid rgba(9, 7, 7, 0.08);
  border-radius: 10px;
  overflow: hidden;
}
.info-table-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 14px 18px;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(9, 7, 7, 0.06);
}
.info-table-row:last-child { border-bottom: none; }
.info-table-row:nth-child(even) { background: rgba(163, 141, 119, 0.06); }
.info-table-label { font-weight: 600; }

/* Info CTA (bottom of info pages) */
.info-cta {
  text-align: center;
  padding: 48px 0 16px;
  margin-top: 24px;
  border-top: 1px solid rgba(9, 7, 7, 0.08);
}
.info-cta h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: 12px;
}
.info-cta p {
  color: rgba(9, 7, 7, 0.65);
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Highlight Cards (shipping page top cards) */
.highlight-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 40px;
}
.highlight-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.highlight-card .info-card-icon {
  margin: 0 auto 14px;
}
.highlight-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  margin-bottom: 6px;
}
.highlight-card p {
  color: rgba(9, 7, 7, 0.6);
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.5;
}
.highlight-card--link {
  display: block;
  transition: transform var(--transition-med), box-shadow var(--transition-med);
  text-decoration: none;
}
.highlight-card--link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

/* FAQ Groups */
.faq-group {
  margin-bottom: 40px;
}
.faq-group-title {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(9, 7, 7, 0.08);
}

/* Sustainability Stats  */
.sustainability-stats {
  padding: 40px 0;
  text-align: center;
}

/* Contact Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info-side {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.contact-info-card .info-card-icon {
  margin-bottom: 14px;
}
.contact-info-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  margin-bottom: 8px;
}
.contact-info-card p {
  color: rgba(9, 7, 7, 0.7);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 6px;
}
.contact-info-card a {
  color: var(--accent-1);
  font-weight: 500;
}
.contact-info-card a:hover { color: var(--accent-2); }
.contact-info-note {
  font-size: 0.82rem !important;
  color: rgba(9, 7, 7, 0.45) !important;
}

.contact-social-links {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.contact-social-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-1);
}

.contact-form-side h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: 8px;
}

/* Form Success State */
.form-success {
  text-align: center;
  padding: 32px 0;
}
.form-success-inner {
  color: var(--accent-1);
}
.form-success-inner svg { margin: 0 auto 16px; }
.form-success-inner h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.form-success-inner p {
  color: rgba(9, 7, 7, 0.65);
  max-width: 360px;
  margin: 0 auto;
}

/* ============================================================
   RESPONSIVE — Info Pages
   ============================================================ */

@media (min-width: 640px) {
  .highlight-cards { grid-template-columns: repeat(3, 1fr); }
  .info-table-row { grid-template-columns: 1.2fr 1fr 1fr; gap: 12px; }
  .contact-info-side { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .info-card { gap: 28px; }
  .contact-layout { grid-template-columns: 340px 1fr; gap: 48px; }
  .contact-info-side { grid-template-columns: 1fr; }
}

/* Keyboard user focus styles */
.user-is-tabbing *:focus {
  outline: 2px solid var(--accent-1);
  outline-offset: 2px;
}
