
/* ========================================
   STANDARDISED LAYOUT SYSTEM
   ========================================
   Every template uses one of two layout modes:

   MODE A — Single column (no sidebar)
   <main class="site-main">
     <div class="page-hero">                     ← optional, full-width green bg
       <div class="container">…</div>
     </div>
     <div class="page-body">                     ← vertical padding wrapper
       <div class="container">…</div>            ← max-width containment
     </div>
   </main>

   MODE B — Two columns (with sidebar)
   <main class="site-main">
     <div class="page-hero">…</div>              ← optional
     <div class="page-body page-body--with-sidebar">
       <div class="container">
         <div class="page-body__main">…</div>
         <aside class="page-body__sidebar">
           <div class="page-body__sidebar-sticky">…</div>
         </aside>
       </div>
     </div>
   </main>

   Modifiers:
     .page-hero              → dark green bg (--color-primary)
     .page-hero--plain       → no bg, just a contained heading row
     .page-body--with-sidebar → enables 2-column grid inside .container
   ======================================== */

/* --- Reset browser default body margin --- */
body {
  margin: 0;
}

/* --- Page Hero: full-width coloured header --- */
#page-redesign .page-hero {
  background: var(--color-primary);
  padding: 24px 0;
}

#page-redesign .page-hero--plain {
  background: none;
  padding: 32px 0 0;
}

#page-redesign .page-hero__title {
  font-family: var(--font-family);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-white);
  margin: 0;
}

#page-redesign .page-hero--plain .page-hero__title {
  color: var(--color-primary);
}

/* --- Page Body: main content area --- */
#page-redesign .page-body {
  padding: 32px 0 48px;
}

/* --- Page Body with sidebar: 2-column grid --- */
#page-redesign .page-body--with-sidebar > .container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

#page-redesign .page-body__main {
  min-width: 0;
}

#page-redesign .page-body__sidebar {
  min-width: 0;
}

#page-redesign .page-body__sidebar-sticky {
  position: sticky;
  top: 24px;
}

@media (max-width: 767px) {
  #page-redesign .page-hero {
    padding: 18px 0;
  }

  #page-redesign .page-hero__title {
    font-size: 1.5rem;
  }

  #page-redesign .page-body {
    padding: 24px 0 32px;
  }

  #page-redesign .page-body--with-sidebar > .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  #page-redesign .page-body__sidebar-sticky {
    position: static;
  }
}

#page-redesign {

  --color-primary: #014f42;
  --color-primary-light: #7fe895;
  --color-secondary: #35cf75;
  --color-secondary-light: #d3f4bb;
  --color-cream: #f3f5dc;
  --color-gold: #febe3b;
  --color-gray: #f5f5f5;
  --color-white: #fff;
  --color-text: #333;
  --color-text-light: #666;
  --font-family: 'Rubik', system-ui, -apple-system, sans-serif;
  --container-max: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.12);
  --transition: 0.3s ease;


  font-family: var(--font-family);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

/* ========================================
   DESIGN TOKENS
   ======================================== */
/* ========================================
   RESET & BASE
   ======================================== */
#page-redesign *,
#page-redesign *::before,
#page-redesign *::after {
  box-sizing: border-box;
}

/* Reset margin/padding only on redesign-owned sections, not WooCommerce content */
#page-redesign .top-bar *,
#page-redesign .header *,
#page-redesign .category-nav *,
#page-redesign .footer *,
#page-redesign .newsletter *,
#page-redesign .ofertas *,
#page-redesign .categorias *,
#page-redesign .trends *,
#page-redesign .marcas *,
#page-redesign .porque *,
#page-redesign .guias * {
  margin: 0;
  padding: 0;
}

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

#page-redesign a {
  color: inherit;
  text-decoration: none;
}

#page-redesign button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

#page-redesign .header input,
#page-redesign .newsletter input,
#page-redesign .footer input {
  font: inherit;
  border: none;
  outline: none;
}


/* ========================================
   UTILITIES
   ======================================== */
#page-redesign .container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
}

#page-redesign .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========================================
   PRIMARY BUTTON (default)
   ======================================== */
#page-redesign .woocommerce .button,
#page-redesign button.button,
#page-redesign a.button,
#page-redesign input.button {
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
  border: none !important;
  border-radius: 50px;
  padding: 0 40px;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  letter-spacing: 0.02em;
  height: 50px;
  line-height: 50px;
  text-align: center;
  display: inline-block;
}

#page-redesign .woocommerce .button:hover,
#page-redesign button.button:hover,
#page-redesign a.button:hover,
#page-redesign input.button:hover {
  background: var(--color-secondary) !important;
  transform: translateY(-1px);
}

/* ========================================
   TOP BAR
   ======================================== */
#page-redesign .top-bar {
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.8rem;
  padding: 8px 0;
}

#page-redesign .top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#page-redesign .top-bar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

#page-redesign .top-bar__icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

#page-redesign .top-bar__rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

#page-redesign .top-bar__stars {
  width: 90px;
  height: auto;
}

/* ========================================
   HEADER
   ======================================== */
#page-redesign .header {
  position: relative;
  z-index: 100;
}

#page-redesign .header__bg {
  position: absolute;
  inset: 0;
  bottom: auto;
  height: calc(100% - 40px); /* exclude category-nav height */
  overflow: hidden;
  z-index: 0;
}

#page-redesign .header__decoration {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#page-redesign .header__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

#page-redesign .header__logo-heading {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: 0;
}

#page-redesign .header__logo img {
  width: 200px;
  height: auto;
}

#page-redesign .header__search {
  flex: 1;
  max-width: 440px;
  display: flex;
  align-items: center;
  background: var(--color-white);
  border-radius: 50px;
  padding: 10px 20px;
  gap: 10px;
  box-shadow: var(--shadow);
}

#page-redesign .header__search-icon {
  width: 18px;
  height: 18px;
  opacity: 0.4;
  flex-shrink: 0;
}

#page-redesign .header__search-input {
  flex: 1;
  background: transparent;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

#page-redesign .header__search-input::placeholder {
  color: var(--color-text-light);
  opacity: 0.7;
}

#page-redesign .header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

#page-redesign .header__action {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: transparent;
  transition: background var(--transition), transform var(--transition);
}

#page-redesign .header__action:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

#page-redesign .header__action img {
  width: 22px;
  height: 22px;
  transition: filter var(--transition);
}

#page-redesign .header__action:hover img {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

#page-redesign .header__cart-badge {
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

#page-redesign .header__search--mobile {
  display: none;
}

/* ========================================
   CATEGORY NAV
   ======================================== */
#page-redesign .category-nav {
  position: relative;
  z-index: 1;
  background: var(--color-secondary);
}

#page-redesign .category-nav__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

#page-redesign .category-nav__hamburger {
  display: none;
}

#page-redesign .category-nav__link {
  color: var(--color-white);
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background var(--transition);
}

#page-redesign .category-nav__link:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ========================================
   MEGA MENU — NECESIDADES
   ======================================== */
#page-redesign .megamenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-primary);
  z-index: 98;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-radius: 0 0 var(--radius) var(--radius);
}

#page-redesign .megamenu--open {
  display: block;
}

#page-redesign .megamenu--single-col {
  left: auto;
  right: auto;
  min-width: 320px;
}

#page-redesign .megamenu--single-col .megamenu__grid {
  display: block;
}

#page-redesign .megamenu--single-col .megamenu__link,
#page-redesign .megamenu--single-col .megamenu__group-title {
  white-space: nowrap;
}

#page-redesign .megamenu__inner {
  padding: 28px 32px;
}

#page-redesign .megamenu__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

#page-redesign .megamenu__group {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

#page-redesign .megamenu__group:last-child {
  margin-bottom: 0;
}

#page-redesign .megamenu .megamenu__group-title {
  color: var(--color-secondary);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 10px;
  padding-left: 10px;
  padding-bottom: 0;
  border-left: 3px solid var(--color-secondary);
  border-bottom: none;
}

#page-redesign .megamenu__group-title--spacer {
  visibility: hidden;
  pointer-events: none;
  border-left-color: transparent;
}

#page-redesign .megamenu__link {
  display: block;
  font-size: 0.9rem;
  color: var(--color-white);
  padding: 6px 0 6px 10px;
  transition: color var(--transition);
}

#page-redesign .megamenu__link:hover {
  color: var(--color-secondary);
  font-weight: 400;
}

#page-redesign .category-nav__link--active {
  background: rgba(255, 255, 255, 0.25);
}

/* ========================================
   NAVIGATION DRAWER
   ======================================== */
#page-redesign .category-nav__drawer {
  display: contents;
}

#page-redesign .category-nav__drawer-header {
  display: none;
}

#page-redesign .category-nav__overlay {
  display: none;
}

/* ========================================
   SHARED: ARROW BUTTONS
   ======================================== */
#page-redesign .arrow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition);
}

#page-redesign .arrow-btn:hover {
  opacity: 0.8;
}

#page-redesign .arrow-btn img {
  width: 28px;
  height: 28px;
}

#page-redesign .arrow-flip {
  transform: scaleX(-1);
}

/* ========================================
   OFERTAS DESTACADAS
   ======================================== */
#page-redesign .ofertas {
  padding: 32px 0;
}

#page-redesign .ofertas__inner {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

#page-redesign .ofertas__badge {
  flex: 0 0 20%;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 240px;
  background: var(--color-primary);
}

#page-redesign .ofertas__badge-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

#page-redesign .ofertas__badge-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 24px;
  gap: 8px;
}

#page-redesign .ofertas__badge-icon {
  width: 36px;
  height: 36px;
}

#page-redesign .ofertas__badge-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-white);
  text-align: center;
}

#page-redesign .ofertas__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

#page-redesign .ofertas__slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  flex: 1;
}

#page-redesign .ofertas__nav {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 4px;
  z-index: 2;
}

#page-redesign .ofertas__track {
  display: flex;
  min-height: 240px;
  overflow: hidden;
  border-radius: var(--radius);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

#page-redesign .ofertas__track::-webkit-scrollbar {
  display: none;
}

#page-redesign .ofertas__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

#page-redesign .ofertas__slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#page-redesign .ofertas__tabs {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: 12px;
  padding: 0 16px 0;
  z-index: 2;
}

#page-redesign .ofertas__tab {
  flex: 1;
  padding: 10px 16px;
  background: var(--color-white);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  color: var(--color-text);
  box-shadow: var(--shadow);
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
}

#page-redesign .ofertas__tab:hover {
  background: var(--color-secondary-light);
}

#page-redesign .ofertas__tab--active {
  background: var(--color-secondary);
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
}

/* ----------------------------------------
   OFERTAS — PRODUCT WIDGET SLIDE
   ---------------------------------------- */
#page-redesign .ofertas__slide--widget {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  background: linear-gradient(135deg, #f8f0f6 0%, #fce4ec 100%);
}

#page-redesign .ofertas__widget-img {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#page-redesign .ofertas__widget-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#page-redesign .ofertas__widget-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 24px;
  gap: 6px;
}

#page-redesign .ofertas__widget-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--color-primary);
  margin: 0 0 10px;
  line-height: 1.3;
}

#page-redesign .ofertas__widget-text {
  font-size: 0.85rem;
  color: var(--color-text);
  line-height: 1.5;
  margin: 0;
}

#page-redesign .ofertas__widget-text--small {
  font-size: 0.78rem;
  color: var(--color-text-light);
  margin-top: 8px;
}

#page-redesign .ofertas__widget-btn {
  display: inline-block;
  align-self: flex-start;
  margin-top: 16px;
  padding: 10px 32px;
  background: var(--color-primary);
  color: var(--color-white) !important;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}

#page-redesign .ofertas__widget-btn:hover {
  background: var(--color-secondary);
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  #page-redesign .ofertas__widget {
    grid-template-columns: 1fr;
    grid-template-rows: 160px auto;
  }

  #page-redesign .ofertas__widget-body {
    padding: 16px;
  }

  #page-redesign .ofertas__widget-title {
    font-size: 1rem;
  }
}

/* ========================================
   TODAS LAS CATEGORIAS
   ======================================== */
#page-redesign .categorias {
  padding: 32px 0;
}

#page-redesign .categorias__card {
  background: var(--color-cream);
  border-radius: var(--radius);
  padding: 32px 24px;
}

#page-redesign .categorias__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

#page-redesign .categorias__badge {
  width: 32px;
  height: 32px;
}

#page-redesign .categorias__title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--color-primary);
}

#page-redesign .categorias__grid {
  display: flex;
  justify-content: space-around;
  gap: 16px;
}

#page-redesign .categorias__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: transform var(--transition);
}

#page-redesign .categorias__item:hover {
  transform: translateY(-4px);
}

#page-redesign .categorias__circle {
  width: 100px;
  height: 100px;
}

#page-redesign .categorias__icon {
  width: 100%;
  height: 100%;
}

#page-redesign .categorias__label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-primary);
  max-width: 120px;
  line-height: 1.3;
}

/* ========================================
   TOP TRENDS
   ======================================== */
#page-redesign .trends {
  padding: 32px 0;
}

#page-redesign .trends__inner {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

#page-redesign .trends__badge {
  flex: 0 0 20%;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 400px;
  background: var(--color-primary);
}

#page-redesign .trends__badge-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

#page-redesign .trends__badge-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 24px;
  gap: 8px;
}

#page-redesign .trends__badge-icon {
  width: 36px;
  height: 36px;
}

#page-redesign .trends__badge-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-white);
}

#page-redesign .trends__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

#page-redesign .trends__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#page-redesign .trends__tabs {
  display: flex;
  gap: 0;
}

#page-redesign .trends__tab {
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

#page-redesign .trends__tab:hover {
  background: var(--color-gray);
}

#page-redesign .trends__tab--active {
  background: var(--color-secondary);
  color: var(--color-white);
}

#page-redesign .trends__tab--active:hover {
  background: var(--color-secondary);
}

#page-redesign .trends__nav {
  display: flex;
  gap: 4px;
}

#page-redesign .trends__track {
  display: flex;
}

#page-redesign .trends__group {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  overflow: hidden;
}

#page-redesign .trends__group .trends__page:first-child {
  transition: margin-left 0.4s ease;
}

#page-redesign .trends__page {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

#page-redesign .trends__group-title {
  display: none;
}

#page-redesign .trends__mobile-nav {
  display: none;
}

/* ========================================
   MARCAS POPULARES
   ======================================== */
#page-redesign .marcas {
  padding: 32px 0;
}

#page-redesign .marcas__card {
  background: var(--color-gray);
  border-radius: var(--radius);
  padding: 32px 24px;
  position: relative;
}

#page-redesign .marcas__header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  position: relative;
}

#page-redesign .marcas__title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

#page-redesign .marcas__badge {
  width: 32px;
  height: 32px;
}

#page-redesign .marcas__title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--color-primary);
}

#page-redesign .marcas__nav {
  position: absolute;
  right: 0;
  display: flex;
  gap: 8px;
}

#page-redesign .marcas__track {
  display: flex;
  justify-content: start;
  gap: 20px;
  flex-wrap: wrap;
}

#page-redesign .marcas__item:nth-child(n+7) {
  display: none;
}

#page-redesign .marcas__item {
  flex: 0 0 calc(16.666% - 17px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: transform var(--transition);
}

#page-redesign .marcas__item:hover {
  transform: translateY(-4px);
}

#page-redesign .marcas__circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#page-redesign .marcas__logo {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

#page-redesign .marcas__placeholder {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary);
  opacity: 0.3;
  text-transform: uppercase;
  line-height: 1;
}

#page-redesign .marcas__label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-primary);
  max-width: 120px;
  line-height: 1.3;
}

/* ========================================
   POR QUÉ NOSOTROS
   ======================================== */
#page-redesign .porque__reviews-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 16px;
}

#page-redesign .porque {
  padding: 48px 0;
}

#page-redesign .porque__grid {
  display: grid;
  grid-template-columns: 20% 1fr 1fr 20%;
  gap: 24px;
  margin-bottom: 40px;
}

#page-redesign .porque__badge {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-primary);
}

#page-redesign .porque__badge-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

#page-redesign .porque__badge-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 24px;
  gap: 8px;
}

#page-redesign .porque__badge-icon {
  width: 36px;
  height: 36px;
}

#page-redesign .porque__badge-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-white);
  text-align: center;
  line-height: 1.2;
}

#page-redesign .porque__col {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--color-primary);
  background: var(--color-gray);
  border-radius: var(--radius);
  padding: 24px;
}

#page-redesign .porque__col p {
  margin-bottom: 10px;
  text-align: justify;
}

#page-redesign .porque__subtitle {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

#page-redesign .porque__author {
  color: var(--color-secondary);
  font-size: 0.85rem;
}

#page-redesign .porque__author em {
  color: var(--color-text-light);
  font-style: italic;
}

#page-redesign .porque__photo {
  border-radius: var(--radius);
  overflow: hidden;
}

#page-redesign .porque__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#page-redesign .porque__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

#page-redesign .porque__rating-badge {
  width: 32px;
  height: 32px;
}

#page-redesign .porque__rating-stars {
  height: 20px;
}

#page-redesign .porque__rating-text {
  font-size: 0.95rem;
  color: var(--color-text);
}

#page-redesign .porque__reviews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

#page-redesign .porque__quote {
  background: var(--color-cream);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 0;
}

#page-redesign .porque__quote p {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-primary);
  text-align: center;
  line-height: 1.5;
}

/* ========================================
   GUIAS
   ======================================== */
#page-redesign .guias {
  padding: 48px 0;
}

#page-redesign .guias__inner {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

#page-redesign .guias__badge {
  flex: 0 0 20%;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 240px;
  background: var(--color-primary);
}

#page-redesign .guias__badge-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

#page-redesign .guias__badge-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 24px;
  gap: 8px;
}

#page-redesign .guias__badge-icon {
  width: 36px;
  height: 36px;
}

#page-redesign .guias__badge-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-white);
  text-align: center;
}

#page-redesign .guias__content {
  flex: 1;
  min-width: 0;
  position: relative;
}

#page-redesign .guias__nav {
  display: none;
}

#page-redesign .guias__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

#page-redesign .guias__card {
  background: var(--color-gray);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#page-redesign .guias__card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: left top;
}

#page-redesign .guias__card-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

#page-redesign .guias__card-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

#page-redesign .guias__card-text {
  font-size: 0.75rem;
  color: var(--color-text-light);
  line-height: 1.5;
  margin-bottom: 8px;
  text-align: justify;
}

#page-redesign .guias__card-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-secondary);
  text-decoration: underline;
  margin-top: auto;
}

#page-redesign .guias__card-link:hover {
  color: var(--color-primary);
}

/* ========================================
   NEWSLETTER
   ======================================== */
#page-redesign .newsletter {
  padding: 48px 0;
}

#page-redesign .newsletter__card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 120px;
}

#page-redesign .newsletter__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#page-redesign .newsletter__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 32px 48px;
}

#page-redesign .newsletter__text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  flex: 1;
}

#page-redesign .newsletter__highlight {
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 2px 10px;
  border-radius: 6px;
  font-weight: 900;
}

#page-redesign .newsletter__form-wrap {
  display: flex;
  flex-direction: column;
  min-width: 420px;
}

#page-redesign .newsletter__form {
  display: flex;
  align-items: center;
  background: var(--color-white);
  border-radius: 999px;
  padding: 6px 6px 6px 24px;
  box-shadow: var(--shadow);
}

#page-redesign .newsletter__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.95rem;
  font-family: var(--font-family);
  color: var(--color-text);
  background: transparent;
}

#page-redesign .newsletter__input::placeholder {
  color: var(--color-text-light);
}

#page-redesign .newsletter__submit {
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity var(--transition);
}

#page-redesign .newsletter__submit:hover {
  opacity: 0.85;
}

#page-redesign .newsletter__submit img {
  width: 44px;
  height: 44px;
}

#page-redesign .newsletter__form--hidden {
  display: none;
}

#page-redesign .newsletter__msg {
  display: none;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  text-align: center;
}

#page-redesign .newsletter__msg--visible {
  display: block;
}

#page-redesign .newsletter__msg--success {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.85);
}

#page-redesign .newsletter__msg--error {
  color: #c0392b;
  background: rgba(255, 255, 255, 0.85);
}

/* ========================================
   FOOTER
   ======================================== */
#page-redesign .footer__top {
  position: relative;
  background: #b6e8c0;
}

/* Full-width green heading bar via pseudo-element */
#page-redesign .footer__top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--footer-heading-h, 40px);
  background: var(--color-secondary);
}

#page-redesign .footer__columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

#page-redesign .footer__group {
  display: flex;
  flex-direction: column;
}

#page-redesign .footer__heading {
  position: relative;
  padding: 10px 24px;
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-white);
  text-align: center;
}

#page-redesign .footer__group > :last-child {
  flex: 1;
  padding: 24px;
}

#page-redesign .footer__contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

#page-redesign .footer__logo {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

#page-redesign .footer__contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#page-redesign .footer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

#page-redesign .footer__contact-icon {
  width: 20px;
  height: 20px;
}

#page-redesign .footer__menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

#page-redesign .footer__menu a {
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

#page-redesign .footer__menu a:hover {
  text-decoration: underline;
}

#page-redesign .footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

#page-redesign .footer__social img {
  width: 40px;
  height: 40px;
}

#page-redesign .footer__legal {
  background: var(--color-primary);
}

#page-redesign .footer__legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 0;
  padding: 14px 0;
}

#page-redesign .footer__legal-links a {
  color: var(--color-secondary);
  font-size: 0.9rem;
  font-weight: 400;
  text-decoration: none;
}

#page-redesign .footer__legal-links a:hover {
  text-decoration: underline;
}

#page-redesign .footer__legal-links a:not(:last-child)::after {
  content: "|";
  margin: 0 12px;
  color: var(--color-white);
}

#page-redesign .footer__stamps {
  background: var(--color-primary);
  padding: 16px 0;
}

#page-redesign .footer__stamps-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

#page-redesign .footer__stamp {
  height: 70px;
  width: auto;
  border-radius: 50%;
  background: var(--color-white);
  padding: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

#page-redesign .footer__bottom {
  background: var(--color-primary);
  padding: 16px 0;
  text-align: center;
}

#page-redesign .footer__bottom p {
  color: var(--color-white);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* ========================================
   TAXONOMY ARCHIVE WITH GUIDE SIDEBAR
   (grid layout now handled by .page-body--with-sidebar)
   ======================================== */

/* Neutralise floats inside the grid so columns behave */
#page-redesign .ebv-taxonomy-main-col .woocommerce-result-count,
#page-redesign .ebv-taxonomy-main-col .woocommerce-ordering {
  float: none;
}

#page-redesign .ebv-taxonomy-main-col .woocommerce-result-count {
  display: inline-block;
}

#page-redesign .ebv-taxonomy-main-col .woocommerce-ordering {
  display: inline-block;
  float: right;
}

/* ========================================
   PRODUCT TAXONOMY ARCHIVE — SHOP SECTION
   Page title, controls, product grid, pagination.
   ======================================== */

/* Page container — .woocommerce is on <body>, not inside #page-redesign */
.woocommerce #page-redesign .site-main {
  font-family: var(--font-family);
}

/* Page title */
#page-redesign .woocommerce-products-header__title {
  font-family: var(--font-family);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

/* Category / tag description */
#page-redesign .term-description,
#page-redesign .woocommerce-product-archive__description {
  font-family: var(--font-family);
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Result count + ordering row */
#page-redesign .woocommerce-result-count {
  font-family: var(--font-family);
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

#page-redesign .woocommerce-ordering {
  font-family: var(--font-family);
  margin-bottom: 16px !important;
  margin-top: 0 !important;
}

#page-redesign .woocommerce-ordering select {
  font-family: var(--font-family);
  font-size: 0.85rem;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-text);
  cursor: pointer;
}

/* Product grid — 4 columns on desktop when sidebar is present */
#page-redesign .ebv-taxonomy-main-col .guide-products {
  --guide-cols: 4 !important;
}

/* Taxonomy prev/next pagination */
#page-redesign .ebv-taxonomy-pagination {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}

#page-redesign .ebv-taxonomy-pagination__link {
  font-family: var(--font-family);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  padding: 10px 24px;
  border: 1px solid var(--color-primary);
  border-radius: 50px;
  transition: all var(--transition);
}

#page-redesign .ebv-taxonomy-pagination__link:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ----------------------------------------
   ICON HEADER SECTIONS (.icon-container)
   Used in term descriptions and [icon_header] shortcode.
   ---------------------------------------- */
#page-redesign .icon-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 12px;
}

#page-redesign .icon-container__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

#page-redesign .icon-container__icon img {
  width: 32px;
  height: 32px;
  display: block;
}

/* Legacy markup: .icon-category uses CSS content — hide the old PNG */
#page-redesign .icon-category::before {
  content: none !important;
}

/* Legacy .icon-star with inline <img> — constrain size */
#page-redesign .icon-container .icon-star {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

#page-redesign .icon-container .icon-star img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

#page-redesign .icon-container .icon-text {
  flex: 1;
  display: flex;
  align-items: center;
}

#page-redesign .icon-container .icon-text h2 {
  font-family: var(--font-family);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
  line-height: 1.3;
}

/* ----------------------------------------
   CATEGORY HEADER BLOCK (.ebv-product-cat-header-wrapper)
   Block template content injected on category/tag archives.
   ---------------------------------------- */
#page-redesign .ebv-product-cat-header-wrapper {
  background: var(--color-gray);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

#page-redesign .ebv-product-cat-header-wrapper p {
  font-family: var(--font-family);
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 12px;
}

#page-redesign .ebv-product-cat-header-wrapper p:last-child {
  margin-bottom: 0;
}

#page-redesign .ebv-product-cat-header-wrapper h2 {
  font-family: var(--font-family);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 12px;
}

#page-redesign .ebv-product-cat-header-wrapper .wp-block-column {
  margin-left: 0;
}

/* Shop home variant */
#page-redesign .ebv-shop-home-page .ebv-product-cat-header-wrapper {
  text-align: center;
}

#page-redesign .ebv-shop-home-page .ebv-product-cat-header-wrapper h1,
#page-redesign .ebv-shop-home-page .ebv-product-cat-header-wrapper h2 {
  text-align: center;
}

/* GenerateBlocks grid inside header block */
#page-redesign .ebv-product-cat-header-wrapper .gb-grid-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

#page-redesign .ebv-product-cat-header-wrapper .gb-grid-wrapper > .gb-grid-column {
  flex: 0 0 18%;
  min-width: 120px;
}

#page-redesign .ebv-product-cat-header-wrapper .gb-grid-wrapper > .gb-grid-column > .gb-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (max-width: 767px) {
  #page-redesign .ebv-product-cat-header-wrapper .gb-grid-wrapper > .gb-grid-column {
    flex: 0 0 40%;
  }

  #page-redesign .ebv-product-cat-header-wrapper h2 {
    font-size: 1.1rem;
  }
}

/* FAQ section spacing */
#page-redesign .ebv-taxonomy-main-col .panel-group {
  margin-bottom: 8px;
}

#page-redesign .ebv-taxonomy-main-col .section-title h2 {
  font-family: var(--font-family);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 32px 0 16px;
}

#page-redesign .ebv-taxonomy-main-col .panel-title a {
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
}

#page-redesign .ebv-taxonomy-main-col .panel-body p {
  font-family: var(--font-family);
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.7;
}

/* ========================================
   SHOP HOME (/categoria/)
   ======================================== */
#page-redesign .shop-home__hero {
  background: var(--color-primary);
  padding: 40px 0;
}

#page-redesign .shop-home__title {
  font-family: var(--font-family);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-white);
  margin: 0;
}

#page-redesign .shop-home__section {
  padding: 24px 0 0;
}

#page-redesign .shop-home__subtitle {
  font-family: var(--font-family);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 20px;
}

#page-redesign .shop-home__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

#page-redesign .shop-home__card {
  background: var(--color-gray);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

#page-redesign .shop-home__card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

#page-redesign .shop-home__card-info {
  flex: 1;
  min-width: 0;
}

#page-redesign .shop-home__card-name {
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 6px;
  line-height: 1.3;
}

#page-redesign .shop-home__card-link {
  font-family: var(--font-family);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

#page-redesign .shop-home__card-link:hover {
  color: var(--color-primary);
}

#page-redesign .shop-home__card-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  background: var(--color-secondary-light);
  border-radius: 50%;
  padding: 14px;
  object-fit: contain;
}

#page-redesign .shop-home__pills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

#page-redesign .shop-home__pills li a {
  display: inline-block;
  padding: 5px 12px;
  background: var(--color-secondary-light);
  color: var(--color-primary);
  font-family: var(--font-family);
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 50px;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

#page-redesign .shop-home__pills li a:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

@media (max-width: 1023px) {
  #page-redesign .shop-home__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

#page-redesign .shop-home__desc {
  font-family: var(--font-family);
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.7;
  margin: 0;
}

#page-redesign .shop-home__pills--large {
  gap: 10px;
}

#page-redesign .shop-home__pills--large li a {
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 600;
}

@media (max-width: 767px) {
  #page-redesign .shop-home__hero {
    padding: 28px 0;
  }

  #page-redesign .shop-home__title {
    font-size: 1.5rem;
  }

  #page-redesign .shop-home__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ========================================
   BRANDS PAGE (/marcas/)
   ======================================== */
#page-redesign .brands-page__hero {
  background: var(--color-primary);
  padding: 32px 0 40px;
}

#page-redesign .brands-page__breadcrumbs {
  font-size: 0.82rem;
  margin-bottom: 12px;
}

#page-redesign .brands-page__breadcrumbs,
#page-redesign .brands-page__breadcrumbs a {
  color: var(--color-secondary-light);
}

#page-redesign .brands-page__breadcrumbs a:hover {
  color: var(--color-white);
}

#page-redesign .brands-page__title {
  font-family: var(--font-family);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-white);
  margin: 0;
}

#page-redesign .brands-page__section {
  padding: 24px 0 0;
}

/* Featured logos strip */
#page-redesign .brands-page__logos {
  background: var(--color-secondary-light);
  padding: 32px 0;
}

#page-redesign .brands-page__logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

#page-redesign .brands-page__logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 100px;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 12px;
  transition: box-shadow var(--transition), transform var(--transition);
}

#page-redesign .brands-page__logo-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

#page-redesign .brands-page__logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* A–Z letter navigation */
#page-redesign .brands-page__az {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding-bottom: 24px;
  border-bottom: 1px solid #eee;
}

#page-redesign .brands-page__az-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-secondary);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition);
}

#page-redesign .brands-page__az-link:hover {
  background: var(--color-primary);
}

#page-redesign .brands-page__az-link--empty {
  background: #ddd;
  color: #999;
  pointer-events: none;
}

/* Brand groups */
#page-redesign .brands-page__group {
  padding: 24px 0;
  border-bottom: 1px solid #eee;
}

#page-redesign .brands-page__letter {
  font-family: var(--font-family);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-primary);
  margin: 0 0 16px;
}

#page-redesign .brands-page__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 24px;
}

#page-redesign .brands-page__brand {
  font-family: var(--font-family);
  font-size: 0.95rem;
  color: var(--color-text);
  text-decoration: none;
  padding: 4px 0;
  transition: color var(--transition);
}

#page-redesign .brands-page__brand:hover {
  color: var(--color-primary);
}

@media (max-width: 1023px) {
  #page-redesign .brands-page__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  #page-redesign .brands-page__title {
    font-size: 1.5rem;
  }

  #page-redesign .brands-page__az-link {
    width: 32px;
    height: 32px;
    font-size: 0.78rem;
  }

  #page-redesign .brands-page__list {
    grid-template-columns: repeat(2, 1fr);
  }

  #page-redesign .brands-page__letter {
    font-size: 1.5rem;
  }
}

/* ========================================
   GUIAS & BLOG ARCHIVE (/guias/, /blog/)
   ======================================== */

/* Hide GP page headers — replaced by PHP-injected .page-hero */
.post-type-archive-guias #page-redesign .page-header,
.blog #page-redesign .page-header {
  display: none !important;
}



/* Article cards — 2-column card grid (containment now via .page-body > .container) */
.post-type-archive-guias #page-redesign .generate-columns-container,
.blog #page-redesign .generate-columns-container,
.category #page-redesign .generate-columns-container {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.post-type-archive-guias #page-redesign .generate-columns-container .grid-sizer,
.blog #page-redesign .generate-columns-container .grid-sizer,
.category #page-redesign .generate-columns-container .grid-sizer {
  display: none;
}

/* Article card — override GP column/float/width */
.post-type-archive-guias #page-redesign article,
.blog #page-redesign article,
.category #page-redesign article {
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
  padding: 0 !important;
}

.post-type-archive-guias #page-redesign .inside-article,
.blog #page-redesign .inside-article,
.category #page-redesign .inside-article {
  background: var(--color-gray);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0 !important;
  margin: 0 !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

.post-type-archive-guias #page-redesign .inside-article:hover,
.blog #page-redesign .inside-article:hover,
.category #page-redesign .inside-article:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

/* Featured image */
.post-type-archive-guias #page-redesign .post-image,
.blog #page-redesign .post-image,
.category #page-redesign .post-image {
  margin: 0;
}

.post-type-archive-guias #page-redesign .post-image img,
.blog #page-redesign .post-image img,
.category #page-redesign .post-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 0;
  margin: 0;
}

/* Entry header + summary */
.post-type-archive-guias #page-redesign .entry-header,
.blog #page-redesign .entry-header,
.category #page-redesign .entry-header {
  padding: 16px 16px 0;
}

.post-type-archive-guias #page-redesign .entry-title,
.blog #page-redesign .entry-title,
.category #page-redesign .entry-title {
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.post-type-archive-guias #page-redesign .entry-title a,
.blog #page-redesign .entry-title a,
.category #page-redesign .entry-title a {
  color: var(--color-primary);
  text-decoration: none;
}

.post-type-archive-guias #page-redesign .entry-title a:hover,
.blog #page-redesign .entry-title a:hover,
.category #page-redesign .entry-title a:hover {
  color: var(--color-secondary);
}

.post-type-archive-guias #page-redesign .entry-summary,
.blog #page-redesign .entry-summary,
.category #page-redesign .entry-summary {
  padding: 8px 16px 16px;
  margin: 0;
  flex: 1;
}

.post-type-archive-guias #page-redesign .entry-summary p,
.blog #page-redesign .entry-summary p,
.category #page-redesign .entry-summary p {
  font-family: var(--font-family);
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-type-archive-guias #page-redesign .entry-summary .read-more,
.blog #page-redesign .entry-summary .read-more,
.category #page-redesign .entry-summary .read-more {
  display: none;
}

/* Hide GP footer meta on archive cards */
.post-type-archive-guias #page-redesign .entry-meta,
.blog #page-redesign footer.entry-meta,
.category #page-redesign footer.entry-meta {
  padding: 0 16px 12px;
  font-size: 0.78rem;
  color: var(--color-text-light);
}

/* GP separators — remove */
.post-type-archive-guias #page-redesign .separate-containers .inside-article,
.blog #page-redesign .separate-containers .inside-article,
.category #page-redesign .separate-containers .inside-article {
  border: none;
  box-shadow: none;
}

/* Blog sidebar list (reused inside .page-body__sidebar) */

#page-redesign .blog-sidebar__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#page-redesign .blog-sidebar__list li {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

#page-redesign .blog-sidebar__list li a {
  display: block;
  padding: 8px 0;
  font-family: var(--font-family);
  font-size: 0.88rem;
  color: var(--color-text);
  text-decoration: none;
  line-height: 1.4;
  transition: color var(--transition);
}

#page-redesign .blog-sidebar__list li a:hover {
  color: var(--color-primary);
}

@media (max-width: 767px) {
  .post-type-archive-guias #page-redesign .generate-columns-container,
  .blog #page-redesign .generate-columns-container,
  .category #page-redesign .generate-columns-container {
    grid-template-columns: 1fr;
  }

  .post-type-archive-guias #page-redesign .page-header .page-title span,
  .blog #page-redesign .page-header .page-title span,
  .category #page-redesign .page-header .page-title span {
    font-size: 1.5rem;
  }

  .post-type-archive-guias #page-redesign .post-image img,
  .blog #page-redesign .post-image img,
  .category #page-redesign .post-image img {
    height: 140px;
  }

}

/* ========================================
   GUIDE ARTICLE — content styles
   (layout grid now handled by .page-body--with-sidebar)
   ======================================== */

/* Hero image */
#page-redesign .guide-article__hero-image {
  margin-bottom: 24px;
  border-radius: var(--radius);
  overflow: hidden;
}

#page-redesign .guide-article__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

/* H1 title */
#page-redesign .guide-article__title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 28px;
}

/* Article body typography */
#page-redesign .guide-article__body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-secondary-light);
}

#page-redesign .guide-article__body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 24px 0 8px;
}

#page-redesign .guide-article__body p {
  margin-bottom: 16px;
  line-height: 1.75;
  color: var(--color-text);
}

#page-redesign .guide-article__body ul,
#page-redesign .guide-article__body ol {
  padding-left: 22px;
  margin-bottom: 16px;
}

#page-redesign .guide-article__body li {
  margin-bottom: 6px;
  line-height: 1.7;
  color: var(--color-text);
}

#page-redesign .guide-article__body img {
  border-radius: var(--radius-sm);
  margin: 16px 0;
  max-width: 100%;
  height: auto;
}

#page-redesign .guide-article__body a {
  color: var(--color-primary);
  text-decoration: underline;
}

#page-redesign .guide-article__body a:hover {
  color: var(--color-secondary);
}

#page-redesign .guide-article__body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 20px 0 8px;
}

/* Prevent double-bold when headings wrap text in <strong> */
#page-redesign .guide-article__body h2 strong,
#page-redesign .guide-article__body h3 strong,
#page-redesign .guide-article__body h4 strong {
  font-weight: inherit;
  color: inherit;
}

#page-redesign .guide-article__body strong {
  font-weight: 700;
  color: var(--color-primary);
}

#page-redesign .guide-article__body em {
  font-style: italic;
}

/* Superscript footnotes */
#page-redesign .guide-article__body sup {
  font-size: 0.7em;
  color: var(--color-secondary);
  font-weight: 600;
}

/* WP block images / figures */
#page-redesign .guide-article__body figure.wp-block-image {
  margin: 24px 0;
  text-align: center;
}

#page-redesign .guide-article__body figure.wp-block-image img {
  display: inline-block;
  border-radius: var(--radius-sm);
  max-width: 100%;
  height: auto;
}

#page-redesign .guide-article__body figure.wp-block-image figcaption {
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-top: 8px;
}

/* Table of contents */
#page-redesign .guide-article__body ol.page-content-menu {
  background: var(--color-gray);
  border-radius: var(--radius);
  padding: 20px 20px 20px 40px;
  margin: 0 0 32px;
  border-left: 4px solid var(--color-secondary);
}

#page-redesign .guide-article__body ol.page-content-menu li {
  margin-bottom: 4px;
  line-height: 1.6;
}

#page-redesign .guide-article__body ol.page-content-menu a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

#page-redesign .guide-article__body ol.page-content-menu a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

#page-redesign .guide-article__body ol.page-content-menu ol {
  padding-left: 20px;
  margin-bottom: 4px;
  margin-top: 4px;
}

/* Comparison tables */
#page-redesign .guide-article__body table,
#page-redesign .guide-article__body .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
}

#page-redesign .guide-article__body th {
  background: var(--color-gray);
  font-weight: 700;
  color: var(--color-primary);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--color-secondary-light);
}

#page-redesign .guide-article__body td {
  padding: 10px 16px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

#page-redesign .guide-article__body tr:last-child td {
  border-bottom: none;
}

#page-redesign .guide-article__body .wp-block-table {
  overflow-x: auto;
}

/* Blockquotes */
#page-redesign .guide-article__body blockquote {
  border-left: 4px solid var(--color-secondary);
  margin: 24px 0;
  padding: 16px 20px;
  background: var(--color-gray);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--color-text-light);
}

/* Embedded WooCommerce product shortcodes */
#page-redesign .guide-article__body .woocommerce.shortcode-product {
  margin: 24px 0;
}

#page-redesign .guide-article__body .woocommerce.shortcode-product .product {
  background: var(--color-gray);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}

#page-redesign .guide-article__body .woocommerce.shortcode-product .product img {
  border-radius: var(--radius-sm);
  margin: 0 auto 12px;
  max-width: 200px;
}

#page-redesign .guide-article__body .woocommerce.shortcode-product .product .woocommerce-loop-product__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
}

#page-redesign .guide-article__body .woocommerce.shortcode-product .product .price {
  font-size: 0.9rem;
  color: var(--color-text);
  margin-top: 4px;
}

/* ----------------------------------------
   SIDEBAR WIDGETS (shared base)
   ---------------------------------------- */
#page-redesign .guide-sidebar__widget {
  background: var(--color-gray);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}

#page-redesign .guide-sidebar__widget-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-secondary);
}

#page-redesign .guide-sidebar__widget-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Shared buttons */
#page-redesign .guide-sidebar__btn {
  display: block;
  text-align: center;
  border-radius: 50px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity var(--transition);
  margin-top: 10px;
}

#page-redesign .guide-sidebar__btn:hover {
  opacity: 0.85;
}

#page-redesign .guide-sidebar__btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

#page-redesign .guide-sidebar__btn--secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

/* ----------------------------------------
   BASKET WIDGET
   ---------------------------------------- */
#page-redesign .guide-sidebar__basket-count {
  margin-left: auto;
  background: var(--color-secondary);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#page-redesign .guide-sidebar__basket-items {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

#page-redesign .guide-sidebar__basket-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

#page-redesign .guide-sidebar__basket-item-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--color-white);
  flex-shrink: 0;
}

#page-redesign .guide-sidebar__basket-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

#page-redesign .guide-sidebar__basket-item-name {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#page-redesign .guide-sidebar__basket-item-qty {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

#page-redesign .guide-sidebar__basket-more {
  font-size: 0.8rem;
  color: var(--color-text-light);
  padding: 6px 0;
  list-style: none;
}

#page-redesign .guide-sidebar__basket-total {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  padding: 10px 0;
  border-top: 2px solid var(--color-secondary-light);
  margin-top: 4px;
}

#page-redesign .guide-sidebar__basket-empty {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 12px;
  text-align: center;
}

/* ----------------------------------------
   RECENT GUIDES WIDGET
   ---------------------------------------- */
#page-redesign .guide-sidebar__guides-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

#page-redesign .guide-sidebar__guides-item {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

#page-redesign .guide-sidebar__guides-link {
  display: block;
  padding: 8px 0;
  font-size: 0.85rem;
  color: var(--color-text);
  line-height: 1.4;
  transition: color var(--transition);
}

#page-redesign .guide-sidebar__guides-link:hover {
  color: var(--color-primary);
}

/* ----------------------------------------
   RECENTLY VIEWED WIDGET
   ---------------------------------------- */
#page-redesign .guide-sidebar__viewed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 4px;
}

#page-redesign .guide-sidebar__viewed-item {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow var(--transition);
}

#page-redesign .guide-sidebar__viewed-item:hover {
  box-shadow: var(--shadow);
}

#page-redesign .guide-sidebar__viewed-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 6px;
  background: var(--color-white);
}

#page-redesign .guide-sidebar__viewed-info {
  padding: 6px 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#page-redesign .guide-sidebar__viewed-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}

#page-redesign .guide-sidebar__viewed-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-secondary);
}

/* ----------------------------------------
   CATEGORY NAV WIDGET (.product-category-menu)
   ---------------------------------------- */
#page-redesign .guide-sidebar__categories .product-category-menu {
  background: none;
  padding: 0;
}

#page-redesign .guide-sidebar__categories .menu-title {
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 12px;
  padding: 0 0 10px;
  border-bottom: 2px solid var(--color-secondary);
}

#page-redesign .guide-sidebar__categories .menu-title a {
  color: var(--color-primary);
  text-decoration: none;
}

#page-redesign .guide-sidebar__categories .menu-title a:hover {
  color: var(--color-secondary);
}

#page-redesign .guide-sidebar__categories ul.product-category-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

#page-redesign .guide-sidebar__categories ul.product-category-menu li {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

#page-redesign .guide-sidebar__categories ul.product-category-menu li a {
  display: block;
  padding: 7px 0;
  font-family: var(--font-family);
  font-size: 0.85rem;
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition);
}

#page-redesign .guide-sidebar__categories ul.product-category-menu li a:hover,
#page-redesign .guide-sidebar__categories ul.product-category-menu li a.current-category {
  color: var(--color-primary);
  font-weight: 600;
}

#page-redesign .guide-sidebar__categories .back-link {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-family);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

#page-redesign .guide-sidebar__categories .back-link:hover {
  color: var(--color-primary);
}

/* TOC block */
#page-redesign .guide-sidebar__toc {
  background: var(--color-gray);
  border-radius: var(--radius);
  padding: 24px;
}

#page-redesign .guide-sidebar__toc-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-secondary);
}

#page-redesign .guide-sidebar__toc-list {
  list-style: none;
  counter-reset: toc-counter;
  padding: 0;
  margin: 0;
}

#page-redesign .guide-sidebar__toc-item {
  counter-increment: toc-counter;
  margin-bottom: 10px;
}

#page-redesign .guide-sidebar__toc-link {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--color-text);
  line-height: 1.4;
  text-decoration: none;
  transition: color var(--transition);
}

#page-redesign .guide-sidebar__toc-link::before {
  content: counter(toc-counter) ".";
  flex-shrink: 0;
  font-weight: 700;
  color: var(--color-secondary);
  min-width: 20px;
}

#page-redesign .guide-sidebar__toc-link:hover {
  color: var(--color-primary);
}

/* ========================================
   PROMO CARD ([ebv_product_promo])
   ======================================== */
#page-redesign .promo-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 32px 0;
}

#page-redesign .promo-card__image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--color-white);
}

#page-redesign .promo-card__stars {
  font-size: 2rem;
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 12px;
  line-height: 1;
}

#page-redesign .promo-card__image img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
}

#page-redesign .promo-card__content {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#page-redesign .promo-card__label {
  font-family: var(--font-family);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 4px;
  text-align: center;
}

#page-redesign .promo-card__title {
  font-family: var(--font-family);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-white);
  margin: 0 0 20px;
  text-align: center;
}

#page-redesign .promo-card__logo {
  max-width: 180px;
  height: auto;
  margin: 0 auto 20px;
  border-radius: var(--radius-sm);
  background: var(--color-white);
  padding: 8px 12px;
}

#page-redesign .promo-card__bullets {
  list-style: disc;
  padding-left: 20px;
  margin: 0 0 24px;
  font-family: var(--font-family);
  font-size: 0.95rem;
  line-height: 1.6;
}

#page-redesign .promo-card__bullets li {
  margin-bottom: 6px;
}

#page-redesign .promo-card__cta {
  display: inline-block;
  align-self: center;
  background: var(--color-gold);
  color: var(--color-text) !important;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  text-align: center;
  transition: background var(--transition);
}

#page-redesign .promo-card__cta:hover {
  background: var(--color-secondary);
  color: var(--color-white) !important;
}

@media (max-width: 767px) {
  #page-redesign .promo-card {
    grid-template-columns: 1fr;
  }

  #page-redesign .promo-card__image {
    padding: 16px;
  }

  #page-redesign .promo-card__content {
    padding: 24px;
  }

  #page-redesign .promo-card__title {
    font-size: 1.2rem;
  }
}

/* ========================================
   PRODUCT CARD
   ======================================== */
#page-redesign .product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-gray);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #ececec;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition), transform var(--transition);
}

#page-redesign .product-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
  transform: translateY(-2px);
}

/* Stretched-link: h3 a covers the whole card */
#page-redesign .product-card__name a {
  color: inherit;
  text-decoration: none;
}

#page-redesign .product-card__name a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Image link — transparent overlay, no visual change */
#page-redesign .product-card__img-link {
  display: contents;
}

#page-redesign .product-card__img {
  position: relative;
  aspect-ratio: 1 / 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

#page-redesign .product-card__img img {
  max-height: 100%;
  object-fit: contain;
}

#page-redesign .product-card__discount {
  position: absolute;
  top: 8px;
  right: 8px;
}

#page-redesign .product-card__discount img {
  width: 28px;
  height: 28px;
}

#page-redesign .product-card__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  padding: 12px;
}

#page-redesign .product-card__name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
  min-height: 3.9em; /* 3 lines × 1.3 line-height */
}

#page-redesign .product-card__desc {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 1.3em; /* reserve space even when empty */
}

#page-redesign .product-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
}

#page-redesign .product-card__stars {
  width: 70px;
  height: auto;
  display: block;
  margin-bottom: 4px;
}

#page-redesign .product-card__price {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--color-secondary);
  line-height: 1.2;
}

/* Sale price: stack original (struck) above current */
#page-redesign .product-card__price del {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text-light);
  text-decoration: line-through;
}

#page-redesign .product-card__price ins {
  text-decoration: none;
}

#page-redesign .product-card__cart {
  padding: 4px;
  transition: opacity var(--transition);
}

#page-redesign .product-card__cart:hover {
  opacity: 0.7;
}

#page-redesign .product-card__cart img {
  width: 22px;
  height: 22px;
}

#page-redesign .product-card__cart-text {
  display: none;
}

/* ========================================
   GUIDE PRODUCTS GRID
   WooCommerce [products] shortcode output on guide pages.
   .product-card styles are shared with the homepage trends section.
   ======================================== */
#page-redesign .guide-products {
  display: grid;
  grid-template-columns: repeat(var(--guide-cols, 3), 1fr);
  gap: 16px;
  margin: 28px 0;
}

/* Neutralise stray inline wrappers (e.g. <strong>, <em>) the editor
   may inject around [products] shortcodes so cards remain grid items. */
#page-redesign .guide-products > :not(.product-card) {
  display: contents;
}

/* ========================================
   GUIDE PRODUCTS — HORIZONTAL CARD (single-column shortcodes)
   When columns="1", lay out image left / info right on desktop.
   ======================================== */
@media (min-width: 768px) {
  #page-redesign .guide-products[style*="--guide-cols:1"] .product-card {
    flex-direction: row;
    align-items: stretch;
  }

  #page-redesign .guide-products[style*="--guide-cols:1"] .product-card__img {
    flex: 0 0 35%;
    aspect-ratio: auto;
    max-height: 220px;
  }

  #page-redesign .guide-products[style*="--guide-cols:1"] .product-card__info {
    flex: 1;
    justify-content: center;
    padding: 16px 20px;
  }

  #page-redesign .guide-products[style*="--guide-cols:1"] .product-card__name {
    -webkit-line-clamp: 2;
    min-height: auto;
    font-size: 1rem;
  }

  #page-redesign .guide-products[style*="--guide-cols:1"] .product-card__desc {
    -webkit-line-clamp: 2;
    min-height: auto;
  }
}

/* ========================================
   SINGLE PRODUCT PAGE
   ======================================== */

/* --- Page container --- */
#page-redesign .woocommerce div.product,
#page-redesign div.product {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 32px 16px 48px;
}

/* --- Breadcrumbs --- */
#page-redesign .woocommerce-breadcrumb {
  font-size: 0.82rem;
  color: var(--color-text-light);
  padding-bottom: 20px !important;
  margin-bottom: 0 !important;
}

#page-redesign .woocommerce-breadcrumb a {
  color: var(--color-primary) !important;
  font-weight: 500;
  transition: color var(--transition);
}

#page-redesign .woocommerce-breadcrumb a:hover {
  color: var(--color-secondary) !important;
}

/* --- Product layout: image + summary side by side --- */
#page-redesign .woocommerce div.product div.images {
  float: left;
  width: 48%;
  background: var(--color-gray);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

#page-redesign .woocommerce div.product div.images img {
  display: block;
  width: auto;
  max-height: 460px;
  max-width: 100%;
  margin: 0 auto;
  box-shadow: none;
  border-radius: var(--radius-sm);
}

#page-redesign .woocommerce div.product div.summary {
  float: right;
  width: 48%;
  clear: none;
  padding-left: 16px;
}

/* --- Extra H1 (mobile-only duplicate title) --- */
#page-redesign h1.extra-product_title.product_title {
  font-family: var(--font-family);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.25;
}

/* --- Product title --- */
#page-redesign .woocommerce div.product .product_title {
  font-family: var(--font-family);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 12px;
}

/* --- Star rating --- */
#page-redesign .woocommerce div.product .woocommerce-product-rating {
  margin-bottom: 12px;
}

#page-redesign .woocommerce div.product .star-rating {
  color: var(--color-gold);
}

/* --- Price --- */
#page-redesign .woocommerce div.product p.price,
#page-redesign .woocommerce div.product span.price {
  font-family: var(--font-family);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-secondary);
  margin-bottom: 16px;
}

#page-redesign .woocommerce div.product p.price del {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-light);
  margin-right: 8px;
}

#page-redesign .woocommerce div.product p.price ins {
  background: none;
  text-decoration: none;
}

/* --- Delivery / shipping alert badges --- */
#page-redesign .product-alert-messages {
  margin-bottom: 20px;
}

#page-redesign .ebv-alert {
  background: var(--color-cream);
  border: 1px solid #e8e9c8;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--color-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

#page-redesign .ebv-alert svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

#page-redesign .ebv-alert-text {
  padding-left: 0;
}

/* --- Add to cart --- */
#page-redesign .woocommerce div.product form.cart {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

/* Quantity wrapper — strip default margin so it aligns with the button */
#page-redesign .woocommerce div.product form.cart .quantity {
  margin: 0;
}

/* Add-to-cart button — inherits primary button base, only layout-specific overrides */
#page-redesign button.single_add_to_cart_button,
#page-redesign .single_add_to_cart_button.affiliate_product.button {
  margin-left: 8px;
}

/* --- Stock status --- */
#page-redesign p.stock.in-stock {
  color: var(--color-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 4px;
}

/* --- Product meta (SKU, categories, tags) --- */
#page-redesign .woocommerce div.product .product_meta {
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #eee;
  line-height: 2;
}

#page-redesign .woocommerce div.product .product_meta a {
  color: var(--color-primary);
  font-weight: 500;
}

#page-redesign .woocommerce div.product .product_meta a:hover {
  color: var(--color-secondary);
}

/* --- Tabs (Description, Additional Info, Reviews) --- */
#page-redesign .woocommerce div.product .woocommerce-tabs {
  clear: both;
  margin-top: 48px;
  padding-top: 0;
}

#page-redesign .woocommerce div.product .woocommerce-tabs ul.tabs {
  list-style: none !important;
  display: flex !important;
  gap: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border-bottom: 2px solid #eee !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  overflow: visible !important;
}

#page-redesign .woocommerce div.product .woocommerce-tabs ul.tabs::before,
#page-redesign .woocommerce div.product .woocommerce-tabs ul.tabs::after {
  display: none !important;
}

#page-redesign .woocommerce div.product .woocommerce-tabs ul.tabs li,
#page-redesign .woocommerce div.product .woocommerce-tabs ul.tabs li:first-child,
#page-redesign .woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  border: none !important;
  border-width: 0 !important;
  background: none !important;
  background-color: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  position: relative;
  box-shadow: none !important;
}

#page-redesign .woocommerce div.product .woocommerce-tabs ul.tabs li::before,
#page-redesign .woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}

#page-redesign .woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 14px 28px !important;
  font-family: var(--font-family);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-light) !important;
  text-decoration: none;
  border-bottom: 3px solid transparent !important;
  margin-bottom: -2px;
  transition: color var(--transition), border-color var(--transition);
  background: none !important;
}

#page-redesign .woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
  color: var(--color-primary) !important;
}

#page-redesign .woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--color-primary) !important;
  font-weight: 700;
  border-bottom-color: var(--color-secondary) !important;
}

/* Tab panels */
#page-redesign .woocommerce div.product .woocommerce-tabs .panel,
#page-redesign .woocommerce-page div.product .woocommerce-tabs .panel {
  border: none !important;
  padding: 32px 24px !important;
  margin: 0 !important;
  font-family: var(--font-family);
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-gray);
  border-radius: 0 0 var(--radius) var(--radius);
}

#page-redesign .woocommerce-tabs .panel h2 {
  font-family: var(--font-family);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
}

#page-redesign .woocommerce-tabs .panel h2:not(:first-child) {
  margin-top: 24px !important;
}

#page-redesign .woocommerce-tabs .panel h3 {
  font-family: var(--font-family);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1rem;
  margin: 20px 0 8px 0 !important;
  padding: 0 !important;
}

#page-redesign .woocommerce-tabs .panel h4,
#page-redesign .woocommerce-tabs .panel h5 {
  font-family: var(--font-family);
  color: var(--color-text);
  font-weight: 700;
  margin: 16px 0 8px 0 !important;
}

#page-redesign .woocommerce-tabs .panel p {
  margin: 0 0 14px 0 !important;
  line-height: 1.75;
}

#page-redesign .woocommerce-tabs .panel ul {
  margin: 0 0 14px 24px !important;
  padding: 0 !important;
}

#page-redesign .woocommerce-tabs .panel ul li {
  margin-bottom: 6px;
  line-height: 1.6;
}

#page-redesign .woocommerce-tabs .panel strong {
  color: var(--color-primary);
}

/* ========================================
   REVIEWS TAB
   ======================================== */

/* Reviews title */
#page-redesign #reviews h2.woocommerce-Reviews-title {
  font-family: var(--font-family);
  font-size: 1.1rem !important;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px !important;
  text-align: left !important;
}

/* Summary card — score + stars + badge inline */
#page-redesign #reviews .ebv-review-summary {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 24px 32px !important;
  margin-bottom: 24px !important;
  text-align: left !important;
  border: 1px solid #eee;
}

#page-redesign #reviews .ebv-review-summary .trust-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

#page-redesign #reviews .ebv-review-summary .score .overall_score_inline {
  font-size: 1.6rem;
  font-weight: 900;
  font-family: var(--font-family);
  color: var(--color-text);
}

#page-redesign #reviews .ebv-review-summary .score .text-muted {
  color: var(--color-text-light);
  font-weight: 400;
}

#page-redesign #reviews .ebv-review-summary .score-description {
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-secondary);
  letter-spacing: 0.05em;
}

#page-redesign #reviews .ebv-review-summary .ebv-star-rating {
  font-size: 1.3rem;
  color: var(--color-gold);
}

#page-redesign #reviews .ebv-review-summary .trustmark {
  margin-left: auto;
}

#page-redesign #reviews .ebv-review-summary .trustmark img {
  max-width: 80px;
  height: auto;
}

/* Hide the <hr> between summary and comments */
#page-redesign #reviews #comments > hr {
  display: none;
}

/* Comment list */
#page-redesign #reviews #comments ol.commentlist {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Individual review card */
#page-redesign #reviews #comments ol.commentlist li.ebv-product-review {
  background: var(--color-white) !important;
  border: 1px solid #eee !important;
  border-radius: var(--radius-sm) !important;
  padding: 20px 24px !important;
  margin: 0 0 12px 0 !important;
  list-style: none !important;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-family);
  font-size: 0.9rem;
  box-shadow: none !important;
}

#page-redesign #reviews .ebv-product-review .stars {
  display: flex;
  align-items: center;
}

#page-redesign #reviews .ebv-product-review .stars .ebv-star-rating {
  color: var(--color-gold);
  font-size: 1rem;
}

#page-redesign #reviews .ebv-product-review .date {
  color: var(--color-text-light);
  font-size: 0.82rem;
  white-space: nowrap;
}

#page-redesign #reviews .ebv-product-review .comment {
  flex: 1;
  color: var(--color-text);
  margin: 0 !important;
}

#page-redesign #reviews .ebv-product-review .validated {
  color: var(--color-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  margin-left: auto;
}

#page-redesign #reviews .ebv-product-review .validated i {
  color: var(--color-secondary);
  margin-right: 4px;
}

/* --- Related Products — horizontal row using shared .product-card styles --- */
#page-redesign section.related.products {
  clear: both;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 48px 16px 32px;
  border-top: 1px solid #eee;
}

#page-redesign section.related.products > h2 {
  font-family: var(--font-family);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
}

/* Related products grid — uses .guide-products + .product-card from redesign templates.
   Override --guide-cols set by loop-start.php and force vertical card layout. */
#page-redesign section.related.products .guide-products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px;
  margin: 0;
  --guide-cols: 4 !important;
}

#page-redesign section.related.products .product-card {
  min-width: 0;
  flex-direction: column !important;
}

#page-redesign section.related.products .product-card__img {
  flex: none !important;
  aspect-ratio: 1 / 1.1 !important;
  max-height: none !important;
}

#page-redesign section.related.products .product-card__info {
  flex: 1 !important;
}

#page-redesign section.related.products .product-card__name {
  -webkit-line-clamp: 3 !important;
  min-height: 3.9em !important;
  font-size: 0.85rem !important;
}

/* --- Article / inside-article resets for product page --- */
#page-redesign .separate-containers .inside-article {
  padding: 0;
}

/* ========================================
   CART / BASKET PAGE
   ======================================== */

/* Page container — cart uses page-body for containment, font-family only here */
#page-redesign .woocommerce-cart .site-main {
  font-family: var(--font-family);
}

/* Page title */
#page-redesign .woocommerce-cart .entry-title {
  font-family: var(--font-family);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0;
}

/* ---- Customer service help link (inside page-hero) ---- */
#page-redesign .page-hero a.header-cs-links {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-white);
  text-decoration: none;
  font-family: var(--font-family);
}

#page-redesign .page-hero a.header-cs-links .header-help-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-white);
  white-space: nowrap;
}

#page-redesign .page-hero a.header-cs-links .icon {
  display: flex;
  align-items: center;
}

#page-redesign .page-hero a.header-cs-links .icon svg {
  stroke: var(--color-white);
}

/* Expanded contact panel */
#page-redesign .header-cs-links-wrapper {
  clear: both;
  font-family: var(--font-family);
}

#page-redesign .header-cs-links-wrapper .header-cs-links-open {
  display: flex;
  gap: 24px;
  background: var(--color-gray);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 12px 0 24px;
  border-bottom: none;
}

#page-redesign .header-cs-links-wrapper .header-cs-links-open div {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 0.85rem;
  width: auto;
}

#page-redesign .header-cs-links-wrapper .header-cs-links-open strong {
  color: var(--color-primary);
}

#page-redesign .header-cs-links-wrapper .header-cs-links-open a {
  color: var(--color-text);
  transition: color var(--transition);
}

#page-redesign .header-cs-links-wrapper .header-cs-links-open a:hover {
  color: var(--color-primary);
}

/* Success / info / error messages */
#page-redesign .woocommerce-message,
#page-redesign .woocommerce-info {
  clear: both;
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
  border: none !important;
  border-radius: var(--radius-sm);
  padding: 14px 20px !important;
  font-family: var(--font-family);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

#page-redesign .woocommerce-message a,
#page-redesign .woocommerce-info a {
  color: var(--color-white) !important;
  font-weight: 700;
  text-decoration: underline;
  float: none !important;
  margin-left: 12px;
}

#page-redesign .woocommerce-message::before,
#page-redesign .woocommerce-info::before {
  display: none;
}

#page-redesign .woocommerce-error {
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
}

/* ---- Cart table ---- */
#page-redesign table.shop_table.cart {
  border: none !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  font-family: var(--font-family);
  width: 100%;
}

#page-redesign table.shop_table.cart thead {
  background: var(--color-gray);
}

#page-redesign table.shop_table.cart thead th {
  font-family: var(--font-family);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 16px;
  border: none !important;
  border-bottom: 2px solid #eee !important;
}

#page-redesign table.shop_table.cart td {
  padding: 16px !important;
  border: none !important;
  border-bottom: 1px solid #f0f0f0 !important;
  vertical-align: middle;
  font-size: 0.9rem;
  color: var(--color-text);
}

/* Remove button */
#page-redesign table.shop_table.cart .product-remove a.remove {
  width: 28px !important;
  height: 28px !important;
  line-height: 26px !important;
  font-size: 1.1rem !important;
  border-radius: 50% !important;
  border: 1px solid #ddd !important;
  color: var(--color-text-light) !important;
  background: var(--color-white) !important;
  transition: all var(--transition);
}

#page-redesign table.shop_table.cart .product-remove a.remove:hover {
  background: #fee !important;
  color: #c00 !important;
  border-color: #c00 !important;
}

/* Product thumbnail */
#page-redesign table.shop_table.cart .product-thumbnail img {
  width: 70px;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid #f0f0f0;
}

/* Product name */
#page-redesign table.shop_table.cart .product-name a {
  color: var(--color-text) !important;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color var(--transition);
}

#page-redesign table.shop_table.cart .product-name a:hover {
  color: var(--color-primary) !important;
}

/* Variation descriptions (bundled products) */
#page-redesign table.shop_table.cart .product-name .variation {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 4px;
}

/* Price column */
#page-redesign table.shop_table.cart .product-price .amount {
  font-weight: 600;
  color: var(--color-text);
}

/* Subtotal column */
#page-redesign table.shop_table.cart .product-subtotal .amount {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.95rem;
}

/* Quantity in cart — use GP Premium styles */
#page-redesign table.shop_table.cart .product-quantity .quantity {
  display: inline-flex;
}

/* Actions row (coupon + update) */
#page-redesign table.shop_table.cart td.actions {
  padding: 20px 16px !important;
  border-bottom: none !important;
}

#page-redesign table.shop_table.cart .coupon {
  display: flex;
  align-items: center;
  gap: 8px;
}

#page-redesign table.shop_table.cart .coupon #coupon_code {
  border: 1px solid #ddd !important;
  border-radius: var(--radius-sm) !important;
  padding: 10px 14px !important;
  font-family: var(--font-family);
  font-size: 0.85rem;
  height: 44px;
  background: var(--color-white);
}

#page-redesign table.shop_table.cart .coupon .button {
  background: var(--color-secondary) !important;
  color: var(--color-white) !important;
  border: none !important;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 700;
  height: 44px;
  line-height: 27px;
  letter-spacing: normal;
  cursor: pointer;
  transition: background var(--transition);
}

#page-redesign table.shop_table.cart .coupon .button:hover {
  background: var(--color-primary) !important;
}

/* Update cart button */
#page-redesign table.shop_table.cart .actions > .button {
  background: transparent !important;
  color: var(--color-text-light) !important;
  border: 1px solid #ddd !important;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-family: var(--font-family);
  font-size: 0.82rem;
  font-weight: 600;
  height: 44px;
  line-height: 23px;
  letter-spacing: normal;
  cursor: pointer;
  transition: all var(--transition);
  float: right;
}

#page-redesign table.shop_table.cart .actions > .button:hover {
  border-color: var(--color-primary) !important;
  color: var(--color-primary) !important;
}

/* Update cart — prominent enabled state (after qty change) */
#page-redesign table.shop_table.cart .actions > .button:not(:disabled) {
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
  border-color: var(--color-primary) !important;
}

#page-redesign table.shop_table.cart .actions > .button:not(:disabled):hover {
  background: var(--color-secondary) !important;
  border-color: var(--color-secondary) !important;
}

/* ---- Cart totals ---- */
#page-redesign .cart-collaterals {
  margin-top: 32px;
}

#page-redesign .cart_totals {
  background: var(--color-gray);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 480px;
  margin-left: auto;
}

#page-redesign .cart_totals h2 {
  font-family: var(--font-family);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
  text-align: center;
}

#page-redesign .cart_totals table {
  border: none !important;
  font-family: var(--font-family);
}

#page-redesign .cart_totals table th,
#page-redesign .cart_totals table td {
  padding: 14px 16px !important;
  border: none !important;
  border-bottom: 1px solid #e8e8e8 !important;
  font-size: 0.9rem;
}

#page-redesign .cart_totals table th {
  font-weight: 700;
  color: var(--color-text);
  width: 35%;
}

#page-redesign .cart_totals table .order-total th,
#page-redesign .cart_totals table .order-total td {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--color-primary);
  border-bottom: none !important;
  padding-top: 20px !important;
}

#page-redesign .cart_totals .shipping-calculator-button {
  font-size: 0.82rem;
  color: var(--color-primary);
}

/* Checkout / cart proceed button */
#page-redesign .wc-proceed-to-checkout .checkout-button,
#page-redesign #place_order {
  background: #ff5722 !important;
  color: var(--color-white) !important;
  border: none !important;
  border-radius: 50px;
  padding: 0 40px !important;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  width: 100%;
  height: 56px !important;
  line-height: 56px !important;
  text-align: center;
  display: block;
  transition: background var(--transition), transform var(--transition);
  letter-spacing: 0.02em;
}

#page-redesign .wc-proceed-to-checkout .checkout-button:hover,
#page-redesign #place_order:hover {
  background: #e54412 !important;
  transform: translateY(-1px);
}

/* Save for later */
#page-redesign .save-basket-checkout {
  text-align: center;
  margin-top: 12px;
}

#page-redesign .save-basket-checkout a {
  color: var(--color-text-light);
  font-size: 0.85rem;
  font-family: var(--font-family);
  transition: color var(--transition);
}

#page-redesign .save-basket-checkout a:hover {
  color: var(--color-primary);
}

/* Checkout footer (testimonials + USPs) */
#page-redesign .check-out-footer {
  margin-top: 48px;
}

/* Cross-sells section */
#page-redesign .cross-sells {
  margin-top: 40px;
}

#page-redesign .cross-sells > h2 {
  font-family: var(--font-family);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
}

/* ========================================
   CHECKOUT PAGE
   ======================================== */

/* Page container — checkout uses page-body for containment, font-family only here */
.woocommerce-checkout #page-redesign .site-main {
  font-family: var(--font-family);
}

/* Two-column layout: billing/shipping left, order review right */
.woocommerce-checkout #page-redesign #customer_details {
  float: left;
  width: 58%;
  padding-right: 32px;
}

/* Stack billing & shipping vertically inside the left column */
.woocommerce-checkout #page-redesign #customer_details .col-1,
.woocommerce-checkout #page-redesign #customer_details .col-2 {
  float: none;
  width: 100%;
}

.woocommerce-checkout #page-redesign #order_review_heading,
.woocommerce-checkout #page-redesign #order_review {
  float: right;
  width: 42%;
}

/* Order review sticky on scroll */
.woocommerce-checkout #page-redesign #order_review {
  position: sticky;
  top: 24px;
  background: var(--color-gray);
  border-radius: var(--radius);
  padding: 24px;
}

/* Clear floats so testimonials sit below both columns */
.woocommerce-checkout #page-redesign .porque,
.woocommerce-cart #page-redesign .porque {
  clear: both;
}

@media screen and (max-width: 768px) {
  .woocommerce-checkout #page-redesign #customer_details,
  .woocommerce-checkout #page-redesign #order_review_heading,
  .woocommerce-checkout #page-redesign #order_review {
    float: none;
    width: 100%;
    padding-right: 0;
  }

  .woocommerce-checkout #page-redesign #order_review {
    position: static;
  }
}

/* Form fields */
.woocommerce-checkout #page-redesign .form-row label {
  font-family: var(--font-family);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}

.woocommerce-checkout #page-redesign .form-row input.input-text,
.woocommerce-checkout #page-redesign .form-row textarea,
.woocommerce-checkout #page-redesign .form-row select,
.woocommerce-checkout #page-redesign .select2-container .select2-selection {
  font-family: var(--font-family);
  font-size: 0.9rem;
  border: 1px solid #ddd !important;
  border-radius: var(--radius-sm) !important;
  padding: 10px 14px !important;
  background: var(--color-white);
  transition: border-color var(--transition);
  height: 46px;
  line-height: 1.4;
  box-sizing: border-box;
  width: 100%;
}

.woocommerce-checkout #page-redesign .form-row textarea {
  height: auto;
  min-height: 80px;
}

.woocommerce-checkout #page-redesign .form-row select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px !important;
}

.woocommerce-checkout #page-redesign .select2-container .select2-selection {
  display: flex;
  align-items: center;
}

.woocommerce-checkout #page-redesign .select2-container .select2-selection__rendered {
  padding: 0 !important;
  line-height: 1.4 !important;
  font-family: var(--font-family);
  font-size: 0.9rem;
  color: var(--color-text);
}

.woocommerce-checkout #page-redesign .select2-container .select2-selection__arrow {
  height: 100% !important;
  right: 8px !important;
}

.woocommerce-checkout #page-redesign .form-row input.input-text:focus,
.woocommerce-checkout #page-redesign .form-row textarea:focus,
.woocommerce-checkout #page-redesign .form-row select:focus {
  border-color: var(--color-primary) !important;
  outline: none;
}

/* Section headings */
.woocommerce-checkout #page-redesign h3 {
  font-family: var(--font-family);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-secondary);
}

/* Shipping toggle — reset to inline checkbox style */
.woocommerce-checkout #page-redesign .woocommerce-shipping-fields h3 {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text);
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 12px;
  margin-top: 16px;
}

/* Order review table */

.woocommerce-checkout #page-redesign .woocommerce-checkout-review-order-table {
  font-family: var(--font-family);
  border: none !important;
}

.woocommerce-checkout #page-redesign .woocommerce-checkout-review-order-table th,
.woocommerce-checkout #page-redesign .woocommerce-checkout-review-order-table td {
  padding: 12px 16px !important;
  border: none !important;
  border-bottom: 1px solid #eee !important;
  font-size: 0.9rem;
}

.woocommerce-checkout #page-redesign .woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout #page-redesign .woocommerce-checkout-review-order-table .order-total td {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--color-primary);
  border-bottom: none !important;
  vertical-align: top;
}

.woocommerce-checkout #page-redesign .woocommerce-checkout-review-order-table .order-total .includes_tax {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--color-text-light);
  margin-top: 2px;
}

/* Payment methods — nested inside sticky order review */
.woocommerce-checkout #page-redesign #payment {
  background: var(--color-white) !important;
  border-radius: var(--radius-sm) !important;
  padding: 20px !important;
  border: 1px solid #eee !important;
  margin-top: 16px;
}

.woocommerce-checkout #page-redesign #payment ul.payment_methods {
  border: none !important;
  padding: 0 !important;
  list-style: none;
  margin: 0;
}

.woocommerce-checkout #page-redesign #payment ul.payment_methods li {
  border-bottom: 1px solid #eee;
  padding: 14px 0;
  margin: 0;
}

.woocommerce-checkout #page-redesign #payment ul.payment_methods li:last-child {
  border-bottom: none;
}

.woocommerce-checkout #page-redesign #payment ul.payment_methods li label {
  font-family: var(--font-family);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Gateway icon next to label */
.woocommerce-checkout #page-redesign #payment ul.payment_methods li label img {
  display: inline-block;
  max-height: 24px;
  width: auto;
  vertical-align: middle;
}

/* "¿Qué es PayPal?" link */
.woocommerce-checkout #page-redesign #payment ul.payment_methods li a.about_paypal {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 4px;
  margin-left: 26px;
}

.woocommerce-checkout #page-redesign #payment .payment_box {
  background: var(--color-gray) !important;
  border-radius: var(--radius-sm);
  padding: 14px !important;
  margin: 10px 0 0;
  font-family: var(--font-family);
  font-size: 0.85rem;
  color: var(--color-text-light);
  border: none !important;
}

.woocommerce-checkout #page-redesign #payment .payment_box::before {
  display: none;
}

/* Stripe card form fields */
.woocommerce-checkout #page-redesign #payment .payment_box fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.woocommerce-checkout #page-redesign #payment .payment_box .wc-stripe-elements-field,
.woocommerce-checkout #page-redesign #payment .payment_box .wc-stripe-iban-element-field {
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: var(--color-white);
}

/* Place order area */
.woocommerce-checkout #page-redesign #payment .place-order {
  padding: 16px 0 0 !important;
  margin: 0 !important;
}

.woocommerce-checkout #page-redesign .woocommerce-terms-and-conditions-wrapper .form-row {
  display: flex;
  align-items: baseline;
  gap: 0;
  padding: 0 !important;
  margin: 0 !important;
}

/* Standardise all checkout checkboxes and radios */
.woocommerce-checkout #page-redesign #payment input[type="checkbox"],
.woocommerce-checkout #page-redesign #payment input[type="radio"],
.woocommerce-checkout #page-redesign .woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0 8px 2px 0;
  accent-color: var(--color-primary);
  cursor: pointer;
  vertical-align: middle;
}

/* Stripe save-card label */
.woocommerce-checkout #page-redesign #payment .payment_box label,
.woocommerce-checkout #page-redesign #payment .payment_box p {
  font-size: 0.82rem !important;
  font-weight: 400 !important;
  font-family: var(--font-family);
  color: var(--color-text);
  line-height: 1.4;
}

.woocommerce-checkout #page-redesign .woocommerce-terms-and-conditions-checkbox-text {
  font-family: var(--font-family);
  font-size: 0.82rem;
  color: var(--color-text);
  line-height: 1.4;
}

.woocommerce-checkout #page-redesign .woocommerce-terms-and-conditions-checkbox-text a {
  color: var(--color-primary);
  text-decoration: underline;
}

.woocommerce-checkout #page-redesign .woocommerce-terms-and-conditions-wrapper {
  margin-bottom: 16px !important;
}

/* ========================================
   THANK YOU / ORDER RECEIVED PAGE
   ======================================== */

/* Container font */
#page-redesign .ebv-thankyou {
  font-family: var(--font-family);
}

/* Success / error alert banners */
#page-redesign .ebv-thankyou__alert {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 28px;
}

#page-redesign .ebv-thankyou__alert svg {
  flex-shrink: 0;
}

#page-redesign .ebv-thankyou__alert--success {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  color: var(--color-primary);
}

#page-redesign .ebv-thankyou__alert--success strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 2px;
}

#page-redesign .ebv-thankyou__alert--success span {
  color: var(--color-text);
  font-size: 0.9rem;
}

#page-redesign .ebv-thankyou__alert--error {
  background: #fce4ec;
  color: #c62828;
}

/* Failed order action buttons */
#page-redesign .ebv-thankyou__actions {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

#page-redesign .ebv-thankyou__btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-family);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all var(--transition);
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

#page-redesign .ebv-thankyou__btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

#page-redesign .ebv-thankyou__btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

#page-redesign .ebv-thankyou__btn--primary:hover {
  background: #013d33;
}

/* Order overview card row */
#page-redesign .ebv-thankyou__overview {
  display: flex;
  flex-wrap: wrap;
  background: var(--color-gray);
  border-radius: var(--radius);
  padding: 24px;
  gap: 0;
  margin-bottom: 32px;
}

#page-redesign .ebv-thankyou__overview-item {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 20px;
  border-right: 1px solid #e0e0e0;
}

#page-redesign .ebv-thankyou__overview-item:first-child {
  padding-left: 0;
}

#page-redesign .ebv-thankyou__overview-item:last-child {
  border-right: none;
  padding-right: 0;
}

#page-redesign .ebv-thankyou__overview-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-light);
}

#page-redesign .ebv-thankyou__overview-value {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-text);
  word-break: break-word;
}

#page-redesign .ebv-thankyou__overview-value--total {
  color: var(--color-primary);
  font-size: 1.1rem;
}

/* Bank transfer details (output by WC bacs gateway) */
#page-redesign .ebv-thankyou .woocommerce-bacs-bank-details {
  background: var(--color-gray);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
}

#page-redesign .ebv-thankyou .wc-bacs-bank-details-heading {
  font-family: var(--font-family);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

#page-redesign .ebv-thankyou .woocommerce-bacs-bank-details p {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 16px;
}

#page-redesign .ebv-thankyou .wc-bacs-bank-details-account-name {
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-secondary);
}

#page-redesign .ebv-thankyou .wc-bacs-bank-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

#page-redesign .ebv-thankyou .wc-bacs-bank-details li {
  display: inline-flex;
  gap: 6px;
  padding: 8px 20px 8px 0;
  border-right: 1px solid #e0e0e0;
  margin-right: 20px;
  font-size: 0.88rem;
  color: var(--color-text);
}

#page-redesign .ebv-thankyou .wc-bacs-bank-details li:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

#page-redesign .ebv-thankyou .wc-bacs-bank-details .wc-bacs-bank-details-label {
  font-weight: 400;
  color: var(--color-text-light);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

#page-redesign .ebv-thankyou .wc-bacs-bank-details .wc-bacs-bank-details-value {
  font-weight: 700;
}

/* Order details table */
#page-redesign .ebv-thankyou .woocommerce-order-details {
  margin-bottom: 32px;
}

#page-redesign .ebv-thankyou .woocommerce-order-details__title {
  font-family: var(--font-family);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-secondary);
}

#page-redesign .ebv-thankyou .woocommerce-table--order-details {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-family);
  border: none !important;
}

#page-redesign .ebv-thankyou .woocommerce-table--order-details thead th {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--color-gray);
  padding: 12px 16px !important;
  border: none !important;
}

#page-redesign .ebv-thankyou .woocommerce-table--order-details td {
  padding: 14px 16px !important;
  border: none !important;
  border-bottom: 1px solid #f0f0f0 !important;
  font-size: 0.9rem;
  color: var(--color-text);
}

#page-redesign .ebv-thankyou .woocommerce-table--order-details tfoot th {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  padding: 12px 16px !important;
  border: none !important;
  border-bottom: 1px solid #f0f0f0 !important;
  text-align: left;
}

#page-redesign .ebv-thankyou .woocommerce-table--order-details tfoot td {
  font-weight: 600;
}

#page-redesign .ebv-thankyou .woocommerce-table--order-details tfoot tr:last-child th,
#page-redesign .ebv-thankyou .woocommerce-table--order-details tfoot tr:last-child td {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--color-primary);
  border-bottom: none !important;
  padding-top: 18px !important;
}

/* Billing / shipping address columns */
#page-redesign .ebv-thankyou .woocommerce-columns--addresses {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

#page-redesign .ebv-thankyou .woocommerce-columns--addresses::before,
#page-redesign .ebv-thankyou .woocommerce-columns--addresses::after {
  display: none;
}

#page-redesign .ebv-thankyou .woocommerce-columns--addresses .woocommerce-column,
#page-redesign .ebv-thankyou .col2-set .col-1,
#page-redesign .ebv-thankyou .col2-set .col-2 {
  flex: 1;
  min-width: 0;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

#page-redesign .ebv-thankyou .woocommerce-column__title {
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-secondary);
}

#page-redesign .ebv-thankyou .woocommerce-columns--addresses address {
  background: var(--color-gray);
  border-radius: var(--radius);
  padding: 20px;
  min-height: 200px;
  font-style: normal;
  font-family: var(--font-family);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text);
}

#page-redesign .ebv-thankyou .woocommerce-columns--addresses address p {
  margin: 0;
}

/* ========================================
   MY ACCOUNT PAGE
   ======================================== */

/* Page container — my-account uses page-body for containment, font-family only here */
.woocommerce-account #page-redesign .site-main {
  font-family: var(--font-family);
}

/* Page title */
.woocommerce-account #page-redesign .entry-title {
  font-family: var(--font-family);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
}

/* Dashboard navigation */
.woocommerce-account #page-redesign .woocommerce-MyAccount-navigation {
  background: var(--color-gray);
  border-radius: var(--radius);
  padding: 20px;
}

.woocommerce-account #page-redesign .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-account #page-redesign .woocommerce-MyAccount-navigation ul li {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.woocommerce-account #page-redesign .woocommerce-MyAccount-navigation ul li:last-child {
  border-bottom: none;
}

.woocommerce-account #page-redesign .woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 10px 0;
  font-family: var(--font-family);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition);
}

.woocommerce-account #page-redesign .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account #page-redesign .woocommerce-MyAccount-navigation ul li a:hover {
  color: var(--color-primary);
  font-weight: 700;
}

/* Dashboard content */
.woocommerce-account #page-redesign .woocommerce-MyAccount-content {
  font-family: var(--font-family);
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.7;
}

.woocommerce-account #page-redesign .woocommerce-MyAccount-content p a {
  color: var(--color-primary);
  font-weight: 600;
}

/* Login / Register form (logged-out view) */
.woocommerce-account #page-redesign #customer_login {
  display: flex;
  gap: 48px;
}

.woocommerce-account #page-redesign #customer_login .u-column1,
.woocommerce-account #page-redesign #customer_login .u-column2 {
  flex: 1;
  width: auto;
  float: none;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Push login/register buttons to same baseline */
.woocommerce-account #page-redesign #customer_login .woocommerce-form-login,
.woocommerce-account #page-redesign #customer_login .woocommerce-form-register {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.woocommerce-account #page-redesign #customer_login .woocommerce-form-login .form-row:last-of-type,
.woocommerce-account #page-redesign #customer_login .woocommerce-form-register .form-row:last-of-type {
  margin-top: auto;
}

.woocommerce-account #page-redesign #customer_login h2 {
  font-family: var(--font-family);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-secondary);
}

.woocommerce-account #page-redesign #customer_login .form-row label {
  font-family: var(--font-family);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
}

.woocommerce-account #page-redesign #customer_login .form-row input.input-text {
  font-family: var(--font-family);
  font-size: 0.9rem;
  border: 1px solid #ddd !important;
  border-radius: var(--radius-sm) !important;
  padding: 10px 14px !important;
  width: 100%;
}

.woocommerce-account #page-redesign #customer_login .form-row input.input-text:focus {
  border-color: var(--color-primary) !important;
  outline: none;
}

/* Orders table */
.woocommerce-account #page-redesign .woocommerce-orders-table {
  font-family: var(--font-family);
  border: none !important;
}

.woocommerce-account #page-redesign .woocommerce-orders-table th {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--color-gray);
  padding: 12px 16px !important;
  border: none !important;
}

.woocommerce-account #page-redesign .woocommerce-orders-table td {
  padding: 14px 16px !important;
  border: none !important;
  border-bottom: 1px solid #f0f0f0 !important;
  font-size: 0.9rem;
}

.woocommerce-account #page-redesign .woocommerce-orders-table .button {
  padding: 0 16px !important;
  height: 36px !important;
  line-height: 36px !important;
  font-size: 0.82rem !important;
}

/* Addresses */
.woocommerce-account #page-redesign .woocommerce-Addresses .woocommerce-Address {
  background: var(--color-gray);
  border-radius: var(--radius);
  padding: 20px;
}

.woocommerce-account #page-redesign .woocommerce-Addresses .woocommerce-Address-title h3 {
  border-bottom: none;
}

/* Account forms (edit account, edit address) */
.woocommerce-account #page-redesign .woocommerce-EditAccountForm label,
.woocommerce-account #page-redesign .woocommerce-address-fields label {
  font-family: var(--font-family);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
}

.woocommerce-account #page-redesign .woocommerce-EditAccountForm input.input-text,
.woocommerce-account #page-redesign .woocommerce-address-fields input.input-text {
  font-family: var(--font-family);
  border: 1px solid #ddd !important;
  border-radius: var(--radius-sm) !important;
  padding: 10px 14px !important;
}

/* Lost password link */
.woocommerce-account #page-redesign .woocommerce-LostPassword a {
  font-family: var(--font-family);
  font-size: 0.85rem;
  color: var(--color-secondary);
}

/* Probance optin checkbox */
#page-redesign #probance_optin_cb_wrapper {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--font-family);
  font-size: 0.85rem;
  color: var(--color-text);
  margin: 12px 0;
}

#page-redesign #probance_optin_cb_wrapper input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 3px;
}

#page-redesign #probance_optin_cb_wrapper span {
  flex: 1;
  line-height: 1.4;
}

/* Cart/checkout footer now reuses .porque__* styles from the homepage */

/* ========================================
   STANDARD CONTENT PAGES
   (legal, about, editorial, contact, etc.)
   Uses the .page-body > .container structure from page.php.
   Narrow the container to 820px for readability.
   ======================================== */
.ebv-content-page #page-redesign .page-body > .container {
  max-width: 820px;
}

/* Page title */
.ebv-content-page #page-redesign .entry-header .entry-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 28px;
}

/* Body typography — mirrors guide-article styles */
.ebv-content-page #page-redesign .entry-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-secondary-light);
}

.ebv-content-page #page-redesign .entry-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 24px 0 8px;
}

.ebv-content-page #page-redesign .entry-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 20px 0 8px;
}

.ebv-content-page #page-redesign .entry-content p {
  margin-bottom: 16px;
  line-height: 1.75;
  color: var(--color-text);
}

.ebv-content-page #page-redesign .entry-content ul,
.ebv-content-page #page-redesign .entry-content ol {
  padding-left: 22px;
  margin-bottom: 16px;
}

.ebv-content-page #page-redesign .entry-content li {
  margin-bottom: 6px;
  line-height: 1.7;
  color: var(--color-text);
}

.ebv-content-page #page-redesign .entry-content a {
  color: var(--color-primary);
  text-decoration: underline;
}

.ebv-content-page #page-redesign .entry-content a:hover {
  color: var(--color-secondary);
}

.ebv-content-page #page-redesign .entry-content strong {
  font-weight: 700;
  color: var(--color-primary);
}

.ebv-content-page #page-redesign .entry-content img {
  border-radius: var(--radius-sm);
  margin: 16px 0;
}

.ebv-content-page #page-redesign .entry-content blockquote {
  border-left: 4px solid var(--color-secondary);
  margin: 24px 0;
  padding: 16px 20px;
  background: var(--color-gray);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--color-text-light);
}

.ebv-content-page #page-redesign .entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
}

.ebv-content-page #page-redesign .entry-content th {
  background: var(--color-gray);
  font-weight: 700;
  color: var(--color-primary);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--color-secondary-light);
}

.ebv-content-page #page-redesign .entry-content td {
  padding: 10px 16px;
  border-bottom: 1px solid #eee;
}

/* ========================================
   RESPONSIVE — TABLET (<=1023px)
   ======================================== */
@media (max-width: 1023px) {
  #page-redesign .header__search {
    max-width: 320px;
  }

  #page-redesign .header__logo img {
    width: 160px;
  }

  #page-redesign .ofertas__inner {
    flex-direction: column;
  }

  #page-redesign .ofertas__badge {
    flex: none;
    width: 100%;
    min-height: 120px;
  }

  #page-redesign .ofertas__badge-content {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  #page-redesign .trends__inner {
    flex-direction: column;
  }

  #page-redesign .trends__badge {
    flex: none;
    min-height: 120px;
  }

  #page-redesign .trends__badge-content {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  #page-redesign .trends__page {
    grid-template-columns: repeat(3, 1fr);
  }

  #page-redesign .marcas__header {
    position: static;
  }

  #page-redesign .marcas__nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: auto;
    width: 100%;
    transform: translateY(-50%);
    justify-content: space-between;
    pointer-events: none;
  }

  #page-redesign .marcas__nav .arrow-btn {
    pointer-events: auto;
    transform: translateX(-30%);
  }

  #page-redesign .marcas__nav .arrow-btn:last-child {
    transform: translateX(30%);
  }

  #page-redesign .marcas__nav .arrow-btn img {
    width: 46px;
    height: 46px;
  }

  #page-redesign .marcas__track {
    justify-content: start;
    gap: 20px;
  }

  #page-redesign .marcas__item {
    flex: 0 0 calc(33.333% - 14px);
  }

  #page-redesign .porque__grid {
    grid-template-columns: 20% 1fr 1fr 20%;
    gap: 16px;
  }

  #page-redesign .porque__col {
    font-size: 0.78rem;
  }

  #page-redesign .guias__inner {
    flex-direction: column;
  }

  #page-redesign .guias__badge {
    flex: none;
    min-height: 120px;
  }

  #page-redesign .guias__badge-content {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  /* Product page tablet — related products 3 columns */
  #page-redesign section.related.products .guide-products {
    grid-template-columns: repeat(3, 1fr);
  }

  #page-redesign section.related.products ul.products {
    grid-template-columns: repeat(3, 1fr);
  }

}

/* Tab labels — hide short on desktop, swap on mobile */
#page-redesign .ebv-tab-short {
  display: none;
}

@media (max-width: 767px) {
  #page-redesign .ebv-tab-full  { display: none; }
  #page-redesign .ebv-tab-short { display: inline; }
}

/* ========================================
   RESPONSIVE — MOBILE (<=767px)
   ======================================== */
@media (max-width: 767px) {
  /* Top bar: only first item (Envio Gratis) */
  #page-redesign .top-bar__rating,
  #page-redesign .top-bar__item:last-child {
    display: none;
  }

  #page-redesign .top-bar__inner {
    justify-content: center;
  }

  /* Header: logo left, perfil + carrito right (no favoritos) */
  #page-redesign .header__inner {
    gap: 12px;
  }

  #page-redesign .header__logo img {
    width: 140px;
  }

  #page-redesign .header__actions {
    margin-left: auto;
  }

  #page-redesign .header__action--favoritos {
    display: none;
  }

  #page-redesign .header__action--cart {
    position: relative;
  }

  #page-redesign .header__action--cart .header__cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
  }

  /* Search bar moves into category-nav row */
  #page-redesign .header__search {
    display: none;
  }

  #page-redesign .header__hamburger {
    display: none;
  }

  /* Category nav: hide links, show hamburger + search */
  #page-redesign .category-nav__hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 20px 10px 4px;
  }

  #page-redesign .category-nav__hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
  }

  #page-redesign .category-nav__link {
    display: none;
  }

  #page-redesign .category-nav__inner {
    justify-content: flex-start;
    gap: 8px;
  }

  #page-redesign .category-nav .header__search--mobile {
    display: flex;
    flex: 1;
    max-width: none;
    padding: 8px 16px;
    margin: 6px 0;
  }

  /* Overlay — display:block overrides base display:none; visibility handles hiding */
  #page-redesign .category-nav__overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  #page-redesign .category-nav__overlay--open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Drawer — display:flex overrides base display:contents; visibility+transform handle hiding */
  #page-redesign .category-nav__drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 75%;
    max-width: 340px;
    background: var(--color-secondary);
    z-index: 1000;
    visibility: hidden;
    transform: translateX(-100%);
    transition: transform 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  #page-redesign .category-nav__drawer--open {
    visibility: visible;
    transform: translateX(0);
  }

  #page-redesign .category-nav__drawer--open .category-nav__drawer-header {
    display: flex;
    justify-content: flex-end;
    padding: 12px 16px;
  }

  #page-redesign .category-nav__close {
    color: var(--color-white);
    font-size: 2rem;
    line-height: 1;
    padding: 4px 8px;
    opacity: 0.7;
    transition: opacity var(--transition);
  }

  #page-redesign .category-nav__close:hover {
    opacity: 1;
  }

  /* Links inside open drawer */
  #page-redesign .category-nav__drawer--open .category-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  #page-redesign .category-nav__link[data-megamenu-trigger]::after {
    content: '\25BE';
    font-size: 1.2rem;
    opacity: 0.8;
    transition: transform 0.3s ease;
  }

  #page-redesign .category-nav__link--active[data-megamenu-trigger]::after {
    transform: rotate(180deg);
  }

  /* Megamenu as accordion inside drawer */
  #page-redesign .megamenu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    background: var(--color-primary);
  }

  #page-redesign .megamenu__inner {
    padding: 8px 0;
  }

  #page-redesign .megamenu__grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  #page-redesign .megamenu__col {
    width: 100%;
  }

  #page-redesign .megamenu__group {
    padding: 8px 24px;
  }

  #page-redesign .megamenu__group-title {
    color: var(--color-white);
    font-size: 0.9rem;
    padding-bottom: 6px;
    margin-bottom: 6px;
    border-left: none;
    padding-left: 0;
    border-bottom: 2px solid var(--color-secondary);
  }

  #page-redesign .megamenu__link {
    color: rgba(255, 255, 255, 0.8);
    padding: 6px 0;
  }

  #page-redesign .megamenu__link:hover {
    color: var(--color-white);
    font-weight: 400;
  }

  /* My Account login — stack columns on mobile */
  .woocommerce-account #page-redesign #customer_login {
    flex-direction: column;
    gap: 24px;
  }

  /* Thank-you page mobile */
  #page-redesign .ebv-thankyou__alert {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }

  #page-redesign .ebv-thankyou__overview {
    flex-direction: column;
    gap: 0;
    padding: 16px;
  }

  #page-redesign .ebv-thankyou__overview-item {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 0;
  }

  #page-redesign .ebv-thankyou__overview-item:first-child {
    padding-top: 0;
  }

  #page-redesign .ebv-thankyou__overview-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  #page-redesign .ebv-thankyou .wc-bacs-bank-details li {
    display: flex;
    flex-direction: column;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    margin-right: 0;
    padding: 8px 0;
  }

  #page-redesign .ebv-thankyou .wc-bacs-bank-details li:last-child {
    border-bottom: none;
  }

  #page-redesign .ebv-thankyou .woocommerce-columns--addresses {
    flex-direction: column;
    gap: 16px;
  }

  /* CS help link mobile — hide label */
  #page-redesign .page-hero a.header-cs-links .header-help-text {
    display: none;
  }

  /* Alert message mobile */
  #page-redesign .woocommerce-message,
  #page-redesign .woocommerce-info {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    font-size: 0.85rem;
    padding: 12px 16px !important;
  }

  #page-redesign .header-cs-links-wrapper .header-cs-links-open {
    flex-direction: column;
    gap: 12px;
  }

  #page-redesign .header-cs-links-wrapper .header-cs-links-open div {
    flex-direction: row;
    text-align: left;
    width: 100%;
  }

  /* Ofertas mobile */
  #page-redesign .ofertas {
    padding: 16px 0;
  }

  #page-redesign .ofertas__badge-bg,
  #page-redesign .trends__badge-bg,
  #page-redesign .porque__badge-bg {
    object-position: center top;
  }

  #page-redesign .ofertas__badge {
    min-height: auto;
  }

  #page-redesign .ofertas__badge-content {
    flex-direction: row;
    padding: 14px 24px;
  }

  #page-redesign .ofertas__badge-title {
    font-size: 1.2rem;
  }

  #page-redesign .ofertas__inner {
    gap: 12px;
  }

  #page-redesign .ofertas__slider {
    overflow: visible;
  }

  #page-redesign .ofertas__nav {
    top: 50%;
    right: auto;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    justify-content: space-between;
    pointer-events: none;
  }

  #page-redesign .ofertas__nav .arrow-btn {
    pointer-events: auto;
    transform: translateX(-30%);
  }

  #page-redesign .ofertas__nav .arrow-btn:last-child {
    transform: translateX(30%);
  }

  #page-redesign .ofertas__nav .arrow-btn img {
    width: 36px;
    height: 36px;
  }

  #page-redesign .ofertas__tabs {
    display: none;
  }

  #page-redesign .ofertas__track {
    min-height: 300px;
  }

  #page-redesign .categorias {
    padding: 16px 0;
  }

  #page-redesign .trends {
    padding: 16px 0;
  }

  /* Trends mobile */
  #page-redesign .trends__badge {
    min-height: auto;
  }

  #page-redesign .trends__badge-content {
    flex-direction: row;
    padding: 14px 24px;
  }

  #page-redesign .trends__badge-title {
    font-size: 1.2rem;
  }

  #page-redesign .trends__header {
    display: none;
  }

  /* Trends mobile — stack groups vertically */
  #page-redesign .trends__track {
    flex-direction: column;
    overflow-x: visible;
    transform: none !important;
    transition: none !important;
    gap: 24px;
    padding: 0;
  }

  /* Trends mobile nav — pill + arrows before each group */
  #page-redesign .trends__mobile-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
  }

  #page-redesign .trends__mobile-nav .arrow-btn img {
    width: 46px;
    height: 46px;
  }

  #page-redesign .trends__mobile-pill {
    flex: 1;
    text-align: center;
    background: var(--color-secondary);
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: var(--radius);
  }

  /* Trends mobile — each group is a horizontal scroll carousel */
  #page-redesign .trends__group {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 0 8px 4px;
    transform: none !important;
    transition: none !important;
  }

  #page-redesign .trends__group::-webkit-scrollbar {
    display: none;
  }

  /* Trends mobile — pages flow into group's horizontal scroll */
  #page-redesign .trends__page {
    display: contents;
  }

  #page-redesign .trends__group .product-card {
    flex: 0 0 46vw;
    scroll-snap-align: center;
    position: relative;
    overflow: visible;
    margin-bottom: 62px;
    border: 1px solid #ececec;
    border-radius: var(--radius);
  }

  #page-redesign .trends .product-card__info {
    border-radius: 0 0 var(--radius) var(--radius);
  }

  /* Trends mobile — stack footer vertically, hide desc */
  #page-redesign .trends .product-card__desc {
    display: none;
  }

  #page-redesign .trends .product-card__name {
    font-size: 1rem;
  }

  #page-redesign .trends .product-card__price {
    font-size: 1.3rem;
  }

  #page-redesign .trends .product-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  #page-redesign .trends .product-card__footer > div {
    display: flex;
    flex-direction: column;
  }

  /* Trends mobile — AÑADIR dark green pill outside card */
  #page-redesign .trends .product-card__cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 14px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
  }

  #page-redesign .trends .product-card__cart img {
    filter: brightness(0) invert(1);
  }

  #page-redesign .trends .product-card__cart-text {
    display: inline;
  }

  /* Categorias mobile */
  #page-redesign .categorias__card {
    padding: 24px 16px;
  }

  #page-redesign .categorias__grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  #page-redesign .categorias__item {
    flex: 0 0 calc(33.333% - 16px);
  }

  #page-redesign .categorias__circle {
    width: 80px;
    height: 80px;
  }

  /* Marcas mobile */
  #page-redesign .marcas {
    padding: 16px 0;
  }

  #page-redesign .marcas__card {
    padding: 24px 16px;
  }

  #page-redesign .marcas__track {
    gap: 16px 12px;
  }

  #page-redesign .marcas__item {
    flex: 0 0 calc(33.333% - 8px);
  }

  #page-redesign .marcas__circle {
    width: 80px;
    height: 80px;
  }

  #page-redesign .porque {
    padding: 32px 0;
  }

  #page-redesign .porque__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #page-redesign .porque__badge-content {
    flex-direction: row;
    padding: 14px 24px;
  }

  #page-redesign .porque__badge-title {
    font-size: 1.2rem;
  }

  #page-redesign .porque__photo {
    max-height: none;
  }

  #page-redesign .porque__photo img {
    height: auto;
    object-fit: contain;
  }

  #page-redesign .porque__reviews {
    grid-template-columns: 1fr;
  }

  /* Guias mobile */
  #page-redesign .guias {
    padding: 16px 0;
  }

  #page-redesign .guias__inner {
    flex-direction: column;
    gap: 12px;
  }

  #page-redesign .guias__badge {
    flex: none;
    min-height: auto;
  }

  #page-redesign .guias__badge-bg {
    object-position: center top;
  }

  #page-redesign .guias__badge-content {
    flex-direction: row;
    padding: 14px 24px;
  }

  #page-redesign .guias__badge-title {
    font-size: 1.2rem;
  }

  #page-redesign .guias__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 0;
  }

  #page-redesign .guias__track::-webkit-scrollbar {
    display: none;
  }

  #page-redesign .guias__card {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }

  #page-redesign .guias__nav {
    display: flex;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    justify-content: space-between;
    pointer-events: none;
    z-index: 2;
  }

  #page-redesign .guias__nav .arrow-btn {
    pointer-events: auto;
    transform: translateX(-30%);
  }

  #page-redesign .guias__nav .arrow-btn:last-child {
    transform: translateX(30%);
  }

  #page-redesign .guias__nav .arrow-btn img {
    width: 36px;
    height: 36px;
  }

  /* Newsletter mobile */
  #page-redesign .newsletter {
    padding: 16px 0;
  }

  #page-redesign .newsletter__inner {
    flex-direction: column;
    gap: 20px;
    padding: 24px 20px;
    text-align: center;
  }

  #page-redesign .newsletter__text {
    font-size: 1.3rem;
  }

  #page-redesign .newsletter__form {
    min-width: 0;
    width: 100%;
  }

  /* Guide products grid — collapse to 2 columns on mobile */
  #page-redesign .guide-products {
    --guide-cols: 2;
  }

  /* Product page mobile — stack image + summary vertically */
  #page-redesign .woocommerce div.product div.images,
  #page-redesign .woocommerce div.product div.summary {
    float: none;
    width: 100%;
    padding-left: 0;
  }

  #page-redesign .woocommerce div.product div.images {
    margin-bottom: 24px;
  }

  #page-redesign .woocommerce div.product div.images img {
    max-height: 360px;
  }

  #page-redesign .woocommerce div.product {
    padding: 20px 12px 32px;
  }

  #page-redesign .woocommerce div.product .product_title {
    font-size: 1.3rem;
  }

  /* Add-to-cart button — stay on one line with quantity on mobile */
  #page-redesign .woocommerce div.product form.cart {
    gap: 10px;
  }

  #page-redesign button.single_add_to_cart_button {
    flex: 1;
    margin-left: 0 !important;
    padding: 0 20px !important;
    font-size: 0.88rem !important;
  }

  /* Tabs mobile */
  #page-redesign .woocommerce div.product .woocommerce-tabs {
    margin-top: 32px;
  }

  #page-redesign .woocommerce div.product .woocommerce-tabs ul.tabs {
    flex-direction: column !important;
    border-bottom: none !important;
    gap: 0 !important;
  }

  #page-redesign .woocommerce div.product .woocommerce-tabs ul.tabs li a {
    padding: 14px 16px !important;
    font-size: 0.9rem !important;
    border-bottom: 1px solid #eee !important;
  }

  #page-redesign .woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    border-bottom: 1px solid var(--color-secondary) !important;
    border-left: 3px solid var(--color-secondary) !important;
  }

  /* Tab panels mobile */
  #page-redesign .woocommerce div.product .woocommerce-tabs .panel {
    padding: 20px 16px !important;
  }

  /* Reviews summary mobile — stack vertically */
  #page-redesign #reviews .ebv-review-summary {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px !important;
  }

  #page-redesign #reviews .ebv-review-summary .trustmark {
    margin-left: 0;
  }

  #page-redesign #reviews .ebv-review-summary .trustmark img {
    max-width: 100px;
    margin: 0 auto;
  }

  /* Review cards mobile — stack content */
  #page-redesign #reviews #comments ol.commentlist li.ebv-product-review {
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px !important;
  }

  /* Product page — tighter padding on mobile */
  #page-redesign div.product {
    padding: 16px 10px 32px;
  }

  /* Related products mobile — 2 columns */
  #page-redesign section.related.products .guide-products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  #page-redesign section.related.products {
    padding: 32px 12px 24px;
  }

  #page-redesign .woocommerce-products-header__title {
    font-size: 1.4rem;
  }

  #page-redesign .ebv-taxonomy-main-col .guide-products {
    --guide-cols: 2 !important;
  }

  #page-redesign .woocommerce-pagination ul.page-numbers li a,
  #page-redesign .woocommerce-pagination ul.page-numbers li span {
    min-width: 36px;
    height: 36px;
    font-size: 0.82rem;
  }

  /* Standard content pages mobile */
  .ebv-content-page #page-redesign .entry-header .entry-title {
    font-size: 1.5rem;
  }

  .ebv-content-page #page-redesign .entry-content h2 {
    font-size: 1.25rem;
    margin: 28px 0 10px;
  }

  /* Guide article mobile */
  #page-redesign .guide-article__title {
    font-size: 1.5rem;
  }

  #page-redesign .guide-article__body h2 {
    font-size: 1.25rem;
    margin: 28px 0 10px;
  }

  #page-redesign .guide-article__body ol.page-content-menu {
    padding: 16px 16px 16px 32px;
  }

  #page-redesign .guide-article__body table,
  #page-redesign .guide-article__body .wp-block-table table {
    font-size: 0.82rem;
  }

  #page-redesign .guide-article__body th,
  #page-redesign .guide-article__body td {
    padding: 8px 10px;
  }

  /* Footer mobile */
  #page-redesign .footer__top::before {
    display: none;
  }

  #page-redesign .footer__columns {
    grid-template-columns: 1fr;
  }

  #page-redesign .footer__group:nth-child(2) {
    display: none;
  }

  #page-redesign .footer__container {
    padding-left: 0;
    padding-right: 0;
  }

  #page-redesign .footer__heading {
    background: var(--color-secondary);
  }

  #page-redesign .footer__social img {
    width: 48px;
    height: 48px;
  }

  #page-redesign .footer__legal-links {
    padding: 14px 16px;
    justify-content: center;
  }

  #page-redesign .footer__legal-links a {
    font-size: 0.85rem;
  }
}

/* ========================================
   QUANTITY +/− BUTTONS
   ======================================== */
#page-redesign .ebv-quantity {
  display: inline-flex;
  align-items: center;
  margin-top: 7px;
}

#page-redesign .ebv-quantity .ebv-qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #ccc !important;
  background: var(--color-gray) !important;
  color: var(--color-text);
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  transition: background-color var(--transition), border-color var(--transition);
}

#page-redesign .ebv-quantity .ebv-qty-btn:hover {
  background: #e9e9e9 !important;
  border-color: var(--color-primary) !important;
}

#page-redesign .ebv-quantity .ebv-qty-btn:active {
  background: #ddd !important;
}

#page-redesign .ebv-quantity .ebv-qty-minus {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  border-right: none;
}

#page-redesign .ebv-quantity .ebv-qty-plus {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  border-left: none;
}

#page-redesign .ebv-quantity input.qty {
  width: 48px;
  height: 36px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 0;
  -moz-appearance: textfield;
  padding: 0;
  margin: 0;
  font-family: var(--font-family);
  font-size: 15px;
}

#page-redesign .ebv-quantity input.qty::-webkit-inner-spin-button,
#page-redesign .ebv-quantity input.qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

