/*
Theme Name:   GymEssentials
Theme URI:    https://gymessentials.fr
Description:  Thème premium fitness e-commerce — GymEssentials
Author:       GymEssentials
Author URI:   https://gymessentials.fr
Template:     twentytwentyfive
Version:      3.0.0
Text Domain:  gymessentials
*/

/* =====================================================
   DESIGN TOKENS
   ===================================================== */
:root {
  --color-black:      #000000;
  --color-white:      #FFFFFF;
  --color-accent:     #1A1A1A;
  --color-bg-alt:     #F5F5F5;
  --color-text:       #555555;
  --color-border:     #E0E0E0;
  --color-footer:     #111111;

  --font-primary:     'Inter', 'DM Sans', sans-serif;

  --radius:           4px;
  --shadow-card:      0 4px 20px rgba(0,0,0,0.08);
  --shadow-card-hover:0 8px 32px rgba(0,0,0,0.14);
  --transition:       0.25s ease;

  --header-height:    84px;
  --announce-height:  38px;
  --header-total:     calc(var(--header-height) + var(--announce-height));
  --gym-header-h:     127px; /* real header height, overridden by JS (adapts to announce-bar wrapping on mobile) */
  --container:        1360px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding { padding: 80px 0; }
.section-padding--lg { padding: 100px 0; }

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6.5vw, 5.5rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 600; letter-spacing: -0.005em; }

.section-title {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  font-weight: 800;
  position: relative;
}
/* Decorative underline beneath section titles */
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-black);
  margin: 24px auto 0;
}
.section-subtitle {
  text-align: center;
  color: var(--color-text);
  font-size: 1rem;
  max-width: 560px;
  margin: 32px auto 64px;
  line-height: 1.6;
}
/* Eyebrow label above section titles (luxury brand pattern) */
.section-eyebrow {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 16px;
  opacity: 0.7;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: '—';
  margin: 0 12px;
  opacity: 0.5;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text);
  font-size: 1rem;
  margin-bottom: 56px;
}

.label-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding: 0 36px;
  border-radius: var(--radius);
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1.5px solid var(--color-black);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

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

.btn--outline {
  background: transparent;
  color: var(--color-black);
}
.btn--outline:hover {
  background: var(--color-black);
  color: var(--color-white);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}
.btn--white:hover {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

/* =====================================================
   HEADER
   ===================================================== */
#gym-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  max-width: 100vw;
  transition: box-shadow var(--transition);
}
#gym-header .header-inner {
  height: var(--header-height);
}

#gym-header,
#gym-header.transparent,
#gym-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
#gym-header.scrolled {
  background: var(--color-white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Old logo rules superseded by Header v3 below */

.header-nav { display: flex; align-items: center; }
.header-nav .header-menu-list,
.header-nav ul {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-nav li { list-style: none; margin: 0; padding: 0; }
.header-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-black);
  position: relative;
  padding-bottom: 4px;
  text-decoration: none;
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--color-black);
  transition: width var(--transition);
}
.header-nav a:hover::after { width: 100%; }

/* Removed transparent mode — header is always solid white for visibility */

.header-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-icons a {
  color: var(--color-black);
  transition: opacity var(--transition);
}
.header-icons a:hover { opacity: 0.6; }
/* icons stay dark on white header */

.cart-icon { position: relative; }
.cart-count {
  position: absolute;
  top: -8px; right: -8px;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 10px;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* cart count stays black on white header */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-black);
  transition: all var(--transition);
}
/* hamburger stays dark on white header */
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Prevent horizontal overflow on mobile (off-canvas drawer + full-bleed bands) */
html, body { overflow-x: hidden; max-width: 100%; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: min(360px, 100vw);
  height: 100vh;
  background: var(--color-white);
  z-index: 2000;
  padding: 80px 40px 40px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: -4px 0 40px rgba(0,0,0,0.12);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }
.mobile-menu-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none; border: none;
  cursor: pointer;
  font-size: 24px;
  color: var(--color-black);
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 0; }
.mobile-menu nav a {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-black);
  border-bottom: 1px solid var(--color-border);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center 30%;
  background-image:
    url('https://images.unsplash.com/photo-1518611012118-696072aa579a?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  max-width: 1080px;
  padding: 0 24px;
}

.hero-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 600;
  margin-bottom: 28px;
  opacity: 0.85;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 300;
  line-height: 1.6;
  opacity: 0.92;
  margin-bottom: 48px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-link-secondary {
  color: var(--color-white);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  opacity: 0.85;
  transition: opacity var(--transition);
}
.hero-link-secondary:hover { opacity: 1; color: var(--color-white); }

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
  color: var(--color-white);
  opacity: 0.7;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* =====================================================
   REASSURANCE BAR
   ===================================================== */
.reassurance-bar {
  background: var(--color-black);
  padding: 0;
}
.reassurance-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.reassurance-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 32px;
  color: var(--color-white);
  border-right: 1px solid rgba(255,255,255,0.12);
}
.reassurance-item:last-child { border-right: none; }
.reassurance-item svg { flex-shrink: 0; opacity: 0.9; }
.reassurance-item-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 2px;
}
.reassurance-item-text span {
  font-size: 12px;
  opacity: 0.65;
  color: var(--color-white);
}

/* =====================================================
   PRODUCT CARDS & GRID
   ===================================================== */
.products-section { background: var(--color-white); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.product-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.product-card-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.06); }

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.product-card:hover .product-card-overlay { opacity: 1; }

.product-card-body { padding: 20px; }
.product-card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 8px;
  line-height: 1.4;
}
.product-card-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 10px;
}
.product-card-stars { color: #F5A623; font-size: 13px; margin-bottom: 14px; }
.product-card-footer { padding: 0 20px 20px; }

.products-section-cta { text-align: center; }

/* =====================================================
   LIFESTYLE BANNER
   ===================================================== */
.lifestyle-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.lifestyle-banner-image {
  background-size: cover;
  background-position: center;
  background-image: url('https://images.unsplash.com/photo-1571019614242-c5c5dee9f50b?w=900&q=80');
}
.lifestyle-banner-content {
  background: var(--color-black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px;
  color: var(--color-white);
}
.lifestyle-banner-content h2 {
  color: var(--color-white);
  margin-bottom: 20px;
}
.lifestyle-banner-content p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  font-size: 1rem;
  line-height: 1.7;
}

/* =====================================================
   CATEGORIES
   ===================================================== */
.categories-section { background: var(--color-bg-alt); }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.category-tile {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}
.category-tile img, .category-tile-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.45s ease;
}
.category-tile:hover .category-tile-bg { transform: scale(1.06); opacity: 0.7; }
.category-tile-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.category-tile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  transition: background var(--transition);
}
.category-tile:hover .category-tile-overlay { background: rgba(0,0,0,0.55); }
.category-tile-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* =====================================================
   USP SECTION
   ===================================================== */
.usp-section { background: var(--color-bg-alt); }
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.usp-item { text-align: center; }
.usp-icon {
  width: 60px; height: 60px;
  background: var(--color-black);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
}
.usp-item h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.usp-item p { font-size: 14px; color: var(--color-text); line-height: 1.6; }

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials-section { background: var(--color-white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.testimonial-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 15px; color: var(--color-black); }
.testimonial-verified { font-size: 12px; color: #1a9c5b; font-weight: 600; margin-top: 2px; }
.testimonial-stars { color: #F5A623; font-size: 13px; }
.testimonial-card .testimonial-stars { margin: 2px 0 12px; }
.testimonial-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text);
  font-style: italic;
}

/* =====================================================
   BLOG PREVIEW
   ===================================================== */
.blog-section { background: var(--color-white); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.blog-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.06); }
.blog-card-body { padding: 24px; }
.blog-card-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 10px;
}
.blog-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card-excerpt { font-size: 13px; color: var(--color-text); line-height: 1.6; margin-bottom: 16px; }
.blog-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-black);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.blog-section-cta { text-align: center; }

/* =====================================================
   NEWSLETTER
   ===================================================== */
.newsletter-section {
  background: var(--color-black);
  padding: 80px 0;
}
.newsletter-inner { text-align: center; max-width: 560px; margin: 0 auto; }
.newsletter-inner h2 { color: var(--color-white); margin-bottom: 14px; }
.newsletter-inner p { color: rgba(255,255,255,0.7); margin-bottom: 36px; font-size: 15px; }
.newsletter-form { display: flex; gap: 0; }
.newsletter-form input[type="email"] {
  flex: 1;
  height: 52px;
  padding: 0 20px;
  border: none;
  font-size: 14px;
  font-family: var(--font-primary);
  outline: none;
  border-radius: var(--radius) 0 0 var(--radius);
}
.newsletter-form button {
  height: 52px;
  padding: 0 28px;
  background: var(--color-white);
  color: var(--color-black);
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: opacity var(--transition);
}
.newsletter-form button:hover { opacity: 0.85; }

/* =====================================================
   FOOTER
   ===================================================== */
#gym-footer { background: var(--color-footer); color: rgba(255,255,255,0.65); }
.footer-top { padding: 72px 0 48px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-col h4 {
  color: var(--color-white);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  font-weight: 700;
}
.footer-logo { margin-bottom: 16px; filter: brightness(0) invert(1); height: 36px; }
.footer-tagline { font-size: 13px; line-height: 1.7; margin-bottom: 24px; }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  transition: all var(--transition);
  font-size: 14px;
}
.footer-social a:hover { border-color: var(--color-white); color: var(--color-white); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-links a:hover { color: var(--color-white); }
.footer-contact-item { font-size: 13px; margin-bottom: 10px; line-height: 1.5; }
.footer-contact-item strong { color: var(--color-white); display: block; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-inner p { font-size: 12px; }
.footer-payments { display: flex; align-items: center; gap: 8px; }
.payment-badge {
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
}

/* =====================================================
   WOOCOMMERCE — SHOP PAGE
   ===================================================== */
.woocommerce-page .site-main { padding-top: 0; }

.shop-header {
  background: var(--color-bg-alt);
  padding: 48px 0 40px;
  margin-bottom: 48px;
}
.shop-header h1 { font-size: 2rem; text-transform: uppercase; letter-spacing: 0.05em; }
.shop-breadcrumb { font-size: 13px; margin-top: 8px; color: var(--color-text); }
.shop-breadcrumb a { color: var(--color-text); }
.shop-breadcrumb a:hover { color: var(--color-black); }

.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* WooCommerce native overrides */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 28px !important;
  margin: 0 !important;
}
.woocommerce ul.products li.product {
  width: auto !important;
  float: none !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius) !important;
  overflow: hidden !important;
  transition: box-shadow var(--transition), transform var(--transition) !important;
}
.woocommerce ul.products li.product:hover {
  box-shadow: var(--shadow-card-hover) !important;
  transform: translateY(-4px) !important;
}
.woocommerce ul.products li.product a img {
  transition: transform 0.45s ease !important;
}
.woocommerce ul.products li.product:hover a img { transform: scale(1.06) !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--color-black) !important;
  padding: 16px 16px 8px !important;
}
.woocommerce ul.products li.product .price {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--color-black) !important;
  padding: 0 16px 16px !important;
}
.woocommerce ul.products li.product .button {
  margin: 0 16px 16px !important;
  width: calc(100% - 32px) !important;
  background: var(--color-black) !important;
  color: var(--color-white) !important;
  border-radius: var(--radius) !important;
  font-family: var(--font-primary) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  padding: 12px !important;
  transition: all var(--transition) !important;
  border: 1.5px solid var(--color-black) !important;
}
.woocommerce ul.products li.product .button:hover {
  background: var(--color-white) !important;
  color: var(--color-black) !important;
}

/* Single Product */
.woocommerce div.product { margin-top: var(--gym-header-h) !important; padding-top: 24px !important; }
.woocommerce div.product .woocommerce-breadcrumb { font-size: 13px !important; margin-bottom: 32px !important; }
.woocommerce div.product div.images { width: 50% !important; }
.woocommerce div.product div.summary { width: 46% !important; }
.woocommerce div.product .product_title { font-size: 2rem !important; margin-bottom: 12px !important; }
.woocommerce div.product .price { font-size: 2rem !important; color: var(--color-black) !important; font-weight: 700 !important; }
.woocommerce div.product .single_add_to_cart_button {
  background: var(--color-black) !important;
  color: var(--color-white) !important;
  border-radius: var(--radius) !important;
  font-family: var(--font-primary) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  height: 52px !important;
  padding: 0 32px !important;
  border: 1.5px solid var(--color-black) !important;
  transition: all var(--transition) !important;
}
.woocommerce div.product .single_add_to_cart_button:hover {
  background: var(--color-white) !important;
  color: var(--color-black) !important;
}

/* Cart & Checkout */
.woocommerce table.shop_table th { background: var(--color-bg-alt) !important; }
.woocommerce-checkout #payment #place_order {
  background: var(--color-black) !important;
  border-radius: var(--radius) !important;
  font-family: var(--font-primary) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  padding: 16px 32px !important;
  width: 100% !important;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  border-radius: var(--radius) !important;
  border: 1px solid var(--color-border) !important;
  font-family: var(--font-primary) !important;
  padding: 12px 16px !important;
  transition: border-color var(--transition) !important;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--color-black) !important;
  outline: none !important;
}

/* =====================================================
   BLOG TEMPLATES
   ===================================================== */
.blog-archive-header {
  background: var(--color-bg-alt);
  padding: 60px 0 48px;
  margin-bottom: 56px;
}
.blog-archive-header h1 { font-size: 2.25rem; text-transform: uppercase; letter-spacing: 0.05em; }

.blog-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}

.single-post { padding-top: 0; }
.single-post-hero {
  width: 100%;
  aspect-ratio: 21/8;
  object-fit: cover;
}
.single-post-body { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.single-post-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--color-text);
  margin-bottom: 32px;
}
.post-tag {
  background: var(--color-black);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 2px;
}
.single-post-content h2 { margin: 40px 0 16px; }
.single-post-content h3 { margin: 32px 0 12px; }
.single-post-content p { margin-bottom: 20px; }
.single-post-content ul { margin: 0 0 20px 24px; list-style: disc; }
.single-post-content ul li { margin-bottom: 8px; }
.single-post-content blockquote {
  border-left: 3px solid var(--color-black);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--color-bg-alt);
  font-style: italic;
}

/* =====================================================
   PAGE TEMPLATES
   ===================================================== */
.page-header {
  background: var(--color-bg-alt);
  padding: calc(var(--gym-header-h) + 32px) 0 56px;
  margin-top: 0;
  text-align: center;
}
.page-header h1 { font-size: 2.25rem; text-transform: uppercase; letter-spacing: 0.05em; }

.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  max-width: 960px;
  margin: 0 auto;
  padding: 72px 24px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  color: var(--color-black);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-primary);
  font-size: 15px;
  outline: none;
  transition: border-color var(--transition);
  margin-bottom: 20px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--color-black); }
.contact-form textarea { height: 140px; resize: vertical; }

.contact-info h3 { font-size: 1.125rem; margin-bottom: 24px; }
.contact-info-item { margin-bottom: 20px; }
.contact-info-item strong { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { font-size: 14px; color: var(--color-text); }

/* =====================================================
   PRODUCT REASSURANCE BADGES (single product)
   ===================================================== */
.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0;
  padding: 20px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
}
.product-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-black);
}

/* =====================================================
   ANIMATIONS (fade-in on scroll)
   ===================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* =====================================================
   BREADCRUMB
   ===================================================== */
.breadcrumb { font-size: 13px; color: var(--color-text); }
.breadcrumb a { color: var(--color-text); }
.breadcrumb a:hover { color: var(--color-black); }
.breadcrumb span { margin: 0 6px; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 992px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }

  .reassurance-inner { grid-template-columns: repeat(2, 1fr); }
  .reassurance-item:nth-child(2) { border-right: none; }

  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-archive-grid { grid-template-columns: repeat(2, 1fr); }

  .lifestyle-banner { grid-template-columns: 1fr; }
  .lifestyle-banner-image { min-height: 320px; }
  .lifestyle-banner-content { padding: 48px 40px; }

  .shop-layout { grid-template-columns: 1fr; }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }

  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-height: 60px; }
  .section-padding { padding: 56px 0; }
  .section-padding--lg { padding: 64px 0; }

  .products-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: 1fr; gap: 32px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-archive-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .reassurance-inner { grid-template-columns: 1fr; }
  .reassurance-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .reassurance-item:last-child { border-bottom: none; }

  .newsletter-form { flex-direction: column; }
  .newsletter-form input[type="email"] { border-radius: var(--radius); }
  .newsletter-form button { border-radius: var(--radius); width: 100%; }

  .hero h1 { font-size: 2.25rem; }
  .hero-ctas { flex-direction: column; gap: 16px; }
  .btn { width: 100%; justify-content: center; }

  .woocommerce ul.products { grid-template-columns: 1fr !important; }
  .woocommerce div.product div.images,
  .woocommerce div.product div.summary { width: 100% !important; float: none !important; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.875rem; }
  .container { padding: 0 16px; }
  .footer-top { padding: 48px 0 32px; }
}

/* =====================================================
   v2.0 — DROPSHIPPING CONVERSION OPTIMIZATIONS
   Announcement bar, hero badge, trust, search, polished mobile
   ===================================================== */

/* ===== Announcement bar (above header) ===== */
.gym-announce {
  background: #000;
  color: #fff;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  padding: 9px 0;
  overflow: hidden;
  position: relative;
  z-index: 1001;
}
.gym-announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-weight: 400;
}
.gym-announce-item { white-space: nowrap; }
.gym-announce-item strong { font-weight: 700; }
.gym-announce-sep { opacity: 0.4; }
@media (max-width: 768px) {
  .gym-announce { font-size: 11.5px; padding: 8px 0; }
  .gym-announce-inner { gap: 10px; }
  .gym-announce-sep { display: none; }
}

/* ===== Header v3 — premium layout ===== */
body { padding-top: 0; }
#gym-header { top: 0; }

/* Brand wordmark — NO mini logo, just bold typography */
.header-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-black);
  transition: opacity 0.2s;
}
.header-logo:hover { opacity: 0.7; }
.header-logo .logo-img { display: none !important; }
.logo-wordmark {
  font-family: var(--font-primary);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--color-black);
  display: inline-block;
  text-transform: uppercase;
}
.logo-wordmark em {
  font-style: normal;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-left: 3px;
  opacity: 0.95;
}
@media (max-width: 768px) {
  .logo-wordmark { font-size: 20px; }
}
@media (max-width: 480px) {
  .logo-wordmark { font-size: 17px; }
}

/* Premium menu — bigger, refined hover */
.header-nav .header-menu-list {
  gap: 44px;
}
.header-nav a {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 0;
  position: relative;
  color: var(--color-black);
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 2px;
  background: var(--color-black);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.header-nav a:hover::after { transform: scaleX(1); }
.header-nav .current-menu-item > a,
.header-nav .current_page_item > a { font-weight: 700; }
.header-nav .current-menu-item > a::after,
.header-nav .current_page_item > a::after { transform: scaleX(1); opacity: 0.4; }

/* Header taller for better proportion with wordmark */
:root {
  --header-height: 88px;
}

/* Header icon buttons polish */
.header-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: none;
  background: transparent;
  color: var(--color-black);
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.header-icon-btn:hover { background: rgba(0,0,0,0.05); }

/* Cart count refinement */
.cart-icon { position: relative; }
.cart-count {
  position: absolute;
  top: 4px; right: 2px;
  background: var(--color-black);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.cart-count.is-empty { display: none; }

/* ===== Search overlay ===== */
.gym-search {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.06);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.gym-search.open {
  max-height: 120px;
  padding: 20px 0;
}
.gym-search-form {
  display: flex;
  border-bottom: 2px solid var(--color-black);
  max-width: 720px;
  margin: 0 auto;
}
.gym-search-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 4px;
  font-size: 18px;
  font-family: inherit;
  outline: none;
}
.gym-search-form button {
  border: none;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
  padding: 0 12px;
}

/* ===== Hero v2 ===== */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: #00d97e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0,217,126,0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,217,126,0.7); }
  70% { box-shadow: 0 0 0 8px rgba(0,217,126,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,217,126,0); }
}

.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: #fff;
  opacity: 0.85;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 56px;
  flex-wrap: wrap;
  color: #fff;
}
.hero-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  opacity: 0.92;
}
.hero-trust-stars {
  color: #FFB800;
  letter-spacing: 2px;
  font-size: 14px;
}
.hero-trust-text { font-size: 12.5px; }
.hero-trust-text strong { font-weight: 700; }
.hero-trust-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.2);
}
@media (max-width: 768px) {
  .hero-trust { gap: 16px; margin-top: 40px; }
  .hero-trust-divider { display: none; }
}

/* Scroll indicator polish */
.scroll-indicator {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: scrollBounce 2.4s infinite ease-in-out;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50%      { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* ===== Force flex behavior for nav (override list-item display) ===== */
.header-nav .header-menu-list {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0; padding: 0;
}
.header-nav .header-menu-list li {
  display: flex;
  list-style: none;
  margin: 0; padding: 0;
}
.header-nav .header-menu-list a {
  text-decoration: none;
  white-space: nowrap;
}

/* Active menu item underline */
.header-nav .current-menu-item > a::after,
.header-nav .current_page_item > a::after {
  width: 100%;
}

/* ===== Mobile menu v2 ===== */
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 24px;
}
.mobile-logo { height: 30px; width: auto; }
.mobile-menu-brand { text-decoration: none; line-height: 1; }
.mobile-menu-brand .logo-wordmark { font-size: 20px; }
.mobile-menu-close {
  background: none; border: none; font-size: 24px; cursor: pointer;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background 0.2s;
}
.mobile-menu-close:hover { background: rgba(0,0,0,0.05); }
.mobile-nav {
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-nav a {
  padding: 16px 4px;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-black);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: padding 0.2s;
}
.mobile-nav a:hover { padding-left: 12px; }
.mobile-menu-foot {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  gap: 12px;
}
.mobile-menu-foot a {
  flex: 1;
  text-align: center;
  padding: 12px;
  background: #f5f5f5;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-black);
}
.mobile-menu-foot a:hover { background: #000; color: #fff; }

@media (min-width: 993px) {
  .hamburger { display: none !important; }
}
@media (max-width: 992px) {
  .header-nav { display: none; }
  .hamburger { display: flex !important; }
}

/* ===== WooCommerce shop / product cards polish ===== */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  list-style: none;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
.woocommerce ul.products li.product img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.woocommerce ul.products li.product .price {
  color: var(--color-black) !important;
  font-weight: 700;
  font-size: 18px;
}
.woocommerce ul.products li.product .price del {
  opacity: 0.5;
  margin-right: 8px;
  font-weight: 400;
}
.woocommerce ul.products li.product .button {
  background: var(--color-black) !important;
  color: #fff !important;
  border-radius: var(--radius) !important;
  padding: 12px 20px !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px !important;
  margin-top: 12px !important;
}
.woocommerce ul.products li.product .button:hover {
  background: #333 !important;
}

@media (max-width: 992px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; }
}
@media (max-width: 600px) {
  .woocommerce ul.products { grid-template-columns: 1fr !important; }
}

/* WooCommerce shop page header */
.woocommerce .page-title,
.woocommerce-products-header {
  margin-top: 0;
  padding: 80px 0 40px;
  background: var(--color-bg-alt);
  text-align: center;
}
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  margin: 24px 0 !important;
}

/* Single product page */
.woocommerce div.product .product_title {
  font-size: 2rem;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: var(--color-black) !important;
  margin-bottom: 24px !important;
}
.woocommerce div.product form.cart .button {
  background: var(--color-black) !important;
  color: #fff !important;
  padding: 16px 32px !important;
  font-size: 14px !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius) !important;
  font-weight: 600;
}
.woocommerce div.product form.cart .button:hover { background: #333 !important; }

/* Cart / checkout page */
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content { padding-top: 0; }

.woocommerce table.shop_table {
  border-radius: var(--radius);
  overflow: hidden;
}

/* Sale badge */
.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale {
  background: var(--color-black) !important;
  color: #fff !important;
  border-radius: 4px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px !important;
  min-height: auto !important;
  min-width: auto !important;
  line-height: 1 !important;
  top: 12px !important;
  left: 12px !important;
  right: auto !important;
}

/* Free shipping progress on cart */
.gym-free-shipping-progress {
  background: #f8f8f8;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 13px;
}
.gym-free-shipping-progress .bar {
  height: 6px;
  background: #e5e5e5;
  border-radius: 3px;
  margin-top: 10px;
  overflow: hidden;
}
.gym-free-shipping-progress .bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #00d97e 0%, #00b86a 100%);
  border-radius: 3px;
  transition: width 0.5s ease;
}

/* =====================================================
   v3.0 — PREMIUM GRAPHIC DESIGN BOOST
   Real visual depth, layering, premium e-commerce feel
   ===================================================== */

/* Premium accent color (kept restrained for luxury feel) */
:root {
  --color-accent-warm: #B5651D;   /* leather tan, only for highlights */
  --color-success:     #00b86a;
  --color-danger:      #E63946;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:  0 16px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-xl:  0 24px 60px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.08);
}

/* SECTION DESIGN — luxury brand pattern (numbered eyebrows + lines) */
.products-section, .categories-section, .testimonials-section,
.blog-section, .usp-section {
  position: relative;
}
.products-section { background: #fafafa; }
.categories-section { background: #fff; }
.testimonials-section { background: #fafafa; }
.blog-section { background: #fff; }
.usp-section { background: #0a0a0a; color: #fff; }
.usp-section h2, .usp-section h3 { color: #fff; }
.usp-section .section-subtitle { color: rgba(255,255,255,0.7); }
.usp-section .section-title::after { background: #fff; }

/* Auto-numbered section eyebrows */
.products-section .section-title::before,
.categories-section .section-title::before,
.testimonials-section .section-title::before,
.blog-section .section-title::before {
  content: attr(data-num);
  display: block;
  font-size: 11px;
  letter-spacing: 0.3em;
  font-weight: 500;
  opacity: 0.55;
  margin-bottom: 16px;
}

/* PRODUCT CARDS — premium redesign */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
}
.product-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s;
  border: 1px solid rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5f5f5;
}
.product-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.product-card:hover .product-card-image img {
  transform: scale(1.06);
}
.product-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.08));
  z-index: 1;
  pointer-events: none;
}
.product-card-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: #000;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
  z-index: 2;
}
.product-card-badge.is-sale     { background: var(--color-danger); }
.product-card-badge.is-new      { background: var(--color-success); }
.product-card-badge.is-featured { background: linear-gradient(135deg, #c8a23a, #d4af37); color: #000; box-shadow: 0 2px 8px rgba(212,175,55,0.4); }
.product-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 3;
}
.product-card:hover .product-card-overlay { opacity: 1; }
.product-card-body {
  padding: 20px 20px 8px;
  flex: 1;
}
.product-card-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--color-black);
  min-height: 42px;
}
.product-card-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-black);
}
.product-card-price del {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.4;
  margin-right: 8px;
}
.product-card-stars {
  color: #FFB800;
  letter-spacing: 2px;
  font-size: 13px;
  margin-top: 6px;
}
.product-card-footer {
  padding: 0 20px 20px;
}

/* CATEGORY CARDS — image with overlay & big text */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
}
.category-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 10px;
  display: block;
  text-decoration: none;
  color: #fff;
  transition: transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.45s;
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 46px rgba(0,0,0,0.26);
}
.category-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.category-card:hover .category-card-bg { transform: scale(1.09); }
.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.85) 100%);
}
.category-card-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.category-card:hover .category-card-content { transform: translateY(-6px); }
.category-card-name {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.category-card-meta {
  font-size: 13px;
  opacity: 0.85;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.category-card-meta::after {
  content: '→';
  transition: transform 0.3s;
}
.category-card:hover .category-card-meta::after {
  transform: translateX(6px);
}
@media (max-width: 768px) {
  .categories-grid { grid-template-columns: 1fr; }
}

/* USP DARK SECTION */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 1080px;
  margin: 0 auto;
}
.usp-item {
  text-align: center;
}
.usp-item-num {
  font-size: 64px;
  font-weight: 200;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.3;
  font-family: var(--font-secondary, var(--font-primary));
}
.usp-item h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #fff;
}
.usp-item p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.7;
  color: rgba(255,255,255,0.7);
}
@media (max-width: 768px) {
  .usp-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* TESTIMONIALS CARDS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.testimonial {
  background: #fff;
  padding: 32px 28px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 60px;
  font-weight: 800;
  line-height: 1;
  color: var(--color-black);
  opacity: 0.08;
  font-family: Georgia, serif;
}
.testimonial-stars {
  color: #FFB800;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.testimonial-text {
  font-size: 15px;
  line-height: 1.65;
  color: #222;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-author img {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-author-name {
  font-size: 13px;
  font-weight: 700;
  display: block;
}
.testimonial-author-meta {
  font-size: 11px;
  color: var(--color-text);
  opacity: 0.7;
}

/* LIFESTYLE BANNER — split layout */
.lifestyle-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  margin: 0;
  padding: 0;
  background: #000;
  color: #fff;
}
.lifestyle-banner-img {
  background-size: cover;
  background-position: center;
  min-height: 520px;
}
.lifestyle-banner-content {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lifestyle-banner-content h2 { color: #fff; }
@media (max-width: 768px) {
  .lifestyle-banner { grid-template-columns: 1fr; }
  .lifestyle-banner-img { min-height: 320px; }
  .lifestyle-banner-content { padding: 48px 32px; }
}

/* SECTION PADDING UPGRADE — more breathing space */
.section-padding { padding: 96px 0; }
.section-padding--lg { padding: 128px 0; }
@media (max-width: 768px) {
  .section-padding { padding: 64px 0; }
  .section-padding--lg { padding: 80px 0; }
}

/* NEWSLETTER section premium */
.newsletter-section {
  background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
  color: #fff;
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 60%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.newsletter-section h2 { color: #fff; margin-bottom: 12px; }
.newsletter-section .section-subtitle { color: rgba(255,255,255,0.7); }
.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 32px auto 0;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}
.newsletter-form input {
  flex: 1;
  border: none;
  padding: 16px 20px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.newsletter-form button {
  background: var(--color-black);
  color: #fff;
  border: none;
  padding: 0 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: #222; }

/* WOOCOMMERCE SHOP PAGE — premium redesign */
.woocommerce .woocommerce-products-header__title.page-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem) !important;
  font-weight: 800 !important;
  text-align: center;
  padding: 80px 24px 32px;
  background: #fafafa;
  margin: var(--gym-header-h) 0 0 !important;
}
.woocommerce .woocommerce-result-count {
  font-size: 13px;
  color: var(--color-text);
}
.woocommerce .woocommerce-ordering select {
  border: 1.5px solid rgba(0,0,0,0.1);
  padding: 10px 16px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 13px;
  background: #fff;
  cursor: pointer;
}

/* Site-wide refinements */
.section-padding .container { max-width: 1320px; }

/* Subtle reveal animation */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.7s, transform 0.7s; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.08s; }
.fade-in-delay-2 { transition-delay: 0.16s; }
.fade-in-delay-3 { transition-delay: 0.24s; }

/* =====================================================
   BOUTIQUE PAGE — custom premium template
   ===================================================== */
.boutique-hero {
  padding: calc(var(--gym-header-h) + 32px) 0 64px;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.boutique-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.boutique-hero-sub {
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 1.0625rem;
  color: var(--color-text);
  line-height: 1.7;
}
.boutique-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.boutique-pill {
  padding: 11px 22px;
  border-radius: 100px;
  border: 1.5px solid rgba(0,0,0,0.1);
  background: #fff;
  color: var(--color-black);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
}
.boutique-pill:hover {
  border-color: var(--color-black);
  background: #fafafa;
}
.boutique-pill.is-active {
  background: var(--color-black);
  color: #fff;
  border-color: var(--color-black);
}

.boutique-products { background: #fff; padding-top: 56px; }
.boutique-meta {
  text-align: center;
  margin-bottom: 32px;
  font-size: 13px;
  color: var(--color-text);
  letter-spacing: 0.05em;
}
.boutique-count {
  display: inline-block;
  padding: 6px 14px;
  background: #f5f5f5;
  border-radius: 100px;
  font-weight: 600;
}

.boutique-usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.boutique-usp-item {
  text-align: center;
  padding: 32px 20px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.boutique-usp-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.boutique-usp-icon {
  font-size: 36px;
  margin-bottom: 16px;
  line-height: 1;
}
.boutique-usp-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.boutique-usp-item p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--color-text);
}
@media (max-width: 992px) {
  .boutique-usp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .boutique-usp-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   CART & CHECKOUT — premium dynamic experience
   ===================================================== */
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content,
.woocommerce-account .entry-content {
  padding: 48px 0 80px;
  background: #fafafa;
  min-height: 60vh;
}
.woocommerce-cart main, .woocommerce-checkout main, .woocommerce-account main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.woocommerce-cart h1, .woocommerce-checkout h1, .woocommerce-account h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
  font-weight: 800;
}

/* Free shipping progress bar */
.gym-free-ship-bar {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  padding: 18px 24px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.gym-free-ship-bar.is-success { background: #f0fdf4; border-color: #bbf7d0; }
.gym-free-ship-text { font-size: 14px; margin-bottom: 10px; }
.gym-free-ship-text strong { font-weight: 700; }
.gym-free-ship-bar-track {
  height: 8px;
  background: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
}
.gym-free-ship-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #00d97e 0%, #00b86a 100%);
  border-radius: 4px;
  transition: width 0.5s ease;
}

/* Trust badges */
.gym-trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.06);
}
.gym-trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  line-height: 1.4;
}
.gym-trust-badge svg { flex-shrink: 0; color: #000; }
.gym-trust-badge strong { display: block; font-weight: 700; }
.gym-trust-badge span { color: var(--color-text); font-size: 11.5px; opacity: 0.8; }

/* Recommended products under cart */
.gym-recommended {
  margin-top: 64px;
  background: #fff;
  border-radius: 8px;
  padding: 40px 32px;
  border: 1px solid rgba(0,0,0,0.05);
}
.gym-recommended-title {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 32px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.gym-recommended ul.products { padding: 0 !important; }

/* Checkout steps progress */
.gym-checkout-banner {
  background: #fff;
  border-radius: 8px;
  padding: 24px 32px;
  margin-bottom: 32px;
  border: 1px solid rgba(0,0,0,0.06);
}
.gym-checkout-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}
.gym-checkout-banner-inner::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 18px; right: 18px;
  height: 2px;
  background: rgba(0,0,0,0.08);
  z-index: 0;
}
.gym-checkout-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.gym-checkout-step .step-num {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border: 2px solid rgba(0,0,0,0.15);
  border-radius: 50%;
  font-weight: 700;
  font-size: 13px;
  color: #999;
}
.gym-checkout-step span:last-child { font-size: 12px; color: #666; }
.gym-checkout-step.is-active .step-num {
  background: #000;
  border-color: #000;
  color: #fff;
}
.gym-checkout-step.is-active span:last-child { color: #000; font-weight: 600; }

/* WC cart layout polish */
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout .order-total {
  background: #fff;
  padding: 28px 32px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.woocommerce-cart .cart_totals h2,
.woocommerce-checkout #order_review_heading {
  font-size: 1.25rem;
  margin-bottom: 20px;
  font-weight: 700;
}
.woocommerce-cart table.shop_table {
  border: 1px solid rgba(0,0,0,0.06) !important;
  border-radius: 8px !important;
  overflow: hidden;
  background: #fff;
}
.woocommerce-cart table.shop_table th {
  background: #fafafa !important;
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
  font-size: 12px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.woocommerce-cart table.shop_table td {
  padding: 18px 12px !important;
  vertical-align: middle;
}
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  background: var(--color-black) !important;
  color: #fff !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  padding: 14px 28px !important;
  border-radius: 4px !important;
  border: none !important;
  transition: all 0.25s !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover {
  background: #333 !important;
  transform: translateY(-1px);
}
.woocommerce a.button.alt {
  background: var(--color-black) !important;
  color: #fff !important;
}

/* Checkout form polish */
.woocommerce form .form-row input,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  border: 1.5px solid rgba(0,0,0,0.1) !important;
  border-radius: 4px !important;
  padding: 12px 14px !important;
  font-family: inherit !important;
  font-size: 14px !important;
  transition: border 0.2s !important;
}
.woocommerce form .form-row input:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
  border-color: #000 !important;
  outline: none !important;
}
.woocommerce-checkout #payment {
  background: #fff !important;
  border-radius: 8px !important;
  padding: 24px !important;
  margin-top: 24px;
}
.woocommerce-checkout #payment ul.payment_methods {
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
  padding-bottom: 16px !important;
}
.woocommerce-checkout #payment .place-order .button {
  width: 100%;
  padding: 18px !important;
  font-size: 15px !important;
}

@media (max-width: 600px) {
  .gym-trust-badges { grid-template-columns: 1fr; }
  .gym-checkout-banner-inner { gap: 8px; }
  .gym-checkout-step .step-num { width: 28px; height: 28px; font-size: 11px; }
  .gym-checkout-step span:last-child { font-size: 11px; }
}

/* =====================================================
   MARQUEE SCROLLING BANNER — premium brand pillar
   ===================================================== */
.gym-marquee {
  position: relative;
  background: #000;
  color: #fff;
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-top: 0;
  z-index: 5;
}
.gym-marquee-track {
  display: flex;
  gap: 36px;
  align-items: center;
  white-space: nowrap;
  animation: gym-marquee-scroll 32s linear infinite;
  width: max-content;
  will-change: transform;
}
.gym-marquee-item {
  font-family: var(--font-primary);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  flex-shrink: 0;
  background: linear-gradient(135deg, #fff 0%, #aaa 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gym-marquee-item:nth-child(8n+1) { -webkit-text-fill-color: #fff; background: none; }
.gym-marquee-item:nth-child(8n+5) { -webkit-text-fill-color: #fff; background: none; }
.gym-marquee-dot {
  width: 10px;
  height: 10px;
  background: #fff;
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: 0.5;
}
@keyframes gym-marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.gym-marquee:hover .gym-marquee-track { animation-play-state: paused; }
.gym-marquee::before,
.gym-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.gym-marquee::before { left: 0; background: linear-gradient(90deg, #000, transparent); }
.gym-marquee::after  { right: 0; background: linear-gradient(270deg, #000, transparent); }

/* Hero needs to NOT have padding-top from header anymore (marquee already pushes it) */
.hero {
  margin-top: 0;
}
@media (max-width: 768px) {
  .gym-marquee { padding: 14px 0; }
  .gym-marquee-track { gap: 24px; animation-duration: 22s; }
  .gym-marquee-dot { width: 7px; height: 7px; }
}

/* =====================================================
   FOOTER v3 — pro premium layout
   ===================================================== */
#gym-footer { background: #0a0a0a; color: rgba(255,255,255,0.7); }

/* Trust strip */
.footer-trust-strip {
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 36px 0;
  color: var(--color-black);
}
.footer-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
}
.footer-trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-trust-item svg { flex-shrink: 0; color: #000; }
.footer-trust-item strong { display: block; font-size: 14px; font-weight: 700; letter-spacing: -0.005em; }
.footer-trust-item span { font-size: 12px; opacity: 0.6; }
@media (max-width: 992px) {
  .footer-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 480px) {
  .footer-trust-grid { grid-template-columns: 1fr; }
  .footer-trust-item { justify-content: center; text-align: left; }
}

/* Newsletter band */
.footer-newsletter {
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  padding: 64px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-newsletter-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.footer-newsletter-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}
.footer-newsletter h3 {
  color: #fff;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.footer-newsletter p {
  color: rgba(255,255,255,0.7);
  font-size: 14.5px;
  line-height: 1.6;
}
.footer-newsletter p strong { color: #fff; font-weight: 700; }
.footer-newsletter-form {
  display: flex;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}
.footer-newsletter-form input {
  flex: 1;
  border: none;
  padding: 18px 22px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  background: transparent;
}
.footer-newsletter-form button {
  background: #000;
  color: #fff;
  border: none;
  padding: 0 32px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.25s, background 0.2s;
}
.footer-newsletter-form button:hover { background: #222; gap: 12px; }
.footer-newsletter-form button span { font-size: 16px; }
@media (max-width: 600px) {
  .footer-newsletter { padding: 48px 0; }
  .footer-newsletter-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-newsletter-form { flex-direction: column; }
  .footer-newsletter-form button { padding: 16px; width: 100%; justify-content: center; }
}

/* Footer top - 4 columns */
.footer-top { padding: 80px 0 60px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-col h4 {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Brand column */
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 16px;
}
.footer-logo {
  display: none !important; /* hide white-bg PNG square — keep text wordmark only */
}
.footer-wordmark {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1;
}
.footer-wordmark em {
  font-style: normal;
  font-weight: 300;
  opacity: 0.7;
  margin-left: 2px;
}
.footer-tagline {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 340px;
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  color: #fff;
  transition: all 0.25s;
}
.footer-social a:hover {
  background: #fff;
  color: #000;
  transform: translateY(-2px);
}

/* Footer links */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 13.5px;
  text-decoration: none;
  transition: color 0.2s, padding 0.2s;
  position: relative;
}
.footer-links a:hover {
  color: #fff;
  padding-left: 6px;
}
.footer-links a::before {
  content: '→';
  position: absolute;
  left: -16px;
  top: 0;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  transform: translateX(-4px);
}
.footer-links a:hover::before { opacity: 1; transform: translateX(0); }

/* Contact column */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
}
.footer-contact-item svg { color: rgba(255,255,255,0.5); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item > div { display: flex; flex-direction: column; gap: 2px; }
.footer-contact-item span { font-size: 10.5px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.footer-contact-item a { color: #fff; text-decoration: none; font-weight: 600; transition: opacity 0.2s; }
.footer-contact-item a:hover { opacity: 0.7; }
.footer-contact-item strong { color: #fff; font-weight: 600; }

/* Footer bottom */
.footer-bottom {
  padding: 28px 0;
  background: #050505;
  position: relative;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom-left p {
  margin: 0;
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
}
.footer-bottom-left p strong { color: #fff; font-weight: 700; }
.footer-fineprint { font-size: 11px !important; opacity: 0.5; margin-top: 4px !important; }

.footer-payments {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: 3px;
  overflow: hidden;
}

/* Back to top floating button */
.footer-back-to-top {
  position: absolute;
  right: 24px;
  top: -22px;
  width: 44px; height: 44px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.25s, box-shadow 0.25s;
}
.footer-back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-col--brand { grid-column: span 2; }
}
@media (max-width: 600px) {
  .footer-top { padding: 56px 0 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-col--brand { grid-column: span 1; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 16px; }
  .footer-back-to-top { right: 50%; transform: translateX(50%); top: -22px; }
}

/* =====================================================
   GENERAL POLISH — pro consistency across all pages
   ===================================================== */

/* Smoother body */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Selection color */
::selection { background: #000; color: #fff; }

/* Better scroll behavior */
html { scroll-behavior: smooth; }

/* Better focus states for accessibility */
*:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
  border-radius: 2px;
}

/* Page header for inner pages (Contact, À propos, legal) */
.page-header {
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
  padding: calc(var(--gym-header-h) + 32px) 0 48px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  margin: 0;
}

/* Better section transitions */
section + section { position: relative; }

/* Buttons get a subtle indicator on hover */
.btn:hover { letter-spacing: 0.14em; }

/* Cleaner woocommerce single product page wrapper */
.woocommerce div.product {
  margin-top: 0 !important;
  padding-top: 48px !important;
}

/* Footer wp_list_pages fallback (in case TT5 leaks) — hide */
.wp-block-template-part .wp-block-page-list,
.wp-block-template-part > nav { display: none; }

/* =====================================================
   ABOUT PAGE — Cinematic storytelling
   ===================================================== */
.apropos-hero {
  position: relative;
  height: 70vh;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}
.apropos-hero-bg {
  position: absolute;
  inset: 0;
  background:
    url('https://images.unsplash.com/photo-1517836357463-d25dfeac3438?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat,
    #111;
  transform: scale(1.05);
  animation: apropos-zoom 20s ease-in-out infinite alternate;
}
@keyframes apropos-zoom {
  from { transform: scale(1.0); }
  to   { transform: scale(1.1); }
}
.apropos-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.75) 100%);
}
.apropos-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 920px;
  padding: 0 24px;
}
.apropos-hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}
.apropos-hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin-bottom: 28px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.apropos-hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
}
.apropos-hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  opacity: 0.92;
  max-width: 680px;
  margin: 0 auto;
  font-weight: 300;
}
.apropos-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.7);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  animation: apropos-bounce 2.5s infinite ease-in-out;
}
@keyframes apropos-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* Story narrative */
.apropos-narrow { max-width: 760px; margin: 0 auto; }
.apropos-story-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 16px 0 40px;
}
.apropos-story-body p {
  font-size: 17px;
  line-height: 1.85;
  color: #222;
  margin-bottom: 22px;
}
.apropos-lead {
  font-size: 20px !important;
  line-height: 1.55 !important;
  font-weight: 400;
  color: #000 !important;
  border-left: 3px solid #000;
  padding-left: 20px;
  margin-bottom: 32px !important;
}
.apropos-pullquote {
  font-style: italic;
  font-size: 22px !important;
  font-weight: 300 !important;
  line-height: 1.45 !important;
  text-align: center;
  padding: 32px 24px;
  margin: 32px -24px !important;
  border-top: 1px solid rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  color: #000 !important;
}

/* Numbers band */
.apropos-numbers {
  background: #0a0a0a;
  color: #fff;
  padding: 72px 0;
}
.apropos-numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.apropos-number-value {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.apropos-number-value span {
  font-size: 0.55em;
  font-weight: 400;
  opacity: 0.5;
}
.apropos-number-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.65;
}
@media (max-width: 768px) {
  .apropos-numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 16px; }
}

/* Values - 4 cards with numbers */
.apropos-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.apropos-value {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 6px;
  padding: 40px;
  position: relative;
  transition: transform 0.35s, box-shadow 0.35s;
}
.apropos-value:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
.apropos-value-num {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: rgba(0,0,0,0.25);
  margin-bottom: 16px;
}
.apropos-value h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.apropos-value p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #444;
  margin: 0;
}
@media (max-width: 768px) {
  .apropos-values-grid { grid-template-columns: 1fr; }
  .apropos-value { padding: 32px 28px; }
}

/* Mission band */
.apropos-mission {
  background: #000;
  color: #fff;
  padding: 96px 0;
  text-align: center;
}
.apropos-mission-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 32px;
}
.apropos-mission-quote {
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 900px;
  margin: 0 auto 32px;
}
.apropos-mission-quote em {
  font-style: italic;
  opacity: 0.85;
}
.apropos-mission-signature {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
}

/* Philosophy 2-col */
.apropos-philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
.apropos-philosophy-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 16px 0 24px;
}
.apropos-philosophy-text p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 16px;
}
.apropos-philosophy-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}
@media (max-width: 992px) {
  .apropos-philosophy-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* Timeline */
.apropos-timeline-list {
  display: flex;
  flex-direction: column;
  max-width: 720px;
  margin: 64px auto 0;
  position: relative;
}
.apropos-timeline-list::before {
  content: '';
  position: absolute;
  left: 80px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: rgba(0,0,0,0.1);
}
.apropos-timeline-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 32px;
  padding: 28px 0;
  align-items: start;
  position: relative;
}
.apropos-timeline-item::before {
  content: '';
  position: absolute;
  left: 76px;
  top: 32px;
  width: 10px; height: 10px;
  background: #000;
  border-radius: 50%;
  border: 3px solid #fafafa;
  z-index: 1;
}
.apropos-timeline-year {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #000;
}
.apropos-timeline-content h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.apropos-timeline-content p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #444;
  margin: 0;
}
@media (max-width: 600px) {
  .apropos-timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .apropos-timeline-list::before, .apropos-timeline-item::before { display: none; }
  .apropos-timeline-year { font-size: 28px; }
}

/* Final CTA */
.apropos-final-cta {
  background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
  color: #fff;
  padding: 96px 24px;
  text-align: center;
}
.apropos-final-cta h2 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.apropos-final-cta h2 em { font-style: italic; font-weight: 300; opacity: 0.85; }
.apropos-final-cta p {
  font-size: 16px;
  opacity: 0.75;
  margin-bottom: 40px;
}
.apropos-final-ctas {
  display: flex;
  justify-content: center;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

/* =====================================================
   BLOG PAGE — Magazine layout
   ===================================================== */
.blog-hero {
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
  padding: calc(var(--gym-header-h) + 32px) 0 56px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.blog-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
  margin: 16px 0 20px;
}
.blog-hero-sub {
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text);
}
.blog-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.blog-pill {
  padding: 10px 22px;
  border-radius: 100px;
  border: 1.5px solid rgba(0,0,0,0.1);
  background: #fff;
  color: var(--color-black);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
}
.blog-pill:hover { border-color: #000; background: #fafafa; }
.blog-pill.is-active { background: #000; color: #fff; border-color: #000; }

.blog-main {
  background: #fff;
  padding: 64px 0 80px;
}

/* Featured article — large */
.blog-featured {
  margin-bottom: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: #fafafa;
  box-shadow: 0 8px 32px rgba(0,0,0,0.05);
  transition: transform 0.4s, box-shadow 0.4s;
}
.blog-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}
.blog-featured-link {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  text-decoration: none;
  color: inherit;
}
.blog-featured-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 11;
}
.blog-featured-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.blog-featured:hover .blog-featured-image img { transform: scale(1.04); }
.blog-featured-badge {
  position: absolute;
  top: 20px; left: 20px;
  background: linear-gradient(135deg, #c8a23a, #d4af37);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(212,175,55,0.35);
}
.blog-featured-body {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-featured-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.blog-featured-cat {
  background: #000;
  color: #fff;
  padding: 5px 11px;
  border-radius: 4px;
  font-weight: 700;
}
.blog-featured-sep { opacity: 0.3; }
.blog-featured-time { color: var(--color-text); opacity: 0.7; }
.blog-featured-title {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #000;
}
.blog-featured-excerpt {
  font-size: 15.5px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 24px;
}
.blog-featured-cta {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #000;
  display: inline-block;
  position: relative;
}
.blog-featured-cta::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 2px;
  background: #000;
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.35s;
}
.blog-featured:hover .blog-featured-cta::after { transform: scaleX(1); }
@media (max-width: 768px) {
  .blog-featured-link { grid-template-columns: 1fr; }
  .blog-featured-body { padding: 32px 24px; }
}

/* Article grid - 3 columns */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}
.blog-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s;
  border: 1px solid rgba(0,0,0,0.04);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
.blog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.blog-card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.blog-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-body { padding: 24px 22px; }
.blog-card-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
}
.blog-card-cat {
  background: #f0f0f0;
  color: #000;
  padding: 4px 10px;
  border-radius: 3px;
  font-weight: 700;
}
.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.35;
  margin-bottom: 10px;
  color: #000;
}
.blog-card-excerpt {
  font-size: 13.5px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 16px;
}
.blog-card-arrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000;
  transition: padding 0.25s;
}
.blog-card:hover .blog-card-arrow { padding-left: 4px; }
.blog-main .blog-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 400px));
  justify-content: center;
}
.blog-main .blog-card { display: flex; flex-direction: column; }
.blog-main .blog-card > .blog-card-link { display: flex; flex-direction: column; flex: 1 1 auto; }
.blog-main .blog-card-body { display: flex; flex-direction: column; flex: 1 1 auto; }
.blog-main .blog-card-arrow { margin-top: auto; align-self: flex-start; }
@media (max-width: 992px) {
  .blog-main .blog-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); }
}
@media (max-width: 600px) {
  .blog-main .blog-grid { grid-template-columns: minmax(0, 420px); }
}
@media (max-width: 992px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* Newsletter mid-CTA */
.blog-newsletter-cta {
  background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
  color: #fff;
  padding: 64px 32px;
  border-radius: 8px;
  text-align: center;
  margin: 32px 0 64px;
}
.blog-newsletter-inner { max-width: 560px; margin: 0 auto; }
.blog-newsletter-cta .section-eyebrow { color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.blog-newsletter-cta h3 {
  color: #fff;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.25;
}
.blog-newsletter-cta p {
  color: rgba(255,255,255,0.7);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 28px;
}
.blog-newsletter-cta p strong { color: #fff; }
.blog-newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}
.blog-newsletter-form input {
  flex: 1;
  border: none;
  padding: 16px 20px;
  font-size: 14px;
  outline: none;
}
.blog-newsletter-form button {
  background: #000;
  color: #fff;
  border: none;
  padding: 0 28px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
@media (max-width: 600px) {
  .blog-newsletter-form { flex-direction: column; }
  .blog-newsletter-form button { padding: 16px; }
}

/* Pagination */
.blog-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.blog-pagination .nav-links a,
.blog-pagination .nav-links .current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 4px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #000;
  transition: all 0.2s;
}
.blog-pagination .nav-links a:hover { border-color: #000; }
.blog-pagination .nav-links .current { background: #000; color: #fff; border-color: #000; }

.blog-empty {
  text-align: center;
  padding: 100px 0;
}
.blog-empty h2 { font-size: 1.5rem; margin-bottom: 16px; }
.blog-empty p { color: var(--color-text); margin-bottom: 24px; }

/* =====================================================
   RESPONSIVE v2 — Mobile-first polish + accessibility
   ===================================================== */

/* Better touch targets on mobile */
@media (max-width: 768px) {
  a, button, .btn { min-height: 44px; }
  .btn { padding: 0 24px !important; height: 50px; }
  .btn--lg { height: 56px; padding: 0 28px !important; font-size: 14px; }
  .header-icon-btn { width: 44px; height: 44px; }
  .header-nav .header-menu-list { gap: 24px; }
}

/* Smaller tablet improvements */
@media (max-width: 992px) {
  .container { padding: 0 20px; }
  .section-padding { padding: 64px 0; }
  .section-padding--lg { padding: 80px 0; }
  h1 { font-size: clamp(2rem, 5.5vw, 3.5rem); }
  h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
}

/* Mobile menu drawer v3 — premium feel */
@media (max-width: 992px) {
  .header-nav { display: none; }
  .hamburger { display: flex !important; }
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: min(380px, 88vw);
  height: 100vh;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  z-index: 2000;
  padding: 28px 32px 32px;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: -8px 0 60px rgba(0,0,0,0.18);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0);
  z-index: 1999;
  pointer-events: none;
  transition: background 0.4s;
}
.mobile-overlay.open {
  background: rgba(0,0,0,0.5);
  pointer-events: auto;
  backdrop-filter: blur(3px);
}
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 28px;
}
.mobile-menu-close {
  background: #f5f5f5;
  border: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.25s;
}
.mobile-menu-close:hover { background: #000; color: #fff; transform: rotate(90deg); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-nav a {
  padding: 18px 4px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-black);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s;
  position: relative;
}
.mobile-nav a::after {
  content: '→';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(8px, -50%);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  font-weight: 400;
}
.mobile-nav a:hover { padding-left: 12px; color: #555; }
.mobile-nav a:hover::after { transform: translate(0, -50%); opacity: 1; }

.mobile-menu-foot {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.06);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mobile-menu-foot a {
  text-align: center;
  padding: 14px;
  background: #f5f5f5;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: #000;
  transition: all 0.25s;
}
.mobile-menu-foot a:hover {
  background: #000;
  color: #fff;
  transform: translateY(-1px);
}

/* Marquee mobile */
@media (max-width: 600px) {
  .gym-marquee { padding: 11px 0; }
  .gym-marquee-track { gap: 18px; animation-duration: 18s; }
  .gym-marquee-item { font-size: 1.125rem; }
  .gym-marquee-dot { width: 6px; height: 6px; }
}

/* Mobile product cards */
@media (max-width: 600px) {
  .products-grid { grid-template-columns: 1fr; gap: 20px; }
  .product-card-image { aspect-ratio: 1/1; }
  .product-card-body { padding: 18px; }
  .product-card-name { min-height: auto; font-size: 16px; }
  .product-card-price { font-size: 22px; }
  .product-card-footer { padding: 0 18px 18px; }
}

/* Hero mobile */
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(1.875rem, 7vw, 2.5rem); line-height: 1.08; }
  .hero-subtitle { font-size: 14.5px; margin-bottom: 32px; }
  .hero-trust { gap: 14px; margin-top: 32px; }
  .hero-trust-item { font-size: 11px; }
  .hero-ctas { flex-direction: column; width: 100%; gap: 12px; }
  .hero-ctas .btn { width: 100%; }
}

/* Footer mobile */
@media (max-width: 768px) {
  .footer-newsletter { padding: 48px 0; }
  .footer-top { padding: 48px 0 32px; }
  .footer-grid { gap: 32px; }
  .footer-col h4 { font-size: 11px; }
  .footer-trust-strip { padding: 28px 0; }
  .footer-trust-item svg { width: 24px; height: 24px; }
  .footer-trust-item strong { font-size: 13px; }
  .footer-trust-item span { font-size: 11px; }
}

/* Announce mobile - scroll horizontally if too long */
@media (max-width: 480px) {
  .gym-announce { padding: 7px 0; font-size: 11px; }
  .gym-announce-inner { gap: 8px; padding: 0 8px; }
  .gym-announce-sep { display: none; }
}

/* =====================================================
   ANIMATIONS v3 — Micro-interactions premium
   ===================================================== */

/* Card hover lift with shadow glow */
.product-card, .blog-card, .testimonial, .boutique-usp-item, .apropos-value {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s, border-color 0.3s;
}

/* Smooth image zoom on hover (already on some, ensure all) */
.product-card-image img, .blog-card-image img, .category-card-bg, .blog-featured-image img {
  transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1) !important;
  will-change: transform;
}

/* Pulse animation for promo badges */
@keyframes badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.product-card-badge.is-sale, .product-card-badge.is-featured {
  animation: badge-pulse 2.5s ease-in-out infinite;
}

/* Animated underline on links */
.footer-links a, .header-nav a, .blog-card-arrow {
  position: relative;
  display: inline-block;
}

/* Reveal animation refinement */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1), transform 0.85s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Slide-in from left/right utilities */
.slide-in-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s, transform 0.8s; }
.slide-in-left.visible { opacity: 1; transform: translateX(0); }
.slide-in-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s, transform 0.8s; }
.slide-in-right.visible { opacity: 1; transform: translateX(0); }

/* Scale-in for important elements */
.scale-in { opacity: 0; transform: scale(0.92); transition: opacity 0.7s, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1); }
.scale-in.visible { opacity: 1; transform: scale(1); }

/* Stagger animation for grid children */
.products-grid.fade-stagger > *,
.blog-grid.fade-stagger > *,
.categories-grid.fade-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  animation: stagger-fade 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.products-grid.fade-stagger > *:nth-child(1) { animation-delay: 0.05s; }
.products-grid.fade-stagger > *:nth-child(2) { animation-delay: 0.15s; }
.products-grid.fade-stagger > *:nth-child(3) { animation-delay: 0.25s; }
.products-grid.fade-stagger > *:nth-child(4) { animation-delay: 0.35s; }
.products-grid.fade-stagger > *:nth-child(5) { animation-delay: 0.45s; }
.products-grid.fade-stagger > *:nth-child(6) { animation-delay: 0.55s; }
@keyframes stagger-fade { to { opacity: 1; transform: translateY(0); } }

/* Hero kicker shimmer */
@keyframes hero-shimmer {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}
.hero-kicker { animation: hero-shimmer 3s ease-in-out infinite; }

/* Smooth scroll for anchors */
html { scroll-behavior: smooth; scroll-padding-top: 130px; }

/* Animated counter numbers (using JS class) */
.counter-up { display: inline-block; }

/* Marquee gradient mask - already done above */

/* Button ripple on click */
.btn { position: relative; overflow: hidden; }
.btn:active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  animation: btn-ripple 0.5s ease-out;
}
@keyframes btn-ripple {
  from { transform: scale(0); opacity: 1; }
  to   { transform: scale(2); opacity: 0; }
}

/* Cart icon badge pulse on update */
@keyframes cart-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.4); }
  100% { transform: scale(1); }
}
.cart-count.is-updated { animation: cart-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }

/* Section transitions */
section { position: relative; }

/* Skeleton loader pour AJAX (utile sur cart) */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 0px, #fafafa 40px, #f0f0f0 80px);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite linear;
  border-radius: 4px;
}
@keyframes skeleton-shimmer {
  to { background-position: -200% 0; }
}

/* Smooth header scroll behavior */
#gym-header {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
}

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

/* =====================================================
   PRODUCT SINGLE PAGE — Refined
   ===================================================== */
.single-product .product {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 48px !important;
  max-width: 1200px;
  margin: 48px auto !important;
}
.single-product .product .images,
.single-product .product .summary {
  width: 100% !important;
  float: none !important;
}
.single-product .product .images img {
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.single-product .product .product_title {
  font-size: clamp(1.75rem, 3vw, 2.5rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 16px !important;
}
.single-product .product .price {
  font-size: 28px !important;
  font-weight: 700 !important;
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px !important;
}
.single-product .product .price del {
  font-size: 18px;
  opacity: 0.5;
}
.single-product .product .price ins {
  background: none !important;
  text-decoration: none;
}
.single-product .product .quantity input {
  padding: 12px 16px;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 4px;
  font-size: 15px;
  width: 80px;
}
.single-product .product .cart .button {
  padding: 16px 32px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase;
  height: auto !important;
}
.single-product .woocommerce-tabs {
  margin-top: 64px !important;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 48px !important;
}
.single-product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0 !important;
  margin: 0 0 32px !important;
  border-bottom: 1px solid rgba(0,0,0,0.08) !important;
}
.single-product .woocommerce-tabs ul.tabs li {
  background: none !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.single-product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 16px 28px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  color: rgba(0,0,0,0.5) !important;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.single-product .woocommerce-tabs ul.tabs li.active a,
.single-product .woocommerce-tabs ul.tabs li a:hover {
  color: #000 !important;
  border-bottom-color: #000;
}
.single-product .related.products {
  background: #fafafa;
  padding: 80px 32px !important;
  margin: 80px 0 !important;
}
.single-product .related h2 {
  text-align: center;
  font-size: 2rem !important;
  margin-bottom: 48px !important;
}

@media (max-width: 768px) {
  .single-product .product {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    margin: 32px 16px !important;
  }
}

/* =====================================================
   SINGLE PRODUCT PAGE — branded layout
   ===================================================== */
.single-product .site-main,
.single-product .wp-block-template-part,
.single-product main:not(#main-content):not(.single-product-main) { display: none; }

/* Wrapper sections */
.single-product-wrapper {
  background: #fff;
  padding: 32px 0 48px;
}
.single-product-wrapper .woocommerce-breadcrumb {
  font-size: 12px;
  color: var(--color-text);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}
.single-product-wrapper .woocommerce-breadcrumb a {
  color: var(--color-text);
  text-decoration: none;
}
.single-product-wrapper .woocommerce-breadcrumb a:hover { color: #000; }

/* Product layout 2 col */
.single-product div.product {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 64px !important;
  max-width: 1280px;
  margin: 0 auto !important;
  padding: 0 !important;
}
.single-product div.product div.images,
.single-product div.product div.summary {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  opacity: 1 !important;
}

/* Product gallery — force visible (WC sets opacity:0 and relies on slider JS that
   does not fire under the block-theme parent, leaving the image blank) */
.woocommerce-product-gallery,
.single-product div.product div.images,
.single-product .woocommerce-product-gallery,
.single-product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery .flex-viewport {
  opacity: 1 !important;
  visibility: visible !important;
}
.single-product .woocommerce-product-gallery { position: relative; }
.single-product .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery__image a {
  display: block !important;
}
.single-product div.product div.images img,
.single-product .woocommerce-product-gallery__image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.single-product .flex-control-thumbs { display: flex; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.single-product .flex-control-thumbs li { width: 72px; }
.single-product .flex-control-thumbs li img { border-radius: 4px; cursor: pointer; }

/* Product title */
.single-product .product_title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.15 !important;
  margin: 0 0 16px 0 !important;
}

/* Rating */
.single-product .woocommerce-product-rating {
  margin-bottom: 16px !important;
}
.single-product .woocommerce-product-rating .star-rating {
  color: #FFB800;
  font-size: 16px;
}

/* Price */
.single-product div.product p.price,
.single-product div.product span.price {
  font-size: 32px !important;
  font-weight: 800 !important;
  color: #000 !important;
  margin: 0 0 24px !important;
  display: flex;
  align-items: baseline;
  gap: 12px;
  letter-spacing: -0.01em;
}
.single-product div.product p.price del,
.single-product div.product span.price del {
  font-size: 18px;
  opacity: 0.4;
  font-weight: 400;
}
.single-product div.product p.price ins,
.single-product div.product span.price ins {
  background: none !important;
  text-decoration: none;
}

/* Short description */
.single-product .woocommerce-product-details__short-description {
  font-size: 15px;
  line-height: 1.65;
  color: #444;
  padding: 20px;
  background: #fafafa;
  border-radius: 8px;
  border-left: 3px solid #000;
  margin-bottom: 32px;
}

/* Quantity input + add to cart */
.single-product form.cart {
  display: flex !important;
  gap: 12px;
  align-items: stretch;
  margin: 0 0 24px !important;
  flex-wrap: wrap;
}
.single-product form.cart .quantity {
  display: flex;
}
.single-product form.cart input.qty {
  width: 80px !important;
  padding: 14px 12px !important;
  border: 1.5px solid rgba(0,0,0,0.12) !important;
  border-radius: 6px !important;
  font-size: 16px !important;
  font-weight: 600;
  text-align: center;
  background: #fff;
}
.single-product form.cart .single_add_to_cart_button {
  flex: 1;
  min-width: 220px;
  padding: 16px 32px !important;
  background: #000 !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  border-radius: 6px !important;
  border: none !important;
  cursor: pointer;
  transition: all 0.25s !important;
}
.single-product form.cart .single_add_to_cart_button:hover {
  background: #222 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

/* Product meta */
.single-product .product_meta {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 13px;
  color: var(--color-text);
}
.single-product .product_meta > span { display: block; margin-bottom: 6px; }
.single-product .product_meta a {
  color: var(--color-text);
  text-decoration: none;
}
.single-product .product_meta a:hover { color: #000; }

/* Trust badges (inside summary, after add-to-cart) */
.gym-product-trust {
  background: #fafafa;
  border-radius: 8px;
  padding: 20px 22px;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gym-product-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  line-height: 1.5;
}
.gym-product-trust-item svg { color: #000; flex-shrink: 0; }
.gym-product-trust-item strong { font-weight: 700; color: #000; }

/* Tabs */
.single-product .woocommerce-tabs {
  max-width: 1280px;
  margin: 64px auto !important;
  padding: 0;
}
.single-product .woocommerce-tabs ul.tabs {
  display: flex !important;
  gap: 0 !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 32px !important;
  border-bottom: 1px solid rgba(0,0,0,0.1) !important;
  background: transparent !important;
}
.single-product .woocommerce-tabs ul.tabs::before,
.single-product .woocommerce-tabs ul.tabs::after { display: none !important; }
.single-product .woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.single-product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 18px 28px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4) !important;
  text-decoration: none !important;
  border-bottom: 2px solid transparent !important;
  margin-bottom: -1px;
  transition: all 0.2s;
}
.single-product .woocommerce-tabs ul.tabs li.active a {
  color: #000 !important;
  border-bottom-color: #000 !important;
}
.single-product .woocommerce-tabs ul.tabs li a:hover {
  color: #000 !important;
}
.single-product .woocommerce-tabs .panel {
  background: #fff;
  padding: 32px 0 !important;
  font-size: 15px;
  line-height: 1.75;
  color: #333;
}
.single-product .woocommerce-tabs .panel h2 {
  font-size: 1.5rem !important;
  margin-bottom: 20px !important;
  font-weight: 800;
}
.single-product .woocommerce-tabs .panel h3 {
  font-size: 1.125rem !important;
  margin: 24px 0 12px !important;
  font-weight: 700;
}
.single-product .woocommerce-tabs .panel ul,
.single-product .woocommerce-tabs .panel ol {
  padding-left: 20px !important;
  margin: 16px 0 !important;
}
.single-product .woocommerce-tabs .panel li {
  margin: 6px 0;
}

/* Attribute table */
.single-product table.shop_attributes {
  border: 1px solid rgba(0,0,0,0.08) !important;
  border-radius: 8px;
  overflow: hidden;
}
.single-product table.shop_attributes th {
  background: #fafafa !important;
  padding: 14px 20px !important;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.single-product table.shop_attributes td {
  padding: 14px 20px !important;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Related products */
.single-product .related.products {
  max-width: 1280px;
  margin: 64px auto !important;
  padding: 64px 32px !important;
  background: #fafafa;
  border-radius: 12px;
}
.single-product .related.products > h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.25rem) !important;
  font-weight: 800;
  margin-bottom: 40px !important;
  letter-spacing: -0.01em;
}

/* Reviews */
.single-product #reviews { padding: 32px 0 !important; }
.single-product #reviews h2 {
  font-size: 1.5rem !important;
  margin-bottom: 24px !important;
}
.single-product .commentlist {
  list-style: none;
  padding: 0;
}
.single-product .commentlist .comment {
  background: #fafafa;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 16px;
  border: 1px solid rgba(0,0,0,0.04);
}
.single-product .commentlist .comment img.avatar {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
  border: none !important;
}
.single-product .commentlist .meta {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}
.single-product .commentlist .description {
  font-size: 14.5px;
  line-height: 1.65;
  color: #444;
}
.single-product .star-rating {
  color: #FFB800;
}

/* Trust band below product (under related products) */
.single-product-trust-band {
  background: #fff;
  padding: 64px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.single-product-trust-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}
.spt-item { padding: 16px; }
.spt-icon { font-size: 36px; margin-bottom: 12px; line-height: 1; }
.spt-item h4 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin-bottom: 8px;
}
.spt-item p {
  font-size: 13px;
  line-height: 1.55;
  color: #555;
  margin: 0;
}

/* Mobile single product */
@media (max-width: 768px) {
  .single-product div.product { grid-template-columns: 1fr !important; gap: 32px !important; }
  .single-product .woocommerce-tabs { margin: 32px 16px !important; }
  .single-product .woocommerce-tabs ul.tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .single-product .woocommerce-tabs ul.tabs li a { padding: 14px 18px !important; font-size: 12px !important; white-space: nowrap; }
  .single-product .related.products { padding: 40px 20px !important; margin: 32px 16px !important; }
  .single-product-trust-band-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .single-product form.cart .single_add_to_cart_button { width: 100%; min-width: auto; }
  .single-product form.cart .quantity { width: 100%; }
  .single-product form.cart input.qty { width: 100% !important; }
}
@media (max-width: 480px) {
  .single-product-trust-band-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   PAGE WRAPPER — base for all pages
   ===================================================== */
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.page-main--wc {
  max-width: 1280px;
  padding: 48px 32px 80px;
  background: #fafafa;
}
.page-main--wc .entry-content {
  background: #fff;
  border-radius: 12px;
  padding: 56px 48px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.page-main--wc .entry-content > .woocommerce { width: 100%; }
@media (max-width: 768px) {
  .page-main--wc { padding: 24px 16px 56px; }
  .page-main--wc .entry-content { padding: 32px 24px; border-radius: 8px; }
}
/* Cart (Panier) — full width on desktop/PC */
@media (min-width: 993px) {
  .woocommerce-cart .page-main,
  .woocommerce-cart .page-main--wc {
    max-width: 100%;
  }
}

/* =====================================================
   EMPTY CART — premium conversion-focused state
   ===================================================== */
.woocommerce-cart .woocommerce-notices-wrapper:empty { display: none; }
.wc-empty-cart-message { display: none; }

.gym-empty-cart {
  text-align: center;
  padding: 0;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gym-empty-cart > * { width: 100%; }
.gym-empty-cart-icon, .gym-empty-cart-eyebrow, .gym-empty-cart-ctas {
  margin-left: auto !important;
  margin-right: auto !important;
}
.gym-empty-cart-icon {
  display: inline-flex;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5f5f5 0%, #eaeaea 100%);
  align-items: center;
  justify-content: center;
  color: #000;
  margin-bottom: 32px;
  position: relative;
  animation: cart-float 4s ease-in-out infinite;
}
.gym-empty-cart-icon::after {
  content: '0';
  position: absolute;
  top: 8px; right: 8px;
  width: 28px; height: 28px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
@keyframes cart-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.gym-empty-cart-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.5);
  margin-bottom: 16px;
}
.gym-empty-cart-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem) !important;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px !important;
}
.gym-empty-cart-text {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  max-width: 560px;
  margin: 0 auto 40px;
}
.gym-empty-cart-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.gym-empty-cart-suggestions {
  width: calc(100% + 96px);
  margin: 56px -48px 0;
  padding: 48px 48px;
  background: #fafafa;
  border-radius: 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
@media (max-width: 768px) {
  .gym-empty-cart-suggestions {
    width: calc(100% + 48px);
    margin: 40px -24px 0;
    padding: 32px 24px;
  }
}
.gym-empty-cart-suggestions h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
  letter-spacing: 0.02em;
}
.gym-empty-cart-suggestions ul.products {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}
.gym-empty-cart-suggestions ul.products li.product {
  flex: 0 1 calc(33.333% - 14px);
  max-width: 300px;
  min-width: 220px;
  margin: 0 !important;
}
@media (max-width: 768px) {
  .gym-empty-cart-suggestions ul.products li.product {
    flex: 0 1 100%;
    max-width: 360px;
  }
}

.gym-empty-cart-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding-top: 8px;
  width: 100%;
}
.gym-empty-cart-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #555;
  letter-spacing: 0.02em;
}
.gym-empty-cart-trust-item svg { color: #000; opacity: 0.8; }
@media (max-width: 600px) {
  .gym-empty-cart-trust { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .gym-empty-cart-ctas { flex-direction: column; gap: 16px; width: 100%; }
  .gym-empty-cart-ctas .btn { width: 100%; max-width: 320px; }
}

/* =====================================================
   CART PAGE (avec produits) — polish complet
   ===================================================== */
.woocommerce-cart h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 40px !important;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Cart table wrapper */
.woocommerce-cart table.shop_table {
  border: 1px solid rgba(0,0,0,0.06) !important;
  border-radius: 8px !important;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin-bottom: 32px !important;
}
.woocommerce-cart table.shop_table th {
  background: #fafafa !important;
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
  font-size: 11px !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 12px !important;
  font-weight: 700;
  color: #555;
}
.woocommerce-cart table.shop_table td {
  padding: 24px 12px !important;
  vertical-align: middle;
  border-top: 1px solid rgba(0,0,0,0.04) !important;
}

/* Product cell */
.woocommerce-cart .product-thumbnail img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
}
.woocommerce-cart .product-name a {
  font-weight: 700;
  color: #000;
  text-decoration: none;
  font-size: 15px;
}
.woocommerce-cart .product-name a:hover { opacity: 0.7; }
.woocommerce-cart .product-price,
.woocommerce-cart .product-subtotal {
  font-weight: 600;
  color: #000;
}
.woocommerce-cart .product-subtotal { font-size: 16px; }

/* Quantity input */
.woocommerce-cart .quantity input.qty {
  width: 64px;
  padding: 10px 8px !important;
  border: 1.5px solid rgba(0,0,0,0.1) !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  font-weight: 600;
  text-align: center;
  transition: border-color 0.2s;
}
.woocommerce-cart .quantity input.qty:focus {
  border-color: #000 !important;
  outline: none !important;
}

/* Remove button */
.woocommerce-cart a.remove {
  width: 28px !important;
  height: 28px !important;
  font-size: 18px !important;
  color: #999 !important;
  background: transparent !important;
  border-radius: 50% !important;
  line-height: 28px !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: all 0.2s !important;
}
.woocommerce-cart a.remove:hover {
  background: #ff3b30 !important;
  color: #fff !important;
}

/* Coupon section */
.woocommerce-cart .coupon {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.woocommerce-cart .coupon input.input-text {
  flex: 1;
  padding: 12px 16px !important;
  border: 1.5px solid rgba(0,0,0,0.1) !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  background: #fff !important;
  font-family: inherit !important;
}
.woocommerce-cart .coupon button {
  padding: 0 24px !important;
  height: 46px !important;
  background: transparent !important;
  color: #000 !important;
  border: 1.5px solid #000 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px !important;
  transition: all 0.2s;
}
.woocommerce-cart .coupon button:hover {
  background: #000 !important;
  color: #fff !important;
}

/* Cart actions row */
.woocommerce-cart .actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 0 !important;
}
.woocommerce-cart button[name="update_cart"] {
  background: transparent !important;
  color: #000 !important;
  border: 1.5px solid rgba(0,0,0,0.15) !important;
  padding: 12px 24px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase;
  border-radius: 4px !important;
  cursor: pointer;
  transition: all 0.2s;
}
.woocommerce-cart button[name="update_cart"]:hover {
  border-color: #000 !important;
}
.woocommerce-cart button[name="update_cart"]:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Cart totals card */
.woocommerce-cart .cart-collaterals {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 480px;
  margin-left: auto;
  margin-top: 32px;
}
.woocommerce-cart .cart_totals {
  background: #fff !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  border-radius: 8px !important;
  padding: 32px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.woocommerce-cart .cart_totals h2 {
  font-size: 1.25rem !important;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin-bottom: 20px !important;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.woocommerce-cart .cart_totals table.shop_table_responsive {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin: 0 0 24px !important;
  background: transparent;
}
.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(0,0,0,0.04) !important;
  padding: 14px 0 !important;
  font-size: 14px;
}
.woocommerce-cart .cart_totals table th {
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  font-weight: 500;
  color: #555;
}
.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  border-bottom: none !important;
  padding-top: 18px !important;
}
.woocommerce-cart .cart_totals .order-total .amount { color: #000 !important; }

/* Proceed to checkout button */
.woocommerce-cart .wc-proceed-to-checkout {
  padding: 0 !important;
  margin-top: 16px !important;
}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  width: 100%;
  background: #000 !important;
  color: #fff !important;
  padding: 18px 24px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  border-radius: 6px !important;
  text-align: center;
  text-decoration: none;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s !important;
}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
  background: #222 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Cart layout grid (2 cols on desktop) */
@media (min-width: 992px) {
  .woocommerce-cart .cart-form-wrapper,
  .woocommerce-cart form.woocommerce-cart-form {
    display: block;
  }
  .woocommerce-cart .entry-content > .woocommerce {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: start;
    max-width: 1280px;
    margin: 0 auto;
  }
  .woocommerce-cart .cart-collaterals {
    margin-left: 0;
    margin-top: 0;
    position: sticky;
    top: 140px;
  }
  .woocommerce-cart .woocommerce-cart-form {
    grid-column: 1;
  }
}

/* =====================================================
   HOW IT WORKS — 3 steps section
   ===================================================== */
.how-it-works { background: #fff; }
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1180px;
  margin: 64px auto 0;
}
.how-step {
  text-align: center;
  padding: 48px 32px;
  background: #fafafa;
  border-radius: 8px;
  position: relative;
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s, background 0.3s;
}
.how-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  background: #fff;
}
.how-step-icon {
  width: 80px; height: 80px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: transform 0.4s;
}
.how-step:hover .how-step-icon {
  transform: scale(1.08) rotate(-4deg);
}
.how-step-num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: rgba(0,0,0,0.3);
  margin-bottom: 12px;
}
.how-step h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin-bottom: 14px;
}
.how-step p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}
.how-it-works-cta {
  text-align: center;
  margin-top: 64px;
}
.how-it-works-cta-sub {
  margin-top: 16px;
  font-size: 13px;
  color: var(--color-text);
  letter-spacing: 0.05em;
}
@media (max-width: 992px) {
  .how-it-works-grid { grid-template-columns: 1fr; gap: 20px; max-width: 480px; }
}

/* =====================================================
   NUMBERS BAND — full-width black band with counters
   ===================================================== */
.numbers-band {
  background: #000;
  color: #fff;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.numbers-band::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 60%);
  top: -300px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.numbers-band-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.numbers-band-item { text-align: center; }
.numbers-band-value {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.numbers-band-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.7;
}
.numbers-band-divider {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.15);
}
@media (max-width: 768px) {
  .numbers-band-grid { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
  .numbers-band-divider { display: none; }
}

/* =====================================================
   FAQ EXCERPT — accordion
   ===================================================== */
.faq-excerpt { background: #fafafa; }
.faq-excerpt-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}
.faq-excerpt-intro h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 16px 0 20px;
}
.faq-excerpt-intro p {
  font-size: 15.5px;
  line-height: 1.7;
  color: #444;
}
.faq-excerpt-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.faq-item[open], .faq-item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  gap: 16px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 400;
  color: #000;
  border-radius: 50%;
  background: #f5f5f5;
  flex-shrink: 0;
  transition: transform 0.3s, background 0.3s;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: #000;
  color: #fff;
}
.faq-content {
  padding: 0 24px 24px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #555;
  animation: faq-reveal 0.4s ease-out;
}
.faq-content p { margin: 0; }
@keyframes faq-reveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 992px) {
  .faq-excerpt-grid { grid-template-columns: 1fr; gap: 40px; }
}



/* =====================================================
   MON COMPTE — premium account dashboard
   ===================================================== */
.woocommerce-account .woocommerce {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}
.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after { content: none; display: none; }

/* Sidebar navigation card */
.woocommerce-account .woocommerce-MyAccount-navigation {
  float: none !important;
  width: 280px;
  flex: 0 0 280px;
  margin: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.05);
  position: sticky;
  top: calc(var(--gym-header-h) + 20px);
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin: 0 0 2px;
  border: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 10px;
  color: #444;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: background 0.2s, color 0.2s;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a::before {
  font-size: 17px;
  line-height: 1;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}
.woocommerce-account .woocommerce-MyAccount-navigation-link--dashboard a::before { content: "🏠"; }
.woocommerce-account .woocommerce-MyAccount-navigation-link--orders a::before { content: "📦"; }
.woocommerce-account .woocommerce-MyAccount-navigation-link--downloads a::before { content: "⬇️"; }
.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-address a::before { content: "📍"; }
.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-account a::before { content: "👤"; }
.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a::before { content: "↩️"; }
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  background: #f4f4f4;
  color: #000;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  background: #000;
  color: #fff;
}
.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,0.07);
}

/* Content card */
.woocommerce-account .woocommerce-MyAccount-content {
  float: none !important;
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 14px;
  padding: 36px 40px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.05);
}
.woocommerce-account .woocommerce-MyAccount-content > p { color: #555; line-height: 1.7; }
.woocommerce-account .woocommerce-MyAccount-content a:not(.button) { color: #000; font-weight: 600; }
.woocommerce-account .woocommerce-MyAccount-content mark {
  background: #f1f1f1;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
}

/* Orders / downloads tables */
.woocommerce-account .woocommerce-MyAccount-content table.shop_table,
.woocommerce-account table.account-orders-table,
.woocommerce-account table.woocommerce-orders-table,
.woocommerce-account table.woocommerce-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 8px;
}
.woocommerce-account .woocommerce-MyAccount-content table th {
  background: #fafafa;
  padding: 14px 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #666;
  text-align: left;
}
.woocommerce-account .woocommerce-MyAccount-content table td {
  padding: 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 14.5px;
  vertical-align: middle;
}

/* Buttons */
.woocommerce-account .woocommerce-MyAccount-content .button,
.woocommerce-account .woocommerce-MyAccount-content button,
.woocommerce-account .woocommerce-MyAccount-content input[type="submit"] {
  display: inline-block;
  background: #000;
  color: #fff;
  border: 1px solid #000;
  border-radius: 999px;
  padding: 13px 28px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.woocommerce-account .woocommerce-MyAccount-content .button:hover,
.woocommerce-account .woocommerce-MyAccount-content button:hover,
.woocommerce-account .woocommerce-MyAccount-content input[type="submit"]:hover {
  background: #fff;
  color: #000;
  transform: translateY(-1px);
}

/* Forms (account details, addresses) */
.woocommerce-account .woocommerce-MyAccount-content form .form-row,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-form-row {
  margin-bottom: 18px;
}
.woocommerce-account .woocommerce-MyAccount-content label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  color: #333;
  margin-bottom: 7px;
}
.woocommerce-account .woocommerce-MyAccount-content input.input-text,
.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
.woocommerce-account .woocommerce-MyAccount-content input[type="tel"],
.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
.woocommerce-account .woocommerce-MyAccount-content select,
.woocommerce-account .woocommerce-MyAccount-content .select2-selection {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 10px;
  font-size: 15px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.woocommerce-account .woocommerce-MyAccount-content input.input-text:focus,
.woocommerce-account .woocommerce-MyAccount-content select:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.08);
}
.woocommerce-account .woocommerce-MyAccount-content fieldset {
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
}
.woocommerce-account .woocommerce-MyAccount-content fieldset legend {
  font-weight: 700;
  padding: 0 8px;
}

/* Address blocks */
.woocommerce-account .woocommerce-Addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0;
}
.woocommerce-account .woocommerce-Address {
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  padding: 22px 24px;
  background: #fafafa;
}
.woocommerce-account .woocommerce-Address-title h3 { margin: 0 0 12px; font-size: 17px; }
.woocommerce-account .woocommerce-Address address { font-style: normal; line-height: 1.7; color: #555; }

/* Notices */
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error {
  border-radius: 10px;
  border-left: 4px solid #000;
  background: #f7f7f7;
  padding: 14px 18px;
  margin-bottom: 20px;
  list-style: none;
}

/* Responsive — stack sidebar on top */
@media (max-width: 860px) {
  .woocommerce-account .woocommerce { flex-direction: column; }
  .woocommerce-account .woocommerce-MyAccount-navigation {
    width: 100%;
    flex: 1 1 auto;
    position: static;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0; }
  .woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }
  .woocommerce-account .woocommerce-MyAccount-content { width: 100%; padding: 28px 22px; }
  .woocommerce-account .woocommerce-Addresses { grid-template-columns: 1fr; }
}

/* Dashboard quick-action cards */
.gym-account-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.gym-account-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 14px;
  background: #fafafa;
  text-decoration: none !important;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.gym-account-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.18);
}
.gym-account-card-icon { font-size: 24px; line-height: 1; }
.gym-account-card-title { font-weight: 700; font-size: 16px; color: #000 !important; letter-spacing: -0.01em; }
.gym-account-card-desc { font-size: 13.5px; color: #666 !important; font-weight: 400 !important; line-height: 1.5; }
.gym-account-card--cta { background: #000; border-color: #000; }
.gym-account-card--cta .gym-account-card-title,
.gym-account-card--cta .gym-account-card-desc { color: #fff !important; }
.gym-account-card--cta:hover { box-shadow: 0 10px 28px rgba(0,0,0,0.25); }
@media (max-width: 540px) {
  .gym-account-cards { grid-template-columns: 1fr; }
}

/* =====================================================
   MOBILE POLISH v2 (2026-06-01) — tighter header & spacing
   (appended last so it wins the cascade)
   ===================================================== */
@media (max-width: 768px) {
  .gym-announce { padding: 7px 0; font-size: 11px; letter-spacing: 0.02em; }
  .gym-announce-inner { flex-wrap: nowrap; justify-content: center; gap: 0; }
  .gym-announce-sep,
  .gym-announce-item ~ .gym-announce-item { display: none; }
}

@media (max-width: 768px) {
  :root { --header-height: 58px; }

  .section-padding { padding: 46px 0; }
  .section-padding--lg { padding: 56px 0; }

  .page-header,
  .boutique-hero,
  .blog-hero {
    padding-top: 26px;
    padding-bottom: 32px;
  }

  .woocommerce div.product { padding-top: 14px !important; }
  .woocommerce-products-header__title.page-title { margin-top: 26px !important; }

  .boutique-products.section-padding { padding-top: 28px; }

  .gym-marquee { padding: 9px 0; }

  .header-icons { gap: 10px; }
  .header-icons a.header-icon-btn:not(.cart-icon) { display: none; }
}

@media (max-width: 480px) {
  :root { --header-height: 54px; }
}

/* =====================================================
   LEGAL PAGES — premium readable layout
   ===================================================== */
.legal-hero {
  background: #0a0a0a;
  color: #fff;
  text-align: center;
  padding: calc(var(--gym-header-h) + 40px) 0 48px;
}
.legal-hero .section-eyebrow { color: rgba(255,255,255,0.5); display: block; margin-bottom: 14px; }
.legal-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.legal-updated { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,0.55); }

.legal-main { background: #fff; padding: 56px 0 88px; }
.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  gap: 56px;
  justify-content: center;
  align-items: start;
}
.legal-toc { position: sticky; top: calc(var(--gym-header-h) + 16px); }
.legal-toc-title { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #000; margin-bottom: 14px; }
.legal-toc nav { display: flex; flex-direction: column; }
.legal-toc nav a {
  padding: 7px 0 7px 16px;
  border-left: 2px solid #ececec;
  color: #777;
  font-size: 13.5px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.legal-toc nav a:hover { color: #000; border-left-color: #bbb; }
.legal-toc nav a.is-active { color: #000; font-weight: 600; border-left-color: #000; }

.legal-content { font-size: 15.5px; line-height: 1.75; color: #333; }
.legal-lede {
  font-size: 17px;
  line-height: 1.7;
  color: #555;
  padding: 20px 24px;
  background: #f7f7f7;
  border-radius: 10px;
  border-left: 3px solid #000;
  margin-bottom: 36px;
}
.legal-content h2 {
  font-size: 21px;
  font-weight: 800;
  color: #000;
  letter-spacing: -0.01em;
  margin: 40px 0 14px;
  padding-top: 28px;
  border-top: 1px solid #eee;
}
.legal-content h3 { font-size: 16px; font-weight: 700; color: #111; margin: 24px 0 10px; }
.legal-content p { margin-bottom: 16px; }
.legal-content ul { margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: #000; text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { opacity: 0.6; }
.legal-ph {
  background: #fff6da;
  border: 1px dashed #e3b900;
  color: #7a5d00;
  padding: 1px 7px;
  border-radius: 4px;
  font-style: italic;
  font-size: 0.92em;
}
.legal-contact-card {
  margin-top: 48px;
  background: linear-gradient(135deg, #000 0%, #1c1c1c 100%);
  color: #fff;
  border-radius: 14px;
  padding: 34px 32px;
  text-align: center;
}
.legal-contact-card h3 { color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.legal-contact-card p { color: rgba(255,255,255,0.75); margin-bottom: 20px; }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: minmax(0, 720px); gap: 0; }
  .legal-toc { display: none; }
}
@media (max-width: 768px) {
  .legal-hero { padding-top: 26px; padding-bottom: 36px; }
  .legal-main { padding: 36px 0 64px; }
}