/* ========================================
   EBBY EQUESTRIAN — Design System
   Custom Theme Preview
   ======================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400&display=swap');

/* --- CSS Variables --- */
:root {
  /* Brand */
  --gold: #D4B483;
  --navy: #1A2A40;
  --taupe: #C2AFA0;

  /* Text */
  --text-strongest: #2B2B2B;
  --text-strong: #1A2A40;
  --text-medium: #6B6B6B;
  --text-subtle: #AFAFAF;

  /* Backgrounds */
  --bg-subtle: #E9E3DD;
  --bg-light: #F7F5F2;
  --bg-white: #FFFFFF;

  /* Status */
  --success: #4A7C59;
  --info: #4A6FA5;
  --alert: #A94442;
  --warning: #C28A2E;
  --rating: #D4B483;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --border-radius: 4px;
  --border-radius-lg: 8px;

  /* Transitions */
  --transition: 0.25s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-strongest);
  background-color: var(--bg-white);
  line-height: 1.7;
  font-weight: 400;
}

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

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

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-strong);
  line-height: 1.25;
  font-weight: 600;
}

h1 { font-size: 2.75rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-medium { color: var(--text-medium); }
.text-subtle { color: var(--text-subtle); }

.font-heading { font-family: var(--font-heading); }

/* --- Layout Utilities --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-4xl) 0;
}

.section--subtle {
  background-color: var(--bg-light);
}

.section--navy {
  background-color: var(--navy);
  color: var(--bg-white);
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--bg-white);
}

.grid {
  display: grid;
  gap: var(--space-xl);
}

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

@media (max-width: 768px) {
  .grid--2, .grid--3, .grid--4 {
    grid-template-columns: 1fr;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .container { padding: 0 var(--space-md); }
  .section { padding: var(--space-2xl) 0; }
}

/* --- Placeholder Images --- */
.placeholder-img {
  background: linear-gradient(135deg, var(--bg-subtle) 0%, var(--taupe) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-subtle);
  font-size: 0.8rem;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.placeholder-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.placeholder-img--hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2a3f5a 50%, var(--navy) 100%);
  color: rgba(255,255,255,0.3);
}

.placeholder-img--product {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-subtle) 100%);
  border-radius: var(--border-radius-lg);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.8rem 1.8rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn--primary {
  background-color: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn--primary:hover {
  background-color: #c5a474;
  border-color: #c5a474;
  color: var(--navy);
}

.btn--secondary {
  background-color: var(--navy);
  color: var(--bg-white);
  border-color: var(--navy);
}

.btn--secondary:hover {
  background-color: #243a54;
  border-color: #243a54;
  color: var(--bg-white);
}

.btn--outline {
  background-color: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--outline:hover {
  background-color: var(--navy);
  color: var(--bg-white);
}

.btn--outline-white {
  background-color: transparent;
  color: var(--bg-white);
  border-color: var(--bg-white);
}

.btn--outline-white:hover {
  background-color: var(--bg-white);
  color: var(--navy);
}

.btn--sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.8rem;
}

.btn--lg {
  padding: 1rem 2.4rem;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
}

/* --- Header / Navigation --- */
.site-header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--bg-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.site-header__logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.site-header__logo-text span {
  color: var(--gold);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.site-nav__link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-strong);
  text-decoration: none;
  padding: var(--space-xs) 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}

.site-nav__link:hover,
.site-nav__link--active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.site-nav__cart {
  position: relative;
}

.site-nav__cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Top Bar --- */
.top-bar {
  background-color: var(--navy);
  color: var(--bg-white);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: var(--space-sm) 0;
  text-align: center;
}

.top-bar a {
  color: var(--gold);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,42,64,0.88) 0%, rgba(26,42,64,0.6) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.hero__title {
  font-size: 3.25rem;
  color: var(--bg-white);
  margin-bottom: var(--space-lg);
  line-height: 1.15;
}

.hero__description {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero { min-height: 440px; }
  .hero__title { font-size: 2.25rem; }
}

/* --- Section Headers --- */
.section-header {
  margin-bottom: var(--space-2xl);
}

.section-header__label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.section-header__title {
  margin-bottom: var(--space-sm);
}

.section-header__divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin-top: var(--space-md);
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-header__divider {
  margin-left: auto;
  margin-right: auto;
}

/* --- Cards --- */
.card {
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(0,0,0,0.06);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(26,42,64,0.1);
}

.card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.card__image .placeholder-img {
  width: 100%;
  height: 100%;
}

.card__body {
  padding: var(--space-lg);
}

.card__category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.card__title {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
}

.card__title a {
  color: var(--text-strong);
  text-decoration: none;
}

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

.card__excerpt {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.8rem;
  color: var(--text-subtle);
}

/* --- Star Rating --- */
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--rating);
}

.stars--lg {
  font-size: 1.3rem;
}

.stars--sm {
  font-size: 0.9rem;
}

.star { color: var(--rating); }
.star--empty { color: var(--bg-subtle); }

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--navy);
  color: var(--bg-white);
  padding: 0.4rem 0.8rem;
  border-radius: var(--border-radius);
  font-size: 0.85rem;
  font-weight: 700;
}

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

/* --- "Best For" Badge --- */
.best-for-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: linear-gradient(135deg, var(--gold) 0%, #e0c49a 100%);
  color: var(--navy);
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.best-for-badge::before {
  content: '★';
  font-size: 0.7rem;
}

/* --- "Worth It" Verdict --- */
.verdict {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--bg-light);
  border-left: 4px solid var(--success);
  border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
}

.verdict--no {
  border-left-color: var(--alert);
}

.verdict__icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.verdict__text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-strong);
}

.verdict__subtext {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin-top: var(--space-xs);
}

/* --- Pros & Cons --- */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin: var(--space-xl) 0;
}

@media (max-width: 768px) {
  .pros-cons { grid-template-columns: 1fr; }
}

.pros-cons__col h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
}

.pros-cons__col--pros h4 {
  color: var(--success);
  border-bottom: 2px solid var(--success);
}

.pros-cons__col--cons h4 {
  color: var(--alert);
  border-bottom: 2px solid var(--alert);
}

.pros-cons__list {
  list-style: none;
}

.pros-cons__list li {
  padding: var(--space-sm) 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-medium);
  border-bottom: 1px solid var(--bg-subtle);
}

.pros-cons__list li:last-child {
  border-bottom: none;
}

.pros-cons__list li::before {
  position: absolute;
  left: 0;
  font-weight: 700;
}

.pros-cons__col--pros .pros-cons__list li::before {
  content: '✓';
  color: var(--success);
}

.pros-cons__col--cons .pros-cons__list li::before {
  content: '✕';
  color: var(--alert);
}

/* --- Review Summary Box --- */
.review-summary {
  background: var(--bg-white);
  border: 1px solid var(--bg-subtle);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
}

.review-summary__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--bg-subtle);
}

.review-summary__score {
  text-align: center;
}

.review-summary__number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.review-summary__out-of {
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.review-summary__criteria {
  list-style: none;
  display: grid;
  gap: var(--space-sm);
}

.review-summary__criteria li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  font-size: 0.9rem;
}

.review-summary__criteria-label {
  color: var(--text-medium);
  min-width: 100px;
}

.review-summary__bar {
  flex: 1;
  height: 6px;
  background: var(--bg-subtle);
  border-radius: 3px;
  overflow: hidden;
}

.review-summary__bar-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 3px;
  transition: width 0.6s ease;
}

.review-summary__criteria-score {
  font-weight: 700;
  color: var(--text-strong);
  min-width: 28px;
  text-align: right;
}

/* --- Affiliate CTA --- */
.affiliate-cta {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--bg-light);
  border: 1px solid var(--bg-subtle);
  border-radius: var(--border-radius-lg);
  margin: var(--space-xl) 0;
}

.affiliate-cta__image {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.affiliate-cta__body {
  flex: 1;
}

.affiliate-cta__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.affiliate-cta__price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-xs);
}

.affiliate-cta__disclosure {
  font-size: 0.75rem;
  color: var(--text-subtle);
  font-style: italic;
}

/* --- Comparison Table --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-xl) 0;
  font-size: 0.9rem;
}

.comparison-table thead {
  background: var(--navy);
  color: var(--bg-white);
}

.comparison-table th {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.comparison-table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--bg-subtle);
  vertical-align: middle;
}

.comparison-table tbody tr:hover {
  background: var(--bg-light);
}

.comparison-table .stars {
  font-size: 0.85rem;
}

/* --- Filters Bar --- */
.filters-bar {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  padding: var(--space-lg);
  background: var(--bg-white);
  border: 1px solid var(--bg-subtle);
  border-radius: var(--border-radius-lg);
  margin-bottom: var(--space-2xl);
}

.filters-bar__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-strong);
}

.filter-select {
  padding: 0.5rem 2rem 0.5rem 0.8rem;
  border: 1px solid var(--bg-subtle);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-strong);
  background: var(--bg-white);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%236B6B6B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  cursor: pointer;
}

.filter-select:focus {
  outline: none;
  border-color: var(--gold);
}

/* --- Newsletter Section --- */
.newsletter {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
}

.newsletter__form {
  display: flex;
  gap: var(--space-sm);
  max-width: 480px;
  margin: var(--space-xl) auto 0;
}

.newsletter__input {
  flex: 1;
  padding: 0.8rem 1.2rem;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--border-radius);
  background: rgba(255,255,255,0.1);
  color: var(--bg-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.newsletter__input::placeholder {
  color: rgba(255,255,255,0.5);
}

.newsletter__input:focus {
  outline: none;
  border-color: var(--gold);
}

.newsletter__consent {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: var(--space-md);
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: var(--space-md) 0;
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.breadcrumbs a {
  color: var(--text-subtle);
}

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

.breadcrumbs span {
  margin: 0 0.4rem;
  color: var(--bg-subtle);
}

/* --- Tags / Pill --- */
.tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--bg-light);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-medium);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--transition);
}

.tag:hover {
  background: var(--gold);
  color: var(--navy);
}

.tag--active {
  background: var(--navy);
  color: var(--bg-white);
}

/* --- Footer --- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

@media (max-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

.site-footer__brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: var(--space-md);
}

.site-footer__brand-name span {
  color: var(--gold);
}

.site-footer__description {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
}

.site-footer h5 {
  color: var(--bg-white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.site-footer__links {
  list-style: none;
}

.site-footer__links li {
  margin-bottom: var(--space-sm);
}

.site-footer__links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.site-footer__socials {
  display: flex;
  gap: var(--space-md);
}

.site-footer__socials a {
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

/* --- Review Article Layout --- */
.article-header {
  padding: var(--space-2xl) 0 var(--space-lg);
}

.article-header__category {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.article-header__title {
  margin-bottom: var(--space-md);
  max-width: 720px;
}

.article-header__meta {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  font-size: 0.85rem;
  color: var(--text-medium);
  flex-wrap: wrap;
}

.article-header__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.article-header__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
}

.article-content {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-strongest);
}

.article-content h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.article-content h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.article-content p {
  margin-bottom: var(--space-lg);
}

/* --- Sidebar --- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-3xl);
  align-items: start;
}

@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
}

.sidebar {
  position: sticky;
  top: 100px;
}

.sidebar__widget {
  background: var(--bg-light);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.sidebar__widget-title {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-strong);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--gold);
}

/* --- WooCommerce: Shop --- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 768px) {
  .shop-grid { grid-template-columns: 1fr; }
}

.product-card {
  background: var(--bg-white);
  border: 1px solid var(--bg-subtle);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  text-align: center;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(26,42,64,0.1);
}

.product-card__image {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-light);
}

.product-card__body {
  padding: var(--space-lg);
}

.product-card__category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-xs);
}

.product-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
  color: var(--text-strong);
}

.product-card__price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-md);
}

.product-card__price del {
  color: var(--text-subtle);
  font-size: 0.9rem;
  font-weight: 400;
  margin-right: var(--space-sm);
}

/* --- WooCommerce: Single Product --- */
.product-single {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

@media (max-width: 768px) {
  .product-single { grid-template-columns: 1fr; }
}

.product-single__gallery {
  position: sticky;
  top: 100px;
}

.product-single__main-image {
  aspect-ratio: 1;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.product-single__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.product-single__thumb {
  aspect-ratio: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition);
}

.product-single__thumb--active,
.product-single__thumb:hover {
  border-color: var(--gold);
}

.product-single__info {
  padding-top: var(--space-md);
}

.product-single__category {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.product-single__title {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.product-single__price {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-lg);
}

.product-single__description {
  font-size: 1rem;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--bg-subtle);
}

.product-single__details {
  list-style: none;
  margin-bottom: var(--space-xl);
}

.product-single__details li {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--bg-subtle);
  font-size: 0.9rem;
}

.product-single__details-label {
  font-weight: 700;
  color: var(--text-strong);
}

.product-single__details-value {
  color: var(--text-medium);
}

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

.cart-table th {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-strong);
  text-align: left;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 2px solid var(--navy);
}

.cart-table td {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--bg-subtle);
  vertical-align: middle;
}

.cart-item__product {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.cart-item__image {
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius);
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item__name {
  font-weight: 700;
  color: var(--text-strong);
}

.cart-item__variant {
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--bg-subtle);
  border-radius: var(--border-radius);
  overflow: hidden;
  width: fit-content;
}

.cart-item__qty button {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-light);
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-strong);
  transition: background var(--transition);
}

.cart-item__qty button:hover {
  background: var(--bg-subtle);
}

.cart-item__qty input {
  width: 44px;
  height: 36px;
  border: none;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-strong);
}

.cart-item__remove {
  color: var(--text-subtle);
  cursor: pointer;
  font-size: 1.1rem;
  transition: color var(--transition);
  background: none;
  border: none;
}

.cart-item__remove:hover {
  color: var(--alert);
}

.cart-summary {
  background: var(--bg-light);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  max-width: 400px;
  margin-left: auto;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  font-size: 0.95rem;
  color: var(--text-medium);
}

.cart-summary__row--total {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-strong);
  border-top: 2px solid var(--navy);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
}

/* --- WooCommerce: Checkout --- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--space-3xl);
  align-items: start;
}

@media (max-width: 1024px) {
  .checkout-layout { grid-template-columns: 1fr; }
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: var(--space-sm);
}

.form-group label .required {
  color: var(--alert);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--bg-subtle);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-strong);
  transition: border-color var(--transition);
  background: var(--bg-white);
}

.form-input:focus {
  outline: none;
  border-color: var(--gold);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
}

.checkout-section {
  margin-bottom: var(--space-2xl);
}

.checkout-section__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-strong);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--gold);
}

.order-summary {
  background: var(--bg-light);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  position: sticky;
  top: 100px;
}

.order-summary__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--gold);
}

.order-summary__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--bg-subtle);
}

.order-summary__item-name {
  color: var(--text-strong);
  font-weight: 600;
}

.order-summary__item-price {
  color: var(--text-medium);
}

/* --- Disclosure --- */
.disclosure {
  font-size: 0.75rem;
  color: var(--text-subtle);
  font-style: italic;
  padding: var(--space-md);
  background: var(--bg-light);
  border-radius: var(--border-radius);
  margin: var(--space-md) 0;
}

/* --- Page Title Banner --- */
.page-banner {
  background: var(--navy);
  padding: var(--space-2xl) 0;
  text-align: center;
}

.page-banner__title {
  color: var(--bg-white);
  font-size: 2.25rem;
  margin-bottom: var(--space-sm);
}

.page-banner__subtitle {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
}

/* --- Pagination --- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
}

.pagination__item {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-medium);
  border: 1px solid var(--bg-subtle);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.pagination__item:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.pagination__item--active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--bg-white);
}

/* --- Roundup Numbered Items --- */
.roundup-item {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--bg-subtle);
  align-items: start;
}

@media (max-width: 768px) {
  .roundup-item { grid-template-columns: 1fr; }
}

.roundup-item__image {
  aspect-ratio: 4/3;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  position: relative;
}

.roundup-item__number {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  z-index: 2;
}

.roundup-item__content {
  padding-top: var(--space-sm);
}

.roundup-item__badges {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.roundup-item__title {
  font-size: 1.4rem;
  margin-bottom: var(--space-sm);
}

.roundup-item__excerpt {
  color: var(--text-medium);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

/* --- User Reviews (Phase 2 Preview) --- */
.user-reviews__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}

.user-review {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--bg-subtle);
}

.user-review__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.user-review__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
}

.user-review__author {
  font-weight: 700;
  color: var(--text-strong);
  font-size: 0.95rem;
}

.user-review__type {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 700;
}

.user-review__date {
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.user-review__body {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.7;
}

/* --- Animate on scroll (simple) --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
