:root {
  --idefar-primary: #001689;
  --idefar-accent: #ec2029;
  --idefar-dark: #000a3d;
  --idefar-light-bg: #f0f7ff;
  --idefar-bg: #fafafa;
  --idefar-cream: #f8f6f3;
  --idefar-text: #0a0a0a;
  --idefar-text-light: #555;
  --idefar-font-display: "Playfair Display", serif;
  --idefar-font-body: "Outfit", sans-serif;
  --idefar-ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --idefar-ease-smooth: cubic-bezier(0.77, 0, 0.175, 1);
  --idefar-container: 1440px;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

::selection {
  background: var(--idefar-accent);
  color: #fff;
}

.wp-site-blocks {
  min-height: 100vh;
}

.wp-site-blocks > main,
.wp-site-blocks > footer.wp-block-template-part {
  margin-block-start: 0 !important;
}

@supports (content-visibility: auto) {
  .idefar-home-section,
  .idefar-home-story,
  .idefar-home-benefits,
  .idefar-home-newsletter,
  .idefar-pdp-formula,
  .idefar-pdp-description,
  .idefar-pdp-usage,
  .idefar-pdp-routine,
  .idefar-shop-main,
  .idefar-blog-listing {
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
  }
}

.idefar-shell {
  max-width: var(--idefar-container);
  margin: 0 auto;
  padding-right: clamp(1.5rem, 5vw, 5rem);
  padding-left: clamp(1.5rem, 5vw, 5rem);
}

.idefar-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
  backdrop-filter: blur(4px);
}

.idefar-header .idefar-shell {
  max-width: none;
  padding-right: clamp(1.5rem, 3.333vw, 3rem);
  padding-left: clamp(1.5rem, 3.333vw, 3rem);
}

.idefar-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 108px;
  gap: 2rem;
}

.idefar-brand {
  display: block;
  width: 128px;
  line-height: 1;
  text-decoration: none;
}

.idefar-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.idefar-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.idefar-nav a,
.idefar-footer a {
  color: inherit;
  text-decoration: none;
}

.idefar-nav > a,
.idefar-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6b7280 !important;
}

.idefar-nav > a:visited,
.idefar-nav__link:visited {
  color: #6b7280 !important;
}

.idefar-nav > a::after,
.idefar-nav__link::after {
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 2px;
  background: var(--idefar-accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transform-origin: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.idefar-nav > a:hover,
.idefar-nav__link:hover {
  color: var(--idefar-primary) !important;
}

.home .idefar-nav > a[href="/"],
.idefar-page-slug-nosotros .idefar-nav > a[href*="/nosotros/"],
.idefar-page-slug-contacto .idefar-nav > a[href*="/contacto/"],
.blog .idefar-nav > a[href*="/blog/"],
.single-post .idefar-nav > a[href*="/blog/"],
.post-type-archive-product .idefar-nav__link[href*="/shop/"],
.tax-product_cat .idefar-nav__link[href*="/shop/"],
.single-product .idefar-nav__link[href*="/shop/"] {
  color: var(--idefar-text) !important;
}

.home .idefar-nav > a[href="/"]::after,
.idefar-page-slug-nosotros .idefar-nav > a[href*="/nosotros/"]::after,
.idefar-page-slug-contacto .idefar-nav > a[href*="/contacto/"]::after,
.blog .idefar-nav > a[href*="/blog/"]::after,
.single-post .idefar-nav > a[href*="/blog/"]::after,
.post-type-archive-product .idefar-nav__link[href*="/shop/"]::after,
.tax-product_cat .idefar-nav__link[href*="/shop/"]::after,
.single-product .idefar-nav__link[href*="/shop/"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.idefar-nav__mega-item {
  display: inline-flex;
}

.idefar-nav__mega-item::after {
  position: fixed;
  top: 78px;
  right: 0;
  left: 0;
  z-index: 48;
  display: none;
  height: 30px;
  content: "";
}

.idefar-nav__mega-item:hover::after,
.idefar-nav__mega-item:focus-within::after {
  display: block;
}

.idefar-mega {
  position: fixed;
  top: 108px;
  right: 0;
  left: 0;
  z-index: 49;
  border-top: 1px solid rgba(0, 10, 61, 0.04);
  border-bottom: 1px solid rgba(0, 10, 61, 0.08);
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 16, 82, 0.11);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.idefar-nav__mega-item:hover .idefar-mega,
.idefar-nav__mega-item:focus-within .idefar-mega {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.idefar-mega__inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(360px, 2fr);
  gap: clamp(3rem, 5vw, 4rem);
  max-width: var(--idefar-container);
  margin: 0 auto;
  padding: 2.5rem clamp(1.5rem, 3.333vw, 3rem);
}

.idefar-mega p {
  margin: 0 0 1.25rem;
  color: rgba(85, 85, 85, 0.7);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.idefar-mega__category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(0, 10, 61, 0.06);
  border-left: 1px solid rgba(0, 10, 61, 0.06);
}

.idefar-mega__category {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 54px;
  padding: 0.85rem 1.1rem;
  border-right: 1px solid rgba(0, 10, 61, 0.06);
  border-bottom: 1px solid rgba(0, 10, 61, 0.06);
  background: #fff;
  color: var(--idefar-text);
  letter-spacing: 0;
  text-transform: none;
  transition: background 0.22s ease, color 0.22s ease;
}

.idefar-mega__category:hover,
.idefar-mega__category:focus-visible {
  background: #f0f7ff;
  color: var(--idefar-primary);
}

.idefar-mega__category span:not(.idefar-mega__dot) {
  overflow: hidden;
  font-size: 0.88rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.idefar-mega__category small {
  color: var(--idefar-text-light);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.idefar-mega__dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(0, 22, 137, 0.28);
  transition: background 0.22s ease, transform 0.22s ease;
}

.idefar-mega__category:hover .idefar-mega__dot,
.idefar-mega__category:focus-visible .idefar-mega__dot {
  background: var(--idefar-primary);
  transform: scale(1.45);
}

.idefar-mega__category svg {
  width: 0.85rem;
  height: 0.85rem;
  color: transparent;
  transition: color 0.22s ease, transform 0.22s ease;
}

.idefar-mega__category:hover svg,
.idefar-mega__category:focus-visible svg {
  color: var(--idefar-primary);
  transform: translateX(2px);
}

.idefar-mega__all {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
  color: var(--idefar-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.idefar-mega__all svg {
  width: 1rem;
  height: 1rem;
}

.idefar-mega__featured {
  padding-left: clamp(2rem, 3vw, 2.5rem);
  border-left: 1px solid rgba(0, 10, 61, 0.06);
}

.idefar-mega__product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.idefar-mega__product {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.idefar-mega__product-image {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  margin-bottom: 0.85rem;
  overflow: hidden;
  background: linear-gradient(180deg, #f8f6f3 0%, #ebe8e4 100%);
}

.idefar-mega__product-image img {
  display: block;
  width: 78%;
  height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0, 10, 61, 0.12));
  transition: transform 0.45s var(--idefar-ease-out);
}

.idefar-mega__product:hover .idefar-mega__product-image img,
.idefar-mega__product:focus-visible .idefar-mega__product-image img {
  transform: translateY(-3px) scale(1.045);
}

.idefar-mega__product-image em {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  padding: 0.22rem 0.45rem;
  background: var(--idefar-accent);
  color: #fff;
  font-size: 0.55rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.idefar-mega__product strong {
  display: block;
  color: var(--idefar-text);
  font-family: var(--idefar-font-display);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.12;
  transition: color 0.2s ease;
}

.idefar-mega__product strong span {
  display: block;
  color: var(--idefar-primary);
  font-style: italic;
}

.idefar-mega__product:hover strong,
.idefar-mega__product:focus-visible strong {
  color: var(--idefar-primary);
}

.idefar-mega__product > small {
  display: block;
  margin-top: 0.35rem;
  color: var(--idefar-text-light);
  font-size: 0.72rem;
  font-weight: 600;
}

.idefar-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.idefar-header__cta,
.idefar-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 40px;
  padding: 0.78rem 1.25rem;
  border: 0;
  background: var(--idefar-primary);
  color: #fff;
  font-family: var(--idefar-font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.25s ease, transform 0.25s ease;
}

.idefar-header__cta svg {
  width: 1rem;
  height: 1rem;
}

.idefar-header__cta:hover,
.idefar-button:hover {
  background: var(--idefar-accent);
  color: #fff;
  transform: translateY(-1px);
}

.idefar-cart-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 22, 137, 0.18);
  background: #fff;
  color: var(--idefar-primary);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.idefar-cart-toggle:hover {
  border-color: var(--idefar-primary);
  color: var(--idefar-accent);
  transform: translateY(-1px);
}

.idefar-cart-toggle svg {
  width: 1.2rem;
  height: 1.2rem;
}

.idefar-cart-count {
  position: absolute;
  top: -0.45rem;
  right: -0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.25rem;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--idefar-accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
}

.idefar-cart-count.is-empty {
  background: var(--idefar-primary);
}

.idefar-mobile-menu-toggle {
  position: relative;
  z-index: 60;
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--idefar-primary);
  cursor: pointer;
}

.idefar-mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.idefar-mobile-menu-open .idefar-mobile-menu-toggle span:first-child {
  transform: translateY(8px) rotate(45deg);
}

.idefar-mobile-menu-open .idefar-mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.idefar-mobile-menu-open .idefar-mobile-menu-toggle span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

.idefar-mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: none;
  border: 0;
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.idefar-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 56;
  display: none;
  width: min(300px, 86vw);
  height: 100dvh;
  background: #fff;
  box-shadow: -20px 0 60px rgba(0, 10, 61, 0.18);
  transform: translateX(100%);
  transition: transform 0.3s var(--idefar-ease-out);
}

.idefar-mobile-menu__inner {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 6rem 2rem 2rem;
  overflow-y: auto;
}

.idefar-mobile-menu__close {
  position: absolute;
  top: 2rem;
  right: 1.35rem;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0, 22, 137, 0.14);
  background: #fff;
  color: var(--idefar-primary);
  cursor: pointer;
}

.idefar-mobile-menu__close svg {
  width: 1.1rem;
  height: 1.1rem;
}

.idefar-mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.idefar-mobile-menu__nav a,
.idefar-mobile-menu__group > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--idefar-text);
  cursor: pointer;
  font-family: var(--idefar-font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.35;
  padding: 0;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.idefar-mobile-menu__nav a:hover,
.idefar-mobile-menu__group > button:hover,
.idefar-mobile-menu__group > button[aria-expanded="true"] {
  color: var(--idefar-primary);
}

.idefar-mobile-menu__group > button svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.22s ease;
}

.idefar-mobile-menu__group > button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.idefar-mobile-menu__submenu {
  display: grid;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.3s ease;
}

.idefar-mobile-menu__group.is-open .idefar-mobile-menu__submenu {
  max-height: 560px;
  margin-top: 0.75rem;
}

.idefar-mobile-menu__submenu a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  min-height: 42px;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(0, 10, 61, 0.05);
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.idefar-mobile-menu__submenu a:hover {
  background: #f0f7ff;
}

.idefar-mobile-menu__submenu svg {
  width: 0.8rem;
  height: 0.8rem;
  color: transparent;
  transition: color 0.2s ease, transform 0.2s ease;
}

.idefar-mobile-menu__submenu a:hover svg {
  color: var(--idefar-primary);
  transform: translateX(2px);
}

.idefar-mobile-menu__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 48px;
  margin-top: 1.5rem;
  padding: 0.9rem 1.25rem;
  background: var(--idefar-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.idefar-mobile-menu__cta svg {
  width: 1rem;
  height: 1rem;
}

.idefar-mobile-menu-open {
  overflow: hidden;
}

.idefar-mobile-menu-open .idefar-mobile-menu-overlay,
.idefar-mobile-menu-open .idefar-mobile-menu {
  display: block;
}

.idefar-mobile-menu-open .idefar-mobile-menu-overlay {
  opacity: 1;
}

.idefar-mobile-menu-open .idefar-mobile-menu {
  transform: translateX(0);
}

.idefar-cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  border: 0;
  background: rgba(0, 10, 61, 0.36);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.idefar-side-cart {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  width: min(430px, 100vw);
  height: 100vh;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: #fff;
  color: var(--idefar-text);
  box-shadow: -24px 0 70px rgba(0, 10, 61, 0.18);
  transform: translateX(100%);
  transition: transform 0.3s var(--idefar-ease-out);
}

.idefar-cart-open body {
  overflow: hidden;
}

.idefar-cart-open .idefar-cart-overlay {
  opacity: 1;
  pointer-events: auto;
}

.idefar-cart-open .idefar-side-cart {
  transform: translateX(0);
}

.idefar-side-cart__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0, 10, 61, 0.1);
}

.idefar-side-cart__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--idefar-primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.idefar-side-cart h2 {
  margin: 0;
  font-family: var(--idefar-font-display);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.05;
}

.idefar-side-cart__close {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(0, 22, 137, 0.16);
  background: #fff;
  color: var(--idefar-primary);
  cursor: pointer;
}

.idefar-side-cart__close svg {
  width: 1.1rem;
  height: 1.1rem;
}

.idefar-side-cart__empty {
  display: grid;
  gap: 1.25rem;
  padding: 3rem 0;
  color: var(--idefar-text-light);
}

.idefar-side-cart__items {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 1.25rem 0;
  overflow: auto;
  list-style: none;
}

.idefar-side-cart__item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 10, 61, 0.08);
}

.idefar-side-cart__thumb {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--idefar-cream);
}

.idefar-side-cart__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.idefar-side-cart__item-body {
  min-width: 0;
}

.idefar-side-cart__item-title {
  display: block;
  color: var(--idefar-text);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.idefar-side-cart__item-title:hover,
.idefar-side-cart__remove:hover {
  color: var(--idefar-accent);
}

.idefar-side-cart__item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.6rem;
  color: var(--idefar-text-light);
  font-size: 0.82rem;
}

.idefar-side-cart__remove {
  display: inline-flex;
  margin-top: 0.7rem;
  color: var(--idefar-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.idefar-side-cart__footer {
  display: grid;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 10, 61, 0.1);
}

.idefar-side-cart__subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--idefar-text);
}

.idefar-side-cart__subtotal span {
  color: var(--idefar-text-light);
}

.idefar-side-cart__checkout {
  width: 100%;
}

.idefar-side-cart__view-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 22, 137, 0.18);
  background: #fff;
  color: var(--idefar-primary);
  font-family: var(--idefar-font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.idefar-side-cart__view-cart:hover {
  border-color: var(--idefar-primary);
  background: #f8faff;
  color: var(--idefar-accent);
}

.idefar-button--text {
  min-height: auto;
  padding: 0 0 0.25rem;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--idefar-text);
}

.idefar-button--text:hover {
  background: transparent;
  color: var(--idefar-accent);
  transform: none;
}

.idefar-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  color: var(--idefar-text-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.idefar-label__text {
  min-width: 0;
}

.idefar-pdp-kicker .idefar-label__text {
  white-space: nowrap;
}

.idefar-label::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}

.idefar-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  min-height: 72vh;
  overflow: hidden;
  background: #fff;
}

.idefar-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 7rem) clamp(1.5rem, 6vw, 8rem);
}

.idefar-hero h1 {
  max-width: 760px;
  margin: 1.75rem 0;
  color: var(--idefar-text);
  font-family: var(--idefar-font-display);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 400;
  line-height: 1.04;
}

.idefar-hero h1 em {
  display: block;
  color: var(--idefar-primary);
  font-style: italic;
}

.idefar-hero__copy {
  max-width: 500px;
  margin: 0 0 2.25rem;
  color: var(--idefar-text-light);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.idefar-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.35rem;
}

.idefar-hero__media {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 42vh;
  background: linear-gradient(180deg, var(--idefar-cream), #ebe8e4);
  overflow: hidden;
}

.idefar-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.idefar-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
}

.idefar-hero__badge {
  position: absolute;
  bottom: 12%;
  left: 8%;
  z-index: 2;
  padding: 1.35rem 1.65rem;
  background: #fff;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
}

.idefar-hero__badge p {
  margin: 0;
}

.idefar-hero__badge strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--idefar-primary);
  font-family: var(--idefar-font-display);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.idefar-section {
  padding: clamp(3.5rem, 7vw, 7rem) 0;
}

.idefar-foundation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(0, 0, 0, 0.06);
}

.idefar-foundation-card {
  min-height: 220px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: #fff;
}

.idefar-foundation-card span {
  color: var(--idefar-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.idefar-foundation-card h2 {
  margin: 1rem 0 0.75rem;
  font-family: var(--idefar-font-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.15;
}

.idefar-foundation-card p {
  margin: 0;
  color: var(--idefar-text-light);
  font-size: 0.98rem;
}

.idefar-footer {
  background: #001052;
  color: #fff;
  padding: clamp(5rem, 8vw, 6rem) 0 3rem;
}

.idefar-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  gap: clamp(2.75rem, 5vw, 4.5rem);
  margin-bottom: clamp(4rem, 7vw, 5rem);
}

.idefar-footer__logo {
  display: inline-block;
  width: 128px;
  margin-bottom: 1.5rem;
}

.idefar-footer__logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.idefar-footer__tagline {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--idefar-font-display);
  font-size: 0.95rem;
  font-style: italic;
}

.idefar-footer__copy {
  max-width: 280px;
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}

.idefar-footer__social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.idefar-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  opacity: 0.6;
  transition: border-color 0.25s var(--idefar-ease-out), opacity 0.25s var(--idefar-ease-out), transform 0.25s var(--idefar-ease-out);
}

.idefar-footer__social a:hover,
.idefar-footer__social a:focus-visible {
  border-color: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transform: translateY(-2px);
}

.idefar-footer__social svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.idefar-footer__col h2 {
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--idefar-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.idefar-footer__col ul {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.idefar-footer__col a,
.idefar-footer__col span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.55;
}

.idefar-footer__col a {
  transition: color 0.25s var(--idefar-ease-out);
}

.idefar-footer__col a:hover,
.idefar-footer__col a:focus-visible {
  color: #fff;
}

.idefar-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.idefar-footer__bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  border-radius: 0;
  background: var(--idefar-primary);
  color: #fff;
  font-family: var(--idefar-font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: var(--idefar-accent);
  color: #fff;
}

.idefar-cart-page {
  background: #fff;
  color: var(--idefar-text);
  font-family: var(--idefar-font-body);
  overflow-x: hidden;
}

.idefar-cart-hero {
  display: flex;
  align-items: end;
  min-height: 20vh;
  padding: calc(108px + 1.25rem) 0 1.65rem;
  border-bottom: 1px solid rgba(0, 10, 61, 0.08);
  background: #fff;
}

.idefar-cart-hero .idefar-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.28fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  width: 100%;
}

.idefar-cart-hero h1,
.idefar-cart-empty h2,
.idefar-cart-summary h2 {
  margin: 0;
  font-family: var(--idefar-font-display);
  font-weight: 400;
  letter-spacing: 0;
}

.idefar-cart-hero h1 {
  margin-top: 0.7rem;
  font-size: clamp(3rem, 5.1vw, 4.85rem);
  line-height: 0.9;
}

.idefar-cart-hero__content p:last-child {
  max-width: 34rem;
  margin: 0.9rem 0 0;
  color: var(--idefar-text-light);
  font-size: 0.98rem;
  line-height: 1.55;
}

.idefar-cart-hero__meta {
  display: grid;
  justify-items: start;
  gap: 0.6rem;
  max-width: 300px;
  padding: 1.35rem 1.45rem;
  border-left: 2px solid var(--idefar-primary);
  background: var(--idefar-cream);
}

.idefar-cart-hero__meta span,
.idefar-cart-hero__meta a,
.idefar-cart-actions__continue {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.idefar-cart-hero__meta span {
  color: var(--idefar-text-light);
}

.idefar-cart-hero__meta a,
.idefar-cart-actions__continue {
  color: var(--idefar-primary);
  text-decoration: none;
}

.idefar-cart-main {
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(5rem, 9vw, 8rem);
}

.idefar-cart-notices {
  margin-bottom: 2rem;
}

.idefar-cart-notices:empty,
.idefar-pdp-notices:empty {
  display: none;
}

.idefar-pdp-notices,
.idefar-category-notices {
  position: relative;
  z-index: 2;
  width: min(var(--idefar-container), calc(100% - clamp(3rem, 10vw, 10rem)));
  margin: 0 auto;
  padding-top: calc(108px + 1.25rem);
  background: #fff;
}

.woocommerce-notices-wrapper,
.wc-block-components-notices,
.idefar-cart-notices .woocommerce-notices-wrapper,
.idefar-pdp-notices .woocommerce-notices-wrapper {
  display: grid;
  gap: 0.9rem;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner {
  position: relative;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.95rem;
  width: 100%;
  margin: 0 0 1rem !important;
  padding: 1rem 1.15rem !important;
  border: 1px solid rgba(0, 22, 137, 0.14) !important;
  border-left: 4px solid var(--idefar-primary) !important;
  border-radius: 0 !important;
  background: #f7f9ff !important;
  box-shadow: none;
  color: var(--idefar-text) !important;
  font-family: var(--idefar-font-body);
  font-size: 0.95rem !important;
  line-height: 1.45;
}

.woocommerce-error,
.wc-block-components-notice-banner.is-error {
  border-color: rgba(236, 32, 41, 0.22) !important;
  border-left-color: var(--idefar-accent) !important;
  background: #fff7f7 !important;
  list-style: none;
}

.woocommerce-message,
.wc-block-components-notice-banner.is-success {
  border-color: rgba(22, 128, 77, 0.24) !important;
  border-left-color: #16804d !important;
  background: #f3fff8 !important;
}

.woocommerce-info,
.wc-block-components-notice-banner.is-info {
  border-color: rgba(0, 22, 137, 0.18) !important;
  border-left-color: var(--idefar-primary) !important;
  background: #f7f9ff !important;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  position: static;
  display: inline-grid !important;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  margin: 0;
  border-radius: 999px;
  background: var(--idefar-primary);
  color: #fff;
  font-family: var(--idefar-font-body);
  font-size: 1rem;
  line-height: 1;
  content: "i";
}

.woocommerce-message::before {
  background: #24ba6a;
  content: "\2713";
}

.woocommerce-error::before {
  background: var(--idefar-accent);
  content: "!";
}

.wc-block-components-notice-banner > svg {
  box-sizing: border-box;
  display: block !important;
  width: 1.85rem !important;
  height: 1.85rem !important;
  margin: 0 !important;
  padding: 0.45rem;
  border-radius: 999px;
  background: var(--idefar-primary);
  fill: #fff !important;
}

.wc-block-components-notice-banner.is-success > svg {
  background: #24ba6a;
}

.wc-block-components-notice-banner.is-error > svg {
  background: var(--idefar-accent);
}

.wc-block-components-notice-banner__content {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  color: var(--idefar-text);
  font-size: 0.95rem;
  line-height: 1.45;
}

.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a,
.wc-block-components-notice-banner a,
.wc-block-components-notice-banner__content a {
  color: var(--idefar-primary) !important;
  font-size: 0.72rem !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  text-transform: uppercase;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
  order: 3;
  margin-left: auto;
  background: transparent !important;
  color: var(--idefar-primary) !important;
  padding: 0 !important;
  min-height: 0;
  border: 0;
  box-shadow: none;
}

.idefar-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.42fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 6rem);
}

.idefar-cart-items__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(7rem, auto);
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--idefar-text-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.idefar-cart-item {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr) minmax(8rem, auto);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.idefar-cart-item__image {
  display: grid;
  place-items: center;
  width: 8rem;
  aspect-ratio: 1;
  background: var(--idefar-cream);
  text-decoration: none;
}

.idefar-cart-item__image img {
  display: block;
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.idefar-cart-item__body {
  display: grid;
  gap: 0.8rem;
}

.idefar-cart-item__title {
  color: var(--idefar-text);
  font-family: var(--idefar-font-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.08;
  text-decoration: none;
}

.idefar-cart-item__price {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--idefar-text-light);
  font-size: 0.9rem;
}

.idefar-cart-item__price span,
.idefar-cart-item__quantity label,
.idefar-cart-item__subtotal span {
  color: var(--idefar-text-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.idefar-cart-item__price strong {
  color: var(--idefar-text);
  font-weight: 600;
}

.idefar-cart-item__quantity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.idefar-cart-item__quantity .quantity {
  flex: 0 0 auto;
}

.idefar-cart-item__quantity .qty {
  width: 5rem;
  min-height: 2.75rem;
  border: 1px solid rgba(0, 22, 137, 0.22);
  background: #fff;
  color: var(--idefar-text);
  font-family: var(--idefar-font-body);
  font-weight: 700;
  text-align: center;
}

.idefar-cart-item__remove {
  width: max-content;
  color: var(--idefar-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.idefar-cart-item__subtotal {
  display: grid;
  justify-items: end;
  gap: 0.45rem;
}

.idefar-cart-item__subtotal strong {
  font-family: var(--idefar-font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.idefar-cart-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
}

.idefar-cart-actions .idefar-button {
  cursor: pointer;
}

.idefar-cart-summary {
  position: sticky;
  top: 8.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--idefar-dark);
  color: #fff;
}

.idefar-cart-summary .idefar-label {
  color: rgba(255, 255, 255, 0.52);
}

.idefar-cart-summary .idefar-label::before {
  background: rgba(255, 255, 255, 0.42);
}

.idefar-cart-summary h2 {
  margin-top: 1.15rem;
  color: #fff;
  font-size: clamp(2rem, 3vw, 3rem);
}

.idefar-cart-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.idefar-cart-summary__row span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.idefar-cart-summary__row strong {
  color: #fff;
  font-weight: 600;
  text-align: right;
}

.idefar-cart-summary__row--total {
  margin-top: 0.3rem;
  border-bottom: 0;
}

.idefar-cart-summary__row--total strong {
  font-family: var(--idefar-font-display);
  font-size: 1.8rem;
  font-weight: 500;
}

.idefar-cart-coupon {
  display: grid;
  gap: 0.65rem;
  margin: 1.3rem 0 1.5rem;
}

.idefar-cart-coupon label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.idefar-cart-coupon div {
  display: flex;
  gap: 0.5rem;
}

.idefar-cart-coupon input {
  min-width: 0;
  flex: 1 1 auto;
  min-height: 2.8rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0 0.9rem;
  font-family: var(--idefar-font-body);
}

.idefar-cart-coupon input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.idefar-cart-coupon button {
  min-height: 2.8rem;
  border: 0;
  background: #fff;
  color: var(--idefar-primary);
  padding: 0 1rem;
  font-family: var(--idefar-font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.idefar-cart-summary__checkout {
  width: 100%;
}

.idefar-cart-summary__note {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.86rem;
  line-height: 1.6;
}

.idefar-cart-empty {
  display: grid;
  justify-items: start;
  gap: 1.2rem;
  max-width: 720px;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--idefar-cream);
}

.idefar-cart-empty h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.idefar-checkout-page {
  background: #fff;
  color: var(--idefar-text);
  font-family: var(--idefar-font-body);
  overflow-x: hidden;
}

.idefar-checkout-hero {
  padding: clamp(9rem, 14vw, 12rem) 0 clamp(3.5rem, 7vw, 6rem);
  background: linear-gradient(90deg, #fff 0%, #fff 52%, var(--idefar-light-bg) 52%, var(--idefar-light-bg) 100%);
}

.idefar-checkout-hero .idefar-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.34fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 5rem);
}

.idefar-checkout-hero h1,
.idefar-checkout-page h2,
.idefar-checkout-page h3 {
  margin: 0;
  font-family: var(--idefar-font-display);
  font-weight: 400;
  letter-spacing: 0;
}

.idefar-checkout-hero h1 {
  margin-top: 1.35rem;
  max-width: 48rem;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  line-height: 0.96;
}

.idefar-checkout-hero__content p:last-child {
  max-width: 38rem;
  margin: 1.35rem 0 0;
  color: var(--idefar-text-light);
  font-size: 1.08rem;
  line-height: 1.7;
}

.idefar-checkout-hero__meta {
  display: grid;
  gap: 0.8rem;
  padding: 1.4rem;
  border-left: 3px solid var(--idefar-primary);
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 16, 82, 0.08);
}

.idefar-checkout-hero__meta span,
.idefar-checkout-hero__meta a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.idefar-checkout-hero__meta span {
  color: var(--idefar-text-light);
}

.idefar-checkout-hero__meta strong {
  font-family: var(--idefar-font-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.idefar-checkout-hero__meta a {
  color: var(--idefar-primary);
  text-decoration: none;
}

.idefar-checkout-main {
  padding: calc(108px + clamp(2.75rem, 5vw, 4.5rem)) 0 clamp(5rem, 9vw, 8rem);
}

.idefar-checkout-title {
  width: min(100%, 1120px);
  margin: 0 auto clamp(2rem, 4vw, 3.25rem);
}

.idefar-checkout-title h1 {
  max-width: 48rem;
  margin: 0.7rem 0 0;
  font-family: var(--idefar-font-display);
  font-size: clamp(2.65rem, 4.2vw, 4.25rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.03;
}

.idefar-checkout-title p:last-child {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: var(--idefar-text-light);
  font-size: 1rem;
  line-height: 1.65;
}

.idefar-checkout-notices {
  width: min(100%, 1120px);
  margin: 0 auto 2rem;
}

.idefar-checkout-notices:empty {
  display: none;
}

.idefar-checkout-panel {
  min-width: 0;
}

.idefar-checkout-panel .woocommerce {
  width: min(100%, 1120px);
  margin-right: auto;
  margin-left: auto;
  min-width: 0;
}

.idefar-checkout-panel form.checkout {
  display: grid;
  grid-template-areas:
    "fields review";
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.62fr);
  align-items: start;
  column-gap: clamp(2rem, 4vw, 4rem);
  row-gap: 0;
}

.idefar-checkout-page #billing_document_type_field,
.idefar-checkout-page #billing_document_number_field {
  margin-bottom: 1rem;
}

.idefar-checkout-page .col2-set,
.idefar-checkout-page .col2-set .col-1,
.idefar-checkout-page .col2-set .col-2,
.woocommerce-page .idefar-checkout-page .col2-set,
.woocommerce-page .idefar-checkout-page .col2-set .col-1,
.woocommerce-page .idefar-checkout-page .col2-set .col-2 {
  float: none;
  width: auto;
}

.idefar-checkout-page .col2-set {
  display: grid;
  grid-area: fields;
  gap: 1.25rem;
}

.idefar-checkout-page .woocommerce-billing-fields,
.idefar-checkout-page .woocommerce-shipping-fields,
.idefar-checkout-page .woocommerce-additional-fields {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid rgba(0, 22, 137, 0.12);
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 16, 82, 0.06);
}

.idefar-checkout-page .woocommerce-shipping-fields:empty,
.idefar-checkout-page .woocommerce-shipping-fields:not(:has(*)) {
  display: none;
}

.idefar-checkout-page .woocommerce-billing-fields__field-wrapper,
.idefar-checkout-page .woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 1.15rem;
  column-gap: 1.35rem;
}

.idefar-checkout-page .woocommerce-billing-fields__field-wrapper .form-row,
.idefar-checkout-page .woocommerce-shipping-fields__field-wrapper .form-row,
.woocommerce-page .idefar-checkout-page .woocommerce-billing-fields__field-wrapper .form-row,
.woocommerce-page .idefar-checkout-page .woocommerce-shipping-fields__field-wrapper .form-row {
  float: none;
  width: auto;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

.idefar-checkout-page #billing_address_1_field,
.idefar-checkout-page #billing_address_2_field,
.idefar-checkout-page #shipping_address_1_field,
.idefar-checkout-page #shipping_address_2_field {
  grid-column: auto;
}

.idefar-checkout-page #billing_address_2_field,
.idefar-checkout-page #shipping_address_2_field {
  align-self: end;
}

.idefar-checkout-page .woocommerce-billing-fields h3,
.idefar-checkout-page .woocommerce-shipping-fields h3,
.idefar-checkout-page .woocommerce-additional-fields h3,
.idefar-checkout-page #order_review_heading {
  margin-bottom: 1.15rem;
  font-size: clamp(1.55rem, 1.9vw, 2.05rem);
  line-height: 1.08;
}

.idefar-checkout-page .form-row {
  margin: 0 0 1rem;
  padding: 0;
}

.idefar-checkout-page .form-row label {
  margin-bottom: 0.45rem;
  color: var(--idefar-text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.idefar-checkout-page .required {
  color: var(--idefar-accent);
}

.idefar-checkout-page input.input-text,
.idefar-checkout-page textarea,
.idefar-checkout-page select,
.idefar-checkout-page .select2-container--default .select2-selection--single {
  min-height: 3.25rem;
  border: 1px solid rgba(0, 22, 137, 0.16);
  border-radius: 0;
  background: #fff;
  color: var(--idefar-text);
  font-family: var(--idefar-font-body);
  font-size: 1rem;
}

.idefar-checkout-page input.input-text,
.idefar-checkout-page textarea,
.idefar-checkout-page select {
  width: 100%;
  padding: 0.85rem 1.1rem;
}

.idefar-checkout-page select {
  height: 3.25rem;
  padding: 0 2.75rem 0 1.1rem !important;
  font-family: var(--idefar-font-body) !important;
  font-size: 1rem !important;
  line-height: 1.25 !important;
}

.idefar-checkout-page textarea {
  min-height: 8rem;
  resize: vertical;
}

.idefar-checkout-page .select2-container--default .select2-selection--single {
  display: flex;
  align-items: center;
  height: auto;
}

.idefar-checkout-page .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding-right: 2.2rem;
  padding-left: 1.1rem;
  padding-top: 0;
  padding-bottom: 0;
  color: var(--idefar-text);
  font-size: 1rem;
  line-height: 3.25rem;
}

.idefar-checkout-page .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
}

.idefar-checkout-page #order_review_heading {
  display: none;
}

.idefar-checkout-page #order_review {
  position: sticky;
  top: 8.5rem;
  grid-area: review;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--idefar-dark);
  color: #fff;
}

.idefar-checkout-page #order_review::before {
  content: "Tu pedido";
  display: block;
  margin-bottom: 1.2rem;
  color: #fff;
  font-family: var(--idefar-font-display);
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
  font-weight: 400;
  line-height: 1.05;
}

.idefar-checkout-page table.shop_table {
  margin: 0 0 1.25rem;
  border: 0;
  border-collapse: collapse;
  color: #fff;
}

.idefar-checkout-page table.shop_table th,
.idefar-checkout-page table.shop_table td {
  padding: 1rem 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.94rem;
}

.idefar-checkout-page table.shop_table th {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.idefar-checkout-page table.shop_table td.product-total,
.idefar-checkout-page table.shop_table tfoot td {
  text-align: right;
}

.idefar-checkout-page table.shop_table tfoot tr:last-child th,
.idefar-checkout-page table.shop_table tfoot tr:last-child td {
  border-bottom: 0;
  font-family: var(--idefar-font-display);
  font-size: 1.6rem;
  font-weight: 500;
}

.idefar-checkout-page #payment {
  border-radius: 0;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.idefar-checkout-page #payment ul.payment_methods {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.idefar-checkout-page #payment div.payment_box {
  border-radius: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--idefar-text);
  font-size: 0.92rem;
  line-height: 1.55;
}

.idefar-checkout-page #payment div.payment_box::before {
  border-bottom-color: rgba(255, 255, 255, 0.92);
}

.idefar-checkout-page #payment div.form-row {
  padding: 1rem;
}

.idefar-checkout-page #place_order {
  width: 100%;
  min-height: 3.2rem;
  border: 0;
  border-radius: 0;
  background: var(--idefar-primary);
  color: #fff;
  font-family: var(--idefar-font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.idefar-checkout-page #place_order:hover {
  background: var(--idefar-accent);
}

.idefar-checkout-page .woocommerce-privacy-policy-text,
.idefar-checkout-page .woocommerce-terms-and-conditions-wrapper {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.84rem;
  line-height: 1.55;
}

.idefar-checkout-page .woocommerce-privacy-policy-text a,
.idefar-checkout-page .woocommerce-terms-and-conditions-wrapper a {
  color: #fff;
}

.idefar-checkout-page .woocommerce-form-coupon-toggle,
.idefar-checkout-page .woocommerce-form-login-toggle {
  margin-bottom: 1rem;
}

.idefar-checkout-page form.checkout_coupon,
.idefar-checkout-page form.login {
  margin: 0 0 1.5rem;
  padding: 1.25rem;
  border: 1px solid rgba(0, 22, 137, 0.12);
  border-radius: 0;
  background: var(--idefar-cream);
}

.idefar-checkout-sticky {
  display: none;
}

.idefar-checkout-field-active input.input-text,
.idefar-checkout-field-active textarea,
.idefar-checkout-field-active select,
.idefar-checkout-field-active .select2-container--default .select2-selection--single {
  border-color: var(--idefar-accent) !important;
  box-shadow: 0 0 0 3px rgba(242, 32, 39, 0.12) !important;
}

.idefar-thankyou {
  width: min(100%, 1120px);
  margin-right: auto;
  margin-left: auto;
}

.idefar-thankyou__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.54fr);
  min-height: 18rem;
  border: 1px solid rgba(0, 22, 137, 0.12);
  background: linear-gradient(90deg, #fff 0%, #fff 58%, var(--idefar-light-blue) 58%, var(--idefar-light-blue) 100%);
}

.idefar-thankyou__hero--failed {
  display: block;
  background: #fff;
}

.idefar-thankyou__copy {
  align-self: center;
  max-width: 42rem;
  padding: clamp(2rem, 4vw, 3.25rem);
}

.idefar-thankyou__copy h1 {
  max-width: 9ch;
  margin: 0.7rem 0 1rem;
  font-family: var(--idefar-font-display);
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  font-weight: 400;
  line-height: 0.96;
}

.idefar-thankyou__copy p:not(.idefar-label) {
  max-width: 36rem;
  color: rgba(0, 10, 61, 0.76);
  font-size: 1.06rem;
  line-height: 1.7;
}

.idefar-thankyou__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1.8rem;
}

.idefar-thankyou__summary {
  align-self: center;
  width: min(78%, 20rem);
  margin: 2rem auto;
  padding: 1.35rem 1.5rem;
  border-left: 4px solid var(--idefar-primary);
  background: #fff;
  box-shadow: 0 22px 58px rgba(0, 16, 82, 0.08);
}

.idefar-thankyou__summary > span,
.idefar-thankyou__overview div > span {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(0, 10, 61, 0.56);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.idefar-thankyou__summary > strong,
.idefar-thankyou__overview div > strong {
  display: block;
  margin-bottom: 1rem;
  color: var(--idefar-text);
  font-size: 1rem;
  line-height: 1.35;
}

.idefar-thankyou__summary > strong:last-child,
.idefar-thankyou__overview div > strong:last-child {
  margin-bottom: 0;
}

.idefar-thankyou__overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.25rem;
  border: 1px solid rgba(0, 22, 137, 0.12);
  background: #fff;
}

.idefar-thankyou__overview div {
  min-width: 0;
  padding: 1.25rem;
  border-right: 1px solid rgba(0, 22, 137, 0.1);
}

.idefar-thankyou__overview div:last-child {
  border-right: 0;
}

.idefar-thankyou__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  align-items: start;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.idefar-thankyou__details,
.idefar-thankyou__next {
  border: 1px solid rgba(0, 22, 137, 0.12);
  background: #fff;
}

.idefar-thankyou__details {
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.idefar-thankyou__details .woocommerce-order-details__title,
.idefar-thankyou__details .woocommerce-column__title {
  margin: 0 0 1.4rem;
  font-family: var(--idefar-font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1.05;
}

.idefar-thankyou__details table.shop_table {
  width: 100%;
  margin: 0 0 1.5rem;
  border: 0;
  border-collapse: collapse;
}

.idefar-thankyou__details table.shop_table th,
.idefar-thankyou__details table.shop_table td {
  padding: 1rem 0;
  border: 0;
  border-bottom: 1px solid rgba(0, 10, 61, 0.1);
  color: var(--idefar-text);
}

.idefar-thankyou__details table.shop_table th {
  color: rgba(0, 10, 61, 0.56);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.idefar-thankyou__details table.shop_table td:last-child,
.idefar-thankyou__details table.shop_table tfoot td {
  text-align: right;
}

.idefar-thankyou__details table.shop_table a {
  color: var(--idefar-primary);
  text-decoration: none;
}

.idefar-thankyou__details .woocommerce-customer-details address {
  padding: 1rem 0 0;
  border: 0;
  color: rgba(0, 10, 61, 0.72);
  font-style: normal;
  line-height: 1.7;
}

.idefar-thankyou__next {
  position: sticky;
  top: 8.5rem;
  padding: clamp(1.35rem, 2vw, 1.8rem);
  background: var(--idefar-dark);
  color: #fff;
}

.idefar-thankyou__next .idefar-label {
  color: rgba(255, 255, 255, 0.62);
}

.idefar-thankyou__next ul {
  display: grid;
  gap: 1rem;
  margin: 1.4rem 0;
  padding: 0;
  list-style: none;
}

.idefar-thankyou__next li {
  position: relative;
  padding-left: 1.55rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
}

.idefar-thankyou__next li::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--idefar-accent);
}

.idefar-thankyou__next .idefar-link-button {
  color: #fff;
}

@media (max-width: 768px) {
  .idefar-checkout-sticky {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 75;
    display: block;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(0, 22, 137, 0.12);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -18px 50px rgba(0, 16, 82, 0.12);
    transform: translateY(0);
    transition: opacity 0.24s ease, transform 0.24s ease;
    backdrop-filter: blur(14px);
  }

  .idefar-checkout-sticky.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(110%);
  }

  .idefar-checkout-sticky__inner {
    display: grid;
    gap: 0.55rem;
    max-width: 420px;
    margin: 0 auto;
  }

  .idefar-checkout-sticky__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
    min-height: 52px;
    border: 0;
    background: var(--idefar-primary);
    color: #fff;
    cursor: pointer;
    font-family: var(--idefar-font-body);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
    transition: background 0.18s ease, transform 0.18s ease;
  }

  .idefar-checkout-sticky__button:active {
    background: var(--idefar-accent);
    transform: scale(0.985);
  }

  .idefar-checkout-sticky__button svg {
    width: 1.05rem;
    height: 1.05rem;
    flex: 0 0 auto;
  }

  .idefar-checkout-sticky__status {
    min-height: 1.05rem;
    margin: 0;
    color: var(--idefar-text-light);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    opacity: 0;
    transform: translateY(3px);
    transition: color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
  }

  .idefar-checkout-sticky__status.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .idefar-checkout-sticky__status.is-error {
    color: var(--idefar-accent);
  }

  body.idefar-checkout-sticky-ready .idefar-checkout-page {
    padding-bottom: 106px;
  }
}

/* SPEC-004: Gutenberg homepage and base editorial pages. */
.wp-block-button.idefar-button {
  padding: 0;
  background: transparent;
}

.wp-block-button.idefar-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 3.1rem;
  padding: 1rem 1.45rem;
  border-radius: 0;
  background: var(--idefar-primary);
  color: #fff;
  font-family: var(--idefar-font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.wp-block-button.idefar-button--text .wp-block-button__link {
  min-height: auto;
  padding: 0 0 0.25rem;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--idefar-text);
}

.idefar-home,
.idefar-page {
  margin-block-start: 0 !important;
  background: #fff;
  color: var(--idefar-text);
  font-family: var(--idefar-font-body);
  overflow-x: hidden;
}

.idefar-home > *,
.idefar-page > * {
  margin-block-start: 0 !important;
}

.idefar-home h1,
.idefar-home h2,
.idefar-home h3,
.idefar-page h1,
.idefar-page h2,
.idefar-page h3 {
  margin-top: 0;
  font-family: var(--idefar-font-display);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.05;
}

.idefar-home-hero {
  position: relative;
  min-height: 78vh;
  background: #fafaf8;
  overflow: hidden;
}

.idefar-home-hero__track {
  position: relative;
  min-height: 78vh;
}

.idefar-home-hero__slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  min-height: 78vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease;
}

.idefar-home-hero__slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.idefar-home-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(8rem, 12vw, 12rem) clamp(2rem, 6vw, 5.5rem) clamp(4rem, 7vw, 6rem);
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s var(--idefar-ease-out);
  opacity: 0;
}

.idefar-home-hero__slide.is-active .idefar-home-hero__content {
  transform: translateY(0);
  opacity: 1;
}

.idefar-home-hero__title {
  margin: 1.5rem 0 0;
  font-size: clamp(3.4rem, 5.4vw, 5rem);
  line-height: 0.93;
}

.idefar-home-hero__title em,
.idefar-page-hero h1 em,
.idefar-editorial-section h2 em {
  color: var(--idefar-primary);
  font-style: italic;
}

.idefar-home-hero__copy {
  max-width: 34rem;
  margin: 2rem 0 0;
  color: var(--idefar-text-light);
  font-size: 1.08rem;
  line-height: 1.7;
}

.idefar-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.4rem;
}

.idefar-home-hero__actions .wp-block-button {
  margin: 0 !important;
}

.idefar-home-hero__image {
  position: relative;
  min-height: 78vh;
  margin: 0;
  overflow: hidden;
  background: var(--idefar-cream);
}

.idefar-home-hero__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.035);
  transition: transform 4s ease;
}

.idefar-home-hero__slide.is-active .idefar-home-hero__image img {
  transform: scale(1);
}

.idefar-home-hero__badge {
  position: absolute;
  right: 35%;
  bottom: 10%;
  display: grid;
  gap: 0.3rem;
  padding: 1.55rem 2rem;
  background: #fff;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
}

.idefar-home-hero__badge p:last-child {
  margin: 0;
  color: var(--idefar-primary);
  font-family: var(--idefar-font-display);
  font-size: 2rem;
  line-height: 1;
}

.idefar-home-hero__controls {
  position: absolute;
  right: clamp(1.5rem, 3vw, 3rem);
  bottom: clamp(1.25rem, 3vw, 2rem);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.idefar-home-hero__arrow,
.idefar-home-hero__dots button {
  border: 1px solid rgba(0, 22, 137, 0.14);
  background: rgba(255, 255, 255, 0.86);
  color: var(--idefar-primary);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, width 0.25s ease;
}

.idefar-home-hero__arrow {
  display: inline-grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
}

.idefar-home-hero__arrow svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.idefar-home-hero__dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.7rem;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(8px);
}

.idefar-home-hero__dots button {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border-radius: 999px;
  background: rgba(0, 22, 137, 0.2);
}

.idefar-home-hero__dots button.is-active {
  width: 1.65rem;
  background: var(--idefar-primary);
}

.idefar-home-hero__arrow:hover,
.idefar-home-hero__arrow:focus-visible,
.idefar-home-hero__dots button:hover,
.idefar-home-hero__dots button:focus-visible {
  background: var(--idefar-primary);
  color: #fff;
  transform: translateY(-1px);
}

.idefar-home-marquee {
  overflow: hidden;
  margin-block-start: 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
}

.idefar-home-marquee div {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 5rem;
  padding: 0 2.5rem;
  animation: idefarMarquee 42s linear infinite;
}

.idefar-home-marquee img {
  max-width: 155px;
  max-height: 64px;
  filter: grayscale(1);
  opacity: 0.7;
}

@keyframes idefarMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.idefar-home-section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5rem);
}

.idefar-home-section--cream {
  background: var(--idefar-cream);
}

.idefar-home-section__head {
  max-width: var(--idefar-container);
  margin: 0 auto 3rem;
}

.idefar-home-section__head h2,
.idefar-home-newsletter h2 {
  margin: 1rem 0;
  font-size: clamp(2.35rem, 4.6vw, 4.5rem);
}

.idefar-home-section__head p:not(.idefar-label) {
  max-width: 40rem;
  color: var(--idefar-text-light);
  font-size: 1.06rem;
  line-height: 1.7;
}

.idefar-home-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: var(--idefar-container);
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.06);
}

.idefar-home-product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
}

.idefar-home-product-card__image {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  padding: clamp(1.75rem, 4vw, 3.5rem);
  overflow: hidden;
  background: linear-gradient(180deg, #f8f6f3 0%, #ede9e5 100%);
  text-decoration: none;
}

#nuevos .idefar-home-product-card__image {
  background: #fff;
}

.idefar-home-product-card__image img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.08));
  transition: transform 0.6s var(--idefar-ease-out);
}

.idefar-home-product-card:hover .idefar-home-product-card__image img {
  transform: scale(1.04) translateY(-4px);
}

.idefar-home-product-card__image span {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  padding: 0.45rem 0.65rem;
  background: #fff;
  color: var(--idefar-primary);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.idefar-home-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.8rem;
  padding: clamp(1.4rem, 3vw, 2.3rem);
}

.idefar-home-product-card__cat {
  margin: 0;
  color: var(--idefar-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.idefar-home-product-card h3 {
  margin: 0;
  font-size: 1.45rem;
}

.idefar-home-product-card h3 a {
  color: inherit;
  text-decoration: none;
}

.idefar-home-product-card p:not(.idefar-home-product-card__cat) {
  margin: 0;
  color: var(--idefar-text-light);
  font-size: 0.96rem;
  line-height: 1.62;
}

.idefar-home-product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.idefar-home-product-card__footer strong {
  font-family: var(--idefar-font-display);
  font-size: 1.2rem;
  font-weight: 500;
}

.idefar-home-product-card__footer a {
  color: var(--idefar-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.idefar-home-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  height: 50vh;
  min-height: 420px;
  background: var(--idefar-cream);
}

.idefar-home-story__image {
  position: relative;
  height: 100%;
  min-height: 0;
  margin: 0;
  overflow: hidden;
}

.idefar-home-story__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(248, 246, 243, 0) 48%, var(--idefar-cream) 100%);
  pointer-events: none;
}

.idefar-home-story__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.idefar-home-story__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: clamp(2.5rem, 4.8vw, 4.5rem);
}

.idefar-home-story__content h2 {
  max-width: 40rem;
  font-size: clamp(2.1rem, 3.6vw, 3.2rem);
}

.idefar-home-story__content h2 em {
  color: var(--idefar-primary);
}

.idefar-home-story__content p:not(.idefar-label) {
  max-width: 36rem;
  color: var(--idefar-text-light);
  font-size: 1rem;
  line-height: 1.7;
}

.idefar-home-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  max-width: var(--idefar-container);
  margin: 0 auto;
}

.idefar-home-category-card {
  position: relative;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.idefar-home-category-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--idefar-ease-out);
}

.idefar-home-category-card:hover img {
  transform: scale(1.06);
}

.idefar-home-category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 22, 137, 0.05) 0%, rgba(0, 22, 137, 0.9) 100%);
}

.idefar-home-category-card span,
.idefar-home-category-card h3,
.idefar-home-category-card p {
  position: relative;
  z-index: 2;
}

.idefar-home-category-card span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.idefar-home-category-card h3 {
  margin: 0.6rem 0;
  color: #fff;
  font-size: 1.45rem;
}

.idefar-home-category-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.55;
}

.idefar-home-benefits {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: var(--idefar-primary);
  color: #fff;
}

.idefar-home-benefits > span {
  position: absolute;
  top: 50%;
  left: 50%;
  color: rgba(255, 255, 255, 0.035);
  font-family: var(--idefar-font-display);
  font-size: 24vw;
  line-height: 1;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.idefar-home-benefits__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.idefar-home-benefits article {
  padding: 2rem 1.2rem;
  text-align: center;
}

.idefar-home-benefits strong {
  display: block;
  margin-bottom: 0.7rem;
}

.idefar-home-benefits p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.94rem;
  line-height: 1.6;
}

.idefar-home-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  max-width: var(--idefar-container);
  margin: 0 auto;
}

.idefar-home-blog-card {
  display: block;
  color: var(--idefar-text);
  text-decoration: none;
}

.idefar-home-blog-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  margin-bottom: 1.4rem;
  overflow: hidden;
}

.idefar-home-blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--idefar-ease-out);
}

.idefar-home-blog-card:hover img {
  transform: scale(1.05);
}

.idefar-home-blog-card__image span {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  padding: 0.45rem 0.65rem;
  background: #fff;
  color: var(--idefar-text);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.idefar-home-blog-card__meta {
  display: flex;
  gap: 1.2rem;
  color: var(--idefar-text-light);
  font-size: 0.76rem;
}

.idefar-home-blog-card h3 {
  margin: 0.8rem 0;
  font-size: 1.35rem;
}

.idefar-home-blog-card p {
  color: var(--idefar-text-light);
  font-size: 0.95rem;
  line-height: 1.65;
}

.idefar-home-centered-button {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.idefar-blog-hero,
.idefar-blog-article-hero {
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  min-height: 70vh;
  background: #fafaf8;
}

.idefar-blog-article-hero {
  min-height: 65vh;
}

.idefar-blog-hero__content,
.idefar-blog-article-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(7rem, 10vw, 10rem) clamp(2rem, 5vw, 5rem) clamp(4rem, 6vw, 6rem);
}

.idefar-blog-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  color: var(--idefar-text-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.idefar-blog-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.idefar-blog-breadcrumb a:hover,
.idefar-blog-breadcrumb strong {
  color: var(--idefar-text);
}

.idefar-blog-hero h1,
.idefar-blog-article-hero h1 {
  margin: 0;
  max-width: 42rem;
  font-size: clamp(3rem, 6.2vw, 6rem);
  line-height: 0.95;
}

.idefar-blog-article-hero h1 {
  margin-top: 1.2rem;
  font-size: clamp(2.2rem, 4.2vw, 3.65rem);
  line-height: 1.04;
}

.idefar-blog-hero h1 em,
.idefar-blog-article-hero h1 em {
  color: var(--idefar-primary);
}

.idefar-blog-hero p,
.idefar-blog-article-hero__author {
  max-width: 31rem;
  color: var(--idefar-text-light);
  font-size: 1.08rem;
  line-height: 1.68;
}

.idefar-blog-hero__image,
.idefar-blog-article-hero__image {
  min-height: 70vh;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 16, 130, 0.08), rgba(0, 16, 130, 0.1)),
    url("https://images.pexels.com/photos/8154390/pexels-photo-8154390.jpeg?auto=compress&cs=tinysrgb&w=1600") center top / cover;
}

.idefar-blog-article-hero__image {
  min-height: 65vh;
  background: var(--idefar-cream);
}

.idefar-blog-article-hero__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 65vh;
  object-fit: cover;
  object-position: center;
}

.idefar-blog-article-hero__badge {
  align-self: flex-start;
  padding: 0.45rem 0.9rem;
  background: var(--idefar-primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.idefar-blog-article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1.8rem;
  color: var(--idefar-text-light);
  font-size: 0.95rem;
}

.idefar-blog-read-link {
  align-self: flex-start;
  margin-top: 2rem;
  color: var(--idefar-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.idefar-blog-listing,
.idefar-blog-related-section {
  padding: clamp(4rem, 9vw, 7.5rem) 0;
  background: #fff;
}

.idefar-blog-related-section {
  background: #fafaf8;
}

.idefar-blog-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.idefar-blog-section-head h2 {
  margin: 0.9rem 0 0;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
}

.idefar-blog-section-head > span,
.idefar-blog-section-head > a {
  color: var(--idefar-text-light);
  font-size: 0.9rem;
  text-decoration: none;
}

.idefar-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
}

.idefar-blog-card {
  display: block;
  color: var(--idefar-text);
  text-decoration: none;
}

.idefar-blog-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  margin-bottom: 1.5rem;
  overflow: hidden;
  background: var(--idefar-cream);
}

.idefar-blog-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--idefar-ease-out);
}

.idefar-blog-card:hover img {
  transform: scale(1.045);
}

.idefar-blog-card__image span {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  padding: 0.45rem 0.7rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--idefar-text);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.idefar-blog-card__meta {
  display: flex;
  gap: 1.1rem;
  color: var(--idefar-text-light);
  font-size: 0.75rem;
}

.idefar-blog-card h3 {
  margin: 0.8rem 0;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.15;
}

.idefar-blog-card p {
  color: var(--idefar-text-light);
  font-size: 0.96rem;
  line-height: 1.65;
}

.idefar-blog-article-layout {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #fff;
}

.idefar-blog-article-layout .idefar-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.idefar-blog-article-body {
  max-width: 46rem;
}

.idefar-blog-article-body > p:first-child,
.idefar-blog-article-body > p:nth-child(2) {
  color: var(--idefar-text);
  font-size: 1.13rem;
  line-height: 1.78;
}

.idefar-blog-article-body h2 {
  margin: 2.4rem 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.16;
}

.idefar-blog-article-body p,
.idefar-blog-article-body li {
  color: var(--idefar-text-light);
  font-size: 1.02rem;
  line-height: 1.82;
}

.idefar-blog-article-body ul {
  display: grid;
  gap: 0.75rem;
  padding-left: 1.2rem;
}

.idefar-blog-article-body blockquote {
  margin: 2rem 0;
  padding: 1.5rem 1.8rem;
  border-left: 3px solid var(--idefar-primary);
  background: var(--idefar-cream);
}

.idefar-blog-article-body blockquote p {
  margin: 0;
  color: var(--idefar-text);
}

.idefar-product-link {
  color: var(--idefar-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 16, 130, 0.25);
}

.idefar-product-link:hover {
  border-bottom-color: var(--idefar-primary);
}

.idefar-blog-disclaimer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--idefar-border);
  font-size: 0.8rem !important;
  opacity: 0.75;
}

.idefar-blog-sidebar__inner {
  position: sticky;
  top: 6.5rem;
}

.idefar-blog-sidebar section {
  margin-bottom: 2.5rem;
}

.idefar-blog-sidebar h2 {
  margin: 0 0 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--idefar-primary);
  font-family: var(--idefar-font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.idefar-blog-sidebar__links {
  display: grid;
}

.idefar-blog-sidebar__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--idefar-border);
  color: var(--idefar-text);
  text-decoration: none;
}

.idefar-blog-sidebar__links small {
  color: var(--idefar-text-light);
}

.idefar-blog-sidebar__cta {
  padding: 2rem;
  background: var(--idefar-dark);
  color: #fff;
}

.idefar-blog-sidebar__cta h2 {
  padding: 0;
  border: 0;
  color: #fff;
  font-family: var(--idefar-font-display);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.idefar-blog-sidebar__cta p:not(.idefar-label) {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.93rem;
  line-height: 1.65;
}

.idefar-blog-sidebar__cta a {
  display: inline-flex;
  margin-top: 0.7rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.idefar-blog-related-list {
  display: grid;
  gap: 1.2rem;
}

.idefar-blog-related-list a {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  color: var(--idefar-text);
  text-decoration: none;
}

.idefar-blog-related-list img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
}

.idefar-blog-related-list span {
  font-family: var(--idefar-font-display);
  font-size: 1rem;
  line-height: 1.25;
}

.idefar-home-newsletter {
  display: grid;
  justify-items: center;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5rem);
  text-align: center;
}

.idefar-home-newsletter .idefar-label {
  justify-content: center;
}

.idefar-home-newsletter .idefar-label::before {
  display: none;
}

.idefar-home-newsletter p:not(.idefar-label) {
  max-width: 44rem;
  color: var(--idefar-text-light);
  font-size: 1.03rem;
  line-height: 1.7;
}

.idefar-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  min-height: 70vh;
  background: #fafaf8;
}

.idefar-page-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(7rem, 10vw, 10rem) clamp(2rem, 5vw, 5rem) clamp(4rem, 6vw, 6rem);
}

.idefar-page-hero h1 {
  margin: 1.4rem 0 0;
  font-size: clamp(3rem, 6vw, 5.7rem);
  line-height: 0.95;
}

.idefar-page-hero p:not(.idefar-label) {
  max-width: 31rem;
  color: var(--idefar-text-light);
  font-size: 1.08rem;
  line-height: 1.68;
}

.idefar-page-hero__image {
  margin: 0;
  min-height: 70vh;
  overflow: hidden;
}

.idefar-page-hero__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.idefar-editorial-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5rem);
}

.idefar-editorial-section--cream {
  background: var(--idefar-cream);
}

.idefar-editorial-section h2 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.idefar-editorial-section p:not(.idefar-label) {
  color: var(--idefar-text-light);
  font-size: 1.05rem;
  line-height: 1.78;
}

.idefar-editorial-section--intro {
  align-items: center;
  gap: clamp(1.25rem, 2vw, 2rem);
  padding: clamp(5rem, 10vw, 10rem) clamp(1.5rem, 5vw, 5rem) clamp(3rem, 5vw, 4rem);
  text-align: center;
}

.idefar-editorial-section--intro > div:first-child {
  grid-column: 1 / -1;
  max-width: 900px;
  margin: 0 auto;
}

.idefar-editorial-section--intro > div:last-child {
  grid-column: 1 / -1;
  max-width: 760px;
  margin: -1rem auto 0;
}

.idefar-about-story {
  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  min-height: 68vh;
}

.idefar-about-story--reverse {
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
}

.idefar-about-story figure {
  position: relative;
  height: 100%;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
}

.idefar-about-story--reverse figure {
  order: 2;
}

.idefar-about-story img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.idefar-about-story > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 5vw, 6rem) clamp(2.5rem, 5vw, 5rem);
  background: var(--idefar-cream);
}

.idefar-about-story--reverse > div {
  background: #fff;
}

.idefar-about-story p {
  margin: 0;
  color: var(--idefar-text);
  font-size: clamp(1.05rem, 1.25vw, 1.18rem);
  line-height: 1.78;
}

.idefar-about-story p + p {
  margin-top: 1.35rem;
}

.idefar-about-dark {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--idefar-dark);
  color: #fff;
}

.idefar-about-dark .idefar-shell {
  display: block;
}

.idefar-about-dark__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.idefar-about-dark h2 {
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
}

.idefar-about-dark h2 em {
  color: rgba(255, 255, 255, 0.52);
  font-style: italic;
}

.idefar-about-dark p:not(.idefar-label) {
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.05rem;
  line-height: 1.76;
}

.idefar-about-dark__image {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
}

.idefar-about-dark__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--idefar-ease-out);
}

.idefar-about-dark__image::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to left, transparent 70%, var(--idefar-dark) 100%);
  content: "";
}

.idefar-about-dark__image::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 4px;
  background: var(--idefar-accent);
  content: "";
}

.idefar-about-dark__image:hover img {
  transform: scale(1.045);
}

.idefar-about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(3rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: none;
  text-align: center;
}

.idefar-about-stats article {
  padding: 0 1rem;
  background: transparent;
}

.idefar-about-stats strong {
  display: block;
  color: #fff;
  font-family: var(--idefar-font-display);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
}

.idefar-about-stats span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.idefar-about-mission {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 500px;
  padding: clamp(4rem, 7vw, 6rem) clamp(1.5rem, 5vw, 5rem);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 10, 61, 0.94) 0%, rgba(0, 10, 61, 0.82) 48%, rgba(0, 10, 61, 0.46) 100%),
    url("/wp-content/themes/idefar-theme/assets/images/gel-aloe-vera-3.webp") center / cover no-repeat;
  color: #fff;
}

.idefar-about-mission--vision {
  justify-items: end;
  background:
    linear-gradient(270deg, rgba(0, 10, 61, 0.94) 0%, rgba(0, 10, 61, 0.82) 48%, rgba(0, 10, 61, 0.46) 100%),
    url("/wp-content/themes/idefar-theme/assets/images/gel-exfoliante-2.webp") center / cover no-repeat;
}

.idefar-about-mission > div {
  max-width: 680px;
}

.idefar-about-mission h2 {
  margin: 1.25rem 0 1.5rem;
  color: #fff;
  font-family: var(--idefar-font-display);
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.08;
}

.idefar-about-mission h2 em {
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
}

.idefar-about-mission p:not(.idefar-label) {
  margin: 0;
  padding-left: clamp(1.25rem, 2vw, 2rem);
  border-left: 3px solid var(--idefar-accent);
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.78;
}

.idefar-contact-cards {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.idefar-contact-cards .idefar-shell {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  background: transparent;
}

.idefar-contact-cards a {
  position: relative;
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(2.5rem, 4vw, 3.5rem);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: background 0.25s ease;
}

.idefar-contact-cards a + a {
  border-left: 1px solid rgba(0, 0, 0, 0.06);
}

.idefar-contact-cards a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--idefar-primary);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.42s ease;
}

.idefar-contact-cards a:hover,
.idefar-contact-cards a:focus-visible {
  background: var(--idefar-bg-soft);
}

.idefar-contact-cards a:hover::after,
.idefar-contact-cards a:focus-visible::after {
  transform: scaleX(1);
}

.idefar-contact-card__icon {
  position: absolute;
  top: clamp(1.5rem, 3vw, 2.5rem);
  right: clamp(1.5rem, 3vw, 2.5rem);
  display: inline-flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 22, 137, 0.08);
  border-radius: 999px;
  background: var(--idefar-bg-soft);
  color: var(--idefar-primary);
}

.idefar-contact-card__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.idefar-contact-card__icon svg.is-fill path {
  fill: currentColor;
  stroke: none;
}

.idefar-contact-cards strong {
  margin: 0 0 0.75rem;
  font-family: var(--idefar-font-display);
  font-size: clamp(1.45rem, 1.85vw, 1.8rem);
  font-weight: 400;
  line-height: 1.15;
}

.idefar-contact-cards p {
  max-width: 18rem;
  margin: 0 0 0.95rem;
  color: var(--idefar-text-light);
  font-size: 0.95rem;
  line-height: 1.62;
}

.idefar-contact-card__cta {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--idefar-primary);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  font-weight: 500;
  line-height: 1.35;
}

.idefar-contact-card__action {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--idefar-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: gap 0.2s ease;
}

.idefar-contact-cards a:hover .idefar-contact-card__action,
.idefar-contact-cards a:focus-visible .idefar-contact-card__action {
  gap: 0.9rem;
}

.idefar-contact-card__action svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.idefar-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5rem);
  background: var(--idefar-dark);
  color: #fff;
}

.idefar-contact-panel h2 {
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
}

.idefar-contact-panel p:not(.idefar-label) {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.64);
}

.idefar-contact-panel__copy {
  position: sticky;
  top: 140px;
}

.idefar-contact-form-wrap {
  width: 100%;
}

.idefar-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.13);
}

.idefar-contact-form__field {
  display: grid;
  gap: 0.7rem;
  min-width: 0;
  margin: 0;
  padding: clamp(1.1rem, 2.2vw, 1.5rem);
  background: rgba(255, 255, 255, 0.055);
}

.idefar-contact-form__field--full,
.idefar-contact-form__consent,
.idefar-contact-form__submit,
.idefar-contact-form__notice {
  grid-column: 1 / -1;
}

.idefar-contact-form__field span,
.idefar-contact-form__consent span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.idefar-contact-form input,
.idefar-contact-form select,
.idefar-contact-form textarea {
  width: 100%;
  border: 0;
  border-radius: 0;
  outline: 1px solid transparent;
  background: transparent;
  color: #fff;
  font-family: var(--idefar-font-body);
  font-size: 1rem;
  line-height: 1.5;
}

.idefar-contact-form select {
  min-height: 42px;
  padding: 0.52rem 2.6rem 0.52rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background:
    linear-gradient(45deg, transparent 50%, currentColor 50%) calc(100% - 1.05rem) 50% / 0.45rem 0.45rem no-repeat,
    linear-gradient(135deg, currentColor 50%, transparent 50%) calc(100% - 0.75rem) 50% / 0.45rem 0.45rem no-repeat,
    rgba(255, 255, 255, 0.035);
  color: #fff;
  appearance: none;
  cursor: pointer;
}

.idefar-contact-form select option {
  background: #fff;
  color: var(--idefar-text);
}

.idefar-contact-form select option[value=""] {
  color: var(--idefar-text-light);
}

.idefar-contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.idefar-contact-form input:focus,
.idefar-contact-form select:focus,
.idefar-contact-form textarea:focus {
  outline-color: rgba(255, 255, 255, 0.42);
  outline-offset: 0.45rem;
}

.idefar-contact-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin: 0;
  padding: 1.35rem clamp(1.1rem, 2.2vw, 1.5rem);
  background: rgba(255, 255, 255, 0.055);
}

.idefar-contact-form__consent input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.08rem;
  accent-color: var(--idefar-accent);
}

.idefar-contact-form__consent span {
  max-width: 42rem;
  line-height: 1.55;
  text-transform: none;
  letter-spacing: 0;
}

.idefar-contact-form__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.idefar-contact-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 58px;
  border: 0;
  background: var(--idefar-primary);
  color: #fff;
  cursor: pointer;
  font-family: var(--idefar-font-body);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease;
}

.idefar-contact-form__submit svg {
  width: 1.1rem;
  height: 1.1rem;
}

.idefar-contact-form__submit:hover,
.idefar-contact-form__submit:focus-visible {
  background: #001eaa;
  transform: translateY(-1px);
}

.idefar-contact-form__notice {
  margin-bottom: 1rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid currentColor;
  background: #fff;
  color: var(--idefar-text);
}

.idefar-contact-form__notice strong,
.idefar-contact-form__notice span {
  display: block;
}

.idefar-contact-form__notice strong {
  margin-bottom: 0.25rem;
}

.idefar-contact-form__notice ul {
  margin: 0.45rem 0 0;
  padding-left: 1.1rem;
}

.idefar-contact-form__notice.is-success {
  color: #0b7a39;
}

.idefar-contact-form__notice.is-error {
  color: #a62020;
}

.idefar-faq-section {
  max-width: var(--idefar-container);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5rem);
  text-align: center;
}

.idefar-faq-section h2 {
  max-width: 1120px;
  margin-right: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  margin-left: auto;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.idefar-faq-section h2 em {
  color: var(--idefar-primary);
  font-style: italic;
}

.idefar-faq-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.idefar-faq-list details {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1.3rem 0;
}

.idefar-faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  cursor: pointer;
  font-family: var(--idefar-font-display);
  font-size: 1.3rem;
  line-height: 1.4;
  list-style: none;
}

.idefar-faq-list summary::-webkit-details-marker {
  display: none;
}

.idefar-faq-list summary::after {
  flex: 0 0 auto;
  color: var(--idefar-text);
  content: "⌄";
  font-family: var(--idefar-font-body);
  font-size: 1.1rem;
  line-height: 1;
  transition: color 0.25s ease, transform 0.25s ease;
}

.idefar-faq-list details[open] summary {
  color: var(--idefar-primary);
}

.idefar-faq-list details[open] summary::after {
  color: var(--idefar-primary);
  transform: rotate(180deg);
}

.idefar-faq-list p {
  margin: 0;
  padding: 0 2.5rem 1.5rem 0;
  color: var(--idefar-text-light);
  font-size: 1rem;
  line-height: 1.7;
}

.idefar-legal-article {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(8rem, 12vw, 11rem) clamp(1.5rem, 5vw, 5rem) clamp(4rem, 8vw, 7rem);
}

.idefar-legal-article h1 {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
}

.idefar-legal-article h1 em {
  color: var(--idefar-primary);
}

.idefar-legal-article h2 {
  margin-top: 2.5rem;
  font-size: 1.55rem;
}

.idefar-legal-article p {
  color: var(--idefar-text-light);
  line-height: 1.78;
}

/* SPEC-003: WooCommerce PDP/category templates. */
.idefar-pdp,
.idefar-category {
  background: #fff;
  color: var(--idefar-text);
  font-family: var(--idefar-font-body);
  overflow-x: hidden;
}

.idefar-pdp h1,
.idefar-pdp h2,
.idefar-pdp h3,
.idefar-category h1,
.idefar-category h2,
.idefar-category h3 {
  margin-top: 0;
  font-family: var(--idefar-font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}

.idefar-pdp p,
.idefar-category p {
  font-size: 1.0625rem;
  line-height: 1.72;
}

.idefar-pdp-hero,
.idefar-category-hero {
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  min-height: 70vh;
  background: #fafaf8;
}

.idefar-pdp-hero__content,
.idefar-category-hero__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(7rem, 10vw, 10rem) clamp(2rem, 5vw, 5rem) clamp(4rem, 6vw, 6rem);
}

.idefar-pdp-hero__media,
.idefar-category-hero__media {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  background: linear-gradient(180deg, var(--idefar-cream), #ebe8e4);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.idefar-pdp-hero__image,
.idefar-category-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.idefar-image-panel__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.idefar-pdp-title {
  margin: 1.65rem 0 0.75rem;
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: 0.95;
  max-width: 760px;
  letter-spacing: -0.025em;
  overflow-wrap: normal;
}

.idefar-pdp-title span,
.idefar-pdp-title em {
  display: block;
  max-width: 100%;
}

.idefar-pdp-title em {
  white-space: nowrap;
}

.idefar-pdp-title em,
.idefar-copy-panel h2 em,
.idefar-routine-heading h2 em,
.idefar-category-intro h2 em {
  color: var(--idefar-primary);
  font-style: italic;
}

.idefar-category-hero__image {
  object-position: 72% top;
}

.idefar-pdp-invima,
.idefar-product-card__invima {
  margin: 0;
  color: var(--idefar-text-light);
  font-size: 0.75rem !important;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.idefar-pdp-tagline {
  max-width: 430px;
  margin: 2rem 0 0;
  color: var(--idefar-text-light);
  font-size: 1.125rem !important;
  overflow-wrap: break-word;
}

.idefar-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
  max-width: 520px;
  margin-top: 1.25rem;
}

.idefar-benefit-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.idefar-benefit-row span {
  flex: 0 0 auto;
  margin-top: 0.16rem;
  color: var(--idefar-primary);
  font-weight: 700;
}

.idefar-benefit-row p {
  min-width: 0;
  margin: 0;
  color: var(--idefar-text-light);
  font-size: 1rem !important;
  overflow-wrap: break-word;
}

.idefar-pdp-buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.idefar-pdp-cart-form {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
}

.idefar-pdp-cart-form .quantity {
  flex: 0 0 76px;
}

.idefar-pdp-cart-form .qty {
  width: 76px;
  height: 62px;
  border: 1px solid rgba(0, 22, 137, 0.18);
  background: #fff;
  color: var(--idefar-text);
  font-family: var(--idefar-font-body);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.idefar-pdp-cart-form .qty:focus {
  border-color: var(--idefar-primary);
  outline: 2px solid rgba(0, 22, 137, 0.12);
  outline-offset: 2px;
}

.idefar-pdp-cart-form .idefar-button--buy {
  cursor: pointer;
}

.idefar-category-hero__content > .idefar-button {
  margin-top: clamp(1.4rem, 2.4vw, 2.1rem);
}

.idefar-pdp-more {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  width: max-content;
  margin-top: 0.75rem;
  color: var(--idefar-text-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
}

.idefar-pdp-more svg {
  width: 1.125rem;
  height: 1.125rem;
  animation: idefarBounceDown 1.6s ease-in-out infinite;
}

.idefar-price-lockup,
.idefar-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}

.idefar-price,
.idefar-card-price .woocommerce-Price-amount {
  color: var(--idefar-text);
  font-family: var(--idefar-font-display);
  font-size: 1.875rem;
  font-weight: 500;
  line-height: 1;
}

.idefar-price-suffix,
.idefar-card-price span:last-child {
  color: var(--idefar-text-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.idefar-button--buy,
.idefar-button--small {
  min-height: 62px;
  padding: 1.25rem 2.5rem;
}

.idefar-button__arrow {
  width: 1.125rem;
  height: 1.125rem;
  transition: transform 0.3s var(--idefar-ease-out);
}

.idefar-button__cart {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}

.idefar-button:hover .idefar-button__arrow {
  transform: translateX(5px);
}

.idefar-button--small {
  min-height: 42px;
  padding: 0.78rem 1.1rem;
  font-size: 0.68rem;
}

.idefar-pdp-formula,
.idefar-related-cats {
  padding: clamp(5rem, 9vw, 9rem) 0;
  background: var(--idefar-dark);
  color: #fff;
}

.idefar-label--dark {
  color: rgba(255, 255, 255, 0.42);
}

.idefar-pdp-formula h2 {
  margin: 1.35rem 0 1rem;
  color: #fff;
  font-size: clamp(2.1rem, 4.4vw, 4rem);
}

.idefar-pdp-formula h2 em {
  color: rgba(255, 255, 255, 0.38);
  font-style: italic;
}

.idefar-section-intro {
  max-width: 660px;
  margin: 0;
  color: var(--idefar-text-light);
}

.idefar-section-intro--dark {
  color: rgba(255, 255, 255, 0.62);
}

.idefar-ingredient-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(3rem, 5vw, 5rem);
  background: rgba(255, 255, 255, 0.08);
}

.idefar-ingredient-card {
  min-height: 310px;
  padding: 2.35rem 1.5rem;
  background: var(--idefar-dark);
}

.idefar-ingredient-card__number {
  display: block;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.24);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}

.idefar-ingredient-card__type {
  display: inline-flex;
  margin-bottom: 1.1rem;
  padding: 0.25rem 0.65rem;
  border: 1px solid rgba(236, 32, 41, 0.35);
  color: var(--idefar-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.idefar-ingredient-card h3 {
  margin-bottom: 0.9rem;
  color: #fff;
  font-size: 1.25rem;
}

.idefar-ingredient-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.9rem;
}

.idefar-pdp-description,
.idefar-pdp-routine,
.idefar-category-products {
  padding: clamp(5rem, 9vw, 9rem) 0;
}

.idefar-pdp-usage,
.idefar-category-intro {
  padding: clamp(5rem, 9vw, 9rem) 0;
  background: var(--idefar-light-bg);
}

.idefar-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(3rem, 6vw, 8rem);
  align-items: start;
}

.idefar-two-col--center {
  align-items: center;
}

.idefar-image-panel {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 0;
  overflow: hidden;
  background: var(--idefar-cream);
}

.idefar-image-panel--portrait {
  aspect-ratio: 3 / 4;
  min-height: 0;
}

.idefar-copy-panel h2,
.idefar-routine-heading h2,
.idefar-category-intro h2 {
  margin: 1.35rem 0 1.5rem;
  font-size: clamp(2rem, 3.5vw, 2.9rem);
}

.idefar-copy-panel p {
  color: var(--idefar-text-light);
}

.idefar-copy-panel__composition {
  margin-top: 1.25rem;
  font-style: italic;
}

.idefar-whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease;
}

.idefar-whatsapp-float:hover {
  color: #fff;
  transform: scale(1.1);
}

.idefar-whatsapp-float svg {
  width: 1.75rem;
  height: 1.75rem;
}

@keyframes idefarBounceDown {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(5px);
  }
}

.idefar-step-list {
  display: flex;
  flex-direction: column;
  margin-top: 2.25rem;
}

.idefar-step {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  padding: 1.28rem 0;
  border-bottom: 1px solid rgba(0, 22, 137, 0.09);
}

.idefar-step span {
  display: grid;
  place-items: center;
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--idefar-primary);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
}

.idefar-step.is-key span {
  background: var(--idefar-accent);
}

.idefar-step p {
  margin: 0;
  padding-top: 0.44rem;
  color: var(--idefar-text);
}

.idefar-step.is-key p {
  color: var(--idefar-primary);
  font-weight: 600;
}

.idefar-routine-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.idefar-routine-heading > p {
  margin: 0 0 1.6rem;
  color: var(--idefar-text-light);
}

.idefar-routine-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 5.5rem;
  background: rgba(0, 0, 0, 0.06);
}

.idefar-routine-card {
  position: relative;
  min-height: 270px;
  padding: 6rem 1.65rem 2rem;
  background: var(--idefar-cream);
}

.idefar-routine-card.is-highlight {
  background: var(--idefar-primary);
  color: #fff;
}

.idefar-routine-card__image {
  position: absolute;
  top: -4.2rem;
  left: 50%;
  display: grid;
  place-items: center;
  width: 9.5rem;
  height: 7.6rem;
  transform: translateX(-50%);
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  transition: transform 0.3s var(--idefar-ease-out);
}

a.idefar-routine-card__image:hover,
a.idefar-routine-card__image:focus-visible {
  transform: translateX(-50%) translateY(-3px);
}

.idefar-routine-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.idefar-routine-card span,
.idefar-routine-card small {
  display: block;
  color: var(--idefar-text-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.idefar-routine-card.is-highlight span,
.idefar-routine-card.is-highlight small {
  color: rgba(255, 255, 255, 0.55);
}

.idefar-routine-card small {
  margin-top: 1rem;
}

.idefar-routine-card h3 {
  margin: 0.5rem 0 0.8rem;
  font-size: 1.18rem;
}

.idefar-routine-card p {
  margin: 0;
  color: var(--idefar-text-light);
  font-size: 0.9rem;
}

.idefar-routine-card.is-highlight p {
  color: rgba(255, 255, 255, 0.62);
}

.idefar-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(0, 0, 0, 0.06);
}

.idefar-product-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.88fr) minmax(0, 1fr);
  background: #fff;
}

.idefar-product-card__image {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--idefar-cream), #ede9e5);
  color: #fff;
  text-decoration: none;
}

.idefar-product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--idefar-ease-out);
}

.idefar-product-card__image span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.1rem;
  background: var(--idefar-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform 0.45s var(--idefar-ease-smooth);
}

.idefar-product-card:hover .idefar-product-card__img {
  transform: scale(1.045);
}

.idefar-product-card:hover .idefar-product-card__image span {
  transform: translateY(0);
}

.idefar-product-card__body {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.idefar-product-card h3 {
  margin: 0.75rem 0 0.85rem;
  font-size: 1.7rem;
}

.idefar-product-card h3 a {
  color: inherit;
  text-decoration: none;
}

.idefar-product-card h3 em {
  color: var(--idefar-primary);
  font-style: italic;
}

.idefar-product-card__tagline {
  margin: 0;
  color: var(--idefar-text-light);
  font-size: 1rem !important;
}

.idefar-product-card__benefits {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--idefar-text-light);
  font-size: 0.9rem;
}

.idefar-product-card__benefits div {
  display: flex;
  gap: 0.55rem;
}

.idefar-product-card__benefits span {
  color: var(--idefar-primary);
  font-weight: 700;
}

.idefar-product-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.3rem;
}

.idefar-card-detail {
  color: var(--idefar-text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
}

.idefar-related-cats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2.5rem;
  background: rgba(255, 255, 255, 0.08);
}

.idefar-related-cat {
  display: block;
  min-height: 230px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  text-decoration: none;
}

.idefar-related-cat h3 {
  color: #fff;
  font-size: 1.4rem;
}

.idefar-related-cat p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
}

.idefar-related-cat span {
  color: var(--idefar-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.idefar-shop {
  background: #fff;
  color: var(--idefar-text);
  font-family: var(--idefar-font-body);
}

.idefar-shop-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  height: 40vh;
  min-height: 400px;
  margin-top: 108px;
  overflow: hidden;
  background: linear-gradient(90deg, #fff 0%, #fff 52%, var(--idefar-light-bg) 52%, var(--idefar-light-bg) 100%);
}

.idefar-shop-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 2.5vw, 2.5rem) clamp(1.5rem, 5vw, 5.5rem);
}

.idefar-shop-hero h1 {
  max-width: 760px;
  margin: 0.75rem 0 0.75rem;
  font-family: var(--idefar-font-display);
  font-size: clamp(2.4rem, 3.45vw, 3.55rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.96;
  overflow-wrap: normal;
}

.idefar-shop-hero h1 em {
  display: block;
  color: var(--idefar-primary);
  font-style: italic;
}

.idefar-shop-hero p:not(.idefar-label) {
  max-width: 34rem;
  margin: 0;
  color: var(--idefar-text-light);
  font-size: 0.98rem;
  line-height: 1.55;
}

.idefar-shop-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  max-width: 30rem;
  margin-top: 0.95rem;
  background: rgba(0, 22, 137, 0.12);
}

.idefar-shop-hero__stats span {
  display: grid;
  flex: 1 1 12rem;
  gap: 0.35rem;
  padding: 0.75rem 1rem;
  background: #fff;
  color: var(--idefar-text-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.idefar-shop-hero__stats strong {
  color: var(--idefar-primary);
  font-family: var(--idefar-font-display);
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.idefar-shop-hero__image {
  position: relative;
  height: 100%;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--idefar-light-bg);
}

.idefar-shop-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.idefar-shop-main {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(5rem, 9vw, 8rem);
}

.idefar-shop-notices:empty {
  display: none;
}

.idefar-shop-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.25fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.idefar-shop-filter-toggle,
.idefar-shop-filter-overlay,
.idefar-shop-filters__head button {
  display: none;
}

.idefar-shop-filters {
  position: sticky;
  top: 138px;
  display: grid;
  gap: 2rem;
  padding: 1.6rem 0 0;
}

.idefar-shop-filters__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.05rem;
  border-bottom: 1px solid rgba(0, 10, 61, 0.12);
}

.idefar-shop-filters__head p,
.idefar-filter-group h2,
.idefar-shop-toolbar p,
.idefar-shop-order label {
  margin: 0;
  color: var(--idefar-text-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.idefar-shop-filters__head a {
  color: var(--idefar-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.idefar-filter-group {
  display: grid;
  gap: 0.45rem;
}

.idefar-filter-group h2 {
  margin-bottom: 0.5rem;
}

.idefar-filter-group a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 42px;
  padding: 0.7rem 0.85rem;
  border-left: 2px solid transparent;
  color: var(--idefar-text);
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.idefar-filter-group a:hover,
.idefar-filter-group a.is-active {
  border-left-color: var(--idefar-primary);
  background: #f5f8ff;
  color: var(--idefar-primary);
}

.idefar-filter-group small {
  color: var(--idefar-text-light);
  font-size: 0.78rem;
}

.idefar-shop-results {
  min-width: 0;
}

.idefar-shop-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.idefar-shop-toolbar h2 {
  margin: 0.45rem 0 0;
  font-family: var(--idefar-font-display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.05;
}

.idefar-shop-order {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.idefar-shop-order select {
  min-height: 42px;
  padding: 0 2.5rem 0 0.95rem;
  border: 1px solid rgba(0, 22, 137, 0.18);
  border-radius: 0;
  background: #fff;
  color: var(--idefar-text);
  font-family: var(--idefar-font-body);
  font-size: 0.9rem;
}

.idefar-shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(0, 10, 61, 0.08);
}

.idefar-shop-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
}

.idefar-shop-card__image {
  display: grid;
  place-items: center;
  min-height: 315px;
  padding: 2rem;
  background: linear-gradient(180deg, var(--idefar-cream), #fff);
  text-decoration: none;
}

.idefar-shop-card__img {
  width: min(100%, 260px);
  height: 250px;
  object-fit: contain;
  transition: transform 0.45s var(--idefar-ease-out);
}

.idefar-shop-card:hover .idefar-shop-card__img {
  transform: translateY(-5px) scale(1.025);
}

.idefar-shop-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.45rem;
}

.idefar-shop-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  line-height: 1.12;
}

.idefar-shop-card h3 a {
  color: inherit;
  text-decoration: none;
}

.idefar-shop-card h3 em {
  display: block;
  color: var(--idefar-primary);
  font-style: italic;
}

.idefar-shop-card p {
  margin: 0;
  color: var(--idefar-text-light);
  font-size: 0.94rem;
  line-height: 1.55;
}

.idefar-shop-card ul {
  display: grid;
  gap: 0.4rem;
  margin: 1rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(0, 10, 61, 0.08);
  color: var(--idefar-text-light);
  font-size: 0.84rem;
  line-height: 1.45;
  list-style: none;
}

.idefar-shop-card li::before {
  content: "✓";
  margin-right: 0.45rem;
  color: var(--idefar-primary);
  font-weight: 700;
}

.idefar-shop-card__footer {
  display: grid;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

.idefar-shop-card__footer .idefar-button {
  width: 100%;
}

.idefar-shop-empty {
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--idefar-cream);
}

.idefar-shop-empty h2 {
  margin: 0 0 0.75rem;
  font-family: var(--idefar-font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
}

.idefar-shop-empty p {
  max-width: 32rem;
  margin: 0 0 1.5rem;
  color: var(--idefar-text-light);
}

.idefar-shop-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-top: 2rem;
}

.idefar-shop-pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid rgba(0, 22, 137, 0.16);
  color: var(--idefar-primary);
  font-weight: 700;
  text-decoration: none;
}

.idefar-shop-pagination .page-numbers.current,
.idefar-shop-pagination .page-numbers:hover {
  background: var(--idefar-primary);
  color: #fff;
}

.woocommerce .idefar-pdp *,
.woocommerce .idefar-category *,
.woocommerce .idefar-checkout-page *,
.woocommerce .idefar-shop * {
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .idefar-header__inner {
    min-height: 110px;
  }

  .idefar-nav {
    display: none;
  }

  .idefar-mobile-menu-toggle,
  .idefar-mobile-menu {
    display: flex;
  }

  .idefar-header__cta {
    display: none;
  }

  .idefar-hero {
    grid-template-columns: 1fr;
  }

  .idefar-hero__media {
    order: -1;
    min-height: 44vh;
  }

  .idefar-hero__content {
    text-align: center;
  }

  .idefar-label,
  .idefar-hero__actions {
    justify-content: center;
  }

  .idefar-hero__copy {
    max-width: 20rem;
    margin-right: auto;
    margin-left: auto;
  }

  .idefar-hero__badge {
    display: none;
  }

  .idefar-foundation-grid {
    grid-template-columns: 1fr;
  }

  .idefar-home-hero__slide,
  .idefar-home-story,
  .idefar-blog-hero,
  .idefar-blog-article-hero,
  .idefar-page-hero,
  .idefar-shop-hero,
  .idefar-editorial-section,
  .idefar-about-story,
  .idefar-about-story--reverse,
  .idefar-about-dark__grid {
    grid-template-columns: 1fr;
  }

  .idefar-home-hero {
    padding-top: 108px;
  }

  .idefar-home-hero__image,
  .idefar-blog-hero__image,
  .idefar-blog-article-hero__image,
  .idefar-shop-hero__image,
  .idefar-page-hero__image {
    order: -1;
    min-height: 48vh;
  }

  .idefar-home-hero__image img {
    height: 48vh;
    min-height: 22rem;
  }

  .idefar-home-hero__slide:nth-child(1) .idefar-home-hero__image img {
    object-position: 56% top;
  }

  .idefar-home-hero__slide:nth-child(2) .idefar-home-hero__image img {
    object-position: 60% 32%;
  }

  .idefar-home-hero__slide:nth-child(3) .idefar-home-hero__image img {
    object-position: 54% 38%;
  }

  .idefar-home-hero__content,
  .idefar-blog-hero__content,
  .idefar-blog-article-hero__content,
  .idefar-shop-hero__content,
  .idefar-page-hero__content {
    padding: 4rem 1.5rem;
  }

  .idefar-home-hero__badge {
    display: none;
  }

  .idefar-home-hero__controls {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    justify-content: center;
  }

  .idefar-home-product-grid,
  .idefar-home-category-grid,
  .idefar-home-blog-grid,
  .idefar-blog-grid,
  .idefar-shop-grid,
  .idefar-home-benefits__grid,
  .idefar-contact-cards .idefar-shell {
    grid-template-columns: 1fr;
  }

  .idefar-contact-cards a + a {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-left: 0;
  }

  .idefar-blog-article-layout .idefar-shell {
    grid-template-columns: 1fr;
  }

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

  .idefar-contact-panel__copy {
    position: static;
  }

  .idefar-blog-sidebar__inner {
    position: static;
  }

  .idefar-about-story--reverse figure {
    order: 0;
  }

  .idefar-about-story figure {
    min-height: 46vh;
  }

  .idefar-about-dark__image {
    max-height: 620px;
  }
}

@media (max-width: 1100px) {
  .idefar-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .idefar-cart-summary {
    position: static;
  }

  .idefar-checkout-panel form.checkout {
    grid-template-areas:
      "fields"
      "review";
    grid-template-columns: 1fr;
  }

  .idefar-checkout-page .col2-set,
  .idefar-checkout-page #order_review_heading,
  .idefar-checkout-page #order_review {
    grid-column: 1;
  }

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

  .idefar-checkout-main {
    padding-top: calc(74px + 2rem);
  }

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

  .idefar-shop-filters {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    padding: 0;
  }

  .idefar-shop-filters__head {
    grid-column: 1 / -1;
  }

  .idefar-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .idefar-ingredient-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .idefar-routine-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 5rem;
  }

  .idefar-product-card {
    grid-template-columns: 1fr;
  }

  .idefar-product-card__image {
    min-height: 440px;
  }
}

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

  .idefar-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .idefar-cart-hero {
    min-height: auto;
    padding: calc(74px + 2rem) 0 2rem;
    background: #fff;
  }

  .idefar-checkout-hero {
    background: #fff;
  }

  .idefar-shop-hero {
    height: auto;
    min-height: 0;
    margin-top: 110px;
    background: #fff;
  }

  .idefar-shop-hero__content {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .idefar-shop-hero__image {
    min-height: 40vh;
  }

  .idefar-home-story,
  .idefar-home-story__image,
  .idefar-home-story__image img {
    height: auto;
    min-height: 0;
  }

  .idefar-home-story__image {
    min-height: 42vh;
  }

  .idefar-home-story__image img {
    min-height: 42vh;
  }

  .idefar-home-story__content {
    padding: 3rem 1.5rem;
  }

  .idefar-cart-hero .idefar-shell,
  .idefar-checkout-hero .idefar-shell,
  .idefar-cart-item {
    grid-template-columns: 1fr;
  }

  .idefar-cart-hero__meta {
    justify-items: start;
    max-width: none;
    padding: 1rem 0 0;
    border-top: 1px solid rgba(0, 10, 61, 0.1);
    border-left: 0;
    background: transparent;
  }

  .idefar-checkout-hero__meta {
    justify-items: start;
  }

  .idefar-checkout-page .woocommerce-billing-fields,
  .idefar-checkout-page .woocommerce-shipping-fields,
  .idefar-checkout-page .woocommerce-additional-fields,
  .idefar-checkout-page #order_review_heading,
  .idefar-checkout-page #order_review {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .idefar-thankyou__hero,
  .idefar-thankyou__body {
    grid-template-columns: 1fr;
  }

  .idefar-thankyou__hero {
    min-height: 0;
    background: #fff;
  }

  .idefar-thankyou__copy h1 {
    max-width: 10ch;
  }

  .idefar-thankyou__summary {
    width: auto;
    margin: 0 1.25rem 1.25rem;
  }

  .idefar-thankyou__overview {
    grid-template-columns: 1fr;
  }

  .idefar-thankyou__overview div {
    border-right: 0;
    border-bottom: 1px solid rgba(0, 22, 137, 0.1);
  }

  .idefar-thankyou__overview div:last-child {
    border-bottom: 0;
  }

  .idefar-thankyou__next {
    position: static;
  }

  .idefar-checkout-page .woocommerce-billing-fields__field-wrapper,
  .idefar-checkout-page .woocommerce-shipping-fields__field-wrapper {
    grid-template-columns: 1fr;
  }

  .idefar-checkout-page form .form-row-first,
  .idefar-checkout-page form .form-row-last,
  .woocommerce-page .idefar-checkout-page form .form-row-first,
  .woocommerce-page .idefar-checkout-page form .form-row-last {
    float: none !important;
    width: 100% !important;
  }

  .idefar-cart-items__head {
    display: none;
  }

  .idefar-home-hero {
    min-height: 0;
  }

  .idefar-home-hero__track,
  .idefar-home-hero__slide {
    min-height: 0;
  }

  .idefar-home-hero__title {
    font-size: clamp(3.2rem, 18vw, 4.4rem);
  }

  .idefar-home-section,
  .idefar-blog-listing,
  .idefar-blog-related-section,
  .idefar-editorial-section,
  .idefar-faq-section {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }

  .idefar-about-story > div {
    padding: 2.5rem 1.5rem;
  }

  .idefar-about-stats {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .idefar-about-stats article {
    padding: 1.25rem 0;
  }

  .idefar-about-mission,
  .idefar-about-mission--vision {
    justify-items: start;
    min-height: 0;
    padding: 4rem 1.5rem;
    background:
      linear-gradient(90deg, rgba(0, 10, 61, 0.94) 0%, rgba(0, 10, 61, 0.82) 100%),
      url("/wp-content/themes/idefar-theme/assets/images/gel-aloe-vera-3.webp") center / cover no-repeat;
  }

  .idefar-about-mission--vision {
    background:
      linear-gradient(90deg, rgba(0, 10, 61, 0.94) 0%, rgba(0, 10, 61, 0.82) 100%),
      url("/wp-content/themes/idefar-theme/assets/images/gel-exfoliante-2.webp") center / cover no-repeat;
  }

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

  .idefar-blog-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .idefar-shop-toolbar,
  .idefar-shop-order {
    align-items: flex-start;
    flex-direction: column;
  }

  .idefar-shop-order,
  .idefar-shop-order select {
    width: 100%;
  }

  .idefar-shop-filters {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 76;
    display: block;
    width: min(342px, 88vw);
    padding: calc(74px + 1.4rem) 1.35rem 2rem;
    border: 1px solid rgba(0, 10, 61, 0.08);
    background: #fff;
    box-shadow: 24px 0 70px rgba(0, 16, 82, 0.16);
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform 0.28s var(--idefar-ease-out);
  }

  .idefar-shop-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin: 0 0 1.25rem;
    border: 0;
    background: var(--idefar-primary);
    color: #fff;
    cursor: pointer;
    font-family: var(--idefar-font-body);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .idefar-shop-filter-overlay {
    position: fixed;
    inset: 0;
    z-index: 75;
    display: block;
    border: 0;
    background: rgba(0, 10, 61, 0.34);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
  }

  .idefar-shop-filters-open {
    overflow: hidden;
  }

  .idefar-shop-filters-open .idefar-shop-filters {
    transform: translateX(0);
  }

  .idefar-shop-filters-open .idefar-shop-filter-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .idefar-shop-filters__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.4rem;
  }

  .idefar-shop-filters__head button {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(0, 22, 137, 0.16);
    background: #fff;
    color: var(--idefar-primary);
    cursor: pointer;
  }

  .idefar-shop-filters__head button svg {
    width: 1rem;
    height: 1rem;
  }

  .idefar-filter-group + .idefar-filter-group {
    margin-top: 1.8rem;
  }

  .idefar-shop-card__image {
    min-height: 280px;
  }

  .idefar-shop-grid {
    grid-template-columns: 1fr;
  }

  .idefar-shop-hero h1 {
    font-size: clamp(2.55rem, 11vw, 3.35rem);
  }

  .idefar-shop-hero__stats {
    flex-wrap: nowrap;
    max-width: none;
    margin-top: 1.1rem;
  }

  .idefar-shop-hero__stats span {
    flex: 1 1 0;
    min-width: 0;
  }

  .idefar-blog-hero h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .idefar-blog-article-hero h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .idefar-blog-article-hero__image img {
    min-height: 48vh;
  }

  .idefar-blog-article-body > p:first-child,
  .idefar-blog-article-body > p:nth-child(2),
  .idefar-blog-article-body p,
  .idefar-blog-article-body li {
    font-size: 1rem;
  }

  .idefar-home-category-card {
    min-height: 340px;
  }

  .idefar-home-benefits > span {
    display: none;
  }

  .idefar-home-benefits article {
    padding: 1.2rem 0;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .idefar-cart-item {
    gap: 1rem;
    padding: 1.4rem 0;
  }

  .idefar-cart-item__image {
    width: 100%;
    max-width: 12rem;
  }

  .idefar-cart-item__subtotal {
    justify-items: start;
  }

  .idefar-cart-notices .woocommerce-message,
  .idefar-cart-notices .woocommerce-info,
  .idefar-cart-notices .woocommerce-error,
  .woocommerce-message,
  .woocommerce-info,
  .woocommerce-error,
  .wc-block-components-notice-banner {
    align-items: start;
    gap: 0.75rem;
    padding: 0.95rem !important;
  }

  .wc-block-components-notice-banner__content {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
  }

  .woocommerce-message .button,
  .woocommerce-info .button,
  .woocommerce-error .button {
    margin-left: 0;
  }

  .idefar-pdp-hero,
  .idefar-category-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .idefar-pdp-hero__media {
    order: -1;
    height: 65vmax;
    min-height: 560px;
    max-height: 720px;
  }

  .idefar-category-hero__media {
    order: -1;
    height: min(92vw, 420px);
    min-height: 320px;
    max-height: 420px;
  }

  .idefar-pdp-hero__content,
  .idefar-category-hero__content {
    padding: 7rem 2rem 4rem;
    text-align: left;
  }

  .idefar-pdp-kicker,
  .idefar-pdp-buy {
    justify-content: flex-start;
  }

  .idefar-pdp-title {
    max-width: none;
    margin-right: 0;
    margin-left: 0;
    font-size: clamp(2.5rem, 10.2vw, 3.05rem);
    line-height: 0.98;
  }

  .idefar-pdp-title em {
    font-size: 1em;
  }

  .idefar-pdp-tagline,
  .idefar-benefits-list {
    max-width: 400px;
    margin-right: 0;
    margin-left: 0;
  }

  .idefar-category-intro h2,
  .idefar-category-intro p,
  .idefar-copy-panel p {
    max-width: 20.5rem;
    margin-right: auto;
    margin-left: auto;
    overflow-wrap: break-word;
  }

  .idefar-category-hero .idefar-pdp-title {
    max-width: 18rem;
  }

  .idefar-benefit-row {
    text-align: left;
  }

  .idefar-two-col,
  .idefar-routine-heading {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .idefar-ingredient-grid,
  .idefar-category-grid,
  .idefar-related-cats__grid {
    grid-template-columns: 1fr;
  }

  .idefar-product-card__image {
    min-height: 380px;
  }

  .idefar-product-card__image span {
    transform: none;
  }
}

@media (max-width: 520px) {
  .idefar-pdp-buy,
  .idefar-product-card__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .idefar-price-lockup,
  .idefar-card-price {
    justify-content: center;
  }

  .idefar-button--buy,
  .idefar-button--small {
    width: 100%;
  }

  .idefar-pdp-cart-form {
    width: 100%;
  }

  .idefar-pdp-cart-form .quantity {
    flex-basis: 72px;
  }

  .idefar-pdp-cart-form .qty {
    width: 72px;
  }

  .idefar-pdp-cart-form .idefar-button--buy {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .idefar-pdp-hero__media {
    height: 65vmax;
    min-height: 560px;
    max-height: 720px;
  }

  .idefar-category-hero__media {
    height: min(92vw, 360px);
    min-height: 300px;
    max-height: 360px;
  }

  .idefar-routine-grid {
    grid-template-columns: 1fr;
  }

  .idefar-routine-card {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .idefar-header__cta {
    display: none;
  }

  .idefar-hero h1 {
    font-size: 2.6rem;
  }

  .idefar-label {
    gap: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    line-height: 1.55;
    white-space: normal;
  }

  .idefar-pdp-kicker {
    align-items: center;
    display: inline-flex;
    flex-wrap: nowrap;
    width: 100%;
    justify-content: flex-start;
  }

  .idefar-pdp-kicker::before {
    width: 30px;
  }

  .idefar-pdp-kicker .idefar-label__text {
    display: block;
    max-width: calc(100% - 2.75rem);
    overflow-wrap: normal;
    text-align: left;
    white-space: normal;
  }

  .idefar-pdp-tagline,
  .idefar-benefits-list,
  .idefar-category-intro h2,
  .idefar-category-intro p,
  .idefar-copy-panel p {
    max-width: 100%;
  }

  .idefar-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .idefar-button {
    width: 100%;
  }

  .idefar-brand {
    width: 128px;
  }
}

.idefar-home-product-carousel {
  position: relative;
  max-width: var(--idefar-container);
  margin: 0 auto;
  padding: 0 4.25rem;
}

.idefar-home-product-carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-padding-inline: 1px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.idefar-home-product-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.idefar-home-product-carousel .idefar-home-product-grid {
  display: grid;
  grid-auto-columns: calc((100% - 2px) / 3);
  grid-auto-flow: column;
  grid-template-columns: none;
  gap: 1px;
  margin: 0;
  max-width: none;
  width: 100%;
  min-width: 100%;
}

.idefar-home-product-carousel .idefar-home-product-card {
  scroll-snap-align: start;
}

.idefar-home-product-carousel__button {
  position: absolute;
  top: clamp(9rem, 19vw, 15rem);
  z-index: 3;
  display: inline-grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid rgba(0, 22, 137, 0.16);
  background: #fff;
  color: var(--idefar-primary);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.idefar-home-product-carousel__button.is-prev {
  left: 0;
}

.idefar-home-product-carousel__button.is-next {
  right: 0;
}

.idefar-home-product-carousel__button svg {
  width: 1.2rem;
  height: 1.2rem;
}

.idefar-home-product-carousel__button:hover,
.idefar-home-product-carousel__button:focus-visible {
  border-color: var(--idefar-primary);
  background: var(--idefar-primary);
  color: #fff;
  transform: translateY(-1px);
}

.idefar-home-product-carousel__button:disabled,
.idefar-home-product-carousel__button[aria-disabled="true"] {
  opacity: 0.28;
  pointer-events: none;
}

@media (max-width: 900px) {
  .idefar-home-product-carousel {
    padding: 0 3.25rem;
  }

  .idefar-home-product-carousel .idefar-home-product-grid {
    grid-auto-columns: calc((100% - 1px) / 2);
    grid-template-columns: none;
  }

  .idefar-home-product-carousel__button {
    top: clamp(7rem, 31vw, 10rem);
    width: 2.75rem;
    height: 2.75rem;
  }
}

@media (max-width: 520px) {
  .idefar-home-product-carousel {
    padding: 0 1.15rem;
  }

  .idefar-home-product-carousel .idefar-home-product-grid {
    grid-auto-columns: calc((100% - 1px) / 2);
    grid-template-columns: none;
  }

  .idefar-home-product-carousel__button {
    top: 7.2rem;
    width: 2.35rem;
    height: 2.35rem;
    box-shadow: 0 18px 40px rgba(0, 16, 82, 0.1);
  }

  .idefar-home-product-carousel__button.is-prev {
    left: 0;
  }

  .idefar-home-product-carousel__button.is-next {
    right: 0;
  }

  .idefar-home-product-carousel .idefar-home-product-card__image {
    aspect-ratio: 1 / 1.08;
    padding: 1rem;
  }

  .idefar-home-product-carousel .idefar-home-product-card__image span {
    top: 0.7rem;
    left: 0.7rem;
    padding: 0.32rem 0.45rem;
    font-size: 0.56rem;
  }

  .idefar-home-product-carousel .idefar-home-product-card__body {
    gap: 0.55rem;
    padding: 0.95rem;
  }

  .idefar-home-product-carousel .idefar-home-product-card__cat {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .idefar-home-product-carousel .idefar-home-product-card h3 {
    font-size: 1.02rem;
    line-height: 1.12;
  }

  .idefar-home-product-carousel .idefar-home-product-card p:not(.idefar-home-product-card__cat) {
    display: -webkit-box;
    overflow: hidden;
    min-height: 3.95em;
    font-size: 0.76rem;
    line-height: 1.32;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .idefar-home-product-carousel .idefar-home-product-card__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
    padding-top: 0.75rem;
  }

  .idefar-home-product-carousel .idefar-home-product-card__footer strong {
    font-size: 0.95rem;
  }

  .idefar-home-product-carousel .idefar-home-product-card__footer a {
    font-size: 0.62rem;
  }
}

@media (max-width: 780px) {
  .idefar-home-hero__content {
    padding: 3.15rem 1.5rem 3.35rem;
  }

  .idefar-home-hero__title {
    font-size: clamp(3.05rem, 15vw, 3.85rem);
    line-height: 0.98;
  }

  .idefar-home-hero__copy {
    margin-top: 1.35rem;
    font-size: 1rem;
    line-height: 1.62;
  }

  .idefar-home-hero__actions {
    margin-top: 1.7rem;
    gap: 0.75rem;
  }

  .idefar-pdp-hero__media {
    height: min(94vw, 440px);
    min-height: 390px;
    max-height: 460px;
  }

  .idefar-pdp-hero__content,
  .idefar-category-hero__content {
    padding: 3.4rem 2rem 3.5rem;
  }

  .idefar-pdp-title {
    font-size: clamp(2.25rem, 9.3vw, 2.85rem);
    line-height: 1;
  }

  .idefar-pdp-tagline,
  .idefar-category-hero__content p {
    margin-top: 1.35rem;
    font-size: 1rem;
    line-height: 1.65;
  }

  .idefar-pdp-buy {
    margin-top: 2rem;
  }
}

@media (max-width: 520px) {
  .idefar-home-hero__content {
    padding: 2.75rem 1.35rem 3rem;
  }

  .idefar-home-hero__title {
    font-size: clamp(2.85rem, 14.6vw, 3.6rem);
  }

  .idefar-home-product-carousel {
    padding: 0 1.35rem;
  }

  .idefar-home-product-carousel .idefar-home-product-grid {
    grid-auto-columns: minmax(252px, 82vw);
  }

  .idefar-home-product-carousel .idefar-home-product-card__image {
    aspect-ratio: 1 / 1.02;
    padding: 1.15rem;
  }

  .idefar-home-product-carousel .idefar-home-product-card__body {
    gap: 0.7rem;
    padding: 1.1rem;
  }

  .idefar-home-product-carousel .idefar-home-product-card h3 {
    font-size: 1.16rem;
    line-height: 1.14;
  }

  .idefar-home-product-carousel .idefar-home-product-card p:not(.idefar-home-product-card__cat) {
    min-height: 3.65em;
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .idefar-home-product-carousel .idefar-home-product-card__footer strong {
    font-size: 1.04rem;
  }

  .idefar-home-product-carousel__button {
    top: 8.15rem;
  }

  .idefar-pdp-hero__media {
    height: min(96vw, 400px);
    min-height: 360px;
    max-height: 420px;
  }

  .idefar-category-hero__media {
    height: min(86vw, 340px);
    min-height: 285px;
    max-height: 340px;
  }

  .idefar-pdp-hero__content,
  .idefar-category-hero__content {
    padding: 2.75rem 1.5rem 3rem;
  }

  .idefar-label,
  .idefar-pdp-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    line-height: 1.5;
  }

  .idefar-category-hero .idefar-pdp-title {
    max-width: 20rem;
  }
}

.idefar-qty-control {
  display: grid;
  grid-template-columns: 2.55rem 3.1rem 2.55rem;
  height: 3.875rem;
  border: 1px solid rgba(0, 22, 137, 0.18);
  background: #fff;
}

.idefar-qty-control__button {
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--idefar-primary);
  cursor: pointer;
  font-family: var(--idefar-font-body);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.idefar-qty-control__button:focus-visible {
  outline: 2px solid rgba(0, 22, 137, 0.22);
  outline-offset: -2px;
}

.idefar-qty-control .quantity {
  min-width: 0;
}

.idefar-home-hero__actions .idefar-button--text:has(a[href="/nosotros/"]),
.idefar-home-hero__actions a[href="/nosotros/"] {
  display: none !important;
}

.idefar-checkout-country-hidden {
  display: none !important;
}

.idefar-pdp-cart-form .idefar-qty-control .qty {
  width: 100%;
  height: 100%;
  border: 0;
  border-right: 1px solid rgba(0, 22, 137, 0.12);
  border-left: 1px solid rgba(0, 22, 137, 0.12);
  appearance: textfield;
}

.idefar-pdp-cart-form .idefar-qty-control .qty::-webkit-outer-spin-button,
.idefar-pdp-cart-form .idefar-qty-control .qty::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

@media (max-width: 780px) {
  .idefar-home-hero__title {
    font-size: clamp(2.55rem, 11.4vw, 3.25rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
  }

  .idefar-pdp-hero__image,
  .idefar-category-hero__image {
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
  }

  .idefar-pdp-hero__media,
  .idefar-category-hero__media {
    background: linear-gradient(180deg, #fbfaf8, #eeeae5);
  }

  .idefar-home-story__image,
  .idefar-home-story__image img {
    height: min(74vw, 340px);
    min-height: 280px;
    max-height: 340px;
  }
}

@media (max-width: 520px) {
  .idefar-home-hero__content {
    padding-top: 2.35rem;
    padding-bottom: 2.3rem;
  }

  .idefar-home-hero__title {
    margin-top: 1.1rem;
    font-size: clamp(2.35rem, 10.4vw, 2.9rem);
    line-height: 1.04;
  }

  .idefar-home-hero__copy {
    margin-top: 1.2rem;
    font-size: 0.97rem;
    line-height: 1.58;
  }

  .idefar-home-hero__actions {
    margin-top: 1.45rem;
  }

  .idefar-home-hero__controls {
    position: static;
    justify-content: center;
    width: max-content;
    margin: 1rem auto 1.35rem;
  }

  .idefar-home-hero__arrow {
    width: 2.65rem;
    height: 2.65rem;
  }

  .idefar-pdp-hero__media {
    height: min(82vw, 330px);
    min-height: 300px;
    max-height: 340px;
  }

  .idefar-category-hero__media {
    height: min(78vw, 310px);
    min-height: 280px;
    max-height: 320px;
  }

  .idefar-pdp-hero,
  .idefar-category-hero {
    padding-top: 0;
    margin-top: 110px;
  }

  .idefar-pdp-hero__content,
  .idefar-category-hero__content {
    padding-top: 2rem;
  }

  .idefar-category-hero__content .idefar-label,
  .idefar-pdp-kicker {
    gap: 0.48rem;
    font-size: 0.58rem !important;
    letter-spacing: 0.15em !important;
    line-height: 1.45 !important;
  }

  .idefar-category-hero__content .idefar-label::before,
  .idefar-pdp-kicker::before {
    width: 2rem;
  }

  .idefar-pdp-kicker .idefar-label__text {
    max-width: calc(100% - 2.5rem);
  }

  .idefar-pdp-cart-form {
    display: grid;
    grid-template-columns: 8.2rem minmax(0, 1fr);
    gap: 0.75rem;
    width: 100%;
    max-width: 360px;
  }

  .idefar-pdp-cart-form > .quantity {
    display: block;
    flex: none;
    width: 4.25rem;
  }

  .idefar-pdp-cart-form > .quantity .qty {
    width: 4.25rem;
    height: 3.65rem;
    border-color: rgba(0, 22, 137, 0.24);
    border-right: 0;
    border-radius: 0;
    appearance: textfield;
  }

  .idefar-pdp-cart-form .qty::-webkit-outer-spin-button,
  .idefar-pdp-cart-form .qty::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
  }

  .idefar-pdp-cart-form .idefar-button--buy {
    width: 100%;
    height: 3.65rem;
    min-height: 3.65rem;
    justify-content: center;
    padding-right: 0.8rem;
    padding-left: 0.8rem;
  }

  .idefar-pdp-cart-form .idefar-qty-control {
    width: 8.2rem;
    height: 3.65rem;
    grid-template-columns: 2.35rem 3.5rem 2.35rem;
  }

  .idefar-pdp-cart-form .idefar-qty-control .quantity {
    display: block;
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .idefar-pdp-cart-form .idefar-qty-control .qty {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0;
    max-width: 100%;
    padding: 0;
    color: var(--idefar-text);
    text-align: center;
  }
}

@media (max-width: 520px) {
  .idefar-checkout-title {
    margin-bottom: 1.55rem;
  }

  .idefar-checkout-title h1 {
    max-width: 14ch;
    margin-top: 0.55rem;
    font-size: clamp(2.15rem, 9.1vw, 2.45rem);
    line-height: 1.04;
  }

  .idefar-checkout-title p:last-child {
    max-width: 30rem;
    margin-top: 0.85rem;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .idefar-checkout-page .woocommerce-billing-fields h3,
  .idefar-checkout-page .woocommerce-shipping-fields h3,
  .idefar-checkout-page .woocommerce-additional-fields h3 {
    margin-bottom: 0.95rem;
    font-size: clamp(1.18rem, 5vw, 1.35rem);
    line-height: 1.1;
  }
}

.idefar-checkout-page .select2-container--default .select2-selection--single {
  height: auto !important;
  min-height: 3.25rem !important;
}

.idefar-checkout-page .select2-container--default .select2-selection--single .select2-selection__rendered {
  height: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 3.25rem !important;
}
