/*
Theme Name: Icelandic Delights
Theme URI: https://icelandicdelights.com
Author: Icelandic Delights
Author URI: https://icelandicdelights.com
Description: Custom WooCommerce theme for Icelandic Delights — authentic Icelandic food, candy, and health products shipped worldwide.
Version: 1.4.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: icelandic-delights
Tags: e-commerce, woocommerce, custom-logo, custom-menu

Icelandic Delights — From Iceland with love.
*/

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
  /* Icelandic Blue palette (adapted from Figma green → blue) */
  --color-navy: #1B263B;
  --color-navy-light: #415A77;
  --color-blue: #778DA9;
  --color-blue-light: #A3B8D0;
  --color-bg: #FAFBFD;
  --color-bg-warm: #F0F4F8;
  --color-bg-hero: #EEF2F7;
  --color-white: #ffffff;
  --color-text: #1B263B;
  --color-text-light: #415A77;
  --color-text-muted: #778DA9;
  --color-text-faint: #A3B8D0;
  /* Warm amber accent (from Figma orange, pairs with navy) */
  --color-accent: #D4943A;
  --color-accent-hover: #C07E28;
  --color-accent-light: #F5E6D0;
  --color-accent-red: #d4543a;
  --color-border: rgba(27, 38, 59, 0.08);
  --color-border-medium: #D0DAE5;
  --color-surface: #EEF2F7;
  --color-success: #5a9a6a;
  /* Typography — serif display + clean sans-serif body */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  /* Spacing & shape */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 12px rgba(27, 38, 59, 0.06);
  --shadow-md: 0 8px 24px rgba(27, 38, 59, 0.1);
  --shadow-lg: 0 20px 40px rgba(27, 38, 59, 0.12), 0 4px 12px rgba(27, 38, 59, 0.08);
  --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --max-width: 1200px;
}

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

::selection {
  background: #c5d9ed;
}

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

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  line-height: 1.2;
  font-weight: 700;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.fade-up {
  animation: fadeUp 0.5s ease;
}

/* ========================================
   LAYOUT
   ======================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* ========================================
   HEADER (Figma: centered logo layout)
   ======================================== */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  padding: 0 40px;
  height: 80px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

/* Logo — centered */
.site-logo {
  text-decoration: none;
  text-align: center;
}

.site-logo__name {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: -0.3px;
}

/* Nav links */
.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav .menu-item {
  list-style: none;
}

.header-nav--left {
  justify-self: start;
}

.header-nav--right {
  justify-self: end;
}

.header-nav a,
.header-nav .menu-item a {
  color: var(--color-text-light);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: color 0.2s;
  text-decoration: none;
}

.header-nav a:hover,
.header-nav .current-menu-item a {
  color: var(--color-accent);
}

/* "Your Orders" pill button (Figma style) */
.header-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border: 1.5px solid var(--color-navy);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
}

.header-cart-btn--added {
  animation: cartBounce 0.6s ease;
}

@keyframes cartBounce {
  0%, 100% { transform: scale(1); }
  30% { transform: scale(1.15); }
  60% { transform: scale(0.95); }
}

.header-cart-btn:hover {
  background: rgba(212, 148, 58, 0.15);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.header-cart-btn__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border-medium);
  flex-shrink: 0;
  transition: background 0.2s;
}

.header-cart-btn__dot--active {
  background: var(--color-accent);
  animation: pulse 1.5s ease infinite;
}

/* Cart count badge */
.header-cart__count {
  background: var(--color-accent);
  color: white;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  margin-left: 2px;
}

/* Hamburger toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  position: absolute;
  right: 20px;
}

.menu-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .site-header {
    padding: 0 20px;
  }

  .site-header__inner {
    display: flex;
    justify-content: center;
    position: relative;
  }

  .header-nav--left,
  .header-nav--right {
    display: none;
  }

  .header-nav--left.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: white;
    padding: 24px 28px;
    gap: 16px;
    box-shadow: var(--shadow-md);
    z-index: 99;
    align-items: flex-end;
    text-align: right;
  }

  .menu-toggle {
    display: flex;
  }
}

/* ========================================
   HERO SECTION (Figma: product showcase with geometric shape)
   ======================================== */
.hero {
  padding: 80px 0 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__content {
  /* Text side */
}

.hero__subtitle {
  font-size: 11px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
  font-weight: 500;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero__title-accent {
  color: var(--color-accent);
}

.hero__description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 32px;
  max-width: 420px;
}

.hero__actions {
  display: flex;
  gap: 12px;
}

/* Product showcase (right side) */
.hero__showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

/* Geometric decorative shape (Figma hexagon → pentagon) */
.hero__shape {
  position: absolute;
  width: 320px;
  height: 320px;
  background: var(--color-bg-hero);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: 0;
}

.hero__product {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__product-badge {
  display: inline-block;
  background: var(--color-navy);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero__product-img-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease;
}
.hero__product-img-link:hover {
  transform: scale(1.03);
}
.hero__product-name-link {
  text-decoration: none;
  color: inherit;
}
.hero__product-name-link:hover .hero__product-name {
  color: var(--color-accent);
}
.hero__product-img {
  max-height: 220px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 12px 24px rgba(27, 38, 59, 0.15));
}

.hero__product-placeholder {
  font-size: 80px;
  margin-bottom: 20px;
  opacity: 0.3;
}

.hero__product-name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
  max-width: 280px;
}

.hero__product-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.hero__product-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hero__product-actions .btn--sm {
  font-size: 13px;
  padding: 10px 20px;
}

/* Legacy badge — keep for compat */
.hero__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--color-accent);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(212, 84, 58, 0.3);
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 0 30px;
    gap: 30px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__showcase {
    min-height: 320px;
  }

  .hero__shape {
    width: 240px;
    height: 240px;
  }

  .hero__product-img {
    max-height: 160px;
  }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
  text-decoration: none;
}

/* Accent button (Figma orange "ADD TO CART" style) */
.btn--accent {
  background: var(--color-accent);
  color: white;
}

.btn--accent:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 148, 58, 0.3);
  color: white;
}

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

.btn--primary:hover {
  background: var(--color-navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 38, 59, 0.3);
  color: white;
}

/* Outline button */
.btn--outline {
  padding: 14px 28px;
  border: 1.5px solid var(--color-border-medium);
  background: white;
  color: var(--color-navy);
  font-weight: 500;
}

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

.btn--secondary {
  padding: 14px 28px;
  border: 1px solid var(--color-border-medium);
  background: white;
  color: var(--color-navy);
  font-weight: 500;
}

.btn--secondary:hover {
  border-color: var(--color-navy);
}

.btn--add-to-cart {
  flex: 1;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  color: white;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.btn--add-to-cart:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212, 148, 58, 0.3);
  color: white;
}

/* ========================================
   SECTION TITLES (shared)
   ======================================== */
.section-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

/* ========================================
   PRODUCTS FEATURED (Figma: product card grid)
   ======================================== */
.products-featured {
  padding: 40px 0 60px;
}

.products-featured__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card-figma {
  display: block;
  text-decoration: none;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.product-card-figma:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-card-figma__img-wrap {
  background: var(--color-bg-warm);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.product-card-figma__img-wrap img {
  max-height: 140px;
  object-fit: contain;
}

.product-card-figma__placeholder {
  font-size: 48px;
  opacity: 0.2;
}

.product-card-figma__name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-navy);
  padding: 16px 16px 4px;
  line-height: 1.3;
}

.product-card-figma__desc {
  font-size: 13px;
  color: var(--color-text-muted);
  padding: 0 16px;
  line-height: 1.5;
}

.product-card-figma__price {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-accent);
}

.product-card-figma__name-link {
  text-decoration: none;
  color: inherit;
}

.product-card-figma__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 16px;
}

.product-card-figma__cart-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e8eef4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  text-decoration: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
  cursor: pointer;
}

.product-card-figma__cart-btn:hover {
  background: var(--color-navy);
  color: white;
}

.product-card-figma__cart-btn.loading {
  pointer-events: none;
  opacity: 0.6;
}

.product-card-figma__cart-btn.added {
  background: #27ae60;
  color: white;
}

@media (max-width: 768px) {
  .products-featured__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .products-featured__grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   PROCESS SECTION (Figma: 01/02/03 steps)
   ======================================== */
.process-section {
  padding: 60px 0;
  border-top: 1px solid var(--color-border);
}

.process-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.process-card {
  border: 1.5px solid var(--color-border-medium);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
}

.process-card:hover {
  border-color: var(--color-navy);
  box-shadow: var(--shadow-sm);
}

.process-card__marker {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: rgba(28, 60, 95, 0.08);
  color: var(--color-navy);
  font-size: 16px;
  line-height: 1;
}

.process-card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.process-card__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

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

/* ========================================
   CATEGORY GRID
   ======================================== */
.categories-section {
  padding: 40px 0 60px;
}

.categories-section__title {
  font-size: 28px;
  margin-bottom: 8px;
}

.categories-section__subtitle {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.category-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid var(--color-border);
  text-decoration: none;
  display: block;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(26, 58, 92, 0.08);
}

.category-card__icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.category-card__name {
  font-weight: 600;
  color: var(--color-navy);
  font-size: 14px;
  margin-bottom: 4px;
}

.category-card__meta {
  font-size: 12px;
  color: var(--color-text-faint);
}

@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ========================================
   TRUST BAR
   ======================================== */
.trust-bar {
  padding: 36px 0;
  border-top: 1px solid #e8eef4;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 24px 40px;
  justify-items: center;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--color-text-light);
}

.trust-bar__icon {
  font-size: 20px;
}

.trust-bar__text {
  font-weight: 500;
}

@media (max-width: 768px) {
  .trust-bar {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px 24px;
  }
}

/* ========================================
   REVIEWS / SOCIAL PROOF SECTION
   ======================================== */
.reviews-section {
  position: relative;
  padding: 80px 0;
  background: var(--color-navy);
  overflow: hidden;
}

.reviews-section__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(65, 90, 119, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(119, 141, 169, 0.2) 0%, transparent 50%),
    linear-gradient(135deg, rgba(27, 38, 59, 0.95) 0%, rgba(65, 90, 119, 0.85) 100%);
  pointer-events: none;
}

.reviews-section__title {
  color: var(--color-white) !important;
  text-align: center;
  position: relative;
  z-index: 1;
}

.reviews-section__subtitle {
  color: var(--color-blue-light) !important;
  text-align: center;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.reviews-section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto 48px;
  position: relative;
  z-index: 1;
}

/* Individual review card */
.review-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 20px 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(24px);
}

.reviews-section.is-visible .review-card {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--card-delay, 0s);
}

.review-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.review-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.review-card:hover .review-card__icon {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.08);
}

.review-card__icon svg {
  width: 32px;
  height: 32px;
}

.review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 10px;
  color: var(--color-accent);
}

.review-star {
  width: 18px;
  height: 18px;
}

.review-card__rating {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 4px;
}

.review-card__rating span {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-blue-light);
}

.review-card__count {
  font-size: 14px;
  color: var(--color-blue-light);
  margin-bottom: 10px;
  font-weight: 500;
}

.review-card__name {
  font-size: 11px;
  color: var(--color-blue);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

/* Smash Balloon feed area */
.reviews-section__feed {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}

/* Override Smash Balloon default styles for dark theme */
.reviews-section__feed .sb-review-feed,
.reviews-section__feed .sbr-feed-container {
  background: transparent !important;
}

.reviews-section__feed .sb-review-card,
.reviews-section__feed .sbr-review-card {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--radius-md) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--color-white) !important;
}

.reviews-section__feed .sb-review-card:hover,
.reviews-section__feed .sbr-review-card:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.reviews-section__feed .sb-review-text,
.reviews-section__feed .sbr-review-text {
  color: var(--color-blue-light) !important;
}

.reviews-section__feed .sb-review-author,
.reviews-section__feed .sbr-review-author {
  color: var(--color-white) !important;
}

.reviews-section__feed .sb-star,
.reviews-section__feed .sbr-star {
  color: var(--color-accent) !important;
}

/* Responsive: Reviews section */
@media (max-width: 768px) {
  .reviews-section {
    padding: 60px 0;
  }

  .reviews-section__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 36px;
  }

  .review-card {
    padding: 28px 16px 24px;
  }

  .review-card__icon {
    width: 52px;
    height: 52px;
  }

  .review-card__icon svg {
    width: 26px;
    height: 26px;
  }

  .review-card__rating {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .reviews-section__grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .review-card {
    padding: 24px 12px 20px;
  }

  .review-card__rating {
    font-size: 20px;
  }

  .review-star {
    width: 14px;
    height: 14px;
  }
}

/* ========================================
   PRODUCT CARDS
   ======================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid var(--color-border);
  text-decoration: none;
  display: block;
}

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

.product-card__image-wrap {
  height: 200px;
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-card__image {
  max-height: 170px;
  max-width: 85%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

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

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-accent-red);
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.product-card__badge--sale {
  background: var(--color-success);
}

.product-card__badge--outofstock {
  background: #999;
}

.product-card__body {
  padding: 16px 18px 18px;
}

.product-card__brand {
  font-size: 10px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 6px;
  font-weight: 500;
}

.product-card__title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.35;
  margin-bottom: 4px;
  min-height: 38px;
}

.product-card__weight {
  font-size: 11px;
  color: var(--color-text-faint);
  margin-bottom: 12px;
}

.product-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-card__price {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy);
}

.product-card__add-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8eef4;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--color-navy);
  font-size: 16px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
}

.product-card:hover .product-card__add-btn,
.product-card__add-btn:hover {
  background: var(--color-navy);
  color: white;
}

.product-card__add-btn.loading {
  pointer-events: none;
  opacity: 0.6;
}

.product-card__add-btn.loading svg {
  animation: spin 0.8s linear infinite;
}

.product-card__add-btn.added {
  background: #27ae60;
  color: white;
}

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

/* Quantity selector on product cards */
.product-card__qty-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-card__qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
}

.product-card__qty-btn:hover {
  border-color: var(--color-navy);
  background: #f0f4f8;
}

.product-card__qty-value {
  min-width: 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
}

@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

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

/* ========================================
   SHOP PAGE
   ======================================== */
.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.shop-header__title {
  font-size: 30px;
}

.shop-header__count {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.shop-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border-radius: var(--radius-sm);
  padding: 0 16px;
  border: 1px solid #e0e8f0;
  height: 42px;
}

.shop-search__icon {
  color: var(--color-text-faint);
}

.shop-search__input {
  border: none;
  outline: none;
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--color-navy);
  width: 180px;
  background: transparent;
}

.shop-search__input::placeholder {
  color: #b0c4d8;
}

/* Category filter pills */
.category-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.category-pill {
  padding: 8px 18px;
  border-radius: 20px;
  border: none;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s ease;
  background: white;
  color: var(--color-text-light);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.category-pill:hover {
  color: var(--color-navy);
}

.category-pill--active {
  background: var(--color-navy);
  color: white;
  box-shadow: none;
}

.category-pill--active:hover {
  color: white;
}

/* Empty state */
.shop-empty {
  text-align: center;
  padding: 60px;
  color: var(--color-text-faint);
}

.shop-empty__icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.shop-empty__text {
  font-size: 15px;
}

/* ========================================
   SINGLE PRODUCT PAGE
   ======================================== */
.single-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding: 32px 0 0;
}

.product-gallery {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: 40px;
}

.product-gallery img {
  max-width: 85%;
  max-height: 320px;
  object-fit: contain;
}

.product-info__breadcrumb {
  font-size: 11px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  font-weight: 500;
}

.product-info__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
  margin: 0 0 6px;
}

.product-info__weight {
  font-size: 14px;
  color: var(--color-text-faint);
  margin-bottom: 24px;
}

.product-info__price {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.product-info__price-currency {
  font-size: 14px;
  color: var(--color-text-faint);
  font-family: var(--font-body);
  font-weight: 400;
}

.product-info__stock {
  font-size: 12px;
  color: var(--color-success);
  margin-bottom: 28px;
}

.product-info__stock--out {
  color: var(--color-accent-red);
}

.product-info__divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #e0e8f0, transparent);
  margin-bottom: 28px;
}

.product-info__description {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 28px;
}

/* ── Ingredients & Nutrition ── */
.product-info__section-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
  margin: 0 0 8px 0;
  letter-spacing: 0.02em;
}
.product-info__per-100g {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 12px;
}
.product-info__ingredients {
  margin-bottom: 20px;
  padding: 16px;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
}
.product-info__ingredients-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-light);
  margin: 0;
}
.product-info__nutrition {
  margin-bottom: 24px;
  padding: 16px;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
}
.nutrition-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.nutrition-table tr {
  border-bottom: 1px solid var(--color-border);
}
.nutrition-table tr:last-child {
  border-bottom: none;
}
.nutrition-table td {
  padding: 7px 0;
}
.nutrition-table__label {
  color: var(--color-text-light);
}
.nutrition-table__value {
  text-align: right;
  font-weight: 500;
  color: var(--color-navy);
}
.nutrition-table__sub .nutrition-table__label {
  padding-left: 8px;
  color: var(--color-text-muted);
  font-size: 12px;
}
.nutrition-table__sub .nutrition-table__value {
  font-weight: 400;
  color: var(--color-text-light);
  font-size: 12px;
}

.product-info__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.quantity-selector__btn {
  width: 44px;
  height: 44px;
  border: none;
  background: #f5f8fb;
  cursor: pointer;
  font-size: 18px;
  color: var(--color-navy);
  transition: background 0.2s;
}

.quantity-selector__btn:hover {
  background: #e8eef4;
}

.quantity-selector__value {
  width: 44px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-navy);
  border: none;
  background: transparent;
  font-family: var(--font-body);
}

/* WooCommerce quantity override */
.woocommerce .quantity .qty {
  width: 44px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-navy);
  border: none;
  background: transparent;
  font-family: var(--font-body);
  padding: 0;
  height: 44px;
}

.product-info__trust {
  display: flex;
  gap: 24px;
  font-size: 11px;
  color: var(--color-text-faint);
}

.product-info__trust span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Related products */
.related-products {
  padding-bottom: 60px;
}

.related-products__title {
  font-size: 22px;
  margin-bottom: 20px;
}

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

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

  .product-info__title {
    font-size: 24px;
  }

  .product-info__price {
    font-size: 28px;
  }

  .product-info__trust {
    flex-wrap: wrap;
    gap: 12px;
  }

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

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--color-navy);
  color: white;
  margin-top: 40px;
  padding: 48px 40px 32px;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-accent);
}

.footer__brand-desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 280px;
}

.footer__heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  font-family: var(--font-body);
}

.footer__link {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer__link:hover {
  color: white;
}

.footer__social {
  margin-top: 16px;
}

.footer__social-link {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 13px;
  line-height: 1.5;
}

.footer__social-link:hover {
  color: var(--color-accent);
}

.footer__social-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__social-text {
  max-width: 220px;
}

.footer__payment-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.footer__payment-icons {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}

.footer__payment-icon {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
}

.footer__bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 768px) {
  .site-footer {
    padding: 32px 20px 24px;
  }

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

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ========================================
   WOOCOMMERCE OVERRIDES
   ======================================== */

/* Breadcrumbs */
.woocommerce .woocommerce-breadcrumb {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  font-family: var(--font-body);
}

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

.woocommerce .woocommerce-breadcrumb a:hover {
  color: var(--color-navy);
}

/* Notices */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
  border-top-color: var(--color-navy);
  background: white;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
}

.woocommerce .woocommerce-message::before {
  color: var(--color-navy);
}

/* Cart page */
.woocommerce-cart .woocommerce table.shop_table {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.woocommerce-cart .woocommerce table.shop_table th {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-navy);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.woocommerce table.shop_table td {
  border-top: 1px solid #eef2f7;
}

/* Checkout */
.woocommerce-checkout .woocommerce form .form-row label {
  font-family: var(--font-body);
  color: var(--color-text-light);
  font-size: 13px;
}

.woocommerce-checkout .woocommerce form .form-row input.input-text,
.woocommerce-checkout .woocommerce form .form-row textarea,
.woocommerce-checkout .woocommerce form .form-row select {
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.2s;
}

.woocommerce-checkout .woocommerce form .form-row input.input-text:focus,
.woocommerce-checkout .woocommerce form .form-row textarea:focus {
  border-color: var(--color-blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.1);
}

/* Buttons */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: linear-gradient(135deg, #1a3a5c 0%, #2a5a8c 100%);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 28px;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: linear-gradient(135deg, #15304d 0%, #234f7a 100%);
  color: var(--color-accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 58, 92, 0.3);
}

/* Price */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-navy);
}

/* Star rating */
.woocommerce .star-rating {
  color: #f0b429;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border-radius: 8px;
  font-family: var(--font-body);
  color: var(--color-text-light);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--color-navy);
  border-color: var(--color-navy);
}

/* Sale badge */
.woocommerce span.onsale {
  background: var(--color-accent-red);
  border-radius: 20px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  padding: 4px 12px;
  min-height: auto;
  min-width: auto;
  line-height: 1.5;
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-text-light);
}

/* My Account */
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  font-family: var(--font-body);
  color: var(--color-text-light);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  background: var(--color-navy);
  color: white;
}

/* ========================================
   PAGE CONTENT
   ======================================== */
.page-content {
  padding: 48px 0 60px;
  animation: fadeUp 0.4s ease;
}

.page-content h1 {
  font-size: 36px;
  margin-bottom: 24px;
}

.page-content h2 {
  font-size: 24px;
  margin: 32px 0 16px;
}

.page-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: 16px;
  max-width: 720px;
}

.page-content ul, .page-content ol {
  margin: 16px 0;
  padding-left: 24px;
}

.page-content li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

/* ========================================
   BACK LINK
   ======================================== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
  font-size: 13px;
  margin-bottom: 24px;
  text-decoration: none;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--color-navy);
}

/* ========================================
   HOMEPAGE SHOP SECTION (Infinite Scroll)
   ======================================== */
.homepage-shop {
  padding: 60px 0 40px;
  border-top: 1px solid #e8eef4;
}

.homepage-shop__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.homepage-shop__title {
  font-size: 28px;
  margin-bottom: 6px;
}

.homepage-shop__subtitle {
  font-size: 14px;
  color: var(--color-text-muted);
}

.homepage-shop__filters {
  margin-bottom: 28px;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 13px;
}

/* Loader / spinner */
.homepage-shop__loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 0;
  color: var(--color-text-muted);
  font-size: 14px;
}

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

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

/* End of products message */
.homepage-shop__end {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 0;
  color: var(--color-success);
  font-size: 14px;
  font-weight: 500;
}

/* ========================================
   SCROLL FADE-IN ANIMATIONS
   ======================================== */
.fade-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .homepage-shop__header {
    flex-direction: column;
  }

  .homepage-shop__title {
    font-size: 24px;
  }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
.skip-link.screen-reader-text {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link.screen-reader-text:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  background: var(--color-navy);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  z-index: 999;
  font-size: 14px;
  font-weight: 600;
}

*:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
}

/* ========================================
   SHOP LAYOUT WITH FILTERS
   ======================================== */
.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}

.shop-header__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.shop-sort__select {
  appearance: none;
  background: white;
  border: 1px solid #e0e8f0;
  border-radius: var(--radius-sm);
  padding: 10px 36px 10px 14px;
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--color-navy);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%235a6f82'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.shop-filter-toggle {
  display: none;
  background: white;
  border: 1px solid #e0e8f0;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--color-navy);
  cursor: pointer;
  font-weight: 500;
  margin-bottom: 16px;
}

.category-pill__count {
  font-size: 10px;
  color: var(--color-text-faint);
  margin-left: 2px;
}

.category-pill--active .category-pill__count {
  color: rgba(255, 255, 255, 0.7);
}

/* Filter Sidebar */
.shop-filters {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 20px;
  position: sticky;
  top: 84px;
}

.shop-filters__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.shop-filters__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-navy);
  font-family: var(--font-body);
}

.shop-filters__close {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--color-text-muted);
  cursor: pointer;
}

.filter-group {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

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

.filter-group__title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  font-family: var(--font-body);
}

.filter-group__content--scroll {
  max-height: 200px;
  overflow-y: auto;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-light);
  padding: 4px 0;
  cursor: pointer;
}

.filter-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-navy);
  flex-shrink: 0;
}

.filter-checkbox small {
  color: var(--color-text-faint);
}

.price-filter__range {
  width: 100%;
  accent-color: var(--color-navy);
}

.price-filter__labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

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

  .shop-filter-toggle {
    display: inline-flex;
  }

  .shop-filters {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    border-radius: 0;
    overflow-y: auto;
    padding: 24px;
  }

  .shop-filters.is-open {
    display: block;
  }

  .shop-filters__close {
    display: block;
  }

  .shop-header__actions {
    flex-wrap: wrap;
  }
}

/* ========================================
   CART PAGE (refactored from inline)
   ======================================== */
.cart-title {
  margin-bottom: 32px;
}

.cart-table-wrap {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-bottom: 32px;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table thead th {
  padding: 16px 12px;
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  border-bottom: 1px solid #eef2f7;
  font-family: var(--font-body);
  font-weight: 600;
}

.cart-table thead th.product-remove,
.cart-table thead th:first-child {
  padding-left: 20px;
}

.cart-table thead th.product-subtotal {
  text-align: right;
  padding-right: 20px;
}

.cart-table tbody tr {
  border-bottom: 1px solid #eef2f7;
}

.cart-table td {
  padding: 16px 12px;
}

.cart-table td.product-remove {
  padding-left: 20px;
}

.cart-remove-btn {
  color: var(--color-accent-red);
  font-size: 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: background 0.2s;
}

.cart-remove-btn:hover {
  background: rgba(212, 84, 58, 0.1);
}

.cart-thumb-link {
  display: block;
  width: 60px;
  height: 60px;
  background: var(--color-surface);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-table td.product-name {
  font-weight: 600;
  color: var(--color-navy);
  font-size: 14px;
}

.cart-product-link {
  color: var(--color-navy);
}

.cart-table td.product-price {
  color: var(--color-text-light);
  font-size: 14px;
}

.cart-table td.product-subtotal {
  text-align: right;
  padding-right: 20px;
  font-weight: 700;
  color: var(--color-navy);
  font-size: 15px;
}

.cart-actions-row {
  padding: 16px 20px;
  border-top: 1px solid #eef2f7;
}

.cart-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-coupon {
  display: flex;
  gap: 8px;
}

.cart-coupon__input {
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 13px;
  width: 180px;
  font-family: var(--font-body);
}

.cart-totals-wrap {
  display: flex;
  justify-content: flex-end;
}

.cart-collaterals {
  width: 100%;
  max-width: 450px;
}

.cart-collaterals .cart_totals {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 24px;
}

.cart-collaterals .cart_totals h2 {
  font-size: 18px;
  margin-bottom: 16px;
}

.cart-collaterals .cart_totals table {
  width: 100%;
}

.cart-collaterals .cart_totals th {
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-light);
  padding: 10px 0;
  font-family: var(--font-body);
}

.cart-collaterals .cart_totals td {
  text-align: right;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-navy);
  padding: 10px 0;
}

.cart-weight th,
.cart-weight td {
  font-size: 12px !important;
  color: var(--color-text-muted) !important;
  font-weight: 500 !important;
  padding: 6px 0 !important;
}

.cart-collaterals .wc-proceed-to-checkout {
  padding-top: 16px;
}

.cart-collaterals .wc-proceed-to-checkout a {
  display: block;
  text-align: center;
  width: 100%;
}

@media (max-width: 768px) {
  .cart-table thead {
    display: none;
  }

  .cart-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    padding: 16px;
    gap: 8px;
  }

  .cart-table td {
    padding: 4px 0;
    border: none;
  }

  .cart-table td.product-remove {
    padding-left: 0;
    order: 5;
  }

  .cart-table td.product-subtotal {
    text-align: left;
    padding-right: 0;
  }

  .cart-actions {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .cart-totals-wrap {
    justify-content: stretch;
  }

  .cart-collaterals {
    max-width: 100%;
  }
}

/* ========================================
   CHECKOUT PAGE
   ======================================== */
.checkout-title {
  margin-bottom: 32px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
}

.checkout-section {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 28px;
  margin-bottom: 24px;
}

.checkout-section__header {
  margin-bottom: 20px;
}

.checkout-section__title {
  font-size: 18px;
  font-family: var(--font-body);
  font-weight: 700;
}

.checkout-order-review {
  position: sticky;
  top: 84px;
}

.checkout-trust {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 16px;
}

.checkout-trust__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-light);
  padding: 6px 0;
}

/* Checkout form fields */
.woocommerce-checkout .form-row {
  margin-bottom: 16px;
}

.woocommerce-checkout .form-row label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-light);
  margin-bottom: 4px;
}

.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
  width: 100%;
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.2s;
}

.woocommerce-checkout .form-row .input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
  border-color: var(--color-blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.1);
}

/* Order review table */
.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--color-border);
}

.woocommerce-checkout-review-order-table th {
  text-align: left;
  font-weight: 500;
  color: var(--color-text-light);
}

.woocommerce-checkout-review-order-table td {
  text-align: right;
  color: var(--color-navy);
  font-weight: 600;
}

.woocommerce-checkout-review-order-table td.product-name {
  text-align: left;
  font-weight: 500;
}

.woocommerce-checkout-review-order-table td.product-total {
  text-align: right;
}

.woocommerce-checkout-review-order-table .checkout-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.woocommerce-checkout-review-order-table .checkout-item-thumb {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: #fff;
  display: block;
}

.woocommerce-checkout-review-order-table .checkout-item-thumb-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.woocommerce-checkout-review-order-table .checkout-item-name {
  display: inline-block;
}

.woocommerce-checkout-review-order-table tfoot .order-total td {
  font-size: 18px;
  font-weight: 700;
}

/* Payment methods */
.woocommerce-checkout #payment {
  background: transparent;
}

.woocommerce-checkout #payment ul.payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.woocommerce-checkout #payment ul.payment_methods li {
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.woocommerce-checkout #payment .place-order {
  padding: 0;
}

#place_order {
  width: 100%;
  padding: 16px;
  font-size: 16px;
}

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

  .checkout-order-review {
    position: static;
  }
}

/* ========================================
   THANK YOU PAGE
   ======================================== */
.thankyou-success {
  text-align: center;
  padding: 40px 0;
  max-width: 600px;
  margin: 0 auto;
}

.thankyou-success__icon {
  width: 80px;
  height: 80px;
  background: var(--color-success);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 24px;
}

.thankyou-success__message {
  font-size: 16px;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.thankyou-details {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 24px;
  margin-bottom: 24px;
  text-align: left;
}

.thankyou-details__item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.thankyou-details__item:last-child {
  border-bottom: none;
}

.thankyou-details__label {
  font-size: 13px;
  color: var(--color-text-muted);
}

.thankyou-details__value {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
}

.thankyou-success__shipping {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 20px;
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

.thankyou-failed {
  text-align: center;
  padding: 40px 0;
  max-width: 500px;
  margin: 0 auto;
}

/* ========================================
   MY ACCOUNT
   ======================================== */
.myaccount-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 32px;
}

.myaccount-nav {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 12px;
}

.myaccount-nav .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.myaccount-nav .woocommerce-MyAccount-navigation ul li {
  margin-bottom: 2px;
}

.myaccount-nav .woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--color-text-light);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  text-decoration: none;
}

.myaccount-nav .woocommerce-MyAccount-navigation ul li a:hover {
  background: var(--color-surface);
  color: var(--color-navy);
}

.myaccount-nav .woocommerce-MyAccount-navigation ul li.is-active a,
.myaccount-nav .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--dashboard.is-active a {
  background: var(--color-navy);
  color: white;
}

.myaccount-content {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 28px;
}

.myaccount-content table {
  width: 100%;
  border-collapse: collapse;
}

.myaccount-content table th,
.myaccount-content table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
}

.myaccount-content table th {
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

/* ========================================
   FAQ PAGE
   ======================================== */
.faq-item {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item[open] {
  box-shadow: var(--shadow-sm);
}

.faq-item__question {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::after {
  content: "+";
  font-size: 20px;
  color: var(--color-text-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] .faq-item__question::after {
  content: "\2212";
}

.faq-item__answer {
  padding: 0 24px 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-light);
}

/* WordPress block details (FAQ pattern) */
.wp-block-details {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.wp-block-details summary {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-navy);
  cursor: pointer;
}

.wp-block-details[open] {
  box-shadow: var(--shadow-sm);
}

.wp-block-details p {
  padding: 0 24px 18px;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.contact-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
}

.contact-card__icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.contact-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
  font-family: var(--font-body);
}

.contact-card__text {
  font-size: 14px;
  color: var(--color-navy);
  font-weight: 500;
  margin-bottom: 4px;
}

.contact-card__note {
  font-size: 12px;
  color: var(--color-text-muted);
}

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

/* ========================================
   BREADCRUMB NAVIGATION
   ======================================== */
.breadcrumb {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.breadcrumb__link {
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.breadcrumb__link:hover {
  color: var(--color-navy);
}

.breadcrumb__sep {
  margin: 0 8px;
  color: var(--color-text-faint);
}

.breadcrumb__current {
  color: var(--color-navy);
  font-weight: 500;
}

/* ========================================
   404 PAGE
   ======================================== */
.error-404 {}

.error-404__hero {
  text-align: center;
  padding: 20px 0 48px;
}

.error-404__icon {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
}

.error-404__snowflake {
  font-size: 80px;
  opacity: 0.15;
  display: block;
  line-height: 1;
}

.error-404__code {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -1px;
}

.error-404__title {
  font-size: 32px;
  margin-bottom: 12px;
  color: var(--color-navy);
}

.error-404__message {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 32px;
}

.error-404__search {
  margin-bottom: 8px;
}

.error-404__categories {
  margin-bottom: 48px;
}

.error-404__products {
  margin-bottom: 48px;
}

.error-404__section-title {
  font-size: 22px;
  margin-bottom: 20px;
}

.error-404__links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 0;
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-hero {
  text-align: center;
  padding: 20px 0 48px;
  max-width: 640px;
  margin: 0 auto;
}

.about-hero__label {
  font-size: 11px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
  font-weight: 500;
}

.about-hero__title {
  font-size: 48px;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.about-hero__intro {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-light);
  max-width: 520px;
  margin: 0 auto;
}

.about-custom-content {
  max-width: 720px;
  margin: 0 auto 48px;
}

/* Values section */
.about-values {
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
}

.about-values__title {
  font-size: 28px;
  text-align: center;
  margin-bottom: 32px;
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.about-value-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}

.about-value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.about-value-card__icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.about-value-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
  font-family: var(--font-body);
}

.about-value-card__text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-text-light);
}

@media (max-width: 768px) {
  .about-hero__title {
    font-size: 36px;
  }

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

@media (max-width: 480px) {
  .about-values__grid {
    grid-template-columns: 1fr;
  }
}

/* How it works steps */
.about-how {
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
}

.about-how__title {
  font-size: 28px;
  text-align: center;
  margin-bottom: 36px;
}

.about-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.about-step {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 260px;
}

.about-step__number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a3a5c, #2a5a8c);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.about-step__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
  font-family: var(--font-body);
}

.about-step__text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-light);
}

.about-step__arrow {
  display: flex;
  align-items: center;
  font-size: 24px;
  color: var(--color-text-faint);
  padding-top: 32px;
}

@media (max-width: 768px) {
  .about-steps {
    flex-direction: column;
    align-items: center;
  }

  .about-step {
    max-width: 100%;
  }

  .about-step__arrow {
    transform: rotate(90deg);
    padding-top: 0;
  }
}

/* About CTA section */
.about-cta {
  text-align: center;
  padding: 48px 0 20px;
  border-top: 1px solid var(--color-border);
}

.about-cta__title {
  font-size: 28px;
  margin-bottom: 8px;
}

.about-cta__text {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.about-cta__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ========================================
   SHIPPING PAGE
   ======================================== */
.shipping-section-title {
  font-size: 24px;
  margin-bottom: 24px;
}

.shipping-zones {
  padding: 36px 0;
}

.shipping-zones__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.shipping-zone-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.shipping-zone-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.shipping-zone-card--featured {
  border-color: var(--color-navy);
  box-shadow: var(--shadow-sm);
}

.shipping-zone-card__badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-navy);
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.shipping-zone-card__icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.shipping-zone-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
  font-family: var(--font-body);
}

.shipping-zone-card__rate {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.shipping-zone-card__detail {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.shipping-zone-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.shipping-zone-card__list li {
  font-size: 13px;
  color: var(--color-text-light);
  padding: 6px 0;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 768px) {
  .shipping-zones__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Shipping info cards */
.shipping-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.shipping-info-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
}

.shipping-info-card__icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.shipping-info-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
  font-family: var(--font-body);
}

.shipping-info-card__text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-text-light);
}

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

/* Shipping packaging section */
.shipping-packaging {
  padding: 36px 0;
  border-top: 1px solid var(--color-border);
}

/* Shipping notes (FAQ accordion reuse) */
.shipping-notes {
  padding: 36px 0;
  border-top: 1px solid var(--color-border);
}

/* Shipping CTA */
.shipping-cta {
  text-align: center;
  padding: 36px 0 20px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.shipping-cta__text {
  font-size: 15px;
  color: var(--color-text-light);
  font-weight: 500;
  width: 100%;
  margin-bottom: 4px;
}

/* Page intro paragraph */
.page-content__intro {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-light);
  max-width: 680px;
  margin-bottom: 32px;
}

/* Shipping section note */
.shipping-section-note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-top: -16px;
  margin-bottom: 24px;
}

.shipping-section-note a {
  color: var(--color-navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.shipping-section-note a:hover {
  color: var(--color-navy-light);
}

/* Rate table section */
.shipping-rate-table {
  padding: 36px 0;
  border-top: 1px solid var(--color-border);
}

/* Rate table wrapper (horizontal scroll on mobile) */
.rate-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: white;
}

/* The data table */
.rate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 480px;
}

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

.rate-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.rate-table th:not(:first-child) {
  text-align: right;
}

.rate-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

.rate-table td:first-child {
  font-weight: 600;
  color: var(--color-navy);
  white-space: nowrap;
}

.rate-table td:not(:first-child) {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-body);
}

.rate-table tbody tr:hover {
  background: rgba(27, 38, 59, 0.03);
}

.rate-table tbody tr:last-child td {
  border-bottom: none;
}

/* Alternate row striping */
.rate-table tbody tr:nth-child(even) {
  background: rgba(27, 38, 59, 0.015);
}

.rate-table tbody tr:nth-child(even):hover {
  background: rgba(27, 38, 59, 0.045);
}

/* Rate table footer note */
.rate-table-footer {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 12px;
  line-height: 1.6;
}

.rate-table-footer a {
  color: var(--color-navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rate-table-footer a:hover {
  color: var(--color-navy-light);
}

/* Rate table responsive */
@media (max-width: 768px) {
  .rate-table-wrap {
    margin: 0 -16px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .rate-table th,
  .rate-table td {
    padding: 8px 12px;
    font-size: 13px;
  }
}

/* Shipping custom content from editor */
.shipping-custom-content {
  margin-bottom: 24px;
  line-height: 1.7;
}

/* ========================================
   RETURNS PAGE
   ======================================== */
.returns-overview {
  padding: 36px 0;
}

.returns-overview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.returns-overview-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
}

.returns-overview-card__icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.returns-overview-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
  font-family: var(--font-body);
}

.returns-overview-card__text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-text-light);
}

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

.returns-process {
  padding: 36px 0;
  border-top: 1px solid var(--color-border);
}

.returns-conditions {
  padding: 36px 0;
  border-top: 1px solid var(--color-border);
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-navy);
  color: white;
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
  z-index: 90;
  box-shadow: var(--shadow-md);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}
