/*
Theme Name:  Róng花 Atelier
Theme URI:   https://ronghuaatelier.com
Description: Custom WooCommerce theme for Róng花 Atelier — silk velvet brooches rooted in Chinese Ronghua craft. Designed for UK, US & Australian markets.
Author:      Róng花 Atelier
Version:     1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License:     GNU General Public License v2 or later
Text Domain: ronghua
Tags:        woocommerce, custom, e-commerce, luxury, artisan
*/

/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  /* Palette */
  --rh-cream:       #FAF7F2;
  --rh-ivory:       #F2EDE5;
  --rh-border:      #E0D5C8;
  --rh-gold:        #C9973A;
  --rh-gold-light:  #E8C97A;
  --rh-red:         #B83A3A;
  --rh-red-deep:    #8B2020;
  --rh-jade:        #3A7D6B;
  --rh-ink:         #1C1410;
  --rh-ink-soft:    #4A3728;
  --rh-warm-gray:   #8C7B6E;

  /* Typography */
  --rh-font-display: 'Cormorant Garamond', Georgia, serif;
  --rh-font-body:    'Jost', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --rh-gap-xs:  0.5rem;
  --rh-gap-sm:  1rem;
  --rh-gap-md:  2rem;
  --rh-gap-lg:  4rem;
  --rh-gap-xl:  6rem;

  /* Layout */
  --rh-max-width: 1280px;
  --rh-content-pad: clamp(1.25rem, 4vw, 3rem);
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--rh-font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--rh-ink);
  background: var(--rh-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
button { cursor: pointer; font-family: var(--rh-font-body); }
ul, ol { list-style: none; }

/* ============================================================
   TYPOGRAPHY
============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--rh-font-display);
  font-weight: 300;
  line-height: 1.1;
  color: var(--rh-ink);
}
h1 { font-size: clamp(48px, 6vw, 80px); }
h2 { font-size: clamp(34px, 4vw, 52px); }
h3 { font-size: clamp(24px, 3vw, 36px); }
h4 { font-size: 22px; }
h5 { font-size: 18px; }

p { margin-bottom: 1rem; color: var(--rh-ink-soft); }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--rh-font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rh-gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--rh-gold);
  flex-shrink: 0;
}

/* ============================================================
   LAYOUT UTILITIES
============================================================ */
.container {
  width: 100%;
  max-width: var(--rh-max-width);
  margin-inline: auto;
  padding-inline: var(--rh-content-pad);
}

.section { padding-block: clamp(3rem, 6vw, 5rem); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--rh-gap-md); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--rh-gap-md); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2rem; }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-auto { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}
@media (min-width: 600px) and (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  font-family: var(--rh-font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--rh-red);
  color: #fff;
  border-color: var(--rh-red);
}
.btn-primary:hover {
  background: var(--rh-red-deep);
  border-color: var(--rh-red-deep);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--rh-ink);
  border-color: var(--rh-border);
}
.btn-secondary:hover {
  border-color: var(--rh-ink);
  color: var(--rh-ink);
}
.btn-dark {
  background: var(--rh-ink);
  color: var(--rh-cream);
  border-color: var(--rh-ink);
}
.btn-dark:hover {
  background: var(--rh-ink-soft);
  border-color: var(--rh-ink-soft);
  color: var(--rh-cream);
}
.btn-full { width: 100%; }

/* ============================================================
   HEADER & NAVIGATION
============================================================ */
#masthead {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rh-border);
  transition: box-shadow 0.3s;
}
#masthead.scrolled { box-shadow: 0 2px 20px rgba(28,20,16,0.06); }

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 2rem;
}

/* Logo */
.site-branding a {
  font-family: var(--rh-font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--rh-ink);
}
.site-branding a span { color: var(--rh-gold); }

/* Main Nav */
.main-navigation ul {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.main-navigation a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rh-ink-soft);
  padding: 4px 0;
  position: relative;
}
.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--rh-gold);
  transition: width 0.3s;
}
.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after { width: 100%; }
.main-navigation a:hover { color: var(--rh-ink); }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header-search-toggle,
.header-wishlist {
  background: none;
  border: none;
  color: var(--rh-ink-soft);
  font-size: 18px;
  padding: 6px;
  transition: color 0.2s;
}
.header-search-toggle:hover,
.header-wishlist:hover { color: var(--rh-gold); }

/* Cart icon */
.cart-icon-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--rh-ink);
  color: var(--rh-cream);
  padding: 9px 18px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s;
  position: relative;
}
.cart-icon-wrap:hover { background: var(--rh-ink-soft); color: var(--rh-cream); }
.cart-icon-wrap .count {
  background: var(--rh-gold);
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--rh-ink);
  font-size: 22px;
  padding: 4px;
}

/* Announcement bar */
.announcement-bar {
  background: var(--rh-ink);
  color: var(--rh-cream);
  text-align: center;
  padding: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.announcement-bar a { color: var(--rh-gold-light); text-decoration: underline; }

/* ============================================================
   HERO SECTION
============================================================ */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(92vh - 68px);
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--rh-gap-xl) var(--rh-content-pad) var(--rh-gap-lg);
}
.hero-content h1 { margin-bottom: 1.5rem; }
.hero-content h1 em { font-style: italic; color: var(--rh-red); }
.hero-content .lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--rh-warm-gray);
  max-width: 420px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image {
  background: var(--rh-ivory);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-badge {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  background: var(--rh-ink);
  color: var(--rh-cream);
  padding: 16px 20px;
  font-family: var(--rh-font-display);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  z-index: 2;
}
.hero-badge strong {
  display: block;
  font-size: 26px;
  color: var(--rh-gold-light);
  margin-bottom: 2px;
}

@media (max-width: 900px) {
  .hero-section { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 3rem var(--rh-content-pad); text-align: center; align-items: center; }
  .hero-content .lead { max-width: none; }
  .hero-image { min-height: 50vw; }
  .hero-badge { bottom: 1rem; right: 1rem; }
}

/* ============================================================
   PRODUCT GRID & CARDS
============================================================ */
.shop-section { background: var(--rh-cream); }

.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-tab {
  padding: 8px 18px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--rh-border);
  background: transparent;
  color: var(--rh-ink-soft);
  transition: all 0.2s;
  font-family: var(--rh-font-body);
}
.filter-tab:hover,
.filter-tab.active {
  background: var(--rh-ink);
  color: var(--rh-cream);
  border-color: var(--rh-ink);
}

/* WooCommerce product cards */
ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2rem; }
ul.products li.product { list-style: none; }

.product-card,
ul.products li.product {
  position: relative;
  transition: transform 0.3s ease;
}
.product-card:hover,
ul.products li.product:hover { transform: translateY(-5px); }

.product-card .product-thumbnail,
ul.products li.product a img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--rh-ivory);
}

.product-card .product-info,
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .price {
  padding-top: 0.25rem;
}

.product-card .product-name,
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--rh-font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--rh-ink);
  margin: 1rem 0 4px;
}

.product-card .product-subtitle,
ul.products li.product .product-subtitle {
  font-size: 12px;
  color: var(--rh-warm-gray);
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

.product-card .product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
}

ul.products li.product .price {
  font-family: var(--rh-font-display);
  font-size: 20px;
  color: var(--rh-ink);
  font-weight: 400;
}
ul.products li.product .price del { color: var(--rh-warm-gray); font-size: 14px; }
ul.products li.product .price ins { text-decoration: none; color: var(--rh-red); }

/* Add to cart button on product cards */
ul.products li.product .add_to_cart_button,
ul.products li.product .button {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--rh-border);
  background: transparent;
  color: var(--rh-ink-soft);
  font-family: var(--rh-font-body);
  transition: all 0.2s;
}
ul.products li.product .add_to_cart_button:hover,
ul.products li.product .button:hover {
  background: var(--rh-ink);
  color: var(--rh-cream);
  border-color: var(--rh-ink);
}
ul.products li.product .added_to_cart {
  font-size: 11px;
  color: var(--rh-jade);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Product badges */
.onsale,
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--rh-red);
  color: white;
  font-size: 10px;
  font-family: var(--rh-font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 0;
  min-width: auto;
  height: auto;
  line-height: normal;
}
.badge-new { background: var(--rh-jade); }
.badge-limited { background: var(--rh-ink); }

/* ============================================================
   SINGLE PRODUCT PAGE
============================================================ */
.single-product .product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.woocommerce-product-gallery { position: sticky; top: 88px; }
.woocommerce-product-gallery__image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--rh-ivory);
}
.flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.flex-control-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.2s;
}
.flex-control-thumbs img.flex-active,
.flex-control-thumbs img:hover { opacity: 1; }

.single-product-summary { padding-top: 0.5rem; }
.single-product-summary .product_title {
  font-family: var(--rh-font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  margin-bottom: 0.75rem;
}
.single-product-summary .price {
  font-family: var(--rh-font-display);
  font-size: 28px;
  color: var(--rh-ink);
  margin-bottom: 1.5rem;
  display: block;
}
.single-product-summary .woocommerce-product-details__short-description {
  font-size: 14px;
  color: var(--rh-warm-gray);
  line-height: 1.8;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--rh-border);
  padding-bottom: 2rem;
}

/* Quantity + add to cart */
.single_add_to_cart_button.button {
  flex: 1;
  padding: 15px 32px;
  background: var(--rh-red);
  color: white;
  border: none;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.2s;
}
.single_add_to_cart_button.button:hover { background: var(--rh-red-deep); }

.quantity input[type="number"] {
  width: 60px;
  height: 50px;
  text-align: center;
  border: 1px solid var(--rh-border);
  font-size: 16px;
  font-family: var(--rh-font-body);
  background: white;
  color: var(--rh-ink);
  appearance: none;
  -moz-appearance: textfield;
}
.cart { display: flex; gap: 12px; align-items: center; }

/* Product meta */
.product_meta {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rh-border);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--rh-warm-gray);
}
.product_meta span { display: block; margin-bottom: 6px; }
.product_meta a { color: var(--rh-ink-soft); }
.product_meta a:hover { color: var(--rh-gold); }

/* Craft trust badges on single product */
.product-trust-badges {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--rh-warm-gray);
  letter-spacing: 0.04em;
}
.trust-item .trust-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--rh-jade);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .single-product .product {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .woocommerce-product-gallery { position: static; }
}

/* Tabs */
.woocommerce-tabs ul.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--rh-border);
  margin-bottom: 2rem;
  margin-top: 4rem;
}
.woocommerce-tabs ul.tabs li {
  padding: 0;
  background: none;
  border: none;
}
.woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 12px 24px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rh-warm-gray);
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
  color: var(--rh-ink);
  border-bottom-color: var(--rh-gold);
}

/* ============================================================
   CRAFT STORY SECTION
============================================================ */
.craft-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.craft-content {
  background: var(--rh-ink);
  color: var(--rh-cream);
  padding: 5rem var(--rh-content-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.craft-content .eyebrow { color: var(--rh-gold-light); }
.craft-content .eyebrow::before { background: var(--rh-gold-light); }
.craft-content h2 { color: var(--rh-cream); margin-bottom: 1.25rem; }
.craft-content p { color: rgba(250,247,242,0.6); max-width: 440px; }

.craft-steps { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.craft-step { display: flex; gap: 1.25rem; align-items: flex-start; }
.craft-step-num {
  font-family: var(--rh-font-display);
  font-size: 36px;
  font-weight: 300;
  color: var(--rh-gold);
  line-height: 1;
  min-width: 40px;
}
.craft-step-text h4 { font-size: 14px; font-weight: 500; margin-bottom: 4px; color: var(--rh-cream); font-family: var(--rh-font-body); }
.craft-step-text p { font-size: 13px; color: rgba(250,247,242,0.5); margin: 0; line-height: 1.6; }

.craft-image {
  background: #2A1F16;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.craft-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  mix-blend-mode: luminosity;
}

@media (max-width: 900px) {
  .craft-section { grid-template-columns: 1fr; }
  .craft-image { min-height: 300px; }
}

/* ============================================================
   CART PAGE
============================================================ */
.woocommerce-cart table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 3rem;
}
.woocommerce-cart table.shop_table thead {
  border-bottom: 1px solid var(--rh-border);
}
.woocommerce-cart table.shop_table th {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rh-warm-gray);
  font-weight: 400;
  padding: 0 0 1rem;
  text-align: left;
}
.woocommerce-cart table.shop_table td {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rh-border);
  vertical-align: middle;
}
.woocommerce-cart table.shop_table td.product-thumbnail img {
  width: 72px;
  height: 72px;
  object-fit: cover;
}
.woocommerce-cart table.shop_table td.product-name a {
  font-family: var(--rh-font-display);
  font-size: 18px;
  color: var(--rh-ink);
}
.woocommerce-cart table.shop_table td.product-name a:hover { color: var(--rh-gold); }
.woocommerce-cart table.shop_table td.product-price,
.woocommerce-cart table.shop_table td.product-subtotal {
  font-family: var(--rh-font-display);
  font-size: 18px;
}

/* Remove item */
a.remove {
  color: var(--rh-warm-gray) !important;
  font-size: 18px;
  transition: color 0.2s;
}
a.remove:hover { color: var(--rh-red) !important; background: none; }

/* Cart totals */
.cart-collaterals { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; align-items: start; }
.cart_totals { background: var(--rh-ivory); padding: 2rem; }
.cart_totals h2 {
  font-family: var(--rh-font-display);
  font-size: 26px;
  font-weight: 300;
  margin-bottom: 1.5rem;
}
.cart_totals table { width: 100%; border-collapse: collapse; }
.cart_totals table th,
.cart_totals table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--rh-border);
  font-size: 14px;
  text-align: left;
}
.cart_totals table th { color: var(--rh-warm-gray); font-weight: 400; width: 45%; }
.cart_totals .order-total td,
.cart_totals .order-total th {
  font-family: var(--rh-font-display);
  font-size: 20px;
  font-weight: 400;
  border-bottom: none;
  padding-top: 1rem;
}
.wc-proceed-to-checkout { margin-top: 1.5rem; }
.wc-proceed-to-checkout .checkout-button {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px;
  background: var(--rh-red);
  color: white;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--rh-font-body);
  transition: background 0.2s;
}
.wc-proceed-to-checkout .checkout-button:hover {
  background: var(--rh-red-deep);
  color: white;
}

@media (max-width: 900px) {
  .cart-collaterals { grid-template-columns: 1fr; }
}

/* ============================================================
   CHECKOUT PAGE
============================================================ */
.woocommerce-checkout #customer_details,
.checkout-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3,
#payment h3 {
  font-family: var(--rh-font-display);
  font-size: 26px;
  font-weight: 300;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rh-border);
}

.form-row { margin-bottom: 1.25rem; }
.form-row label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rh-warm-gray);
  margin-bottom: 6px;
  font-family: var(--rh-font-body);
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="password"],
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--rh-border);
  background: white;
  padding: 12px 14px;
  font-family: var(--rh-font-body);
  font-size: 14px;
  color: var(--rh-ink);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: var(--rh-ink); }

/* Order review on checkout */
#order_review_heading {
  font-family: var(--rh-font-display);
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 1.5rem;
}
#order_review { background: var(--rh-ivory); padding: 2rem; }
table.shop_table.woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; }
table.shop_table.woocommerce-checkout-review-order-table th,
table.shop_table.woocommerce-checkout-review-order-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--rh-border);
  font-size: 14px;
  text-align: left;
}
table.shop_table.woocommerce-checkout-review-order-table th { color: var(--rh-warm-gray); font-weight: 400; }
table.shop_table.woocommerce-checkout-review-order-table .order-total td,
table.shop_table.woocommerce-checkout-review-order-table .order-total th {
  font-family: var(--rh-font-display);
  font-size: 20px;
  border-bottom: none;
  padding-top: 1rem;
}

/* Payment methods */
#payment .payment_methods { list-style: none; margin-bottom: 1.5rem; }
#payment .payment_methods li { padding: 12px 0; border-bottom: 1px solid var(--rh-border); }
#payment .payment_methods label { font-size: 14px; color: var(--rh-ink); text-transform: none; letter-spacing: 0; margin-bottom: 0; cursor: pointer; }
#payment .payment_box { padding: 1rem 0; font-size: 13px; color: var(--rh-warm-gray); }

#place_order {
  width: 100%;
  padding: 16px;
  background: var(--rh-red);
  color: white;
  border: none;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--rh-font-body);
  transition: background 0.2s;
  margin-top: 1rem;
}
#place_order:hover { background: var(--rh-red-deep); }

@media (max-width: 900px) {
  .woocommerce-checkout #customer_details { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
============================================================ */
#colophon {
  background: var(--rh-ink);
  color: var(--rh-cream);
  padding-top: 5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(250,247,242,0.1);
}
.footer-brand .logo {
  font-family: var(--rh-font-display);
  font-size: 22px;
  color: var(--rh-cream);
  display: block;
  margin-bottom: 1rem;
}
.footer-brand .logo span { color: var(--rh-gold); }
.footer-brand p { font-size: 13px; color: rgba(250,247,242,0.45); line-height: 1.7; max-width: 260px; margin: 0; }

.footer-col h5 {
  font-family: var(--rh-font-body);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rh-gold-light);
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  font-size: 13px;
  color: rgba(250,247,242,0.5);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--rh-cream); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(250,247,242,0.3);
  margin: 0;
}
.footer-currency select {
  background: rgba(250,247,242,0.08);
  border: 1px solid rgba(250,247,242,0.2);
  color: var(--rh-cream);
  padding: 7px 14px;
  font-family: var(--rh-font-body);
  font-size: 12px;
  cursor: pointer;
  appearance: none;
}
.footer-social { display: flex; gap: 1rem; }
.footer-social a { font-size: 13px; color: rgba(250,247,242,0.45); transition: color 0.2s; }
.footer-social a:hover { color: var(--rh-gold); }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ============================================================
   WOOCOMMERCE NOTICES
============================================================ */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  padding: 14px 20px;
  margin-bottom: 1.5rem;
  border-left: 3px solid;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.woocommerce-message { border-color: var(--rh-jade); background: #edf7f4; color: #1a4a3a; }
.woocommerce-error { border-color: var(--rh-red); background: #fdf0f0; color: var(--rh-red-deep); list-style: none; }
.woocommerce-info { border-color: var(--rh-gold); background: #fdf8ee; color: #5a3e10; }
.woocommerce-message a.button,
.woocommerce-info a.button {
  margin-left: auto;
  padding: 7px 16px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  white-space: nowrap;
  font-family: var(--rh-font-body);
  transition: all 0.2s;
}

/* ============================================================
   MISCELLANEOUS / BREADCRUMBS
============================================================ */
.woocommerce-breadcrumb {
  font-size: 12px;
  color: var(--rh-warm-gray);
  letter-spacing: 0.06em;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
}
.woocommerce-breadcrumb a { color: var(--rh-warm-gray); }
.woocommerce-breadcrumb a:hover { color: var(--rh-gold); }

/* Page title */
.woocommerce-products-header__title.page-title,
.entry-title {
  font-family: var(--rh-font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  margin-bottom: 2rem;
}

/* Results count + ordering */
.woocommerce-result-count {
  font-size: 13px;
  color: var(--rh-warm-gray);
}
.woocommerce-ordering select {
  border: 1px solid var(--rh-border);
  padding: 8px 14px;
  font-size: 12px;
  font-family: var(--rh-font-body);
  color: var(--rh-ink-soft);
  background: white;
  appearance: none;
}

/* Pagination */
.woocommerce-pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}
.woocommerce-pagination ul {
  display: flex;
  gap: 4px;
  list-style: none;
}
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--rh-border);
  font-size: 13px;
  color: var(--rh-ink-soft);
  transition: all 0.2s;
}
.woocommerce-pagination ul li a:hover,
.woocommerce-pagination ul li span.current {
  background: var(--rh-ink);
  color: var(--rh-cream);
  border-color: var(--rh-ink);
}

/* ============================================================
   RESPONSIVE — MOBILE
============================================================ */
@media (max-width: 768px) {
  .main-navigation { display: none; }
  .main-navigation.toggled { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--rh-cream); border-bottom: 1px solid var(--rh-border); padding: 1.5rem; z-index: 400; }
  .main-navigation.toggled ul { flex-direction: column; gap: 1rem; }
  .menu-toggle { display: block; }
}
