/* ============================================================
   RK DERMA — MAIN STYLESHEET
   Design System: Gold / Ivory / Charcoal
   Typography: Cormorant Garamond + Outfit
   Version: 1.0.0
   ============================================================ */

/* ── 1. DESIGN TOKENS ──────────────────────────────────────── */
:root {
  /* Brand Colors */
  --bg:    #F9F6F1;
  --bg2:   #F2EDE4;
  --bg3:   #EAE2D6;
  --white: #FFFFFF;
  --ink:   #181410;
  --ink2:  #2C2720;
  --body:  #5C5248;
  --muted: #9C9189;
  --gold:  #B8924A;
  --gold2: #D4A85C;
  --gold3: #F0C97A;
  --gp:    rgba(184, 146, 74, 0.09);
  --gb:    rgba(184, 146, 74, 0.22);
  --err:   #C0614A;
  --success: #3A9C5E;

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Outfit', system-ui, -apple-system, sans-serif;

  /* Radius */
  --r4:   4px;
  --r8:   8px;
  --r12:  12px;
  --r16:  16px;
  --r20:  20px;
  --r24:  24px;
  --r32:  32px;
  --rpill: 999px;

  /* Shadows */
  --s1: 0 2px 14px rgba(24, 20, 16, 0.05);
  --s2: 0 8px 32px rgba(24, 20, 16, 0.09);
  --s3: 0 24px 64px rgba(24, 20, 16, 0.11);
  --s4: 0 40px 100px rgba(24, 20, 16, 0.14);

  /* Transitions */
  --t-fast:   0.15s ease;
  --t-base:   0.25s ease;
  --t-slow:   0.4s ease;
  --t-spring: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Spacing scale */
  --sp-xs:  8px;
  --sp-sm:  16px;
  --sp-md:  24px;
  --sp-lg:  48px;
  --sp-xl:  80px;
  --sp-2xl: 120px;

  /* Layout */
  --max-w: 1280px;
  --gutter: clamp(20px, 4vw, 56px);

  /* Header height */
  --header-h: 72px;

  /* Z-index scale (P-05: token-based stacking order) */
  --z-header:      900; /* sticky header — above page content */
  --z-product-nav:  90; /* products sticky tab nav — below header */
}

/* ── 2. 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(--font-sans);
  background: var(--bg);
  color: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ── 3. SKIP LINK ───────────────────────────────────────────── */
.rk-skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--gold);
  color: #fff;
  padding: 12px 24px;
  font-weight: 600;
  z-index: 10000;
  border-radius: 0 0 var(--r8) 0;
  transition: top var(--t-fast);
}
.rk-skip-link:focus { top: 0; outline: 3px solid #fff; }

/* ── 4. LAYOUT UTILITIES ────────────────────────────────────── */
.rk-container {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.rk-section {
  padding-top: clamp(64px, 9vw, 112px);
  padding-bottom: clamp(64px, 9vw, 112px);
}

.rk-grid { display: grid; }
.rk-flex { display: flex; }
.rk-sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap;
}

.rk-hide-mobile  { display: none; }
.rk-hide-desktop { display: block; }

@media (min-width: 1024px) {
  .rk-hide-mobile  { display: block; }
  .rk-hide-desktop { display: none; }
}

/* ── 5. TYPOGRAPHY ──────────────────────────────────────────── */
.rk-h1, h1.rk-h1 {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.rk-h2, h2.rk-h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.rk-h3 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 36px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}
.rk-h1 em, .rk-h2 em, .rk-h3 em { font-style: italic; }

/* ── 6. EYEBROW ─────────────────────────────────────────────── */
.rk-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gp);
  border: 1px solid var(--gb);
  border-radius: var(--rpill);
  padding: 5px 16px 5px 10px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.rk-eyebrow--light {
  color: var(--gold2);
  background: rgba(212, 168, 92, 0.10);
  border-color: rgba(212, 168, 92, 0.22);
}
.rk-eyebrow__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
  animation: rkPulse 2.2s ease-in-out infinite;
}
@keyframes rkPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.65); }
}

/* ── 7. BUTTONS ─────────────────────────────────────────────── */
.rk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--rpill);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
  white-space: nowrap;
  transition: background var(--t-base), transform var(--t-base), box-shadow var(--t-base), color var(--t-base), border-color var(--t-base);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.rk-btn svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform var(--t-fast); }
.rk-btn:hover svg { transform: translateX(3px); }

/* Gold */
.rk-btn--gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.rk-btn--gold:hover { background: var(--gold2); border-color: var(--gold2); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(184, 146, 74, 0.32); color: #fff; }

/* Dark */
.rk-btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.rk-btn--dark:hover { background: var(--gold); border-color: var(--gold); color: #fff; transform: translateY(-2px); }

/* Outline dark */
.rk-btn--outline-dark { background: transparent; color: var(--ink2); border-color: rgba(24, 20, 16, 0.16); }
.rk-btn--outline-dark:hover { border-color: var(--gold); color: var(--gold); background: var(--gp); }

/* Outline light (for dark backgrounds) */
.rk-btn--outline { background: transparent; color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.22); }
.rk-btn--outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.45); color: #fff; transform: translateY(-2px); }

/* White */
.rk-btn--white { background: #fff; color: var(--ink); border-color: #fff; }
.rk-btn--white:hover { background: var(--bg2); color: var(--ink); transform: translateY(-2px); }

/* Sizes */
.rk-btn--sm  { padding: 10px 18px; font-size: 0.78rem; }
.rk-btn--lg  { padding: 17px 36px; font-size: 0.94rem; }
.rk-btn--full { width: 100%; }
.rk-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: var(--r8);
  background: transparent;
  border: none;
  transition: background var(--t-fast), color var(--t-fast);
  color: var(--ink);
}
.rk-icon-btn:hover { background: var(--gp); color: var(--gold); }

/* ── 8. ANNOUNCEMENT TOPBAR ─────────────────────────────────── */
.rk-topbar {
  background: var(--ink);
  padding: 10px var(--gutter);
  position: relative;
  z-index: 1000;
}
.rk-topbar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.rk-topbar__text {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  text-align: center;
}
.rk-topbar__close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.5);
  padding: 4px;
}
.rk-topbar__close:hover { color: #fff; }

/* ── 9. HEADER ──────────────────────────────────────────────── */
.rk-header {
  position: relative;
  background: var(--ink);
  height: var(--header-h);
  z-index: var(--z-header); /* P-05: token-based — change via --z-header in :root */
  border-bottom: 1px solid rgba(184, 146, 74, 0.12);
  transition: box-shadow var(--t-base), background var(--t-base);
}
.rk-header--sticky {
  position: sticky;
  top: 0;
}
.rk-header--scrolled {
  box-shadow: 0 4px 24px rgba(24, 20, 16, 0.18);
}
.rk-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.rk-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.rk-logo__image { height: 44px; width: auto; object-fit: contain; }
.rk-logo--text .rk-logo__name { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 500; color: var(--gold2); }
.rk-logo--text .rk-logo__tagline { font-size: 0.62rem; color: rgba(255,255,255,0.4); display: block; letter-spacing: 0.08em; }
.rk-logo--light .rk-logo__name { color: var(--gold2); }

/* Primary Nav */
.rk-header__nav { display: none; }
@media (min-width: 1024px) { .rk-header__nav { display: block; } }

.rk-nav__list { display: flex; align-items: center; gap: 4px; }
.rk-nav__list > li > a {
  display: block;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  border-radius: var(--r8);
  transition: color var(--t-fast), background var(--t-fast);
  text-decoration: none;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
.rk-nav__list > li > a:hover,
.rk-nav__list > li.current-menu-item > a,
.rk-nav__list > li.current-menu-parent > a {
  color: var(--gold2);
  background: rgba(184, 146, 74, 0.08);
}

/* Header Actions */
.rk-header__actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

/* Cart count badge */
.rk-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--gold);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  border-radius: var(--rpill);
  position: absolute;
  top: 2px;
  right: 2px;
  line-height: 1;
}
.rk-header__cart { position: relative; color: rgba(255,255,255,0.8); }

/* WhatsApp header button */
@media (max-width: 767px) {
  .rk-header__whatsapp .rk-hide-mobile { display: none !important; }
}

/* Hamburger */
.rk-hamburger__line {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  transition: transform var(--t-base), opacity var(--t-base);
  margin: 4px 0;
}

/* ── 10. MOBILE DRAWER ──────────────────────────────────────── */
.rk-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
}
.rk-mobile-drawer[hidden] { display: none; }
.rk-mobile-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 20, 16, 0.6);
  backdrop-filter: blur(4px);
}
.rk-mobile-drawer__nav {
  position: relative;
  z-index: 1;
  background: var(--ink);
  width: min(320px, 85vw);
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 24px;
  animation: drawerSlideIn 0.3s var(--t-spring);
}
@keyframes drawerSlideIn { from { transform: translateX(-100%); } to { transform: none; } }

.rk-mobile-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.rk-mobile-drawer__close { color: rgba(255,255,255,0.6); }
.rk-mobile-drawer__close:hover { color: #fff; }

.rk-mobile-nav__list { flex: 1; }
.rk-mobile-nav__list > li > a {
  display: block;
  padding: 14px 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--t-fast);
}
.rk-mobile-nav__list > li > a:hover { color: var(--gold2); }

.rk-mobile-drawer__footer { margin-top: auto; padding-top: 24px; }

/* ── 11. SEARCH MODAL ───────────────────────────────────────── */
.rk-search-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
}
.rk-search-modal[hidden] { display: none; }
.rk-search-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 20, 16, 0.7);
  backdrop-filter: blur(8px);
}
.rk-search-modal__inner {
  position: relative;
  z-index: 1;
  width: min(640px, 90vw);
  animation: searchFadeIn 0.25s ease;
}
@keyframes searchFadeIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: none; } }

.rk-search-modal__close {
  position: absolute;
  top: -48px;
  right: 0;
  color: rgba(255,255,255,0.7);
  padding: 8px;
}
.rk-search-modal__close:hover { color: #fff; }

/* WP search form styling */
.search-form {
  display: flex;
  background: var(--white);
  border-radius: var(--rpill);
  overflow: hidden;
  box-shadow: var(--s4);
}
.search-form label { flex: 1; }
.search-form input[type="search"] {
  width: 100%;
  padding: 18px 24px;
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--ink);
  background: transparent;
}
.search-form input[type="submit"] {
  padding: 12px 24px;
  background: var(--gold);
  color: #fff;
  border: none;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t-fast);
}
.search-form input[type="submit"]:hover { background: var(--gold2); }

/* ── 12. CART DRAWER ────────────────────────────────────────── */
.rk-cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
}
.rk-cart-drawer[hidden] { display: none; }
.rk-cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 20, 16, 0.5);
  backdrop-filter: blur(4px);
}
.rk-cart-drawer__panel {
  position: relative;
  z-index: 1;
  background: var(--white);
  width: min(420px, 90vw);
  height: 100%;
  display: flex;
  flex-direction: column;
  animation: drawerSlideRight 0.3s var(--t-spring);
}
@keyframes drawerSlideRight { from { transform: translateX(100%); } to { transform: none; } }
.rk-cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(184, 146, 74, 0.12);
}
.rk-cart-drawer__title { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 400; color: var(--ink); }
.rk-cart-drawer__close { color: var(--muted); }
.rk-cart-drawer__close:hover { color: var(--ink); }
.rk-cart-drawer__body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.rk-cart-drawer__footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(184, 146, 74, 0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── 13. WOOCOMMERCE MINI CART ──────────────────────────────── */
.woocommerce-mini-cart { list-style: none; }
.woocommerce-mini-cart__empty-message { text-align: center; color: var(--muted); padding: 40px 0; font-size: 0.9rem; }
.woocommerce-mini-cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(184,146,74,0.08);
}
.woocommerce-mini-cart-item img { width: 60px; height: 60px; object-fit: cover; border-radius: var(--r8); }
.woocommerce-mini-cart-item .remove { color: var(--muted); font-size: 1.2rem; }
.woocommerce-mini-cart-item .remove:hover { color: var(--err); }
.mini_cart_item .woocommerce-Price-amount { color: var(--gold); font-weight: 600; }
.woocommerce-mini-cart__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  font-weight: 600;
  color: var(--ink);
  border-top: 1px solid rgba(184,146,74,0.14);
  margin-top: 8px;
}

/* ── 14. SHOP HERO ──────────────────────────────────────────── */
.rk-shop-hero {
  background: var(--ink);
  padding: clamp(56px, 8vw, 96px) var(--gutter) clamp(48px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}
.rk-shop-hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,146,74,.10) 0%, transparent 65%);
  top: -200px; right: -100px;
  pointer-events: none;
}
.rk-shop-hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.rk-shop-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 300;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 12px;
}
.rk-shop-hero__title em { font-style: italic; color: var(--gold2); }

/* ── 15. SHOP GRID ──────────────────────────────────────────── */
.rk-shop-layout { padding-top: clamp(36px, 5vw, 60px); padding-bottom: clamp(56px, 8vw, 96px); }
.rk-shop-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(184, 146, 74, 0.10);
  flex-wrap: wrap;
}
.rk-shop-controls__count .woocommerce-result-count { font-size: 0.84rem; color: var(--muted); margin: 0; }

/* WooCommerce ordering */
.woocommerce-ordering select {
  padding: 8px 36px 8px 14px;
  border: 1.5px solid rgba(184, 146, 74, 0.18);
  border-radius: var(--rpill);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--body);
  background: var(--white);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239C9189' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

/* Product Grid */
.rk-shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 960px) { .rk-shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .rk-shop-grid { grid-template-columns: 1fr; } }

/* ── 16. PRODUCT CARD ───────────────────────────────────────── */
.rk-product-card {
  background: var(--white);
  border-radius: var(--r24);
  overflow: hidden;
  border: 1px solid rgba(184, 146, 74, 0.08);
  box-shadow: var(--s1);
  transition: transform 0.4s var(--t-spring), box-shadow 0.4s;
  display: flex;
  flex-direction: column;
}
.rk-product-card:hover { transform: translateY(-6px); box-shadow: var(--s3); }

.rk-product-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg);
}
.rk-product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.rk-product-card:hover .rk-product-card__img { transform: scale(1.04); }
.rk-product-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(24,20,16,.20) 100%);
}

.rk-product-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.rk-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--rpill);
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.rk-badge--sale    { background: var(--gold); color: #fff; }
.rk-badge--new     { background: var(--ink); color: var(--gold2); }
.rk-badge--outofstock { background: var(--muted); color: #fff; }

.rk-product-card__actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity var(--t-base), transform var(--t-base);
}
.rk-product-card:hover .rk-product-card__actions { opacity: 1; transform: none; }
.rk-product-card__quick-view {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--r8);
  padding: 8px;
  color: var(--ink);
  box-shadow: var(--s1);
}
.rk-product-card__quick-view:hover { background: #fff; color: var(--gold); }

.rk-product-card__body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.rk-product-card__cat {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.rk-product-card__name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 8px;
}
.rk-product-card__name a { text-decoration: none; color: inherit; }
.rk-product-card__name a:hover { color: var(--gold); }

.rk-product-card__rating { margin-bottom: 8px; }
.rk-product-card__rating .star-rating { color: var(--gold); }

.rk-product-card__price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
}
.rk-product-card__price del { color: var(--muted); font-size: 0.88rem; margin-right: 6px; font-weight: 400; }
.rk-product-card__price ins { text-decoration: none; }

.rk-product-card__excerpt {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 16px;
  flex: 1;
}

.rk-product-card__cta {
  display: flex;
  gap: 8px;
  margin-top: auto;
  flex-wrap: wrap;
}
.rk-add-to-cart { flex: 1; justify-content: center; }

/* ── 17. WOO PAGINATION ─────────────────────────────────────── */
.woocommerce-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}
.woocommerce-pagination ul {
  display: flex;
  gap: 6px;
  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-radius: var(--r8);
  font-size: 0.86rem;
  font-weight: 500;
  border: 1.5px solid rgba(184, 146, 74, 0.18);
  color: var(--body);
  text-decoration: none;
  transition: all var(--t-fast);
}
.woocommerce-pagination ul li a:hover { border-color: var(--gold); color: var(--gold); background: var(--gp); }
.woocommerce-pagination ul li span.current { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ── 18. SINGLE PRODUCT PAGE ─────────────────────────────────── */
.rk-single-product-page { padding: clamp(40px, 6vw, 80px) var(--gutter); }
.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); max-width: var(--max-w); margin: 0 auto; }
@media (max-width: 768px) { .woocommerce div.product { grid-template-columns: 1fr; } }

/* Product gallery */
.woocommerce-product-gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.woocommerce-product-gallery__image img { border-radius: var(--r24); width: 100%; box-shadow: var(--s3); }

/* Product summary */
.product_title { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 48px); font-weight: 300; color: var(--ink); margin-bottom: 12px; line-height: 1.1; }
.woocommerce-product-rating { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.star-rating { color: var(--gold); }
.woocommerce-review-link { font-size: 0.82rem; color: var(--muted); }
.price { font-size: 1.8rem; font-weight: 600; color: var(--gold); margin-bottom: 20px; }
.price del { color: var(--muted); font-size: 1.2rem; font-weight: 400; margin-right: 8px; }
.woocommerce-product-details__short-description { font-size: 0.93rem; line-height: 1.85; color: var(--body); margin-bottom: 24px; border-bottom: 1px solid rgba(184,146,74,.10); padding-bottom: 24px; }

/* Add to cart */
.single_add_to_cart_button {
  background: var(--gold) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--rpill) !important;
  padding: 15px 32px !important;
  font-family: var(--font-sans) !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  cursor: pointer;
  transition: background var(--t-base), transform var(--t-base), box-shadow var(--t-base) !important;
}
.single_add_to_cart_button:hover { background: var(--gold2) !important; transform: translateY(-2px) !important; box-shadow: 0 14px 36px rgba(184,146,74,.32) !important; }
.quantity input[type="number"] { border: 1.5px solid rgba(184,146,74,.22) !important; border-radius: var(--r8) !important; padding: 10px 14px !important; font-family: var(--font-sans) !important; font-size: 1rem !important; width: 80px; }

/* Tabs */
.woocommerce-tabs { grid-column: 1 / -1; margin-top: 48px; border-top: 1px solid rgba(184,146,74,.12); padding-top: 40px; }
.woocommerce-tabs ul.tabs { display: flex; gap: 4px; margin-bottom: 32px; border-bottom: 1px solid rgba(184,146,74,.10); }
.woocommerce-tabs ul.tabs li a { display: block; padding: 12px 20px; font-size: 0.86rem; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color var(--t-fast), border-color var(--t-fast); }
.woocommerce-tabs ul.tabs li.active a { color: var(--gold); border-bottom-color: var(--gold); }
.woocommerce-tabs .panel { font-size: 0.92rem; line-height: 1.85; color: var(--body); }

/* ── 19. BREADCRUMBS ────────────────────────────────────────── */
.woocommerce-breadcrumb {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding: 16px var(--gutter) 0;
}
.woocommerce-breadcrumb a { color: var(--gold); }
.woocommerce-breadcrumb a:hover { text-decoration: underline; }

/* ── 20. WOO NOTICES ────────────────────────────────────────── */
.woocommerce-message, .woocommerce-error, .woocommerce-info {
  padding: 14px 20px;
  border-radius: var(--r12);
  font-size: 0.88rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.woocommerce-message { background: rgba(58, 156, 94, 0.08); border: 1px solid rgba(58, 156, 94, 0.22); color: #2d7a4a; }
.woocommerce-error   { background: rgba(192, 97, 74, 0.08); border: 1px solid rgba(192, 97, 74, 0.22); color: var(--err); }
.woocommerce-info    { background: var(--gp); border: 1px solid var(--gb); color: var(--gold); }

/* ── 21. CART / CHECKOUT ────────────────────────────────────── */
.woocommerce-cart-form, .woocommerce-checkout {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--gutter);
}
.shop_table { width: 100%; border-collapse: collapse; }
.shop_table th { padding: 12px 16px; background: var(--bg); border-bottom: 2px solid rgba(184,146,74,.12); font-size: 0.78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.shop_table td { padding: 16px; border-bottom: 1px solid rgba(184,146,74,.08); vertical-align: middle; }
.shop_table .product-thumbnail img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--r8); }
.shop_table .amount { color: var(--gold); font-weight: 600; }

/* Checkout form */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .woocommerce-checkout .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; } }
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(184,146,74,.18);
  border-radius: var(--r12);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,146,74,.12);
}
.woocommerce-checkout label { font-size: 0.78rem; font-weight: 600; color: var(--muted); display: block; margin-bottom: 6px; letter-spacing: .08em; }
#place_order {
  background: var(--gold) !important;
  color: #fff !important;
  border: none !important;
  padding: 16px 40px !important;
  border-radius: var(--rpill) !important;
  font-size: 0.94rem !important;
  font-weight: 700 !important;
  cursor: pointer;
  width: 100%;
  transition: background var(--t-base), transform var(--t-base) !important;
}
#place_order:hover { background: var(--gold2) !important; transform: translateY(-2px) !important; }

/* ── 22. MY ACCOUNT ─────────────────────────────────────────── */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 4vw, 64px); max-width: var(--max-w); margin: clamp(40px,6vw,80px) auto; padding: 0 var(--gutter); }
@media (max-width: 768px) { .woocommerce-account .woocommerce { grid-template-columns: 1fr; } }
.woocommerce-account .woocommerce-MyAccount-navigation { background: var(--bg); border-radius: var(--r20); padding: 24px; position: sticky; top: calc(var(--header-h) + 20px); height: fit-content; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li a { display: block; padding: 10px 14px; border-radius: var(--r12); font-size: 0.86rem; color: var(--body); transition: background var(--t-fast), color var(--t-fast); }
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover { background: var(--gp); color: var(--gold); }
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a { background: var(--ink); color: var(--gold2); }

/* ── 23. BLOG ───────────────────────────────────────────────── */
.rk-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: clamp(40px, 6vw, 72px) 0;
}
@media (max-width: 960px) { .rk-archive-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .rk-archive-grid { grid-template-columns: 1fr; } }

.rk-blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: clamp(32px, 5vw, 64px); max-width: var(--max-w); margin: 0 auto; }
@media (max-width: 900px) { .rk-blog-layout { grid-template-columns: 1fr; } }

.rk-single-post__header { margin-bottom: 32px; }
.rk-single-post__meta { display: flex; gap: 16px; font-size: 0.78rem; color: var(--muted); margin-bottom: 16px; flex-wrap: wrap; }
.rk-single-post__title { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 52px); font-weight: 300; line-height: 1.1; color: var(--ink); margin-bottom: 28px; }
.rk-single-post__featured-img { border-radius: var(--r20); overflow: hidden; margin-bottom: 8px; }
.rk-single-post__featured-img img { width: 100%; }
.rk-single-post__body { font-size: 0.96rem; line-height: 1.88; color: var(--body); }
.rk-single-post__body h2, .rk-single-post__body h3 { font-family: var(--font-serif); color: var(--ink); margin: 32px 0 14px; }
.rk-single-post__body p { margin-bottom: 18px; }
.rk-single-post__body a { color: var(--gold); border-bottom: 1px solid rgba(184,146,74,.3); }
.rk-single-post__body a:hover { border-color: var(--gold); }
.entry-content img { border-radius: var(--r12); margin: 24px 0; }

/* ── 24. 404 PAGE ───────────────────────────────────────────── */
.rk-404-page { min-height: 70vh; display: flex; align-items: center; }
.rk-404-inner { text-align: center; }
.rk-404-title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 16px;
}
.rk-404-title em { font-style: italic; color: var(--gold); }
.rk-404-body { font-size: 1rem; color: var(--muted); max-width: 480px; margin: 0 auto 32px; line-height: 1.8; }
.rk-404-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.rk-404-links { margin-top: 24px; }
.rk-404-links__label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .10em; margin-bottom: 12px; font-weight: 600; }
.rk-404-links__list { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.rk-404-links__list a { font-size: 0.88rem; color: var(--gold); border-bottom: 1px solid rgba(184,146,74,.3); }
.rk-404-links__list a:hover { border-color: var(--gold); }

/* ── 25. FOOTER ─────────────────────────────────────────────── */
.rk-footer { background: var(--ink); color: rgba(255,255,255,0.6); }
.rk-footer__main { padding: clamp(56px, 8vw, 96px) var(--gutter) clamp(40px, 5vw, 64px); }
.rk-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
}
@media (max-width: 900px) { .rk-footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 560px)  { .rk-footer__inner { grid-template-columns: 1fr; } }

.rk-footer__tagline { font-size: 0.84rem; line-height: 1.8; color: rgba(255,255,255,.45); margin-top: 16px; margin-bottom: 24px; }
.rk-footer__social { display: flex; gap: 10px; }
.rk-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--r8);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.5);
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.rk-footer__social-link:hover { background: var(--gp); border-color: var(--gb); color: var(--gold2); transform: translateY(-2px); }

.rk-footer__col-title {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.rk-footer__nav-list li { margin-bottom: 8px; }
.rk-footer__nav-list a {
  font-size: 0.88rem;
  color: rgba(255,255,255,.55);
  transition: color var(--t-fast);
}
.rk-footer__nav-list a:hover { color: var(--gold2); }

.rk-footer__bar {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 18px var(--gutter);
}
.rk-footer__bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.rk-footer__copyright { font-size: 0.76rem; color: rgba(255,255,255,.28); }
.rk-footer__bar-links { display: flex; gap: 16px; }
.rk-footer__bar-links a { font-size: 0.76rem; color: rgba(255,255,255,.28); transition: color var(--t-fast); }
.rk-footer__bar-links a:hover { color: var(--gold2); }

/* ── 26. WHATSAPP FAB ───────────────────────────────────────── */
.rk-whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35);
  z-index: 800;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.rk-whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 12px 40px rgba(37, 211, 102, 0.45); }
.rk-whatsapp-fab__tooltip {
  position: absolute;
  right: 64px;
  background: var(--ink);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--rpill);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
}
.rk-whatsapp-fab:hover .rk-whatsapp-fab__tooltip { opacity: 1; }

/* ── 27. REVEAL ANIMATION ───────────────────────────────────── */
.rk-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.rk-reveal.is-visible { opacity: 1; transform: none; }
.rk-reveal[data-delay="1"] { transition-delay: 0.08s; }
.rk-reveal[data-delay="2"] { transition-delay: 0.16s; }
.rk-reveal[data-delay="3"] { transition-delay: 0.24s; }
.rk-reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ── 28. PAGINATION (blog) ──────────────────────────────────── */
.nav-links { display: flex; gap: 6px; justify-content: center; padding: 40px 0; }
.nav-links .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border-radius: var(--r8);
  font-size: 0.86rem;
  border: 1.5px solid rgba(184,146,74,.18);
  color: var(--body);
  text-decoration: none;
  transition: all var(--t-fast);
}
.nav-links .page-numbers:hover { border-color: var(--gold); color: var(--gold); background: var(--gp); }
.nav-links .page-numbers.current { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ── 29. QUICK VIEW MODAL ───────────────────────────────────── */
.rk-quick-view-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.rk-quick-view-modal[hidden] { display: none; }
.rk-quick-view-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24,20,16,.65);
  backdrop-filter: blur(6px);
}
.rk-quick-view-modal__panel {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--r24);
  padding: 32px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--s4);
  animation: modalFadeIn .3s ease;
}
@keyframes modalFadeIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

/* ── 30. RESPONSIVE UTILITIES ───────────────────────────────── */
@media (max-width: 768px) {
  .rk-blog-layout { grid-template-columns: 1fr; }
  .rk-single-post__meta { gap: 10px; }
  .rk-footer__bar-inner { flex-direction: column; text-align: center; }
  .rk-whatsapp-fab { bottom: 18px; right: 18px; width: 50px; height: 50px; }
  .rk-search-modal { padding-top: 80px; }
}

@media (max-width: 480px) {
  :root { --header-h: 60px; }
  .rk-404-actions { flex-direction: column; align-items: center; }
  .rk-cart-drawer__panel { width: 100%; }
}

/* ── 31. ELEMENTOR CONTAINER RESET ─────────────────────────── */
/*
 * MAJOR-06: Prevent theme.json block-layout max-width constraints from
 * bleeding into Elementor sections, inner sections, and flex containers.
 * !important is required — these rules override WP block editor injected
 * styles (.is-layout-constrained, .wp-container-*) that load after main.css
 * and enforce a narrower content width.
 *
 * Covers both legacy Section/Column layout and Flexbox Container (Elementor 3.6+).
 */
.elementor-section-wrap,
.elementor-inner,
.elementor-container,
.elementor-column-wrap,
.elementor-widget-wrap,
.e-con,
.e-con-inner {
    max-width: none !important;
}
