/* ============================================
   Rissdon Jade - Custom Styles
   Complementing Tailwind CSS CDN
   Design System Colors:
     --cream:    #FAFAF7 (background)
     --charcoal: #1A1A1A (text)
     --jade:     #0B6B4A (primary accent)
     --gold:     #C5A572 (secondary accent)
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --color-cream: #FAFAF7;
  --color-charcoal: #1A1A1A;
  --color-jade: #0B6B4A;
  --color-jade-dark: #084a34;
  --color-jade-light: #0e7d57;
  --color-gold: #C5A572;
  --color-gold-dark: #a8895a;
  --color-gold-light: #d4b884;
  --color-white: #ffffff;
  --color-gray-light: #f0efe8;
  --color-gray: #8a8a8a;
  --color-border: #e5e3d9;

  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --shadow-sm: 0 1px 3px rgba(26, 26, 26, 0.08);
  --shadow-md: 0 4px 16px rgba(26, 26, 26, 0.10);
  --shadow-lg: 0 10px 40px rgba(26, 26, 26, 0.14);

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background-color: var(--color-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

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

/* ---------- Smooth Scroll for anchor links ---------- */
html {
  scroll-behavior: smooth;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

/* ---------- Navigation ---------- */
.nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  padding: 0.5rem 0;
  transition: color var(--transition-base);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-jade);
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--color-jade);
}

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

.nav-link.active {
  color: var(--color-jade);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

/* Primary button - Jade green */
.btn-primary {
  background: var(--color-jade);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-jade-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 107, 74, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(11, 107, 74, 0.2);
}

/* Shimmer effect on primary button */
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

/* Secondary button - Gold outline */
.btn-secondary {
  background: transparent;
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
}

.btn-secondary:hover {
  background: var(--color-gold);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 165, 114, 0.3);
}

.btn-secondary:active {
  transform: translateY(0);
}

/* Outline button - Charcoal */
.btn-outline {
  background: transparent;
  color: var(--color-charcoal);
  border: 2px solid var(--color-charcoal);
}

.btn-outline:hover {
  background: var(--color-charcoal);
  color: var(--color-cream);
  transform: translateY(-2px);
}

.btn-outline:active {
  transform: translateY(0);
}

/* Full width */
.btn-block {
  width: 100%;
}

/* Small size */
.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
}

/* Large size */
.btn-lg {
  padding: 1.125rem 2.75rem;
  font-size: 1rem;
}

/* ---------- Mobile Menu Toggle ---------- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--color-cream);
  box-shadow: -4px 0 30px rgba(0, 0, 0, 0.1);
  z-index: 200;
  transition: right var(--transition-slow);
  overflow-y: auto;
  padding: 5rem 2rem 2rem;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 26, 0.5);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-charcoal);
  transition: transform var(--transition-fast);
}

.mobile-menu-close:hover {
  transform: rotate(90deg);
}

.mobile-menu-link {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-charcoal);
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.mobile-menu-link:hover {
  color: var(--color-jade);
  padding-left: 0.5rem;
}

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 210;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-charcoal);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Product Cards ---------- */
.product-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--color-gray-light);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Badge on product card */
.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-white);
  color: var(--color-jade);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-sm);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.product-badge.gold {
  color: var(--color-gold);
}

/* Quick add button appears on hover */
.product-quick-add {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(11, 107, 74, 0.95);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transform: translateY(120%);
  opacity: 0;
  transition: all var(--transition-base);
}

.product-card:hover .product-quick-add {
  transform: translateY(0);
  opacity: 1;
}

.product-quick-add:hover {
  background: var(--color-jade);
}

.product-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
}

.product-card-category {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.375rem;
}

.product-card-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 0.5rem;
  line-height: 1.3;
  transition: color var(--transition-fast);
}

.product-card:hover .product-card-title {
  color: var(--color-jade);
}

.product-card-price {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-charcoal);
}

.product-card-price .currency {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-gray);
  margin-right: 2px;
}

/* ---------- Fade-in on Scroll ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Staggered children */
.fade-in-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-stagger.visible > *:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0ms;
}
.fade-in-stagger.visible > *:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 100ms;
}
.fade-in-stagger.visible > *:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 200ms;
}
.fade-in-stagger.visible > *:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 300ms;
}
.fade-in-stagger.visible > *:nth-child(5) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 400ms;
}
.fade-in-stagger.visible > *:nth-child(6) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 500ms;
}
.fade-in-stagger.visible > *:nth-child(7) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 600ms;
}
.fade-in-stagger.visible > *:nth-child(8) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 700ms;
}

/* Slide in from left */
.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide in from right */
.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale in */
.scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* ---------- Hero Section ---------- */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: var(--color-cream);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(250, 250, 247, 0.85) 0%,
    rgba(250, 250, 247, 0.5) 50%,
    rgba(250, 250, 247, 0.3) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* ---------- Section spacing ---------- */
.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.section-title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1rem;
  color: var(--color-gray);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* ---------- Trust Badges ---------- */
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.5rem;
}

.trust-badge-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(11, 107, 74, 0.08);
  color: var(--color-jade);
  font-size: 1.5rem;
  transition: transform var(--transition-base);
}

.trust-badge:hover .trust-badge-icon {
  transform: scale(1.1);
}

.trust-badge-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-charcoal);
}

.trust-badge-text {
  font-size: 0.8125rem;
  color: var(--color-gray);
  line-height: 1.5;
}

/* ---------- Certificate Badge ---------- */
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-jade);
  box-shadow: var(--shadow-sm);
}

.cert-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-jade);
  display: inline-block;
}

/* ---------- Newsletter Form ---------- */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-charcoal);
  background: var(--color-white);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--color-jade);
  box-shadow: 0 0 0 3px rgba(11, 107, 74, 0.1);
}

.newsletter-input::placeholder {
  color: var(--color-gray);
}

.newsletter-message {
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  text-align: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity var(--transition-base), transform var(--transition-base);
  max-height: 0;
  overflow: hidden;
}

.newsletter-message.show {
  opacity: 1;
  transform: translateY(0);
  max-height: 100px;
}

.newsletter-message.success {
  background: rgba(11, 107, 74, 0.1);
  color: var(--color-jade);
}

.newsletter-message.error {
  background: rgba(220, 50, 50, 0.1);
  color: #c33333;
}

/* ---------- Cart Badge ---------- */
.cart-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--color-gold);
  color: var(--color-white);
  font-size: 0.6875rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  transition: transform var(--transition-base);
}

.cart-count.bump {
  animation: cart-bump 0.4s ease;
}

@keyframes cart-bump {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* ---------- FAQ Accordion ---------- */
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  background: var(--color-white);
  transition: box-shadow var(--transition-base);
}

.faq-item.open {
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-charcoal);
  text-align: left;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-jade);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-gray);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ---------- Filter Sidebar ---------- */
.filter-group {
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 0;
}

.filter-group:last-child {
  border-bottom: none;
}

.filter-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-charcoal);
  margin-bottom: 0.75rem;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0;
  font-size: 0.875rem;
  color: var(--color-gray);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.filter-option:hover {
  color: var(--color-charcoal);
}

.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
  accent-color: var(--color-jade);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* ---------- Product Detail Gallery ---------- */
.product-gallery-main {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 1;
  background: var(--color-gray-light);
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery-thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  border: 2px solid transparent;
  transition: border-color var(--transition-base);
  background: var(--color-gray-light);
}

.product-gallery-thumb.active,
.product-gallery-thumb:hover {
  border-color: var(--color-jade);
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Quantity Selector ---------- */
.qty-selector {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  width: 40px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border: none;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-charcoal);
  transition: background var(--transition-fast);
}

.qty-btn:hover {
  background: var(--color-gray-light);
}

.qty-input {
  width: 56px;
  height: 44px;
  text-align: center;
  border: none;
  border-left: 2px solid var(--color-border);
  border-right: 2px solid var(--color-border);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-charcoal);
  background: var(--color-white);
}

.qty-input:focus {
  outline: none;
}

/* ---------- Cart Table ---------- */
.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  text-align: left;
  padding: 1rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gray);
  border-bottom: 2px solid var(--color-border);
}

.cart-table td {
  padding: 1.25rem 0.75rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.cart-product {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-product-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.cart-product-name {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-charcoal);
}

.cart-product-category {
  font-size: 0.75rem;
  color: var(--color-gray);
}

.cart-remove-btn {
  background: none;
  border: none;
  color: var(--color-gray);
  cursor: pointer;
  font-size: 0.8125rem;
  transition: color var(--transition-fast);
}

.cart-remove-btn:hover {
  color: #c33333;
}

/* ---------- Checkout ---------- */
.payment-method-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--transition-base), background var(--transition-base);
}

.payment-method-card:hover {
  border-color: var(--color-jade);
  background: rgba(11, 107, 74, 0.03);
}

.payment-method-card.selected {
  border-color: var(--color-jade);
  background: rgba(11, 107, 74, 0.05);
}

.payment-method-radio {
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-border);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: border-color var(--transition-fast);
}

.payment-method-card.selected .payment-method-radio {
  border-color: var(--color-jade);
}

.payment-method-card.selected .payment-method-radio::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-jade);
}

/* ---------- Form Fields ---------- */
.form-field {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-charcoal);
  background: var(--color-white);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-jade);
  box-shadow: 0 0 0 3px rgba(11, 107, 74, 0.1);
}

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

/* ---------- Toast Notification ---------- */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  transform: translateY(120%);
  opacity: 0;
  transition: transform var(--transition-slow), opacity var(--transition-slow);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  background: var(--color-jade);
}

.toast.error {
  background: #c33333;
}

/* ---------- Footer ---------- */
/* ---------- v2 footer compat (T4/T5 pages use bg-cinema) ---------- */
.bg-cinema {
  background: var(--color-charcoal);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.bg-cinema h4 {
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.bg-cinema a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.bg-cinema a:hover {
  color: var(--color-gold, #c5a572);
}
.bg-cinema .text-white\/70 {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--color-charcoal);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}

.site-footer h4 {
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

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

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all var(--transition-base);
}

.footer-social a:hover {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: var(--color-charcoal);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Divider / Ornament ---------- */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.ornament-line {
  width: 60px;
  height: 1px;
  background: var(--color-gold);
}

.ornament-diamond {
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  transform: rotate(45deg);
}

/* ---------- Utility Animations ---------- */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.loading-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-jade);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .section {
    padding: 4rem 0;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .desktop-nav {
    display: none;
  }

  .section {
    padding: 3rem 0;
  }

  .hero-section {
    min-height: 70vh;
  }

  .cart-table thead {
    display: none;
  }

  .cart-table td {
    display: block;
    padding: 0.5rem 0;
    border: none;
  }

  .cart-table tr {
    display: block;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--color-border);
  }

  .toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    justify-content: center;
  }

  .mobile-menu {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.8125rem;
  }

  .section {
    padding: 2.5rem 0;
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in,
  .slide-in-left,
  .slide-in-right,
  .scale-in,
  .fade-in-stagger > * {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Print Styles ---------- */
@media print {
  .site-header,
  .site-footer,
  .mobile-menu,
  .mobile-menu-overlay,
  .btn {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }
}

/* ---------- Product Page: Tab Panels ---------- */
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.3s ease-out; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- Product Page: Image Gallery Thumbnails ---------- */
.thumbnail { transition: opacity 0.2s ease, border-color 0.2s ease; }
.thumbnail:hover { opacity: 0.75; }
.thumbnail.active { border-color: #0B6B4A; opacity: 1; }

/* ---------- Product Page: Quantity Input ---------- */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-input { -moz-appearance: textfield; }
