
@font-face {
  font-family: "Helvetica Neue";
  src: url("../fonts/HelveticaNeue-Roman.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("../fonts/HelveticaNeueLTW1G-Md.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Blair ITC Std";
  src: url("../fonts/BlairITCStdRegular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


/* ==================================================
   UTILITIES
================================================== */

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

/* ==================================================
   FULL WIDTH BASE (header/topbar)
================================================== */

/* Importante: permitir que el submenu “salga” hacia abajo */
.site-header,
.header-main,
.topbar {
  width: 100%;
  overflow: visible; /* ✅ clave para dropdown */
}

/* Si tu tema trae .container con max-width fijo, esto lo “libera” SOLO en header/topbar */
.topbar .container,
.header-main .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

/* Inner full width prolijo */
.topbar__inner,
.header-main__inner {
  width: 100%;
  padding: 0 32px;
  box-sizing: border-box;
}

/* ==================================================
   TOP BAR (Figma)
================================================== */

.topbar {
  background: #D6D6D6;
  font-size: 12px;
  padding: 6px 0;
}

.topbar__inner {
  display: grid;
  grid-template-columns: 1fr minmax(auto, 560px) 1fr;
  align-items: center;
  gap: 16px;
}

.topbar__left {
  min-width: 80px;
  white-space: nowrap;
}

.topbar__right{
  display:flex;
  align-items:center;
  justify-content: flex-end;
  gap:14px;
  white-space: nowrap;
}

.topbar__links{
  display:flex;
  align-items:center;
  gap:8px;
}

.topbar__link{
  font-size:12px;
  color:#000;
  text-decoration:none;
  background:none;
  border:none;
  padding:0;
  cursor:pointer;
  font-family:inherit;
}

.topbar__sep{
  opacity:.7;
}

.topbar__center {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-width: 0;
}

.topbar__arrow {
  background: transparent;
  border: 0;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 10px;
  flex-shrink: 0;
}

.topbar__msgwrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  flex: 1;
  min-width: 0;
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 500;
  overflow: hidden;
}

.topbar__msg {
  display: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 720px; /* ✅ más ancho en desktop */
}

.topbar__msg.is-active {
  display: block;
}

.topbar-menu {
  list-style: none;
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.topbar-menu li { list-style: none; }

.topbar-menu a {
  text-decoration: none;
  color: #000;
  font-size: 12px;
}

/* Currency + language selectors */
.topbar__selectors {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar__selector-sep {
  color: #242323;
  opacity: 0.5;
  font-size: 12px;
  line-height: 1;
}

.topbar__currency-wrap {
  display: flex;
  align-items: center;
  position: relative;
}

/* Hide native select, show custom dropdown instead */
.topbar__currency-wrap #alg_currency_select,
.topbar__currency-wrap .alg_currency_select {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.topbar__currency-btn {
  display: flex;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #242323;
  line-height: 1;
}

.topbar__currency-chevron {
  margin-left: 1px;
  transition: transform 0.2s ease;
}

.topbar__currency-wrap.is-open .topbar__currency-chevron {
  transform: rotate(180deg);
}

.topbar__currency-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 1px solid #e8e8e8;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  min-width: 180px;
  z-index: 1100;
}

.topbar__currency-wrap.is-open .topbar__currency-dropdown {
  display: block;
}

.topbar__currency-dropdown li {
  list-style: none;
}

.topbar__currency-dropdown button {
  display: block;
  width: 100%;
  padding: 8px 16px;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #242323;
  cursor: pointer;
  white-space: nowrap;
}

.topbar__currency-dropdown button:hover {
  background: #f5f5f5;
}

.topbar__currency-dropdown .is-active button {
  font-weight: 600;
}

.topbar__country-wrap {
  position: relative;
}

.topbar__country-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #242323;
  line-height: 1;
}

.topbar__country-flag {
  width: 14px;
  height: 14px;
  object-fit: cover;
  border-radius: 50%;
  vertical-align: middle;
}

.topbar__country-chevron {
  margin-left: 1px;
  transition: transform 0.2s ease;
}

.topbar__country-select.is-open .topbar__country-chevron {
  transform: rotate(180deg);
}

.topbar__country-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  list-style: none;
  margin: 0;
  padding: 4px 0;
  min-width: 80px;
  z-index: 1100;
}

.topbar__country-select.is-open .topbar__country-dropdown {
  display: block;
}

.topbar__country-dropdown li {
  list-style: none;
}

.topbar__country-dropdown a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #242323;
  text-decoration: none;
  white-space: nowrap;
}

.topbar__country-dropdown a:hover {
  background: #f5f5f5;
}

.topbar__country-dropdown .is-active a {
  font-weight: 700;
}

/* Native plugin elements hidden — custom dropdown used instead */
#alg_currency_selector {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

/* ==================================================
   HEADER MAIN (Figma)
================================================== */

.header-main {
  background: #fff;
  padding: 0;
  position: relative;
  z-index: 50;
  overflow: visible;
}

.header-main__inner {
  height: 62px; /* Figma: nav bar exacto */
}

.header-main__inner {
  display: grid;
  grid-template-columns: 160px 1fr 360px;
  align-items: center;
  gap: 16px;
}

/* LOGO */
.header-logo,
.logo {
  display: flex;
  align-items: center;
}

.header-logo img,
.logo img {
  height: 42px;
  width: auto;
  display: block;
}

/* NAV */
.main-navigation {
  display: flex;
  justify-content: center;
  overflow: visible; /* ✅ */
}

.primary-menu {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  margin: 0;
  padding: 0;
}

.primary-menu > li {
  position: relative; /* ✅ para dropdown */
  list-style: none;
}

.primary-menu > li > a {
  text-decoration: none;
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #002B2D;
  padding: 10px 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s ease;
}

.primary-menu > li > a:hover {
  opacity: 0.55;
}

/* chevron arrow for items with submenu OR mega menu */
.primary-menu > li.menu-item-has-children > a::after,
.primary-menu > li[data-mega-menu] > a::after {
  content: "";
  width: 8px;
  height: 5px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' fill='none'%3E%3Cpath d='M1 1l3 3 3-3' stroke='%23002B2D' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* hide WordPress sub-menu on items that use mega menu */
.primary-menu > li[data-mega-menu] > .sub-menu {
  display: none !important;
}

/* SUBMENU (sin bullets, prolijo, ancho consistente) */
.primary-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;

  min-width: 240px;
  width: max-content;

  background: #fff;
  list-style: none;

  margin: 10px 0 0 0;
  padding: 10px 0;

  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);

  display: none;
  z-index: 9999; /* ✅ encima de todo */
}

.primary-menu .sub-menu li { list-style: none; }

.primary-menu .sub-menu a {
  display: block;
  padding: 10px 14px;
  color: #002B2D;
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* hover dropdown */
.primary-menu > li:hover > .sub-menu,
.primary-menu > li:focus-within > .sub-menu {
  display: block;
}

/* hover item */
.primary-menu .sub-menu a:hover {
  background: rgba(0,0,0,.05);
}

/* ✅ zona “puente” para que al bajar el mouse no se corte el hover */
.primary-menu > li.menu-item-has-children::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:100%;
  height:12px;
}

/* ACTIONS */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

/* Search trigger pill (Figma: 116×27px, #f2f2f2, radius 41px) */
.header-search-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 116px;
  height: 27px;
  padding: 0 10px;
  background: #f2f2f2;
  border: none;
  border-radius: 41px;
  cursor: pointer;
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #c1c1c1;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-search-pill__icon {
  color: #888;
  flex-shrink: 0;
}

.header-search-pill__text {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Icon buttons */
.header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  text-decoration: none;
  color: #111;
}

.header-icon--cart,
.header-icon--save {
  position: relative;
}

.header-wishlist-badge,
.header-icon__badge {
  position: absolute;
  right: -2px;
  top: -3px;
  background: #5d1f24;
  color: #fff;
  font-size: 10px;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.header-wishlist-badge.is-hidden,
.header-icon__badge.is-hidden {
  display: none;
}

/* ==================================================
   FRONT PAGE H1 (visible SEO heading above hero)
================================================== */

.front-page-h1 {
  font-size: 0.6875rem; /* 11px */
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: #888;
  margin: 0;
  padding: 8px 16px;
  line-height: 1;
}

.hero__content .front-page-h1 {
  color: rgba(255, 255, 255, 0.55);
  padding: 0 0 10px;
}

/* ==================================================
   HERO (Figma slider)
================================================== */

.hero {
  position: relative;
  width: 100%;
  height: 804px; /* ✅ EXACTO Figma desktop */
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: none;
}

.hero__slide.is-active { display: block; }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.28);
}

.hero__content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: min(900px, calc(100% - 32px));
  color: #fff;
}

.hero__title {
  font-family: "Blair ITC Std", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 25px;
  line-height: 32px;
  margin: 0 0 10px 0;
}

.hero__subtitle {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 18px 0;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(0,0,0,.28);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

.hero__arrow--prev { left: 18px; }
.hero__arrow--next { right: 18px; }

.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 6;
}

.hero__dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  opacity: .55;
  cursor: pointer;
}

.hero__dots button.is-active { opacity: 1; }

/* ==================================================
   HAMBURGER (hidden on desktop, shown on mobile)
================================================== */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.hamburger__line {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #002B2D;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger.is-open .hamburger__line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.is-open .hamburger__line:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open .hamburger__line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}


/* ==================================================
   RESPONSIVE (header + hero)
================================================== */

@media (max-width: 1024px){
  .header-main__inner{
    grid-template-columns: 140px 1fr 280px;
  }
  .primary-menu{ gap: 22px; }
  .hero{ height: 520px; }
}

@media (max-width: 768px){
  /* Show hamburger, hide desktop nav */
  .hamburger { display: flex; }
  .main-navigation { display: none; }

  /* 3-column mobile header: hamburger | logo (centered) | actions */
  .header-main__inner{
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "burger logo actions";
    height: 56px;
    padding: 0 16px;
    gap: 8px;
  }

  .hamburger { grid-area: burger; }

  .header-logo,
  .logo {
    grid-area: logo;
    justify-content: center;
  }

  .header-actions { grid-area: actions; }

  /* Tighten action gap on mobile */
  .header-actions { gap: 8px; }

  /* Hide search pill text on small screens */
  .header-search-pill__text { display: none; }
  .header-search-pill { width: 34px; justify-content: center; }

  .hero{ height: 420px; }

  /* Mobile topbar: dark single-row bar showing only the ticker.
     Currency + language selectors are relocated into the mobile drawer at
     runtime (see initMobileTopbarSelectors in main.js) so the shortcode-driven
     <select> isn't duplicated on the page. Contact/Login are dropped from the
     topbar; login remains accessible from the drawer foot. */
  .topbar {
    background: #242323;
    color: #F2F2F2;
    padding: 8px 0;
  }

  .topbar__inner {
    grid-template-columns: 1fr;
    grid-template-areas: "center";
    padding: 0 12px;
    gap: 0;
  }

  .topbar__left,
  .topbar__right {
    display: none;
  }

  .topbar__center { grid-area: center; min-width: 0; }
  .topbar__msg    { max-width: 100%; color: #F2F2F2; }
  .topbar__arrow  { color: #F2F2F2; }
}

/* ==================================================
   MOBILE DRAWER — relocated topbar selectors
   When .topbar__selectors is moved into the drawer on mobile,
   override its inline-row styling so it reads as a drawer row.
================================================== */
.mobile-drawer__selectors-host {
  padding: 16px 24px;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}

.mobile-drawer__selectors-host:empty {
  display: none;
}

.mobile-drawer__selectors-host .topbar__selectors {
  gap: 14px;
}

.mobile-drawer__selectors-host .topbar__currency-btn,
.mobile-drawer__selectors-host .topbar__country-btn {
  font-size: 13px;
}


/* ==================================================
   MOBILE OVERLAY
================================================== */

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1999;
}

.mobile-overlay.is-open {
  display: block;
}


/* ==================================================
   MOBILE DRAWER
================================================== */

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 320px;
  max-width: 85vw;
  background: #fff;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

/* Drawer head: close button */
.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 24px 20px;
  flex-shrink: 0;
}

.mobile-drawer__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #111;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile nav list */
.mobile-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  overflow-y: auto;
}

.mobile-nav__item {
  list-style: none;
}

/* Accordion toggle button */
.mobile-nav__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  border-bottom: 1px solid #f0f0f0;
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #002B2D;
  cursor: pointer;
  text-align: left;
}

.mobile-nav__toggle[aria-expanded="true"] {
  color: #002B2D;
}

.mobile-nav__chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.mobile-nav__toggle[aria-expanded="true"] .mobile-nav__chevron {
  transform: rotate(180deg);
}

/* Simple link items (ACCESSORIES, WEEKLY SALE, BLOG) */
.mobile-nav__link {
  display: block;
  padding: 18px 24px;
  border-bottom: 1px solid #f0f0f0;
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #002B2D;
  text-decoration: none;
}

/* Accordion panel (hidden by default) */
.mobile-nav__panel {
  display: none;
}

.mobile-nav__item.is-open .mobile-nav__panel {
  display: block;
}

/* Subcategories inside panel */
.mobile-nav__subcats {
  background: #f1f1f1;
  padding: 4px 0;
}

.mobile-nav__subcat {
  display: block;
  padding: 12px 24px;
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #242323;
  text-decoration: none;
}

.mobile-nav__subcat:hover {
  color: #002B2D;
}

/* Brand list inside panel */
.mobile-nav__brands {
  padding: 0;
}

.mobile-nav__brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: inherit;
}

.mobile-nav__brand-row:last-child {
  border-bottom: none;
}

.mobile-nav__brand-row--disabled .mobile-nav__brand-name {
  color: #c0c0c0;
  pointer-events: none;
}

.mobile-nav__brand-name {
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #242323;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.mobile-nav__brand-name:hover {
  text-decoration: underline;
}

.mobile-nav__brand-logo {
  height: 44px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
}

.mobile-nav__brand-row--disabled .mobile-nav__brand-logo {
  opacity: 0.4;
}

/* Drawer footer */
.mobile-drawer__foot {
  padding: 20px 24px;
  border-top: 1px solid #f0f0f0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-drawer__foot-link {
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #002B2D;
  text-decoration: none;
}

.mobile-social {
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.mobile-social li { list-style: none; }

.mobile-social a {
  display: inline-flex;
  align-items: center;
  color: #111;
  text-decoration: none;
  font-family: "Helvetica Neue", sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mobile-social a:hover { opacity: 0.7; }


/* ==================================================
   WC PRODUCT CARD — layout + interaction
   Used in home carousel, single-product carousels,
   and any other page that renders .wc-card
================================================== */

.wc-card {
  flex: 0 0 314px;
  min-width: 314px;
  background: #f2f2f2;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

.wc-card__img {
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.wc-card__img img:not(.wc-card__img-secondary) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform .25s ease;
}

.wc-card__body {
  padding: 10px 16px 14px;
  position: relative;
  min-height: 78px;
}

.wc-card__info {
  transition: opacity .2s ease, visibility .2s ease;
}

.wc-card__name-heading {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.wc-card__name {
  display: block;
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.65px;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 275px;
}

.wc-card__sub {
  margin-top: 2px;
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.55px;
  color: #9b9b9b;
}

.wc-card__prices {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wc-card__price {
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.7px;
  color: #000;
}

.wc-card__price-old {
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.7px;
  color: #8e0000;
  text-decoration: line-through;
}

.wc-card__cta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 17px;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity .2s ease, visibility .2s ease;
}

/* Hover/focus interactions */
.wc-card:hover .wc-card__info,
.wc-card:focus-within .wc-card__info {
  opacity: 0 !important;
  visibility: hidden !important;
}

.wc-card:hover .wc-card__cta,
.wc-card:focus-within .wc-card__cta {
  opacity: 1 !important;
  visibility: visible !important;
}

.wc-card:hover .wc-card__img img:not(.wc-card__img-secondary),
.wc-card:focus-within .wc-card__img img:not(.wc-card__img-secondary) {
  transform: scale(1.06);
}

/* Responsive card sizing (carousel context) */
@media (max-width: 1024px) {
  .wc-card { flex: 0 0 280px; min-width: 280px; }
}

@media (max-width: 700px) {
  .wc-card { flex: 0 0 80vw; min-width: 80vw; }
}

/* Grid context: fluid width, fills CSS grid column (e.g. 4-column catalog grid) */
.wc-card--grid {
  flex: unset;
  min-width: unset;
}

.wc-card--grid .wc-card__body {
  padding: 10px 20px 14px;
  min-height: 88px;
}

.wc-card--grid .wc-card__cta {
  left: 20px;
  right: 20px;
  bottom: 14px;
}


/* ==================================================
   WISHLIST BOOKMARK BUTTON (shared: home + catalog)
================================================== */

.wc-card__wishlist{
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s ease;
}

.wc-card__wishlist svg{
  stroke: #111;
  fill: none;
  transition: fill .2s ease;
}

.wc-card__wishlist.is-wishlisted svg{
  fill: #111;
}

/* Show on card hover */
.wc-card:hover .wc-card__wishlist,
.wc-card:focus-within .wc-card__wishlist,
.catalog-card:hover .wc-card__wishlist,
.catalog-card:focus-within .wc-card__wishlist{
  opacity: 1;
}

/* Always visible when wishlisted */
.wc-card__wishlist.is-wishlisted{
  opacity: 1;
}

/* Loading state while remove AJAX is in-flight */
.wc-card__wishlist.is-loading{
  opacity: 0.4;
  pointer-events: none;
}


/* ==================================================
   PRODUCT CARD — SECONDARY IMAGE (hover swap)
   Shared by .wc-card and .catalog-card
================================================== */

/* Image container needs position:relative for absolute secondary image */
.wc-card__img {
  position: relative;
}

/* Secondary image: sits on top, hidden until hover */
.wc-card__img-secondary {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity .35s ease;
  transform: none !important;  /* no scale effect on secondary */
  z-index: 2;
}

.wc-card:hover .wc-card__img-secondary,
.wc-card:focus-within .wc-card__img-secondary {
  opacity: 1;
}


/* ==================================================
   PRODUCT CARD — BADGES (shared: wc-card + catalog-card)
   OOS = filled grey pill  |  NEXT DROP = outlined orange pill
================================================== */

.wc-card__badge {
  position: absolute;
  top: 14px;
  left: 13px;
  font-family: "Helvetica Neue", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-align: center;
  padding: 0 12px;
  height: 23px;
  line-height: 23px;
  border-radius: 41px;
  z-index: 3;
  pointer-events: none;
  white-space: nowrap;
}

.wc-card__badge--oos {
  background: #b5b5b5;
  color: #fff;
  border: none;
}

.wc-card__badge--next-drop {
  background: transparent;
  color: #db481a;
  border: 1px solid #db481a;
}


/* ==================================================
   ADD TO CART BUTTON (shared: home + catalog)
================================================== */

.wc-card__add{
  width:100%;
  height:44px !important;

  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  border:1px solid #111 !important;
  border-radius:999px !important;
  background:transparent !important;

  font-family:"Helvetica Neue", sans-serif !important;
  font-weight:400 !important;
  font-size:12px !important;
  letter-spacing:.08em !important;
  text-transform:uppercase !important;
  color:#111 !important;

  text-decoration:none !important;
  cursor:pointer !important;

  padding:0 !important;
  box-shadow:none !important;
}

.wc-card__add:hover{
  background:#111 !important;
  color:#fff !important;
}

/* Hide the "View cart" link WooCommerce injects after AJAX add-to-cart */
.wc-card a.added_to_cart,
.pdp-purchase a.added_to_cart,
a.added_to_cart.wc-forward {
  display: none !important;
}

/* =============================================
   CART DRAWER
   ============================================= */

.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.cart-drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 478px;
  max-width: 100vw;
  background: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: -4px 0 24px rgba(0,0,0,.12);
}
.cart-drawer.is-open {
  transform: translateX(0);
}

/* Head */
.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 20px;
  border-bottom: 1px solid #e0e0e0;
  flex-shrink: 0;
}
.cart-drawer__title {
  font-family: "Helvetica Neue", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #111;
  margin: 0;
}
.cart-drawer__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #111;
  line-height: 1;
}
.cart-drawer__close svg {
  display: block;
}

/* Items list */
.cart-drawer__items-wrap {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0 28px;
}

.cart-drawer__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 200px;
  font-size: 14px;
  color: #888;
  text-align: center;
}

/* Single item */
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
}
.cart-item:last-child {
  border-bottom: none;
}
.cart-item__img {
  display: block;
  width: 80px;
  height: 80px;
}
.cart-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  background: #f2f2f2;
  display: block;
}
.cart-item__details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cart-item__name {
  font-size: 13px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  line-height: 1.3;
}
.cart-item__name:hover { text-decoration: underline; }
.cart-item__sub {
  font-size: 12px;
  color: #888;
}
.cart-item__prices {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.cart-item__price {
  font-size: 14px;
  font-weight: 700;
  color: #111;
}
.cart-item__price-old {
  font-size: 12px;
  font-weight: 400;
  color: #999;
  text-decoration: line-through;
}
.cart-item__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.cart-item__remove {
  background: none;
  border: none;
  cursor: pointer;
  color: #aaa;
  padding: 2px;
  line-height: 1;
  transition: color .2s;
}
.cart-item__remove:hover { color: #111; }

/* Qty stepper inside drawer */
.cart-item__qty {
  display: flex;
  align-items: center;
  border: 1px solid #242323;
  border-radius: 5px;
  overflow: hidden;
  height: 34px;
}
.cart-item__qty-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 34px;
  font-size: 16px;
  color: #111;
  line-height: 1;
}
.cart-item__qty-btn:hover { background: #f5f5f5; }
.cart-item__qty-input {
  width: 32px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  border: none;
  outline: none;
  pointer-events: none;
  background: transparent;
  -moz-appearance: textfield;
}
.cart-item__qty-input::-webkit-outer-spin-button,
.cart-item__qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Footer */
.cart-drawer__foot {
  flex-shrink: 0;
  border-top: 1px solid #e0e0e0;
  padding: 20px 28px 28px;
}

/* Free shipping bar */
.cart-drawer__shipping {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.cart-drawer__shipping-label {
  font-size: 12px;
  color: #555;
}
.cart-drawer__shipping-note {
  font-size: 12px;
  color: #555;
}
.cart-drawer__progress-bar {
  height: 4px;
  background: #e0e0e0;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 16px;
}
.cart-drawer__progress-fill {
  height: 100%;
  background: #242323;
  border-radius: 2px;
  transition: width .4s ease;
}

/* Subtotal row */
.cart-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.cart-drawer__subtotal-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  color: #111;
}
.cart-drawer__subtotal-amount {
  font-size: 16px;
  font-weight: 700;
  color: #111;
}

/* CTA buttons */
.cart-drawer__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cart-drawer__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 999px;
  font-family: "Helvetica Neue", sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid #111;
  transition: background .2s, color .2s;
}
.cart-drawer__btn--outline {
  background: #fff;
  color: #111;
}
.cart-drawer__btn--outline:hover {
  background: #111;
  color: #fff;
}
.cart-drawer__btn--filled {
  background: #111;
  color: #fff;
  border-color: #111;
}
.cart-drawer__btn--filled:hover {
  background: #333;
}

@media (max-width: 520px) {
  .cart-drawer { width: 100vw; }
}


/* ==================================================
   STICKY HEADER
   Top bar hides when user scrolls past it.
   The nav bar stays fixed at the top.
================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.2s ease;
}

.site-header.is-sticky {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Hide topbar when sticky — height collapses to nav bar only */
.site-header.is-sticky #site-topbar {
  display: none;
}


/* ==================================================
   MEGA MENU (Figma: 2617:1822 — Submenu marcas)
   Full-width dropdown below the nav bar
================================================== */

.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  z-index: 999;
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
}

.mega-menu.is-open {
  display: block;
}

/* Filter bar (Figma: 49px, light bg) */
.mega-menu__filters {
  display: flex;
  align-items: center;
  height: 49px;
  padding: 0 38px;
  gap: 26px;
  background: #f7f7f7;
  border-bottom: 1px solid #e8e8e8;
  overflow-x: auto;
  white-space: nowrap;
}

.mega-menu__filter {
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: #242323;
  text-decoration: none;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.mega-menu__filter:hover {
  color: #002b2d;
  text-decoration: underline;
}

/* Brand grid */
.mega-menu__brands {
  display: flex;
  padding: 0 35px;
}

.mega-menu__brands-col {
  flex: 1;
  border-right: 1px solid #f0f0f0;
  padding: 0 20px;
}

.mega-menu__brands-col:last-child {
  border-right: none;
}

.mega-menu__brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid #f2f2f2;
  text-decoration: none;
  color: inherit;
}

.mega-menu__brand-row:last-child {
  border-bottom: none;
}

.mega-menu__brand-row--disabled .mega-menu__brand-name {
  color: #c0c0c0;
  cursor: default;
  pointer-events: none;
}

.mega-menu__brand-row--disabled .mega-menu__brand-logo {
  opacity: 0.4;
  pointer-events: none;
}

.mega-menu__brand-name {
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #242323;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mega-menu__brand-name:hover {
  text-decoration: underline;
}

.mega-menu__brand-logo {
  max-height: 28px;
  max-width: 80px;
  height: auto;
  width: auto;
  display: block;
  flex-shrink: 0;
}

/* Editorial / promo strip (Figma: bottom of mega menu) */
.mega-menu__editorial {
  position: relative;
  height: 220px;
  background: #242323;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.mega-menu__editorial::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.mega-menu__editorial-content {
  position: absolute;
  bottom: 28px;
  left: 38px;
  z-index: 1;
}

.mega-menu__editorial-title {
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #fff;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin: 0 0 6px 0;
}

.mega-menu__editorial-sub {
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  margin: 0 0 14px 0;
}

.mega-menu__editorial-cta {
  display: inline-block;
  border: 1px solid #fff;
  border-radius: 9999px;
  padding: 7px 22px;
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.mega-menu__editorial-cta:hover {
  background: #fff;
  color: #242323;
}

/* All Cigars — grouped vertical sublists */
.mega-menu--all-cigars .mega-menu__groups {
  display: flex;
  flex-wrap: wrap;
  gap: 0 40px;
  padding: 28px 38px 32px;
}

.mega-menu__group {
  min-width: 160px;
  margin-bottom: 20px;
}

.mega-menu__group-title {
  display: block;
  font-family: "Helvetica Neue", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #002B2D;
  text-decoration: none;
  padding-bottom: 8px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 6px;
}

.mega-menu__group-title:hover {
  opacity: 0.55;
  color: #002B2D;
}

.mega-menu__group-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-menu__group-links li {
  border-bottom: 1px solid #f2f2f2;
}

.mega-menu__group-links li:last-child {
  border-bottom: none;
}

.mega-menu__group-links a {
  display: block;
  padding: 7px 0;
  font-family: "Helvetica Neue", sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #002B2D;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mega-menu__group-links a:hover {
  opacity: 0.55;
  color: #002B2D;
}

/* Mobile — All Cigars groups in drawer */
.mobile-nav__group {
  margin-bottom: 16px;
}

.mobile-nav__group-title {
  display: block;
  font-family: "Helvetica Neue", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #002B2D;
  text-decoration: none;
  padding: 10px 0 8px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 4px;
}

.mobile-nav__group-link {
  display: block;
  padding: 8px 0 8px 12px;
  font-family: "Helvetica Neue", sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #002B2D;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #f2f2f2;
}

.mobile-nav__group-link:last-child {
  border-bottom: none;
}


/* ==================================================
   SEARCH OVERLAY (Figma: 438:567 — Search Desktop)
   Full-screen white panel with centered expanded input + results grid
================================================== */

.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 2000;
  flex-direction: column;
  overflow-y: auto;
}

.search-overlay[aria-hidden="false"] {
  display: flex;
}

/* Search bar row */
.search-overlay__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 87px;
  padding: 20px 40px;
  flex-shrink: 0;
  border-bottom: 1px solid #f0f0f0;
}

/* Centered input pill — Figma: 690×27px, #f2f2f2, radius 41px */
.search-overlay__input-wrap {
  display: flex;
  align-items: center;
  width: 690px;
  max-width: 100%;
  min-width: 0;
  height: 27px;
  background: #f2f2f2;
  border-radius: 41px;
  padding: 0 10px;
  gap: 8px;
  flex: 1;
}

.search-overlay__icon {
  color: #888;
  flex-shrink: 0;
}

.search-overlay__input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #242323;
  min-width: 0;
}

.search-overlay__input::placeholder {
  color: #c1c1c1;
}

/* Ocultar la × nativa del browser en <input type="search"> */
.search-overlay__input::-webkit-search-cancel-button,
.search-overlay__input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

/* Clear ×  button inside input */
.search-overlay__clear {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  flex-shrink: 0;
}

/* CANCEL text button — Figma: top-right, 10px uppercase, tracking 0.5px */
.search-overlay__cancel {
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #242323;
  padding: 0;
  flex-shrink: 0;
  margin-left: 16px;
}

.search-overlay__cancel:hover {
  text-decoration: underline;
}

/* Results body */
.search-overlay__body {
  padding: 20px 38px 40px;
}

/* "4 RESULTS:" — Figma: 11px, #939393, uppercase, tracking 0.55px */
.search-overlay__count {
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 400;
  font-size: 11px;
  color: #939393;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  margin: 0 0 20px 0;
}

/* Product grid — Figma: 4 columnas, usa .wc-card--grid igual que el catálogo */
.search-overlay__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* Las .wc-card dentro del overlay se comportan igual que en el catálogo */
.search-overlay__grid .wc-card {
  min-width: unset;
  flex: unset;
}

/* Loading skeleton state */
.search-overlay--loading .search-overlay__grid::after {
  content: "";
  grid-column: 1 / -1;
  display: block;
  height: 2px;
  background: linear-gradient(90deg, #f2f2f2 25%, #e0e0e0 50%, #f2f2f2 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

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

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

@media (max-width: 520px) {
  .search-overlay__bar { padding: 14px 16px; }
  .search-overlay__body { padding: 16px; }
  .search-overlay__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* Mega menu responsive */
@media (max-width: 1024px) {
  .mega-menu__brands { flex-direction: column; }
  .mega-menu__brands-col--repeat { display: none; }
}

@media (max-width: 768px) {
  .mega-menu { display: none !important; } /* mobile uses a drawer instead */
}

/* ==================================================
   ACCESSORIES PAGE
================================================== */
.acc-page {
  padding: 60px 160px 80px;
}

.acc-page__title {
  font-family: "Blair ITC Std", sans-serif;
  font-size: 22px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #242323;
  margin-bottom: 40px;
}

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

.acc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #242323;
  gap: 14px;
}

.acc-card__img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.acc-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.acc-card:hover .acc-card__img {
  transform: scale(1.04);
}

.acc-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: #ececec;
}

.acc-card__name {
  font-family: "Blair ITC Std", sans-serif;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
}

@media (max-width: 900px) {
  .acc-page { padding: 40px 24px 60px; }
  .acc-grid  { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

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

/* ==================================================
   GENERIC PAGE CONTENT (page.php — non-WooCommerce)
   Matches ENTRADA BLOG frame measurements
================================================== */

.page-content {
  padding: 56px 105px 72px;
  box-sizing: border-box;
  font-family: "Helvetica Neue", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: #333;
}

.page-content p  { margin: 0 0 20px; }
.page-content h1 { font-family: "Blair ITC Std", sans-serif; font-size: 28px; font-weight: 400; margin: 0 0 32px; text-transform: uppercase; color: #111; }
.page-content h2 { font-family: "Blair ITC Std", sans-serif; font-size: 20px; font-weight: 400; margin: 40px 0 16px; text-transform: uppercase; color: #111; }
.page-content h3 { font-family: "Blair ITC Std", sans-serif; font-size: 16px; font-weight: 400; margin: 32px 0 12px; text-transform: uppercase; color: #111; }
.page-content a  { color: #5d1f24; text-decoration: underline; }
.page-content ul,
.page-content ol { padding-left: 24px; margin: 0 0 20px; }
.page-content li { margin-bottom: 6px; }

@media (max-width: 1100px) {
  .page-content { padding: 56px 60px 72px; }
}

@media (max-width: 600px) {
  .page-content { padding: 40px 20px 56px; }
}

/* ==========================================================================
   Star rating (shared) — SVG, matches Figma: solid BLACK filled stars + black
   outline empty stars, with an exact partial fill for fractional averages.
   Uses our own `.mc-stars` class (NOT WooCommerce's `.star-rating`, whose
   site-wide CSS would clip/restyle it). Output by mrcigar_stars_svg().
   Size scales with font-size (icon = 1.05em). Lives in base.css because
   product cards render on catalog/home/carousels, not only on the PDP.
   ========================================================================== */
.mc-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.14em;
  line-height: 0;
  font-size: 18px;          /* controls star size; overridden per context */
  white-space: nowrap;
  vertical-align: middle;
  direction: ltr;           /* rating always reads L→R, even in RTL */
  position: relative;
  top: -0.08em;             /* optical nudge: center the em-box with cap-height text */
}
.mc-stars__star {
  width: 1.1em;             /* star path is ~1.1× as wide as tall */
  height: 1em;
  flex: 0 0 auto;
  display: block;
  overflow: visible;        /* don't clip the outline stroke */
}
.mc-stars__star--on {       /* filled: solid black */
  fill: #242323;
  stroke: none;
}
.mc-stars__star--off {      /* empty: black outline (hollow) */
  fill: none;
  stroke: #242323;
  stroke-width: 1;
}

/* Catalog / product-card star rating (gated by mrcigar_reviews_visible) */
.wc-card__rating {
  margin: 4px 0 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.wc-card__rating .mc-stars {
  font-size: 13px;
}
.wc-card__rating-count {
  font-size: 12px;
  color: #6b6b6b;
}

/* ============================================================
   SITE SWITCH (.sa ↔ .com)
   Lives in the topbar selectors block: after the language
   selector on .com, alone in the selectors' space on .sa. On
   mobile that block, button included, is moved into the drawer.
   See inc/sa-return.php.
   Logical properties only, so RTL needs no override in rtl.css.
============================================================ */
.site-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  color: #242323;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.site-switch:hover {
  opacity: 0.7;
}

/* On .com the button is served with the `hidden` attribute and only revealed by
   JS when the origin cookie is present (see inc/sa-return.php + main.js). The
   rule above would defeat that on its own: an author `display` always wins over
   the browser's `[hidden] { display: none }`, so the button would show for every
   visitor. This guard is what makes `hidden` actually hide it. */
.site-switch[hidden] {
  display: none;
}

.site-switch__icon {
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  opacity: 0.7;
}

/* After the language selector (.com) it takes the same "|" separator as
   currency | language. Drawn by the button itself, so it disappears with it
   while the button is hidden. */
.topbar__country-wrap + .site-switch::before {
  content: "|";
  margin-inline-end: 3px;
  opacity: 0.5;
}

.mobile-drawer__selectors-host .site-switch {
  font-size: 13px;
}
