/* ============================================================
   RATS & RABBITS — DESIGN SYSTEM + ALL PAGE STYLES
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Jost:wght@300;400;500&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --cream: #F5F0E8;
  --cream-deep: #EDE5D5;
  --cream-darker: #D8CEBB;
  --white: #FAFAF8;
  --brown: #3D1F10;
  --brown-mid: #6B4226;
  --brown-light: #A07850;
  --text: #1C1C1A;
  --text-muted: #7A7570;
  --border: #E0D8CC;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', system-ui, sans-serif;

  --nav-height: 72px;
  --nav-height-mobile: 60px;

  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

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

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

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

input, select, textarea {
  font-family: var(--font-body);
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.display-heading {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.section-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brown-light);
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: 0.01em;
}

.body-text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: 0;
  transition: opacity var(--transition-base), background-color var(--transition-base), color var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--brown);
  color: var(--cream);
  border: 1px solid var(--brown);
}

.btn-primary:hover {
  opacity: 0.82;
}

.btn-primary:focus-visible {
  outline: 2px solid var(--brown-light);
  outline-offset: 3px;
}

.btn-secondary {
  background-color: transparent;
  color: var(--brown);
  border: 1px solid var(--brown);
}

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

.btn-secondary:focus-visible {
  outline: 2px solid var(--brown-light);
  outline-offset: 3px;
}

.text-link {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--transition-base), color var(--transition-base);
}

.text-link:hover {
  gap: 14px;
  color: var(--brown-mid);
}

/* ── Image Placeholder (for missing images) ── */
.img-placeholder {
  background-color: var(--cream-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.img-placeholder::after {
  content: '&';
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 8vw, 120px);
  color: var(--brown-light);
  opacity: 0.35;
}

img[data-missing] {
  background-color: var(--cream-deep);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background-color: transparent;
  transition: background-color var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background-color: var(--white);
  box-shadow: 0 1px 24px rgba(61, 31, 16, 0.06);
  border-bottom-color: var(--border);
}

.nav-solid {
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.nav-brand img {
  height: 32px;
  width: auto;
}

.nav-brand-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.04em;
  line-height: 1;
}

/* Center Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 44px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  transition: color var(--transition-base);
  padding: 4px 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--brown);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a:hover {
  color: var(--brown-mid);
}

.nav-links a.active {
  color: var(--brown);
}

/* Right — Cart */
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: color var(--transition-base);
  padding: 4px;
}

.nav-cart:hover {
  color: var(--brown-mid);
}

.nav-cart svg {
  width: 22px;
  height: 22px;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background-color: var(--brown);
  color: var(--cream);
  font-size: 10px;
  font-weight: 500;
  font-family: var(--font-body);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform var(--transition-base);
}

.cart-badge.hidden {
  display: none;
}

.cart-badge.bump {
  transform: scale(1.3);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--text);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Drawer */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  background-color: var(--white);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 100px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  box-shadow: -4px 0 40px rgba(61, 31, 16, 0.1);
}

.nav-drawer.open {
  transform: translateX(0);
}

.nav-drawer a {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  color: var(--text);
  transition: color var(--transition-base);
}

.nav-drawer a:hover {
  color: var(--brown-mid);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 28, 26, 0.4);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-color: var(--brown);
  color: var(--cream);
  padding: 72px 0 0;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1) sepia(1) saturate(0.3) brightness(0.9);
  opacity: 0.85;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  color: var(--cream);
  letter-spacing: 0.04em;
}

.footer-tagline {
  font-size: 13px;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.6);
  line-height: 1.6;
  max-width: 260px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.5);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 14px;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.75);
  transition: color var(--transition-base);
}

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

.footer-contact-item {
  font-size: 14px;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.75);
  margin-bottom: 8px;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.footer-social a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.6);
  transition: color var(--transition-base);
}

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

.footer-bottom {
  margin-top: 60px;
  border-top: 1px solid rgba(245, 240, 232, 0.12);
  padding: 24px 40px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 12px;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.4);
  letter-spacing: 0.05em;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  cursor: pointer;
}

.product-card-image-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
  background-color: var(--cream);
  position: relative;
}

.product-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image-wrap img {
  transform: scale(1.03);
}

.product-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--brown);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
}

.product-card-body {
  padding: 16px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-card-category {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.product-card-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  color: var(--text);
  margin: 2px 0;
}

.product-card-price {
  font-weight: 400;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.product-card-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown-mid);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-base), color var(--transition-base);
}

.product-card-link:hover {
  gap: 12px;
  color: var(--brown);
}

/* ============================================================
   HOMEPAGE — HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  background-color: var(--cream);
  padding-top: var(--nav-height);
}

.hero-left {
  flex: 0 0 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 80px;
}

.hero-label {
  margin-bottom: 28px;
}

.hero-heading {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(52px, 5.5vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 28px;
}

.hero-subtext {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 420px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 36px;
}

.hero-right {
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
}

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

.hero-right-placeholder {
  position: absolute;
  inset: 0;
  background-color: var(--cream-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-right-placeholder::after {
  content: '&';
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 160px;
  color: var(--brown-light);
  opacity: 0.2;
}

/* ── Brand Story Strip ── */
.brand-strip {
  background-color: var(--brown);
  padding: 28px 40px;
  text-align: center;
}

.brand-strip p {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(20px, 2.5vw, 30px);
  color: var(--cream);
  letter-spacing: 0.05em;
}

/* ── Featured Products ── */
.featured-products {
  padding: 100px 0;
  background-color: var(--white);
}

.featured-products-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-label {
  display: block;
  margin-bottom: 14px;
}

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

.product-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.section-footer {
  text-align: center;
  margin-top: 60px;
}

/* ── Brand Values ── */
.brand-values {
  padding: 100px 0;
  background-color: var(--cream);
}

.brand-values-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-top: 64px;
}

.value-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.value-number {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brown-light);
}

.value-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  color: var(--text);
}

.value-text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ── Email Signup ── */
.email-signup {
  padding: 100px 40px;
  background-color: var(--cream-deep);
  text-align: center;
}

.email-signup-inner {
  max-width: 520px;
  margin: 0 auto;
}

.email-signup h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 4vw, 52px);
  margin-bottom: 16px;
  color: var(--text);
}

.email-signup p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.65;
}

.email-form {
  display: flex;
  gap: 0;
  max-width: 440px;
  margin: 0 auto;
}

.email-form input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid var(--brown);
  border-right: none;
  background-color: transparent;
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  outline: none;
  border-radius: 0;
}

.email-form input::placeholder {
  color: var(--text-muted);
}

.email-form input:focus {
  border-color: var(--brown-mid);
}

.email-form .btn {
  border-radius: 0;
  flex-shrink: 0;
}

/* ============================================================
   SHOP PAGE
   ============================================================ */
.page-header {
  padding: calc(var(--nav-height) + 60px) 40px 60px;
  background-color: var(--cream);
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(42px, 5vw, 64px);
  color: var(--text);
  margin-bottom: 16px;
}

.breadcrumb {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition-base);
}

.breadcrumb a:hover {
  color: var(--brown-mid);
}

.breadcrumb span {
  color: var(--brown-light);
}

.shop-controls {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 40px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--border);
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 1px solid var(--border);
  background-color: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-base);
  border-radius: 0;
}

.filter-btn:hover {
  border-color: var(--brown);
  color: var(--brown);
}

.filter-btn.active {
  background-color: var(--brown);
  border-color: var(--brown);
  color: var(--cream);
}

.shop-meta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.product-count {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.sort-select {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 32px 8px 14px;
  border: 1px solid var(--border);
  background-color: var(--white);
  color: var(--text);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237A7570' stroke-width='1.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  outline: none;
  border-radius: 0;
}

.sort-select:focus {
  border-color: var(--brown);
}

.shop-grid-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 40px 100px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}

.product-card.hidden {
  display: none;
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail {
  padding-top: var(--nav-height);
  min-height: 100vh;
}

.product-detail-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px 100px;
}

.product-breadcrumb {
  margin-bottom: 48px;
}

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

/* Gallery */
.product-gallery {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.product-main-image {
  aspect-ratio: 4/5;
  overflow: hidden;
  background-color: var(--cream);
  margin-bottom: 16px;
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--transition-base);
}

.product-thumbnails {
  display: flex;
  gap: 12px;
}

.product-thumb {
  aspect-ratio: 1;
  width: calc(33.333% - 8px);
  overflow: hidden;
  background-color: var(--cream-deep);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition-base);
}

.product-thumb.active {
  border-color: var(--brown);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-thumb:hover img {
  transform: scale(1.05);
}

/* Product Info */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-category-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 12px;
  display: block;
}

.product-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 3.5vw, 44px);
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 16px;
}

.product-price {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.product-short-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

/* Color Selector */
.product-option {
  margin-bottom: 28px;
}

.product-option-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-option-label span {
  font-weight: 300;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
}

.color-swatches {
  display: flex;
  gap: 10px;
}

.color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  box-shadow: 0 0 0 1px var(--border);
  transition: box-shadow var(--transition-base);
  outline: none;
}

.color-swatch.active,
.color-swatch:hover {
  box-shadow: 0 0 0 2px var(--brown);
}

.color-swatch.cream { background-color: #F5F0E8; }
.color-swatch.chocolate { background-color: #3D1F10; }
.color-swatch.cream-chocolate {
  background: linear-gradient(135deg, #F5F0E8 50%, #3D1F10 50%);
}

/* Size Selector */
.size-select {
  width: 100%;
  padding: 13px 40px 13px 16px;
  border: 1px solid var(--border);
  background-color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237A7570' stroke-width='1.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  outline: none;
  border-radius: 0;
  cursor: pointer;
  transition: border-color var(--transition-base);
}

.size-select:focus {
  border-color: var(--brown);
}

.add-to-cart-btn {
  width: 100%;
  margin: 28px 0 36px;
  padding: 18px;
  font-size: 13px;
}

.product-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 8px 0 32px;
}

/* Tabs */
.product-tabs {
  margin-bottom: 32px;
}

.tab-nav {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.tab-btn {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 24px 12px 0;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--transition-base), border-color var(--transition-base);
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.tab-btn:hover {
  color: var(--text);
}

.tab-btn.active {
  color: var(--brown);
  border-bottom-color: var(--brown);
}

.tab-panel {
  display: none;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
}

.tab-panel.active {
  display: block;
}

/* Product Description */
.product-full-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background-color: var(--cream);
  margin-top: 8px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
}

.trust-badge-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--brown-light);
}

/* Related Products */
.related-products {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px 100px;
  border-top: 1px solid var(--border);
}

.related-products .section-header {
  text-align: left;
  margin-bottom: 48px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--cream);
  padding: calc(var(--nav-height) + 80px) 40px 80px;
  text-align: center;
}

.about-hero-heading {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(42px, 6vw, 80px);
  line-height: 1.06;
  max-width: 900px;
  color: var(--text);
}

.about-story {
  padding: 100px 0;
  background-color: var(--white);
}

.about-story-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-pull-quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.25;
  color: var(--brown-mid);
  position: sticky;
  top: calc(var(--nav-height) + 40px);
  padding-right: 20px;
}

.about-pull-quote::before {
  content: '"';
  font-size: 1.2em;
  line-height: 0;
  vertical-align: -0.15em;
  margin-right: 4px;
  opacity: 0.4;
}

.about-pull-quote::after {
  content: '"';
  font-size: 1.2em;
  line-height: 0;
  vertical-align: -0.15em;
  margin-left: 4px;
  opacity: 0.4;
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about-body p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
}

/* Design Philosophy */
.about-philosophy {
  padding: 100px 0;
  background-color: var(--cream);
}

.about-philosophy-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.philosophy-items {
  margin-top: 72px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.philosophy-item {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 40px;
  padding: 56px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}

.philosophy-item:last-child {
  border-bottom: 1px solid var(--border);
}

.philosophy-number {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--brown-light);
  padding-top: 4px;
}

.philosophy-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  color: var(--text);
}

.philosophy-text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
  padding-top: 6px;
}

/* Materials Grid */
.about-materials {
  padding: 100px 0;
  background-color: var(--white);
}

.about-materials-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 64px;
  background-color: var(--border);
}

.material-item {
  background-color: var(--white);
  padding: 40px;
}

.material-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  color: var(--text);
  margin-bottom: 10px;
}

.material-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
}

/* CTA Strip */
.cta-strip {
  padding: 80px 40px;
  background-color: var(--brown);
  text-align: center;
}

.cta-strip h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--cream);
  margin-bottom: 32px;
}

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-page {
  padding-top: var(--nav-height);
  min-height: 100vh;
  background-color: var(--white);
}

.cart-page-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px 100px;
}

.cart-page-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.cart-page-header h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 4vw, 52px);
  color: var(--text);
}

.cart-empty {
  text-align: center;
  padding: 100px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cart-empty-icon {
  width: 64px;
  height: 64px;
  color: var(--cream-darker);
}

.cart-empty h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 32px;
  color: var(--text-muted);
}

.cart-empty p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}

/* Cart Items */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.cart-item:first-child {
  border-top: 1px solid var(--border);
}

.cart-item-image {
  aspect-ratio: 4/5;
  overflow: hidden;
  background-color: var(--cream);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-item-category {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cart-item-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  color: var(--text);
  line-height: 1.2;
}

.cart-item-meta {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  color: var(--text);
  transition: all var(--transition-base);
  font-family: var(--font-body);
  line-height: 1;
}

.qty-btn:hover {
  border-color: var(--brown);
  color: var(--brown);
}

.qty-display {
  font-size: 14px;
  font-weight: 400;
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-base);
  background: none;
  border: none;
  padding: 0;
  margin-top: 4px;
  font-family: var(--font-body);
}

.cart-item-remove:hover {
  color: var(--brown);
}

.cart-item-price-col {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.cart-item-price {
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
}

/* Order Summary */
.order-summary {
  background-color: var(--cream);
  padding: 36px;
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.order-summary h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--cream-darker);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.summary-label {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
}

.summary-value {
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
}

.summary-shipping {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-top: 4px;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--cream-darker);
  margin-bottom: 28px;
}

.summary-total-label {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
}

.summary-total-value {
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
}

.checkout-note {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
  line-height: 1.6;
}

/* ============================================================
   UTILITY
   ============================================================ */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero-left {
    padding: 60px 40px 60px 40px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-layout {
    gap: 48px;
  }

  .cart-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .order-summary {
    position: static;
  }

  .about-story-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-pull-quote {
    position: static;
  }

  .philosophy-item {
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto;
  }

  .philosophy-text {
    grid-column: 2;
  }

  .materials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --nav-height: var(--nav-height-mobile);
  }

  .nav-inner {
    padding: 0 20px;
  }

  .hero {
    flex-direction: column;
    min-height: 100svh;
  }

  .hero-left {
    flex: none;
    order: 2;
    padding: 48px 24px 60px;
  }

  .hero-right {
    flex: none;
    order: 1;
    height: 40vh;
    width: 100%;
    position: relative;
  }

  .hero-heading {
    font-size: clamp(38px, 9vw, 56px);
  }

  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .product-grid,
  .product-grid-4,
  .shop-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 0 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 24px;
  }

  .page-header {
    padding: calc(var(--nav-height-mobile) + 40px) 24px 40px;
  }

  .shop-controls {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 24px 16px;
  }

  .shop-grid-wrap {
    padding: 32px 24px 60px;
  }

  .product-detail-inner {
    padding: 40px 24px 60px;
  }

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

  .product-gallery {
    position: static;
  }

  .about-hero {
    padding: calc(var(--nav-height-mobile) + 48px) 24px 60px;
  }

  .about-story-inner,
  .about-philosophy-inner,
  .about-materials-inner {
    padding: 0 24px;
  }

  .philosophy-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .cart-page-inner {
    padding: 40px 24px 60px;
  }

  .cart-item {
    grid-template-columns: 90px 1fr;
    grid-template-rows: auto auto;
  }

  .cart-item-price-col {
    grid-column: 2;
    align-items: flex-start;
  }

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

  .email-form {
    flex-direction: column;
  }

  .email-form input {
    border-right: 1px solid var(--brown);
    border-bottom: none;
  }

  .related-products {
    padding: 60px 24px 60px;
  }

  .featured-products-inner,
  .brand-values-inner {
    padding: 0 24px;
  }

  .featured-products,
  .brand-values {
    padding: 72px 0;
  }
}
