@view-transition {
  navigation: none;
}

html {
  view-transition-name: none;
}

:root {
  --navy: #0B0F1A;
  --navy-deep: #0B0F1A;
  --navy-ink: #0B0F1A;
  --blue: #1a365d;
  --blue-soft: #2a4a75;
  --blue-glow: rgba(26, 54, 93, 0.22);
  --gold: #C9A227;
  --gold-soft: #dcc27a;
  --gold-hover: #b48f1c;
  --rose: #c99c86;
  --ivory: #F3EDE3;
  --ivory-2: #fbf8f2;
  --cream: #F3EDE3;
  --cream-2: #EAE2D4;
  --ink: #0B0F1A;
  --stone: #6b6560;
  --hair: rgba(11, 15, 26, 0.12);
  --display: "Playfair Display", "Palatino Linotype", serif;
  --ui: "Jost", "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 2px;
  --radius: 2px;
  --radius-full: 999px;
  --shadow-1: 0 2px 10px rgba(11, 15, 26, 0.08);
  --shadow-2: 0 12px 28px rgba(11, 15, 26, 0.11);
  --shadow-3: 0 28px 56px rgba(11, 15, 26, 0.14);
  --shadow-rest: var(--shadow-1);
  --shadow: var(--shadow-1);
  --shadow-hover: var(--shadow-2);
  --ease: cubic-bezier(0.16, 0.84, 0.44, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 220ms;
  --dur-ui: 220ms;
  --dur-media: 650ms;
  --dur-slow: 500ms;
  --t-hover: var(--dur-ui);
  --t-media: var(--dur-media);
  --t-reveal: var(--dur-slow);
  --track-nav: 0.09em;
  --track-label: 0.16em;
  --btn-outline: transparent;
  --btn-outline-color: #0B0F1A;
  --btn-outline-border: 1px solid #0B0F1A;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --gutter: 16px;
  --card-max: 480px;
  --card-pad: 1.35rem;
  --content-max: 1180px;
  --header-h: 96px;

  --wp--preset--color--base: var(--ivory);
  --wp--preset--color--contrast: var(--ink);
  --wp--preset--color--accent-1: var(--navy);
  --wp--preset--color--accent-2: var(--gold);
  --wp--preset--font-family--heading: var(--display);
  --wp--preset--font-family--body: var(--ui);

  --wc-blocks-primary: var(--gold);
  --wp--preset--color--primary: var(--gold);
}

/* ================================================================== */
/* Lienzo                                                              */
/* ================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  /* Red de seguridad. El layout no debe depender de recortar el scroll. */
  overflow-x: clip;
}

img,
video {
  max-width: 100%;
  height: auto;
}

:where(.wp-site-blocks, main, header, footer, .woocommerce, .wp-block-group, .wc-block-components-sidebar-layout) {
  min-width: 0;
  max-width: 100%;
}

:root {
  --emmy-header-h: var(--header-h);
}

@media (min-width: 782px) {
  :root { --gutter: 24px; }
}

@media (min-width: 1280px) {
  :root { --gutter: 32px; }
}

.editor-styles-wrapper {
  --gutter: 16px;
  --card-max: 480px;
  --card-pad: 1.35rem;
  --content-max: 1180px;
  --header-h: 96px;
  overflow-x: clip;
}

html {
  scroll-padding-top: calc(var(--emmy-header-h) + 12px);
}

.sistemapos-shop-layout,
.wp-block-woocommerce-product-collection,
.woocommerce ul.products {
  min-width: 0;
}

body,
.wp-site-blocks {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--ui);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.editor-styles-wrapper .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: min(var(--content-max), 100%);
}

.wp-site-blocks > main,
main,
.editor-styles-wrapper {
  width: 100%;
  max-width: 100%;
  padding-inline: var(--gutter);
  margin-inline: auto;
}

.wp-site-blocks > main .has-global-padding,
.wp-site-blocks > main .is-layout-constrained,
.editor-styles-wrapper .has-global-padding {
  padding-inline: 0;
}

.wp-site-blocks > main > .alignfull,
.wp-site-blocks > main > .wp-block-cover,
.editor-styles-wrapper > .alignfull,
.editor-styles-wrapper > .wp-block-cover {
  width: auto;
  max-width: none;
  margin-inline: calc(var(--gutter) * -1);
}

h1, h2, h3, h4,
.wp-block-heading,
.elementor-heading-title,
.wp-block-post-title,
.page-title {
  font-family: var(--display);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1.12;
}

h1, .wp-block-heading:is(h1), .wp-block-post-title, .page-title {
  font-size: clamp(2rem, 4vw, 3.15rem);
}

h2, .wp-block-heading:is(h2) {
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
}

h3, .wp-block-heading:is(h3) {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.wc-block-product .wp-block-post-title,
.wc-block-product .wp-block-post-title a,
li.product .wp-block-post-title,
li.product .wp-block-post-title a {
  color: var(--navy) !important;
}

p, li, td, th, input, select, textarea,
.woocommerce-product-details__short-description,
.wp-block-post-content p,
body.single-post .wp-block-post-content,
body.blog .wp-block-post-excerpt {
  font-family: var(--ui);
}

.woocommerce-product-details__short-description,
.wp-block-post-content p,
body.single-post .wp-block-post-content p,
.wp-block-post-excerpt p {
  line-height: 1.7;
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; }

/* Chrome: img lazy sin width/height = CLS. Additional CSS se aplica al parsear la pagina. */
img[loading="lazy"] {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
}

.wp-block-site-logo img[loading="lazy"]:not([width]),
.wp-block-site-logo img[loading="lazy"]:not([height]),
img.custom-logo[loading="lazy"]:not([width]),
img.custom-logo[loading="lazy"]:not([height]) {
  width: auto;
  height: 28px;
  aspect-ratio: 3 / 1;
}

/* ================================================================== */
/* Cabecera — mismo lienzo marfil de Cuenta (textura suave + oro)      */
/* En home se mantiene navy para fundirse con el hero Journal.         */
/* ================================================================== */

.wp-site-blocks > header,
header.wp-block-template-part,
.wp-block-template-part:has(.wp-block-navigation),
.elementor-location-header,
header.wp-block-template-part .wp-block-group {
  position: relative;
  color: var(--navy);
}

.wp-site-blocks > header,
header.wp-block-template-part,
.elementor-location-header {
  display: flex !important;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  width: 100%;
  max-width: 100%;
  padding-block: 0.7rem;
  padding-inline: var(--gutter);
  border-bottom: 1px solid rgba(201, 162, 39, 0.45);
  position: sticky;
  top: 0;
  z-index: 1000;
  /* Lienzo cuenta: ivory + grano papel + diagonales oro suaves */
  background-color: rgba(243, 237, 227, 0.94) !important;
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(255, 252, 245, 0.9), transparent 55%),
    repeating-linear-gradient(60deg, transparent 0 52px, rgba(201, 162, 39, 0.07) 52px 53px),
    repeating-linear-gradient(-60deg, transparent 0 52px, rgba(201, 162, 39, 0.05) 52px 53px),
    linear-gradient(180deg, #f7f2ea 0%, var(--ivory) 48%, #efe8dc 100%) !important;
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 10px 28px rgba(11, 15, 26, 0.06);
  transition: background-color var(--t-hover) var(--ease), box-shadow var(--t-hover) var(--ease);
  isolation: isolate;
  overflow: visible;
}

.wp-site-blocks > header::before,
header.wp-block-template-part::before,
.elementor-location-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.78 0 0 0 0 0.64 0 0 0 0 0.32 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  mix-blend-mode: multiply;
}

.wp-site-blocks > header > *,
header.wp-block-template-part > *,
.elementor-location-header > * {
  position: relative;
  z-index: 1;
}

/* Compact / scrolled = cristal esmerilado; nav siempre visible */
body.emmy-header-compact .wp-site-blocks > header,
body.emmy-header-compact header.wp-block-template-part,
body.emmy-header-compact .elementor-location-header,
.wp-site-blocks > header.scrolled,
header.wp-block-template-part.scrolled,
.elementor-location-header.scrolled {
  background-color: rgba(243, 237, 227, 0.85) !important;
  backdrop-filter: blur(10px) saturate(1.08);
  -webkit-backdrop-filter: blur(10px) saturate(1.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), 0 1px 0 rgba(201, 162, 39, 0.28);
}

body.emmy-header-compact .wp-block-site-logo img,
body.emmy-header-compact header.wp-block-template-part figure.wp-block-image img {
  height: auto;
}

.wp-site-blocks > header .wp-block-group,
header.wp-block-template-part > .wp-block-group {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  gap: 1rem;
  margin-inline: 0;
}

.wp-site-blocks > header .has-global-padding,
header.wp-block-template-part .has-global-padding,
.wp-site-blocks > header .is-layout-constrained,
header.wp-block-template-part .is-layout-constrained,
.editor-styles-wrapper > header .has-global-padding {
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}

.wp-site-blocks > header a,
header.wp-block-template-part a,
.elementor-location-header a,
header .wp-block-navigation-item__label {
  color: var(--navy) !important;
  text-decoration: none !important;
}

.wp-site-blocks > header a:hover,
header.wp-block-template-part a:hover,
.elementor-location-header a:hover,
header .wp-block-navigation-item__label:hover {
  color: var(--gold-hover) !important;
}

.wp-block-site-logo,
header.wp-block-template-part figure.wp-block-image {
  display: block !important;
  margin: 0 auto 0 0 !important;
  flex: 0 0 auto;
}

.wp-block-site-logo img,
header.wp-block-template-part figure.wp-block-image img {
  height: 64px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

header:has(.wp-block-site-logo img) .wp-block-site-title {
  display: none !important;
}

.wp-block-site-title {
  margin: 0 auto 0 0;
  line-height: 0.82;
}

.wp-block-site-title a {
  font-family: var(--display) !important;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2rem, 3vw, 2.6rem);
  letter-spacing: 0.02em;
  text-transform: lowercase;
  color: var(--navy) !important;
}

.wp-block-navigation {
  flex: 0 1 auto !important;
  margin-left: auto !important;
  margin-right: 0.35rem;
}

.wp-block-navigation .wp-block-navigation__container,
.wp-block-navigation__responsive-container-content {
  display: flex !important;
  align-items: center;
  justify-content: flex-end !important;
  gap: 0.35rem !important;
}

.wp-block-navigation .wp-block-navigation-item {
  padding: 0 0.85rem;
}

.wp-block-navigation .wp-block-navigation-item__label,
.elementor-nav-menu a,
.elementor-location-header .elementor-icon-list-text {
  font-family: var(--ui) !important;
  font-size: 0.8rem !important;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.wp-block-navigation .wp-block-navigation-item:not(:last-child) {
  border-right: 1px solid rgba(201, 162, 39, 0.4);
}

.wp-block-navigation .wp-block-navigation-item__label:hover,
.elementor-nav-menu a:hover {
  color: var(--gold) !important;
}

.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close { color: var(--navy); }

.wp-block-navigation__responsive-container-open svg,
.wp-block-navigation__responsive-container-close svg { fill: var(--navy); }

.emmy-utility-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  position: relative;
  z-index: 40;
  pointer-events: auto;
}

/* Carrito y cuenta: iconos legibles y CLICKEABLES */
.wp-block-woocommerce-mini-cart,
.wc-block-mini-cart,
.wp-block-woocommerce-customer-account,
header .wp-block-search {
  display: inline-flex !important;
  align-items: center;
  visibility: visible !important;
  opacity: 1 !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  flex: 0 0 auto;
  position: relative !important;
  z-index: 50 !important;
  pointer-events: auto !important;
}

.wc-block-mini-cart__button,
.wp-block-woocommerce-customer-account a,
header .wp-block-search__button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  position: relative !important;
  z-index: 51 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  color: var(--navy) !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  padding: 0.45rem !important;
  min-width: 42px !important;
  min-height: 42px !important;
  border-radius: 999px !important;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease,
    color 220ms ease !important;
}

.wc-block-mini-cart__button:hover,
.wc-block-mini-cart__button:focus-visible,
.wp-block-woocommerce-customer-account a:hover,
.wp-block-woocommerce-customer-account a:focus-visible,
header .wp-block-search__button:hover,
header .wp-block-search__button:focus-visible {
  background: rgba(26, 54, 93, 0.08) !important;
  border-color: rgba(201, 162, 39, 0.65) !important;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18) !important;
  transform: translateY(-1px) scale(1.04) !important;
  color: var(--gold) !important;
}

.wc-block-mini-cart__button:active,
.wp-block-woocommerce-customer-account a:active,
header .wp-block-search__button:active {
  transform: scale(0.96) !important;
}

.wc-block-mini-cart__quantity-badge {
  display: flex !important;
  position: relative;
  pointer-events: none;
}

.wc-block-mini-cart__button svg,
.wc-block-mini-cart__icon,
.wp-block-woocommerce-customer-account svg,
header .wp-block-search__button svg {
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  fill: currentColor !important;
  color: inherit !important;
  pointer-events: none !important;
}

.wc-block-mini-cart__text,
.wc-block-mini-cart__amount,
.wp-block-woocommerce-customer-account .wc-block-customer-account__account-label,
.wp-block-woocommerce-customer-account a span:not([class*="icon"]) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  pointer-events: none !important;
}

.wp-block-woocommerce-customer-account a {
  color: var(--navy) !important;
}

.wc-block-mini-cart__badge:not(:empty) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none !important;
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
  -webkit-text-fill-color: var(--navy-deep) !important;
  font-size: 0.62rem !important;
  font-weight: 600;
  min-width: 1.1rem;
  height: 1.1rem;
  line-height: 1.1rem;
  border-radius: 999px;
  z-index: 2;
}

/* ================================================================== */
/* Buscador                                                             */
/* ================================================================== */

.wp-block-search,
form.search-form,
form.woocommerce-product-search,
.elementor-search-form {
  width: min(100%, 420px);
}

.wp-block-search .wp-block-search__inside-wrapper,
form.search-form,
form.woocommerce-product-search,
.elementor-search-form__container {
  display: flex !important;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(196, 160, 86, 0.5);
  border-radius: var(--radius);
  background: #fff;
}

.wp-block-search__label,
.wp-block-search .wp-block-search__label {
  display: block;
  margin: 0 0 0.4rem;
  font-family: var(--ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

.wp-block-search__input,
form.search-form .search-field,
form.woocommerce-product-search .search-field,
.elementor-search-form__input,
input[type="search"] {
  flex: 1 1 auto;
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 0.7rem 1rem;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--ui) !important;
  font-size: 0.88rem !important;
  color: var(--ink) !important;
}

.wp-block-search__input::placeholder,
form.search-form .search-field::placeholder,
form.woocommerce-product-search .search-field::placeholder,
.elementor-search-form__input::placeholder,
input[type="search"]::placeholder {
  color: var(--stone);
  opacity: 0.85;
}

.wp-block-search__input:focus,
form.search-form .search-field:focus,
form.woocommerce-product-search .search-field:focus,
input[type="search"]:focus {
  outline: none !important;
  box-shadow: none !important;
}

.wp-block-search .wp-block-search__inside-wrapper:focus-within,
form.search-form:focus-within,
form.woocommerce-product-search:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.wp-block-search__button,
form.search-form .search-submit,
form.woocommerce-product-search button,
.elementor-search-form__submit {
  flex: 0 0 auto;
  min-width: 46px;
  min-height: 46px;
  margin: 0 !important;
  padding: 0 1.05rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--gold) !important;
  color: var(--navy-ink) !important;
  font-family: var(--ui) !important;
  font-size: 0.68rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
  cursor: pointer;
}

.wp-block-search__button:hover,
form.search-form .search-submit:hover,
form.woocommerce-product-search button:hover,
.elementor-search-form__submit:hover {
  background: var(--gold-hover) !important;
  color: #fff !important;
}

.wp-block-search__button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Buscador en header marfil */
header .wp-block-search .wp-block-search__inside-wrapper,
header form.search-form,
header form.woocommerce-product-search {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(201, 162, 39, 0.45);
}

header .wp-block-search__input,
header form.search-form .search-field,
header input[type="search"] {
  color: var(--navy) !important;
}

header .wp-block-search__input::placeholder,
header input[type="search"]::placeholder {
  color: var(--stone);
}

header .wp-block-search__label {
  color: var(--navy);
}

/* Home / Journal: el header usa el mismo lienzo navy que el resto del sitio */
body.home .wp-site-blocks > header,
body.home header.wp-block-template-part,
body.home .elementor-location-header,
body.blog .wp-site-blocks > header,
body.blog header.wp-block-template-part,
body.single-post .wp-site-blocks > header,
body.single-post header.wp-block-template-part {
  color: var(--gold-soft);
  border-bottom-color: rgba(201, 162, 39, 0.55);
}

body.home .wp-site-blocks > header::before,
body.home header.wp-block-template-part::before,
body.home .elementor-location-header::before,
body.blog .wp-site-blocks > header::before,
body.blog header.wp-block-template-part::before,
body.single-post .wp-site-blocks > header::before,
body.single-post header.wp-block-template-part::before {
  opacity: 0.12;
  mix-blend-mode: soft-light;
  background-image:
    radial-gradient(ellipse 90% 120% at 20% 0%, rgba(201, 162, 39, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 100% at 90% 100%, rgba(201, 162, 39, 0.1), transparent 50%);
}

body.home.emmy-header-compact .wp-site-blocks > header,
body.home.emmy-header-compact header.wp-block-template-part,
body.home.emmy-header-compact .elementor-location-header,
body.blog.emmy-header-compact .wp-site-blocks > header,
body.single-post.emmy-header-compact .wp-site-blocks > header,
body.home .wp-site-blocks > header.scrolled,
body.blog .wp-site-blocks > header.scrolled,
body.single-post .wp-site-blocks > header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.home .wp-site-blocks > header a,
body.home header.wp-block-template-part a,
body.home .elementor-location-header a,
body.home header .wp-block-navigation-item__label,
body.home .wp-block-site-title a,
body.blog .wp-site-blocks > header a,
body.blog header .wp-block-navigation-item__label,
body.blog .wp-block-site-title a,
body.single-post .wp-site-blocks > header a,
body.single-post header .wp-block-navigation-item__label,
body.single-post .wp-block-site-title a {
  color: var(--gold-soft) !important;
}

body.home .wc-block-mini-cart__button,
body.home .wc-block-mini-cart__button svg,
body.home .wc-block-mini-cart__icon,
body.home .wp-block-woocommerce-customer-account a,
body.home .wp-block-woocommerce-customer-account svg,
body.blog .wc-block-mini-cart__button,
body.blog .wc-block-mini-cart__button svg,
body.blog .wp-block-woocommerce-customer-account svg,
body.single-post .wc-block-mini-cart__button,
body.single-post .wc-block-mini-cart__button svg,
body.single-post .wp-block-woocommerce-customer-account svg {
  color: var(--gold-soft) !important;
  fill: var(--gold-soft) !important;
}

body.home header .wp-block-search .wp-block-search__inside-wrapper,
body.home header form.search-form,
body.blog header .wp-block-search .wp-block-search__inside-wrapper,
body.single-post header .wp-block-search .wp-block-search__inside-wrapper {
  background: rgba(246, 241, 232, 0.08);
  border-color: rgba(196, 160, 86, 0.45);
}

body.home header .wp-block-search__input,
body.home header input[type="search"],
body.blog header .wp-block-search__input,
body.single-post header .wp-block-search__input {
  color: var(--ivory) !important;
}

body.home header .wp-block-search__input::placeholder,
body.home header .wp-block-search__label,
body.blog header .wp-block-search__label,
body.single-post header .wp-block-search__label {
  color: var(--gold-soft);
}

body.home .emmy-free-shipping,
body.home .emmy-kicker,
body.blog .emmy-free-shipping,
body.single-post .emmy-free-shipping {
  color: #efe6d4 !important;
}

/* Oculta Carrito y Finalizar compra ESCRITOS. Nunca oculta el mini-carrito. */
.wp-block-navigation-item:has(a[href*="carrito"]):not(:has(.wc-block-mini-cart)):not(:has(.wp-block-woocommerce-mini-cart)),
.wp-block-navigation-item:has(a[href*="/cart"]):not(:has(.wc-block-mini-cart)):not(:has(.wp-block-woocommerce-mini-cart)),
.wp-block-navigation-item:has(a[href*="finalizar-compra"]):not(:has(.wc-block-mini-cart)),
.wp-block-navigation-item:has(a[href*="checkout"]):not(:has(.wc-block-mini-cart)),
.wp-block-navigation-item:has(a[href*="mi-cuenta"]):not(:has(.wp-block-woocommerce-customer-account)),
.wp-block-navigation-item:has(a[href*="my-account"]):not(:has(.wp-block-woocommerce-customer-account)),
.elementor-nav-menu li:has(a[href*="carrito"]):not(:has(.wc-block-mini-cart)),
.elementor-nav-menu li:has(a[href*="finalizar-compra"]),
.elementor-nav-menu li:has(a[href*="/cart"]):not(:has(.wc-block-mini-cart)),
.elementor-nav-menu li:has(a[href*="checkout"]),
.elementor-nav-menu li:has(a[href*="mi-cuenta"]) {
  display: none !important;
}

/* En tienda, Inicio no debe ser el breadcrumb; va en el menú de la derecha */
.woocommerce-breadcrumb,
.wp-block-woocommerce-breadcrumbs,
.woocommerce .woocommerce-breadcrumb {
  display: none !important;
}

.emmy-free-shipping,
.emmy-kicker {
  display: block;
  margin: 0.15rem 0 0;
  font-family: var(--ui);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--stone) !important;
  text-align: right;
  opacity: 0.92;
}

/* ================================================================== */
/* Hero                                                                 */
/* ================================================================== */

body.home .wp-site-blocks > main,
body.home main.wp-block-group,
.emmy-hero {
  background: var(--navy-ink) !important;
  color: var(--ivory);
  padding: 0 0 2.5rem;
}

.emmy-hero img,
.emmy-hero .elementor-widget-image img,
.emmy-hero .wp-block-image img,
body.home main .wp-block-image img {
  width: 100%;
  height: min(78vh, 760px);
  object-fit: cover;
  object-position: 50% 20%;
}

.emmy-hero h1,
.emmy-hero h1.elementor-heading-title,
.emmy-hero .elementor-heading-title,
body.home main h1,
body.home main h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.6rem, 5.6vw, 4.75rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ivory) !important;
  margin: 0 0 0.8rem;
}

body.home main h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.emmy-hero .elementor-widget-text-editor p,
.emmy-hero > p,
.emmy-lead {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  line-height: 1.25;
  color: var(--gold-soft) !important;
  max-width: 18ch;
}

body.home main p {
  color: var(--gold-soft) !important;
}

.emmy-tagline {
  font-family: var(--ui);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  text-align: center;
  padding: 1.4rem 1rem 2.2rem;
}

.emmy-cta,
.emmy-cta .elementor-button,
.emmy-cta .wp-block-button__link {
  display: inline-block;
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
  border: 0 !important;
  border-radius: var(--radius) !important;
  font-family: var(--ui) !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  padding: 0.95rem 1.55rem !important;
  box-shadow: none !important;
  transition: background 0.2s ease, color 0.2s ease;
}

.emmy-cta:hover,
.emmy-cta .elementor-button:hover,
.emmy-cta .wp-block-button__link:hover {
  background: var(--gold-hover) !important;
  color: #fff !important;
}

/* ================================================================== */
/* Botones de compra                                                   */
/* ================================================================== */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wp-element-button,
.wp-block-button__link,
.wc-block-components-product-button__button,
.wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-button,
.wp-block-woocommerce-proceed-to-checkout-block .wp-block-button__link,
.wp-block-woocommerce-checkout-actions-block .wp-block-button__link {
  font-family: var(--ui) !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  border-radius: var(--radius) !important;
  box-shadow: none !important;
}

.woocommerce ul.products li.product .button:not(.added_to_cart):not(.wc-forward):not(.emmy-view-cart),
.woocommerce ul.products li.product a.button:not(.added_to_cart):not(.wc-forward):not(.emmy-view-cart),
.wc-block-components-product-button .wp-block-button__link:not(.added_to_cart):not(.wc-forward):not(.emmy-view-cart),
.wc-block-components-product-button__button:not(.added_to_cart):not(.wc-forward):not(.emmy-view-cart) {
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  width: 100% !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 44px !important;
  background: var(--navy) !important;
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
  border: 0 !important;
  padding: 0.7rem var(--space-2) !important;
  margin: 0 !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.14em !important;
  line-height: 1.2 !important;
  overflow: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  border-radius: 0 0 var(--radius) var(--radius) !important;
  transition: background var(--t-hover) var(--ease), color var(--t-hover) var(--ease);
}

.woocommerce ul.products li.product .button::before,
.woocommerce ul.products li.product a.button::before,
.wc-block-components-product-button .wp-block-button__link::before,
.wc-block-components-product-button__button::before {
  content: none !important;
  display: none !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.button:hover {
  background: var(--navy) !important;
  color: var(--gold-soft) !important;
  border: 0 !important;
}

.woocommerce ul.products li.product:hover .button:not(.added_to_cart):not(.wc-forward):not(.emmy-view-cart),
.wc-block-product:hover .wc-block-components-product-button .wp-block-button__link:not(.added_to_cart):not(.wc-forward):not(.emmy-view-cart),
.wc-block-product:hover .wc-block-components-product-button__button:not(.added_to_cart):not(.wc-forward):not(.emmy-view-cart) {
  opacity: 1;
  transform: translateY(0);
}

a.added_to_cart,
a.added_to_cart.wc-forward,
a.emmy-view-cart,
button.emmy-view-cart,
.woocommerce ul.products li.product a.added_to_cart,
.woocommerce ul.products li.product .added_to_cart,
.woocommerce ul.products li.product:hover a.added_to_cart,
.wc-block-product a.added_to_cart,
.wc-block-product:hover a.added_to_cart,
.sistemapos-product-card a.added_to_cart,
.wc-block-grid__product a.added_to_cart,
.wc-block-components-product-button a.added_to_cart {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.woocommerce ul.products li.product .button.added:not(.added_to_cart):not(.wc-forward),
.woocommerce ul.products li.product a.button.added:not(.added_to_cart):not(.wc-forward),
.wc-block-product .add_to_cart_button.added:not(.added_to_cart):not(.wc-forward) {
  display: flex !important;
}

.single_add_to_cart_button,
.checkout-button,
.woocommerce #place_order,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-button,
.wp-block-woocommerce-proceed-to-checkout-block .wp-block-button__link,
.wp-block-woocommerce-checkout-actions-block .wp-block-button__link {
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
  border: 0 !important;
  padding: 0.95rem 1.7rem !important;
  letter-spacing: 0.18em !important;
  border-radius: var(--radius) !important;
}

.single_add_to_cart_button:hover,
.checkout-button:hover,
.woocommerce #place_order:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.wc-block-components-checkout-place-order-button:hover,
.wc-block-cart__submit-button:hover {
  background: var(--gold-hover) !important;
  color: #fff !important;
}

.woocommerce a.button:not(.alt):not(.checkout-button):not(.add_to_cart_button):not(.product_type_simple):not(.product_type_variable):not(.product_type_grouped),
.woocommerce button.button:not(.alt):not(.single_add_to_cart_button) {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
}

/* ================================================================== */
/* TIENDA: columna lateral (categorías + ordenar + filtros)            */
/* Añade la clase  emmy-shop  al grupo de columnas de la plantilla     */
/* ================================================================== */

.emmy-shop,
.emmy-shop.wp-block-columns,
.wp-block-columns.emmy-shop {
  align-items: start !important;
  gap: 4.5rem !important;
  margin: 1.5rem auto 4rem !important;
}

.emmy-filters,
.sistemapos-shop-filters,
.emmy-shop > .wp-block-column:first-child {
  position: sticky;
  top: calc(var(--emmy-header-h, 96px) + 16px);
  z-index: 5;
  align-self: start;
  max-width: 260px;
  width: 100%;
  padding: 1.15rem 1.15rem 1.25rem;
  margin: 0 0 1.25rem;
  background:
    linear-gradient(180deg, #fbf8f2 0%, var(--ivory) 55%, #efe8dc 100%);
  border: 1px solid var(--gold);
  border-radius: 0;
  box-shadow:
    inset 0 0 0 3px var(--ivory),
    inset 0 0 0 4px rgba(201, 162, 39, 0.9),
    0 14px 36px rgba(11, 15, 26, 0.06);
  isolation: isolate;
  max-height: calc(100vh - var(--emmy-header-h, 96px) - 32px);
  overflow-x: hidden;
  overflow-y: auto;
}

.emmy-filters h2,
.emmy-filters h3,
.sistemapos-shop-filters h2,
.sistemapos-shop-filters h3,
.emmy-shop > .wp-block-column:first-child .wp-block-heading,
.wp-block-woocommerce-product-categories .wc-block-product-categories__title,
.wc-block-components-filter-title,
.wc-block-components-filter-wrapper .wp-block-heading,
.wp-block-heading.emmy-filter-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--display) !important;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--navy);
  margin: 0.15rem 0 0.85rem;
  padding: 0.15rem 0 0.65rem;
  border-bottom: 1px solid transparent;
  background-image: linear-gradient(90deg, transparent, var(--gold) 18%, var(--gold) 82%, transparent);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: left bottom;
}

.emmy-filters h2::after,
.emmy-filters h3::after,
.emmy-shop > .wp-block-column:first-child .wp-block-heading::after,
.wp-block-heading.emmy-filter-title::after,
.sistemapos-shop-filters h2::after,
.sistemapos-shop-filters h3::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
}

.emmy-filters .wp-block-heading + .wp-block-heading,
.emmy-shop > .wp-block-column:first-child .wp-block-heading + .wp-block-heading {
  margin-top: 1.35rem;
}

/* Categorías con “checkbox” visual (como tu captura) */
.widget_product_categories ul,
.wp-block-woocommerce-product-categories-list,
.wc-block-product-categories-list,
.wp-block-categories-list,
.sistemapos-shop-filters__cats,
.wc-block-checkbox-list,
.wc-block-attribute-filter-list {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
}

.widget_product_categories li,
.wc-block-product-categories-list-item,
.wp-block-categories-list .wp-block-categories-list-item,
.sistemapos-shop-filters__cats li,
.wc-block-checkbox-list li,
.wc-block-attribute-filter-list li {
  margin: 0;
  padding: 0.22rem 0;
}

.widget_product_categories ul.children,
.wc-block-product-categories-list .wc-block-product-categories-list {
  margin: 0 0 0 1.15rem;
  padding: 0;
}

.widget_product_categories a,
.wc-block-product-categories-list-item a,
.wp-block-categories-list a,
.sistemapos-shop-filters__cats a,
.wc-block-checkbox-list label,
.wc-block-attribute-filter-list label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--ui);
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink) !important;
  text-decoration: none !important;
  cursor: pointer;
}

.widget_product_categories a::before,
.wc-block-product-categories-list-item a::before,
.wp-block-categories-list a::before,
.sistemapos-shop-filters__cats a::before {
  content: "";
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  border: 1.5px solid rgba(201, 162, 39, 0.7);
  border-radius: 2px;
  background: #fff;
  box-sizing: border-box;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.widget_product_categories .current-cat > a::before,
.wp-block-categories-list .current-cat a::before,
.wc-block-product-categories-list-item.is-current a::before,
.sistemapos-shop-filters__cats .current-cat a::before {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: inset 0 0 0 2px #fff;
}

.wc-block-checkbox-list input[type="checkbox"],
.wc-block-attribute-filter-list input[type="checkbox"],
.wp-block-woocommerce-product-filter input[type="checkbox"] {
  appearance: none;
  width: 15px;
  height: 15px;
  margin: 0 0.45rem 0 0;
  border: 1.5px solid rgba(201, 162, 39, 0.7);
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  flex: 0 0 15px;
}

.wc-block-checkbox-list input[type="checkbox"]:checked,
.wc-block-attribute-filter-list input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: inset 0 0 0 2px #fff;
}

.widget_product_categories .count,
.wc-block-product-categories-list-item-count {
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--stone);
}

/* Precio: slider + montos a los lados */
.wp-block-woocommerce-filter-wrapper,
.wc-block-attribute-filter,
.wc-block-price-filter,
.wc-block-stock-filter,
.wp-block-woocommerce-active-filters,
.wp-block-woocommerce-product-filter-price,
.wp-block-woocommerce-product-filter-price-slider {
  margin: 0 0 1.35rem;
  border: 0;
  padding: 0;
}

.wc-block-components-price-slider,
.wc-block-components-price-slider__range-input-wrapper {
  --wp--preset--color--primary: var(--gold);
}

.wc-block-price-filter__range-input::-webkit-slider-thumb,
.wc-block-components-price-slider__controls input {
  accent-color: var(--gold);
}

.sistemapos-shop-filters__price {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1.35rem;
}

.sistemapos-shop-filters__price-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--stone);
}

.sistemapos-shop-filters__price input[type="range"] {
  width: 100%;
  accent-color: var(--gold);
}

.sistemapos-shop-filters__price button {
  justify-self: start;
  background: transparent;
  border: 0;
  padding: 0.35rem 0 0;
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.sistemapos-shop-filters__price button:hover {
  color: var(--gold-hover);
  border-bottom-color: var(--gold);
}

.wc-block-price-filter__controls,
.wc-block-components-price-slider__range-text {
  display: flex;
  justify-content: space-between;
  font-family: var(--ui);
  font-size: 0.78rem;
  color: var(--navy);
  margin-top: 0.4rem;
}

.wc-block-components-filter-reset-button,
.wc-block-components-filter-submit-button {
  font-family: var(--ui) !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  background: transparent !important;
  color: var(--navy) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--gold) !important;
  border-radius: 0 !important;
  padding: 0.2rem 0 !important;
}

/* Ordenar: ARRIBA A LA DERECHA de los productos, no escrito en el menú */
.emmy-shop > .wp-block-column:last-child {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.8rem 1rem;
}

.emmy-shop > .wp-block-column:last-child .woocommerce-result-count,
.emmy-shop .wp-block-woocommerce-product-results-count {
  order: 1;
  margin: 0;
  font-size: 0.82rem;
  color: var(--stone);
}

.emmy-shop > .wp-block-column:last-child .woocommerce-ordering,
.emmy-shop > .wp-block-column:last-child .wp-block-woocommerce-catalog-sorting,
.wp-block-woocommerce-catalog-sorting {
  order: 2;
  margin: 0 0 0 auto;
  width: auto;
  min-width: 200px;
  float: none !important;
}

.emmy-shop > .wp-block-column:last-child .wp-block-woocommerce-product-collection,
.emmy-shop > .wp-block-column:last-child ul.products {
  order: 3;
  width: 100%;
}

.woocommerce-ordering select,
.wp-block-woocommerce-catalog-sorting select,
.wc-block-sort-select__select {
  width: 100%;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--hair) !important;
  border-radius: var(--radius);
  min-height: 40px;
  padding: 0 2rem 0 1rem;
  font-family: var(--ui);
  font-size: 0.78rem;
  color: var(--ink);
  box-shadow: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%),
    linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 16px) 16px, calc(100% - 11px) 16px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

/* Catálogo en dos columnas: filtros | productos. Nunca grid en body.woocommerce. */
body.post-type-archive-product .sistemapos-shop-layout,
body.woocommerce-shop .sistemapos-shop-layout,
body.tax-product_cat .sistemapos-shop-layout,
body.tax-product_tag .sistemapos-shop-layout,
.sistemapos-shop-layout:has(> .sistemapos-shop-filters),
body.post-type-archive-product .wp-block-woocommerce-product-collection:has(> .sistemapos-shop-filters),
body.woocommerce-shop .wp-block-woocommerce-product-collection:has(> .sistemapos-shop-filters),
body.tax-product_cat .wp-block-woocommerce-product-collection:has(> .sistemapos-shop-filters),
body.tax-product_tag .wp-block-woocommerce-product-collection:has(> .sistemapos-shop-filters),
body.post-type-archive-product main div.woocommerce:has(> .sistemapos-shop-filters),
body.woocommerce-shop main div.woocommerce:has(> .sistemapos-shop-filters),
body.tax-product_cat main div.woocommerce:has(> .sistemapos-shop-filters),
body.tax-product_tag main div.woocommerce:has(> .sistemapos-shop-filters) {
  display: grid !important;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  column-gap: 4.5rem;
  row-gap: 0.6rem;
  align-items: start;
  padding-top: 1.5rem;
  margin-top: 0;
}

.sistemapos-shop-layout {
  width: 100%;
}

.sistemapos-shop-layout > .wp-block-woocommerce-product-collection {
  display: block !important;
}

.sistemapos-shop-layout > .sistemapos-shop-filters,
.wp-block-woocommerce-product-collection > .sistemapos-shop-filters,
main div.woocommerce > .sistemapos-shop-filters {
  grid-column: 1;
  grid-row: 1;
  display: block !important;
  visibility: visible !important;
  max-width: none;
}

.sistemapos-shop-layout > *:not(.sistemapos-shop-filters),
.wp-block-woocommerce-product-collection > *:not(.sistemapos-shop-filters),
main div.woocommerce > *:not(.sistemapos-shop-filters):not(.woocommerce-products-header) {
  grid-column: 2;
  min-width: 0;
}

body.post-type-archive-product .woocommerce-products-header,
body.tax-product_cat .woocommerce-products-header,
body.tax-product_tag .woocommerce-products-header {
  grid-column: 1 / -1;
  text-align: left;
  padding: 2.2rem 0 1.4rem;
  margin: 0;
  background: transparent;
}

body.post-type-archive-product .woocommerce-products-header__title,
body.tax-product_cat .woocommerce-products-header__title {
  color: var(--ink);
}

body.post-type-archive-product .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count {
  margin: 0.5rem 0 0;
}

body.post-type-archive-product .woocommerce-ordering,
body.tax-product_cat .woocommerce-ordering {
  justify-self: end;
  width: auto;
  margin: 0;
}

body.single-product .woocommerce {
  display: block;
}

/* ================================================================== */
/* Catálogo lookbook                                                   */
/* ================================================================== */

.woocommerce-products-header { padding: 2.2rem 0 0.8rem; text-align: center; }

.woocommerce-products-header__title,
.wp-block-query-title,
body.post-type-archive-product .wp-block-heading,
body.tax-product_cat .wp-block-heading {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: 0.02em;
  text-transform: none;
  text-align: center;
}

.woocommerce-products-header__title::after,
body.post-type-archive-product h1.wp-block-heading::after,
body.post-type-archive-product h2.wp-block-heading::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  background: var(--gold);
  margin: 0.7rem auto 0;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  font-family: var(--ui);
  font-size: 0.78rem;
  color: var(--stone);
  letter-spacing: 0.04em;
}

.woocommerce ul.products,
.wc-block-grid__products,
.wp-block-woocommerce-product-collection ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem 1.25rem;
  margin: 1.5rem 0 3rem;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; content: none; }

.woocommerce ul.products li.product,
.wc-block-product,
.wc-block-grid__product,
.sistemapos-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 0 var(--space-2) !important;
  background: #fff !important;
  border: 1px solid var(--hair) !important;
  border-radius: var(--radius) !important;
  text-align: center;
  align-items: center;
  box-shadow: var(--shadow-rest) !important;
  overflow: visible;
  min-height: auto;
  min-width: 0;
  transition: transform var(--t-hover) var(--ease), box-shadow var(--t-hover) var(--ease);
}

.woocommerce ul.products li.product:hover,
.wc-block-product:hover,
.wc-block-grid__product:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover) !important;
}

.woocommerce ul.products li.product > a:first-of-type:has(img),
.wc-block-product a.wc-block-grid__product-link,
.wc-block-components-product-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  flex: 0 0 auto;
  overflow: hidden;
  background: var(--cream);
  border-radius: var(--radius) var(--radius) 0 0;
}

.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product img,
.wc-block-product img {
  width: 100% !important;
  height: 100% !important;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover !important;
  object-position: center 18%;
  border-radius: 0 !important;
  background: var(--cream);
  image-rendering: auto;
  transform: scale(1.03) !important;
  transition: transform var(--t-hover) var(--ease);
}

.woocommerce ul.products li.product > a:first-of-type:not(:has(img)),
.wc-block-components-product-image:not(:has(img)) {
  background: var(--navy);
}

.woocommerce ul.products li.product > a:first-of-type:not(:has(img))::after,
.wc-block-components-product-image:not(:has(img))::after {
  content: "EMMY";
  inset: 0;
  left: 0;
  bottom: 0;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  opacity: 1;
  background: var(--navy);
}

.woocommerce ul.products li.product:hover a img,
.woocommerce ul.products li.product:hover img,
.wc-block-product:hover img {
  transform: scale(1.07) !important;
}

.woocommerce ul.products li.product > a:first-of-type:has(img)::before,
.wc-block-product .wc-block-components-product-image::before,
.sistemapos-card-media::before,
li.product .wc-block-components-product-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 20, 28, 0) 58%, rgba(11, 20, 28, 0.36) 100%);
  opacity: 0;
  transition: opacity var(--t-media) var(--ease-out);
  pointer-events: none;
  z-index: 1;
}

.woocommerce ul.products li.product > a:first-of-type:has(img)::after,
.wc-block-product .wc-block-components-product-image::after,
.sistemapos-card-media::after,
li.product .wc-block-components-product-image::after {
  content: "Ver";
  position: absolute;
  left: 50%;
  bottom: 3.7rem;
  transform: translate(-50%, 8px);
  font-family: var(--ui);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  white-space: nowrap;
  z-index: 2;
}

.woocommerce ul.products li.product:hover > a:first-of-type:has(img)::before,
.woocommerce ul.products li.product:hover > a:first-of-type:has(img)::after,
.wc-block-product:hover .wc-block-components-product-image::before,
.wc-block-product:hover .wc-block-components-product-image::after {
  opacity: 1;
}

.woocommerce ul.products li.product:hover > a:first-of-type:has(img)::after,
.wc-block-product:hover .wc-block-components-product-image::after {
  transform: translate(-50%, 0);
}

.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price .amount,
.woocommerce ul.products li.product .price ins,
.woocommerce ul.products li.product .price ins .amount,
.woocommerce ul.products li.product .price bdi,
.wc-block-product .wc-block-components-product-price,
.wc-block-product .wc-block-components-product-price .amount,
.wc-block-components-product-price,
.wc-block-components-product-price a {
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
  text-align: center;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title a,
.woocommerce ul.products li.product a .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h2 a,
.woocommerce ul.products li.product h2.woocommerce-loop-product__title,
.woocommerce ul.products li.product .wp-block-post-title,
.woocommerce ul.products li.product .wp-block-post-title a,
.wc-block-product .wc-block-components-product-name,
.wc-block-product .wc-block-components-product-name a,
.wc-block-components-product-name,
.wc-block-components-product-name a,
h2.woocommerce-loop-product__title {
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title a,
.woocommerce ul.products li.product a .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h2 a,
.woocommerce ul.products li.product h2.woocommerce-loop-product__title,
.woocommerce ul.products li.product .wp-block-post-title,
.woocommerce ul.products li.product .wp-block-post-title a,
.wc-block-product .wp-block-post-title,
.wc-block-product .wp-block-post-title a,
.wc-block-components-product-name,
.wc-block-components-product-name a,
h2.woocommerce-loop-product__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.6em;
  max-height: 2.6em;
  font-family: var(--display) !important;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  margin: 0.85rem 0.85rem 0.2rem;
  padding: 0;
  text-align: center;
  width: calc(100% - 1.7rem);
}

.woocommerce ul.products li.product a.button {
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__title a,
.woocommerce ul.products li.product:hover h2 a,
.woocommerce ul.products li.product:hover .wp-block-post-title a,
.wc-block-product:hover .wc-block-components-product-name,
.wc-block-product:hover .wc-block-components-product-name a {
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
}

.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price .amount,
.woocommerce ul.products li.product .price ins,
.woocommerce ul.products li.product .price bdi,
.wc-block-product .wc-block-components-product-price,
.wc-block-product .wc-block-components-product-price .amount {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price,
body.single-product .wc-block-components-product-price {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink) !important;
}

.woocommerce ul.products li.product .price del,
.woocommerce ul.products li.product .price del .amount,
.wc-block-product .wc-block-components-product-price del { color: rgba(196, 160, 86, 0.55) !important; opacity: 1; }

.woocommerce div.product .price del { color: var(--stone); opacity: 0.7; }

.woocommerce ul.products .star-rating { display: none; }

.wc-block-components-sale-badge,
.wc-block-grid__product-onsale,
.woocommerce span.onsale {
  position: absolute !important;
  top: 0.75rem !important;
  left: 0.75rem !important;
  z-index: 3;
  background: #000 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: var(--radius) !important;
  font-family: var(--ui) !important;
  font-size: 0.62rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  padding: 0.42rem 0.55rem !important;
  min-height: 0 !important;
  line-height: 1 !important;
}

.wp-block-woocommerce-product-collection .wc-block-product-template,
.wc-block-product-template {
  --wc-product-collection-grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  gap: 1.5rem 1.25rem !important;
  margin: 0 0 3rem !important;
}

.wc-block-product-template .wc-block-product { width: auto !important; }

.wc-block-components-product-image img,
.wc-block-product-template .wc-block-components-product-image img {
  width: 100% !important;
  height: 100% !important;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover !important;
  object-position: center 18% !important;
  background: var(--cream);
  transform: scale(1.03) !important;
  transition: transform var(--t-hover) var(--ease);
}

.wc-block-components-product-name,
.wc-block-components-product-name a,
a.wc-block-components-product-name,
.wc-block-product .wp-block-post-title,
.wc-block-product .wp-block-post-title a {
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
  text-decoration: none !important;
  text-align: center;
}

.woocommerce ul.products li.product .price,
.wc-block-product .wc-block-components-product-price,
.wc-block-product .wp-block-woocommerce-product-price,
body.single-product .related.products li.product .price,
body.single-product .upsells.products li.product .price,
body.woocommerce-cart ul.products li.product .price {
  width: 100%;
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}

.woocommerce ul.products li.product,
.wc-block-product,
.wc-block-grid__product,
.sistemapos-product-card,
body.single-product .related.products li.product,
body.single-product .upsells.products li.product,
body.single-product .wp-block-woocommerce-product-collection .wc-block-product,
body.woocommerce-cart .wc-block-product {
  text-align: center !important;
}

.wc-block-product-template .wc-block-product:hover .wc-block-components-product-name,
.wc-block-product-template .wc-block-product:hover .wc-block-components-product-name a {
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
}

.woocommerce nav.woocommerce-pagination ul,
.woocommerce nav.woocommerce-pagination ul li { border: 0; }

.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  justify-content: center;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 var(--space-1);
  font-family: var(--ui);
  font-size: 0.8rem;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  color: var(--gold);
  background: var(--navy);
  border-color: var(--navy);
}

.woocommerce-ordering select,
.woocommerce .quantity .qty,
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea,
.select2-container .select2-selection--single {
  background: #fff;
  border: 1px solid var(--hair) !important;
  border-radius: 0;
  min-height: 44px;
  font-family: var(--ui);
  color: var(--ink);
  box-shadow: none;
}

/* ================================================================== */
/* Ficha de producto                                                    */
/* ================================================================== */

body.single-product .woocommerce-breadcrumb,
body.single-product .wp-block-woocommerce-breadcrumbs,
body.single-product .woocommerce .woocommerce-breadcrumb {
  display: flex !important;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 1.4rem;
  font-family: var(--ui);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--stone);
}

body.single-product .woocommerce-breadcrumb a:first-child::before {
  content: "← ";
}

body.single-product .wp-block-columns.alignwide {
  align-items: start !important;
  gap: 2.5rem 3rem !important;
  margin-top: 0.4rem;
}

body.single-product .woocommerce-product-gallery {
  position: relative;
  display: block;
  background: #ece7de;
}

body.single-product .woocommerce-product-gallery:has(.flex-control-thumbs li:nth-child(2)),
body.single-product .woocommerce-product-gallery:has(.flex-control-nav li:nth-child(2)) {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.75rem;
}

body.single-product .flex-control-nav,
body.single-product .flex-control-thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  order: -1;
  margin: 0 !important;
  padding: 0;
  list-style: none;
}

body.single-product .flex-control-thumbs li,
body.single-product .flex-control-nav li {
  width: 72px !important;
  margin: 0 !important;
  border: 1px solid rgba(196, 160, 86, 0.45);
  background: #fff;
}

body.single-product .woocommerce-product-gallery__image,
body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
  aspect-ratio: 3 / 4;
}

body.single-product .woocommerce-product-gallery__image img,
body.single-product .woocommerce-product-gallery__wrapper img,
body.single-product img.wp-post-image,
body.single-product img[loading="lazy"].wp-post-image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  background: #ece7de;
  object-fit: cover;
}

body.single-product .woocommerce-product-gallery__trigger {
  position: absolute !important;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 4;
  width: 34px;
  height: 34px;
  background: #fff !important;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(11, 20, 28, 0.12);
}

body.single-product h1.wp-block-post-title,
.woocommerce div.product h1.product_title,
.woocommerce div.product > .product_title {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
  font-weight: 500;
  margin: 0 0 0.55rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

body.single-product h1.wp-block-post-title::before,
.woocommerce div.product h1.product_title::before,
.woocommerce div.product > .product_title::before {
  content: "EMMY";
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--ui);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--stone);
}

body.single-product .wp-block-woocommerce-product-price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 500;
  margin: 0 0 0.9rem;
}

.sistemapos-sale-pct {
  display: inline-flex;
  align-items: center;
  background: #efe3c4;
  color: var(--navy-deep);
  font-family: var(--ui);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0.5rem;
  border-radius: var(--radius);
}

body.single-product .wp-block-post-excerpt,
.woocommerce-product-details__short-description {
  font-family: var(--ui);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--stone);
  max-width: 46ch;
  margin: 0 0 1.25rem;
}

.sistemapos-pdp-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0 0 1.5rem;
  padding: 0.9rem 0 1.15rem;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}

.sistemapos-pdp-trust__item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-family: var(--ui);
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--stone);
}

.sistemapos-pdp-trust__item::before {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  background: var(--gold);
  mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
}

.sistemapos-pdp-trust__item--ship::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 6h11v9H3V6zm11 3h4l3 3v3h-7V9zM6 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm10 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 6h11v9H3V6zm11 3h4l3 3v3h-7V9zM6 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm10 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4z'/%3E%3C/svg%3E");
}

.sistemapos-pdp-trust__item--secure::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2l8 4v6c0 5-3.4 9.4-8 10-4.6-.6-8-5-8-10V6l8-4zm0 6a2 2 0 0 0-2 2v1H9v5h6v-5h-1V10a2 2 0 0 0-2-2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2l8 4v6c0 5-3.4 9.4-8 10-4.6-.6-8-5-8-10V6l8-4zm0 6a2 2 0 0 0-2 2v1H9v5h6v-5h-1V10a2 2 0 0 0-2-2z'/%3E%3C/svg%3E");
}

.sistemapos-pdp-trust__item--returns::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 6V3L8 7l4 4V8a6 6 0 1 1-6 6H4a8 8 0 1 0 8-8z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 6V3L8 7l4 4V8a6 6 0 1 1-6 6H4a8 8 0 1 0 8-8z'/%3E%3C/svg%3E");
}

body.single-product .variations {
  border: 0;
  margin: 0 0 1rem;
  display: block !important;
  visibility: visible !important;
}

body.single-product .variations th {
  font-family: var(--ui);
  font-size: 0.78rem;
  font-weight: 500;
  text-align: left;
  padding: 0 0.8rem 0.5rem 0;
}

body.single-product .sistemapos-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

body.single-product .sistemapos-swatch {
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.55rem;
  border: 1px solid var(--hair);
  background: #fff;
  color: var(--ink);
  font-family: var(--ui);
  font-size: 0.78rem;
  cursor: pointer;
}

body.single-product .sistemapos-swatch.is-active {
  background: var(--navy-ink);
  color: var(--ivory);
  border-color: var(--navy-ink);
}

body.single-product .wp-block-add-to-cart-form {
  display: flex;
  flex-direction: column;
}

body.single-product .wp-block-add-to-cart-form form.cart { order: 1; }
body.single-product .wp-block-add-to-cart-form p.stock { order: 2; }

body.single-product form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.4rem;
}

body.single-product .quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--hair);
  background: #fff;
  min-height: 48px;
}

body.single-product .sistemapos-qty-btn {
  width: 2.4rem;
  height: 48px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
}

body.single-product .quantity .qty {
  width: 2.6rem;
  min-height: 46px;
  border: 0 !important;
  text-align: center;
  box-shadow: none;
}

body.single-product .single_add_to_cart_button {
  flex: 1 1 180px;
  min-height: 48px;
  background: var(--navy-ink) !important;
  color: var(--ivory) !important;
  border: 0 !important;
  letter-spacing: 0.16em !important;
}

body.single-product .single_add_to_cart_button:hover {
  background: #13202b !important;
  color: #fff !important;
}

body.single-product p.stock.in-stock {
  order: 5;
  width: 100%;
  margin: 0.85rem 0 0;
  font-family: var(--ui);
  font-size: 0.8rem;
  color: var(--ink);
}

body.single-product p.stock.in-stock::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: #2f9e6b;
  vertical-align: middle;
}

body.single-product .wp-block-woocommerce-product-sku {
  display: none;
}

body.single-product .taxonomy-product_cat,
body.single-product .wp-block-woocommerce-product-meta {
  font-family: var(--ui);
  font-size: 0.8rem;
  color: var(--stone);
}

body.single-product .wp-block-woocommerce-product-details {
  display: none;
}

.woocommerce div.product .woocommerce-product-rating { display: none; }

.related.products > h2,
.upsells.products > h2,
body.single-product .wp-block-woocommerce-product-collection .wp-block-heading {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.8rem;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  margin: 3rem 0 1.5rem;
}

body.single-product .wp-block-woocommerce-product-collection .wp-block-heading::before {
  content: "—  ";
  color: var(--gold);
}

body.single-product .wp-block-woocommerce-product-collection::after {
  content: "Estilo, calidad y versatilidad en cada prenda";
  display: block;
  margin: 1.5rem 0 2rem;
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  color: var(--stone);
  font-size: 0.95rem;
}

.woocommerce div.product { margin-top: 1.2rem; }

body.single-product .wp-block-woocommerce-product-rating,
body.single-product .wc-block-components-product-rating,
body.single-product .woocommerce-product-rating,
.editor-styles-wrapper .wp-block-woocommerce-product-rating,
.editor-styles-wrapper .wc-block-components-product-rating {
  display: none !important;
}

body.single-product .wp-block-woocommerce-product-sku,
body.single-product .taxonomy-product_tag,
body.single-product .taxonomy-product_brand,
.editor-styles-wrapper .wp-block-woocommerce-product-sku,
.editor-styles-wrapper .taxonomy-product_tag,
.editor-styles-wrapper .taxonomy-product_brand {
  display: none !important;
}

.editor-styles-wrapper .wp-block-woocommerce-store-notices,
.editor-styles-wrapper .wc-block-store-notices {
  display: none !important;
}

body.single-product h1.wp-block-post-title,
body.single-product h1.wp-block-post-title a,
.editor-styles-wrapper h1.wp-block-post-title,
.editor-styles-wrapper h1.wp-block-post-title a {
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}

.editor-styles-wrapper h1.wp-block-post-title::before {
  content: "EMMY";
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--ui);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--stone);
}

.editor-styles-wrapper .single_add_to_cart_button,
.editor-styles-wrapper .wp-block-add-to-cart-form button.button,
body.single-product .single_add_to_cart_button {
  background: var(--navy-ink) !important;
  color: var(--ivory) !important;
  border: 0 !important;
  border-radius: var(--radius) !important;
  min-height: 48px;
  letter-spacing: 0.16em !important;
}

.editor-styles-wrapper .wp-block-add-to-cart-form .quantity,
body.single-product .quantity {
  border-radius: var(--radius);
}

body.single-product .wp-block-woocommerce-product-collection .wc-block-product,
body.single-product .related.products li.product,
body.single-product .upsells.products li.product {
  background: #fff !important;
  border: 1px solid var(--hair) !important;
  border-radius: var(--radius) !important;
  padding: 0 0 0.85rem !important;
  text-align: center;
  align-items: center;
}

body.single-product .wp-block-woocommerce-product-collection .wp-block-post-title,
body.single-product .wp-block-woocommerce-product-collection .wp-block-post-title a,
body.single-product .related.products li.product .woocommerce-loop-product__title,
body.single-product .upsells.products li.product .woocommerce-loop-product__title {
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
  text-align: center !important;
}

body.single-product .wp-block-woocommerce-product-collection .wc-block-components-product-price,
body.single-product .wp-block-woocommerce-product-collection .wc-block-components-product-price .amount,
body.single-product .related.products li.product .price {
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
}

body.single-product .taxonomy-product_cat .wp-block-post-terms__prefix,
body.single-product .wp-block-post-terms__prefix {
  font-weight: 500;
}

/* ================================================================== */
/* Carrito / checkout / cuenta                                         */
/* ================================================================== */

body.woocommerce-cart ul.products li.product .button,
body.woocommerce-cart ul.products li.product a.button,
body.woocommerce-cart .wc-block-product .add_to_cart_button,
body.woocommerce-cart .wc-block-components-product-button .wp-block-button__link,
body.woocommerce-cart .wc-block-components-product-button__button,
body.woocommerce-cart .wc-block-product-template .wc-block-components-product-button__button {
  position: static !important;
  opacity: 1 !important;
  transform: none !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 44px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.75rem !important;
  pointer-events: auto !important;
}

.woocommerce-cart-form,
.woocommerce-checkout,
.woocommerce-account .woocommerce,
.wc-block-cart,
.wc-block-checkout {
  background: transparent;
  border: 0;
  padding: 0;
}

.woocommerce table.shop_table { border: 0; border-top: 1px solid var(--hair); }

.woocommerce table.shop_table th {
  font-family: var(--ui);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  background: transparent;
  border-bottom: 1px solid var(--hair);
}

.woocommerce table.shop_table td {
  border-bottom: 1px solid var(--hair);
  background: transparent;
  padding: 1rem 0.5rem;
}

.wc-block-cart-items,
.wc-block-components-totals-wrapper { border-color: var(--hair) !important; }

.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value {
  font-family: var(--ui);
  color: var(--ink);
}

.woocommerce-checkout h3,
#order_review_heading,
.woocommerce-account h2,
.woocommerce-account h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.7rem;
}

.woocommerce-info,
.woocommerce-message,
.woocommerce-error,
.wc-block-components-notice-banner,
.wc-block-components-notice-banner.is-error,
.wc-block-components-notice-banner.is-success {
  background: var(--ivory-2) !important;
  color: var(--navy) !important;
  border: 0 !important;
  border-left: 3px solid var(--gold) !important;
  box-shadow: var(--shadow-hover);
  font-family: var(--ui);
}

.woocommerce-error,
.wc-block-components-notice-banner.is-error {
  border-left-color: var(--navy) !important;
}

.wc-block-mini-cart__drawer .wc-block-components-notice-banner,
.wp-block-woocommerce-mini-cart-contents .wc-block-components-notice-banner {
  margin: 0 0 1rem !important;
  padding: 0.85rem 1rem !important;
  max-width: 100%;
  box-sizing: border-box;
  box-shadow: none !important;
  border-radius: var(--radius) !important;
  font-size: 0.86rem !important;
  line-height: 1.45;
}

.wc-block-mini-cart__drawer .wc-block-components-notice-banner__content,
.wp-block-woocommerce-mini-cart-contents .wc-block-components-notice-banner__content {
  margin: 0;
}

.wc-block-mini-cart__drawer .wc-block-components-notice-banner a,
.wp-block-woocommerce-mini-cart-contents .wc-block-components-notice-banner a {
  display: none !important;
}

.woocommerce-message a.button,
.woocommerce-error a.button,
.woocommerce-info a.button,
.wc-block-components-notice-banner a {
  background: var(--navy) !important;
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
  border: 0 !important;
}

body.single-product div.product,
body.single-product .wp-block-columns.alignwide {
  position: relative;
}

body.single-product .woocommerce-notices-wrapper,
body.single-product .sistemapos-product-notice {
  position: absolute;
  left: 0;
  right: 0;
  top: 0.75rem;
  z-index: 30;
  max-width: min(36rem, calc(100% - 1.5rem));
  margin: 0 0.75rem;
}

body.single-product .woocommerce-notices-wrapper .woocommerce-message,
body.single-product .woocommerce-notices-wrapper .woocommerce-error,
body.single-product .woocommerce-notices-wrapper .woocommerce-info {
  margin: 0;
}

/* ================================================================== */
/* Pie                                                                  */
/* ================================================================== */

footer.wp-block-template-part,
.elementor-location-footer {
  background: var(--navy-deep);
  color: #eadfcb;
  border-top: 1px solid var(--gold);
  padding-top: 2.4rem;
  padding-bottom: 2rem;
}

footer.wp-block-template-part a,
.elementor-location-footer a { color: var(--gold-soft); }

footer.wp-block-template-part p,
.elementor-location-footer p { color: #cfc3ae; font-size: 0.86rem; font-weight: 300; }

/* Toast + modal: ver bloque unificado al final del archivo. */

.sistemapos-empty-shop {
  background: var(--navy) !important;
  color: var(--gold) !important;
  font-family: var(--ui);
}

.wc-block-components-totals-item__description,
.wc-block-components-totals-shipping .wc-block-components-totals-item__description {
  font-size: 0.78rem;
  color: var(--stone);
}

/* ================================================================== */
/* Responsive                                                          */
/* ================================================================== */

@media (max-width: 1024px) {
  .woocommerce ul.products,
  .wc-block-grid__products { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

  .wp-block-woocommerce-product-collection .wc-block-product-template,
  .wc-block-product-template {
    --wc-product-collection-grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  }

  .emmy-filters,
  .sistemapos-shop-filters,
  .emmy-shop > .wp-block-column:first-child {
    position: static;
    top: auto;
    max-width: none;
    grid-column: 1;
    grid-row: auto;
    border-right: 0;
    margin-bottom: 1.25rem;
  }

  body.post-type-archive-product .sistemapos-shop-layout,
  body.tax-product_cat .sistemapos-shop-layout,
  body.post-type-archive-product .wp-block-woocommerce-product-collection,
  body.tax-product_cat .wp-block-woocommerce-product-collection,
  body.tax-product_tag .wp-block-woocommerce-product-collection,
  body.post-type-archive-product main div.woocommerce,
  body.tax-product_cat main div.woocommerce,
  body.tax-product_tag main div.woocommerce {
    grid-template-columns: 1fr;
  }

  body.post-type-archive-product .woocommerce-ordering,
  body.tax-product_cat .woocommerce-ordering,
  body.post-type-archive-product .woocommerce-result-count,
  body.post-type-archive-product .woocommerce ul.products,
  body.post-type-archive-product .woocommerce-pagination,
  .sistemapos-shop-layout > *:not(.sistemapos-shop-filters),
  .wp-block-woocommerce-product-collection > *:not(.sistemapos-shop-filters),
  main div.woocommerce > *:not(.sistemapos-shop-filters) {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
  }

  .sistemapos-pdp-trust {
    grid-template-columns: 1fr;
  }

  body.single-product .wp-block-columns.alignwide {
    flex-direction: column !important;
  }
}

@media (max-width: 781px) {
  header.wp-block-template-part { padding-block: 0.75rem; padding-inline: var(--gutter); flex-wrap: wrap; }
  header.wp-block-template-part::before { inset: 0; opacity: 0.28; }

  .wp-block-site-title a { font-size: 1.85rem; }

  .wp-block-navigation .wp-block-navigation-item { border-right: 0; padding: 0.35rem 0; }

  .woocommerce ul.products,
  .wc-block-grid__products {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.4rem 0.9rem;
  }

  .wp-block-woocommerce-product-collection .wc-block-product-template,
  .wc-block-product-template {
    --wc-product-collection-grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    gap: 1.4rem 0.9rem !important;
  }

  .woocommerce ul.products li.product .button { opacity: 1; transform: none; }

  .emmy-hero h1,
  .emmy-hero .elementor-heading-title { font-size: 2.15rem; }

  .emmy-hero img,
  .emmy-hero .elementor-widget-image img { height: 52vh; }
}

/* Nombre + precio de la tarjeta: mismo dorado (Product Collection de Woo) */
body .wc-block-product .wp-block-post-title,
body .wc-block-product .wp-block-post-title a,
body .wc-block-product h2,
body .wc-block-product h2 a,
body li.wc-block-product a:not(.wp-block-button__link):not(.add_to_cart_button):not(.product_type_simple):not(.product_type_variable),
body .wp-block-woocommerce-product-template .wp-block-post-title,
body .wp-block-woocommerce-product-template .wp-block-post-title a,
body li.product .wp-block-post-title,
body li.product .wp-block-post-title a,
body li.product h2 a {
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
}

body .wc-block-product .wc-block-components-product-price,
body .wc-block-product .wc-block-components-product-price span,
body .wc-block-product .wc-block-components-product-price bdi,
body .wc-block-product .wc-block-components-product-price .amount,
body .wc-block-product .wc-block-components-product-price ins,
body li.product .price,
body li.product .price .amount,
body li.product .price ins,
body li.product .price bdi {
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
}

/* ================================================================== */
/* EMMY 2.0 — cuenta, 404, journal, PDP, carrito, reveal               */
/* ================================================================== */

.emmy-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease);
}

.emmy-reveal.is-visible {
  opacity: 1;
  transform: none;
}

body.home .wp-block-cover,
body.home .wp-block-video,
body.home .wp-block-embed {
  position: relative;
}

body.home .wp-block-cover .wp-block-button__link,
.emmy-hero-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  border-radius: var(--radius) !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
  background: var(--navy);
  padding: var(--space-3);
  border-radius: var(--radius);
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) 0;
  color: var(--gold-soft) !important;
  font-family: var(--ui);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  color: var(--gold) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content {
  background: #fff;
  padding: var(--space-4);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3 {
  font-family: var(--display);
}

body.error404 .wp-block-query-title,
body.search-no-results .page-title,
body.error404 h1,
body.search-no-results h1 {
  font-family: var(--display);
  text-align: center;
}

body.blog,
body.home.blog,
body.archive:not(.post-type-archive-product):not(.tax-product_cat):not([class*="tax-product"]):not(.woocommerce) {
  background: var(--cream-2);
}

body.blog .wp-block-post-template,
body.archive:not(.post-type-archive-product) .wp-block-post-template,
body.search:not(.woocommerce) .wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

@media (max-width: 1024px) {
  body.blog .wp-block-post-template,
  body.archive:not(.post-type-archive-product) .wp-block-post-template,
  body.search:not(.woocommerce) .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  body.blog .wp-block-post-template,
  body.archive:not(.post-type-archive-product) .wp-block-post-template,
  body.search:not(.woocommerce) .wp-block-post-template {
    grid-template-columns: 1fr;
  }
}

body.blog .wp-block-post-terms a,
body.archive .wp-block-post-terms a {
  color: var(--gold) !important;
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.single-product .related.products ul.products,
body.single-product .wp-block-woocommerce-product-collection ul.wc-block-product-template {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  justify-content: stretch !important;
}

body.single-product .related.products ul.products.sistemapos-carousel,
body.single-product .wp-block-woocommerce-product-collection ul.wc-block-product-template.sistemapos-carousel,
.sistemapos-carousel {
  display: flex !important;
  grid-template-columns: none !important;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 12px;
  gap: 1.25rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sistemapos-carousel::-webkit-scrollbar {
  display: none;
}

.sistemapos-carousel-wrap {
  position: relative;
}

.sistemapos-carousel > li.product,
.sistemapos-carousel > .wc-block-product,
.sistemapos-carousel > .wc-block-grid__product {
  scroll-snap-align: start;
  flex: 0 0 calc((100% - 3.75rem) / 4);
  width: calc((100% - 3.75rem) / 4) !important;
  max-width: calc((100% - 3.75rem) / 4);
  min-width: 0;
}

.sistemapos-carousel__nav {
  display: none;
  position: absolute;
  top: 42%;
  z-index: 5;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.sistemapos-carousel__nav--prev { left: 8px; }
.sistemapos-carousel__nav--next { right: 8px; }

@media (min-width: 1025px) {
  .sistemapos-carousel-wrap:hover .sistemapos-carousel__nav {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  body.single-product .related.products ul.products:not(.sistemapos-carousel),
  body.single-product .wp-block-woocommerce-product-collection ul.wc-block-product-template:not(.sistemapos-carousel) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .sistemapos-carousel > li.product,
  .sistemapos-carousel > .wc-block-product,
  .sistemapos-carousel > .wc-block-grid__product {
    flex-basis: calc((100% - 1.25rem) / 2.3);
    width: calc((100% - 1.25rem) / 2.3) !important;
    max-width: calc((100% - 1.25rem) / 2.3);
  }

  .sistemapos-carousel__nav {
    display: none !important;
  }
}

@media (max-width: 599px) {
  .sistemapos-carousel > li.product,
  .sistemapos-carousel > .wc-block-product,
  .sistemapos-carousel > .wc-block-grid__product {
    flex-basis: calc(100% / 1.15);
    width: calc(100% / 1.15) !important;
    max-width: calc(100% / 1.15);
  }
}

.woocommerce div.product .stock.out-of-stock,
.sistemapos-oos {
  display: inline-flex;
  align-items: center;
  margin: 0 0 var(--space-2);
  padding: 0.35rem 0.7rem;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: var(--radius);
}

.sistemapos-pdp-accordion {
  margin: var(--space-4) 0;
  border-top: 1px solid var(--hair);
}

.sistemapos-pdp-accordion details {
  border-bottom: 1px solid var(--hair);
}

.sistemapos-pdp-accordion summary {
  cursor: pointer;
  padding: var(--space-2) 0;
  font-family: var(--ui);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

.sistemapos-pdp-accordion .sistemapos-pdp-accordion__body {
  padding: 0 0 var(--space-2);
  color: var(--stone);
  font-size: 0.92rem;
}

.sistemapos-pdp-trust__item:hover {
  color: var(--gold);
}

.emmy-free-ship {
  margin: 0 0 var(--space-3);
}

.emmy-free-ship__bar {
  height: 4px;
  background: var(--hair);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: var(--space-1);
}

.emmy-free-ship__fill {
  height: 100%;
  background: var(--gold);
  width: 0;
  transition: width var(--t-hover) var(--ease);
}

.emmy-qty-flash {
  animation: emmy-qty 280ms var(--ease);
}

@keyframes emmy-qty {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.wc-block-mini-cart__badge.emmy-cart-bounce,
.emmy-cart-bounce {
  animation: emmy-bounce 400ms var(--ease);
}

@keyframes emmy-bounce {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.emmy-cart-check .wc-block-mini-cart__icon,
body.emmy-cart-check .wc-block-mini-cart__button svg {
  fill: var(--gold) !important;
}

.sistemapos-shop-layout.is-loading .wc-block-product-template,
.sistemapos-shop-layout.is-loading ul.products {
  position: relative;
}

.sistemapos-shop-layout.is-loading .wc-block-product-template::after,
.sistemapos-shop-layout.is-loading ul.products::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--cream) 0%, #fff 50%, var(--cream) 100%);
  background-size: 200% 100%;
  animation: emmy-skel 1.1s ease-out infinite;
  opacity: 0.72;
}

@keyframes emmy-skel {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.sistemapos-shop-filters__count {
  color: var(--stone);
  font-size: 0.78em;
}

input.emmy-mail-ok,
.emmy-mail-ok {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 1px var(--gold) !important;
}

footer.wp-block-template-part,
.elementor-location-footer {
  background: var(--navy) !important;
}

body.single-product .woocommerce div.product p.price,
body.single-product .woocommerce div.product span.price {
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.emmy-hero-cta {
  position: absolute !important;
  right: 4vw;
  bottom: var(--space-4);
  z-index: 3;
  padding: 0.85rem 1.4rem !important;
}

.woocommerce-product-gallery {
  position: relative;
}

.sistemapos-oos-badge {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 4;
  background: var(--navy);
  color: var(--gold);
  padding: 0.4rem 0.7rem;
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: var(--radius);
}

.sistemapos-oos-badge--card {
  pointer-events: none;
}

.sistemapos-pdp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0 0 0.85rem;
  font-family: var(--ui);
  font-size: 0.88rem;
  color: var(--stone);
}

.sistemapos-pdp-sku,
.sistemapos-pdp-stock {
  margin: 0;
}

.sistemapos-pdp-stock.is-oos {
  color: var(--navy);
  font-weight: 600;
}

.sistemapos-notify,
.sistemapos-notify a,
.cwginstock-subscribe-form .button {
  font-family: var(--ui);
}

.sistemapos-pdp-trust {
  gap: var(--space-3);
}

.sistemapos-pdp-trust__item {
  font-size: 0.92rem;
}

.wc-block-pagination,
.wp-block-query-pagination,
.wc-block-product-template + .wp-block-query-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  justify-content: center;
  margin: var(--space-4) 0;
}

.wc-block-pagination-page,
.wp-block-query-pagination a,
.wp-block-query-pagination .page-numbers,
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 var(--space-1);
  font-family: var(--ui);
  font-size: 0.8rem;
  background: #fff;
  color: var(--ink) !important;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  text-decoration: none !important;
}

.wc-block-pagination-page--active,
.wp-block-query-pagination .page-numbers.current,
.page-numbers.current {
  background: var(--navy) !important;
  color: var(--gold) !important;
  border-color: var(--navy);
}

body.woocommerce-account .woocommerce-MyAccount-navigation a::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 1.5px solid currentColor;
  border-radius: 1px;
  flex: 0 0 12px;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-MyAccount-dashboard p:first-child,
body.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type {
  background: var(--cream);
  padding: var(--space-3);
  border-radius: var(--radius);
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--navy);
}

body.woocommerce-account .woocommerce-orders-table,
body.woocommerce-account .woocommerce-Address {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.woocommerce #place_order,
.wc-block-components-checkout-place-order-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
}

.woocommerce #place_order::before,
.wc-block-components-checkout-place-order-button::before {
  content: "";
  width: 12px;
  height: 12px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M17 8V7a5 5 0 0 0-10 0v1H5v14h14V8h-2zm-8-1a3 3 0 1 1 6 0v1H9V7z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M17 8V7a5 5 0 0 0-10 0v1H5v14h14V8h-2zm-8-1a3 3 0 1 1 6 0v1H9V7z'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.blog .wp-block-post-date,
body.archive .wp-block-post-date {
  font-family: var(--display);
  color: var(--stone);
  font-size: 0.85rem;
}

body.error404 .wp-block-query,
body.search-no-results ul.products,
body.error404 ul.products {
  max-width: 1100px;
  margin: var(--space-5) auto;
}

body.home main .wp-block-columns .wp-block-cover,
body.home main .wp-block-media-text,
body.home main .wp-block-image {
  overflow: hidden;
  border-radius: var(--radius);
}

body.home main .wp-block-columns .wp-block-cover img,
body.home main .wp-block-media-text img,
body.home main .wp-block-columns .wp-block-image img {
  transition: transform var(--t-hover) var(--ease);
}

body.home main .wp-block-columns .wp-block-cover:hover img,
body.home main .wp-block-media-text:hover img,
body.home main .wp-block-columns .wp-block-image:hover img {
  transform: scale(1.04);
}

body.home .wp-block-cover .wp-block-cover__inner-container .wp-block-button,
body.home .wp-block-cover .emmy-hero-cta {
  position: absolute;
  right: 4vw;
  bottom: var(--space-4);
}

footer.wp-block-template-part .wp-block-heading,
.elementor-location-footer .elementor-heading-title {
  font-family: var(--ui) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose) !important;
}

footer.wp-block-template-part .wp-block-search__inside-wrapper,
footer.wp-block-template-part input[type="email"],
.elementor-location-footer input[type="email"] {
  background: transparent !important;
  border: 1px solid rgba(201, 162, 39, 0.35) !important;
  border-radius: var(--radius) !important;
  color: var(--cream) !important;
}

footer.wp-block-template-part .wp-block-button__link,
.elementor-location-footer button {
  background: var(--gold) !important;
  color: var(--navy) !important;
  border-radius: var(--radius) !important;
}

.emmy-about,
body.page-sobre-nosotros main,
body.page-sobre-nosotros .wp-block-group {
  color: var(--navy);
}

.emmy-about h1,
body.page-sobre-nosotros h1.wp-block-post-title,
body.page-sobre-nosotros h1.wp-block-heading {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  max-width: 12ch;
}

.emmy-about blockquote,
body.page-sobre-nosotros blockquote,
body.page-sobre-nosotros .wp-block-quote {
  background: var(--navy);
  color: var(--cream);
  border: 0;
  padding: var(--space-5) var(--space-4);
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
}

.emmy-about blockquote cite,
body.page-sobre-nosotros .wp-block-quote cite {
  display: block;
  margin-top: var(--space-2);
  font-family: var(--ui);
  font-size: 0.78rem;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose);
}

@media (prefers-reduced-motion: reduce) {
  .emmy-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ================================================================== */
/* Base de plantillas (carrito, checkout, 404, blog, busqueda, paginas) */
/* El usuario pone fotos y textos. Aqui solo lienzo, tipografia y formas. */
/* ================================================================== */

body.page main > .wp-block-group,
body.single-post main,
body.blog main,
body.archive main,
body.search main,
body.error404 main,
body.woocommerce-cart main,
body.woocommerce-checkout main,
body.woocommerce-account main {
  padding-bottom: var(--space-7);
}

body.page h1.wp-block-post-title,
body.single-post h1.wp-block-post-title,
body.blog .wp-block-query-title,
body.archive .wp-block-query-title,
body.search .wp-block-query-title,
body.search .page-title,
body.error404 h1,
body.woocommerce-cart h1.wp-block-post-title,
body.woocommerce-cart .wp-block-heading,
body.woocommerce-checkout h1.wp-block-post-title,
body.woocommerce-checkout .wp-block-heading,
body.woocommerce-order-received h1,
.woocommerce-order h1 {
  font-family: var(--display) !important;
  font-weight: 500 !important;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem) !important;
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--navy) !important;
  text-align: center;
  margin: var(--space-5) auto var(--space-2);
}

body.page h1.wp-block-post-title::after,
body.single-post h1.wp-block-post-title::after,
body.blog .wp-block-query-title::after,
body.search .wp-block-query-title::after,
body.error404 h1::after,
body.woocommerce-cart h1.wp-block-post-title::after,
body.woocommerce-checkout h1.wp-block-post-title::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin: 0.85rem auto 0;
  background: var(--gold);
}

body.page .wp-block-post-content,
body.single-post .wp-block-post-content,
body.page .entry-content {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--ui);
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.85;
}

body.page .wp-block-post-content h2,
body.single-post .wp-block-post-content h2,
body.page .wp-block-heading,
body.single-post .wp-block-heading {
  font-family: var(--display);
  font-weight: 500;
  color: var(--navy);
}

body.page input[type="text"],
body.page input[type="email"],
body.page input[type="search"],
body.page textarea,
body.woocommerce-cart input,
body.woocommerce-checkout input,
body.woocommerce-checkout select,
body.woocommerce-checkout textarea,
body.search .wp-block-search__input,
.wc-block-components-text-input input,
.wc-block-components-address-form input,
.wc-block-components-text-input select {
  background: #fff !important;
  border: 1px solid var(--hair) !important;
  border-radius: var(--radius) !important;
  min-height: 48px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-family: var(--ui) !important;
  color: var(--ink) !important;
  box-shadow: none !important;
}

.wc-block-components-text-input label,
.woocommerce form .form-row label,
body.woocommerce-checkout label {
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
}

body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
.wc-block-cart,
.wc-block-checkout {
  max-width: 1100px;
  margin: 0 auto;
}

body.woocommerce-cart .wc-block-cart,
body.woocommerce-checkout .wc-block-checkout {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  box-shadow: var(--shadow-rest);
  padding: var(--space-4);
}

@media (min-width: 782px) {
  body.woocommerce-checkout .wc-block-checkout {
    display: block !important;
    grid-template-columns: none !important;
  }
}

.wp-block-woocommerce-empty-cart-block,
.wc-block-cart__empty-cart,
.wc-empty-cart-message,
.cart-empty {
  text-align: center;
  padding: var(--space-6) var(--space-3);
}

.wp-block-woocommerce-empty-cart-block h2,
.wc-empty-cart-message,
.cart-empty {
  font-family: var(--display) !important;
  font-weight: 500;
  color: var(--navy);
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-button__link,
body.woocommerce-cart .wc-empty-cart-message .button,
body.woocommerce-cart .sistemapos-empty-shop {
  display: inline-flex !important;
  min-height: 48px;
  padding: 0 1.4rem !important;
  background: var(--navy) !important;
  color: var(--gold) !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.woocommerce-cart .wp-block-heading,
body.woocommerce-cart .cross-sells > h2,
body.woocommerce-cart .wp-block-woocommerce-product-collection .wp-block-heading {
  font-family: var(--display);
  font-weight: 500;
  text-align: left;
  margin: var(--space-6) 0 var(--space-3);
}

.wc-block-cart-items__header,
.wc-block-cart-items__row,
.wc-block-components-order-summary-item {
  border-color: var(--hair) !important;
}

.wc-block-cart-item__image img,
.wc-block-components-order-summary-item__image img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--cream);
  border-radius: var(--radius);
}

.wc-block-components-button,
.wp-block-woocommerce-proceed-to-checkout-block .wp-block-button__link,
.wc-block-cart__submit-button {
  min-height: 48px !important;
  border-radius: var(--radius) !important;
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
  background: var(--ivory-2);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: var(--space-3);
}

body.woocommerce-order-received .woocommerce-order,
.woocommerce-order {
  max-width: 760px;
  margin: var(--space-5) auto;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  box-shadow: var(--shadow-rest);
  padding: var(--space-5) var(--space-4);
}

.woocommerce-order .woocommerce-thankyou-order-received,
.woocommerce-order p.woocommerce-notice {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--navy);
  text-align: center;
}

.woocommerce-order-overview,
.woocommerce-order-details,
.woocommerce-customer-details {
  margin-top: var(--space-4);
  border-top: 1px solid var(--hair);
  padding-top: var(--space-3);
}

.woocommerce-order-overview li,
.woocommerce-table--order-details th {
  font-family: var(--ui);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
}

body.error404 .wp-block-group,
body.search-no-results .wp-block-group,
.wp-block-template-part + main .wp-block-group:has(> h1) {
  text-align: center;
}

body.error404 .wp-block-search,
body.search .wp-block-search,
body.search-no-results .wp-block-search {
  max-width: 480px;
  margin: var(--space-3) auto var(--space-5);
}

body.error404 .wp-block-search__inside-wrapper,
body.search .wp-block-search__inside-wrapper {
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: #fff;
}

body.error404 .wp-block-search__button,
body.search .wp-block-search__button {
  background: var(--navy) !important;
  color: var(--gold) !important;
  border: 0 !important;
  border-radius: 0 var(--radius) var(--radius) 0 !important;
}

body.blog .wp-block-post,
body.archive:not(.post-type-archive-product):not([class*="tax-product"]) .wp-block-post,
body.search:not(.woocommerce) .wp-block-post {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  box-shadow: var(--shadow-rest);
  overflow: hidden;
  padding: 0 0 var(--space-3);
}

body.blog .wp-block-post-featured-image,
body.archive:not(.post-type-archive-product) .wp-block-post-featured-image,
body.search:not(.woocommerce) .wp-block-post-featured-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy);
  margin: 0 0 var(--space-2);
}

body.single-post .wp-block-post-featured-image {
  aspect-ratio: 21 / 8;
  overflow: hidden;
  background: var(--navy);
  margin: 0 0 var(--space-3);
  width: 100%;
}

body.blog .wp-block-post-featured-image img,
body.archive .wp-block-post-featured-image img,
body.single-post .wp-block-post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.blog .wp-block-post-title,
body.archive .wp-block-post-title,
body.search .wp-block-post-title {
  font-family: var(--display) !important;
  font-weight: 500 !important;
  font-size: 1.35rem !important;
  padding: 0 var(--space-3);
}

body.blog .wp-block-post-excerpt,
body.archive .wp-block-post-excerpt,
body.search .wp-block-post-excerpt {
  padding: 0 var(--space-3);
  color: var(--stone);
}

body.single-post .wp-block-post-date,
body.single-post .wp-block-post-author-name,
body.single-post .wp-block-post-terms {
  font-family: var(--ui);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  text-align: center;
}

body.search.post-type-archive-product .wp-block-query-title,
body.tax-product_tag h1,
body[class*="tax-pa-"] h1,
body[class*="tax-pa-"] .wp-block-heading {
  font-family: var(--display);
  text-align: center;
}

body.search .woocommerce ul.products,
body[class*="tax-pa-"] ul.products {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.coming-soon,
body:has(.wp-block-woocommerce-coming-soon),
.wp-site-blocks:has(.wp-block-loginout) main {
  background: var(--navy);
  color: var(--cream);
  min-height: 70vh;
}

.coming-soon h1,
.wp-block-coming-soon h1,
body:has(.wp-block-woocommerce-coming-soon) h1 {
  font-family: var(--display);
  color: var(--cream) !important;
}

.coming-soon h1::after,
.wp-block-coming-soon h1::after {
  background: var(--gold);
}

@media (max-width: 781px) {
  body.woocommerce-cart .wc-block-cart,
  body.woocommerce-checkout .wc-block-checkout,
  .woocommerce-order {
    padding: var(--space-3);
  }

  body.woocommerce-checkout .wc-block-checkout {
    display: block !important;
  }
}

/* ================================================================== */
/* Checkout steps, pago activo, confirmacion, journal, 404/busqueda    */
/* ================================================================== */

.emmy-checkout-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  list-style: none;
  margin: 0 auto var(--space-4);
  padding: 0;
  max-width: 720px;
}

.emmy-checkout-steps__item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

.emmy-checkout-steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border: 1px solid var(--hair);
  border-radius: 50%;
  font-weight: 500;
}

.emmy-checkout-steps__item.is-active {
  color: var(--navy);
}

.emmy-checkout-steps__item.is-active .emmy-checkout-steps__num,
.emmy-checkout-steps__item.is-done .emmy-checkout-steps__num {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.emmy-checkout-steps__item.is-active .emmy-checkout-steps__label {
  color: var(--gold);
}

.wc-block-components-radio-control-accordion-option--checked,
.wc-block-components-radio-control__option-checked,
.wc-block-components-radio-control-accordion-option.is-selected,
#payment .wc_payment_methods li.wc_payment_method input:checked + label,
#payment .payment_methods li.woocommerce-PaymentMethod--active,
.wc_payment_method input[type="radio"]:checked + label {
  border: 1px solid var(--gold) !important;
  background: rgba(201, 162, 39, 0.08) !important;
  border-radius: var(--radius);
}

.emmy-order-card,
body.woocommerce-order-received .woocommerce-order {
  text-align: left;
}

.emmy-order-check {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-3);
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--navy)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23C9A227' d='M9.2 16.6 4.8 12.2l1.4-1.4 3 3 8.6-8.6 1.4 1.4z'/%3E%3C/svg%3E")
    center / 34px no-repeat;
}

.emmy-btn-outline,
.emmy-keep-shopping {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: var(--space-4);
  padding: 0 1.4rem !important;
  background: var(--btn-outline) !important;
  color: var(--btn-outline-color) !important;
  border: var(--btn-outline-border) !important;
  border-radius: var(--radius) !important;
  font-family: var(--ui) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

.emmy-btn-outline:hover,
.emmy-keep-shopping:hover {
  background: var(--navy) !important;
  color: var(--gold) !important;
}

.emmy-journal-eyebrow {
  margin: var(--space-5) 0 0.4rem;
  text-align: center;
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

body.blog .wp-block-query-title,
body.archive:not(.post-type-archive-product) .wp-block-query-title {
  text-align: center;
}

body.blog .wp-block-post-excerpt,
body.archive:not(.post-type-archive-product) .wp-block-post-excerpt,
body.search:not(.woocommerce) .wp-block-post-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

body.single-post .wp-block-post-terms,
body.single-post .wp-block-post-terms a {
  color: var(--gold) !important;
  text-align: center;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.single-post .wp-block-post-date,
body.single-post .emmy-read-time {
  font-family: var(--ui);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
}

body.emmy-empty-stage,
body.error404,
body.search-no-results {
  background: var(--navy);
}

body.emmy-empty-stage .wp-site-blocks > main,
body.error404 main,
body.search-no-results main,
.emmy-empty-stage__main {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  min-height: 58vh;
  padding: var(--space-6) 4vw var(--space-5);
}

body.emmy-empty-stage h1,
body.error404 h1,
body.search-no-results h1,
body.error404 .wp-block-query-title,
body.search-no-results .page-title {
  color: var(--cream) !important;
}

body.emmy-empty-stage h1::after,
body.error404 h1::after {
  background: var(--gold);
}

.emmy-empty-num {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: clamp(5.2rem, 16vw, 9rem);
  line-height: 0.9;
  color: var(--gold);
}

.emmy-empty-lead {
  max-width: 28ch;
  margin: 0 auto var(--space-3);
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.2;
  color: var(--cream);
}

body.emmy-empty-stage .wp-block-search__button,
body.error404 .wp-block-search__button,
body.search-no-results .wp-block-search__button {
  background: var(--gold) !important;
  color: var(--navy) !important;
}

body.emmy-empty-stage ul.products,
body.error404 ul.products,
body.search-no-results ul.products,
body.emmy-empty-stage .wp-block-woocommerce-product-collection ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: var(--space-5) auto 0;
}

body.emmy-empty-stage ul.products li.product,
body.error404 ul.products li.product,
body.search-no-results ul.products li.product {
  padding-bottom: var(--space-1) !important;
}

@media (max-width: 1024px) {
  body.emmy-empty-stage ul.products,
  body.error404 ul.products,
  body.search-no-results ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  body.emmy-empty-stage ul.products,
  body.error404 ul.products,
  body.search-no-results ul.products {
    grid-template-columns: 1fr;
  }

  .emmy-checkout-steps {
    gap: var(--space-2);
  }
}

/* Los avisos de Woo se ocultan al final del archivo. El toast del plugin pinta add/remove. */

/* ================================================================== */
/* Checkout / resumen                                                  */
/* ================================================================== */

body.woocommerce-checkout main,
body.woocommerce-cart main {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

body.woocommerce-checkout .emmy-checkout-steps,
body.woocommerce-cart .emmy-checkout-steps {
  margin-bottom: var(--space-4);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-cart .wc-block-cart {
  max-width: none;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout,
  body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout form.wc-block-checkout__form {
  display: block !important;
  grid-template-columns: none !important;
}

body.woocommerce-checkout .wc-block-components-checkout-step,
body.woocommerce-checkout .wc-block-components-checkout-step__heading,
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-checkout-step__title span {
  writing-mode: horizontal-tb !important;
  width: 100% !important;
  max-width: none !important;
  white-space: normal !important;
  word-break: normal !important;
}

@media (min-width: 782px) {
  body.woocommerce-checkout .wp-block-woocommerce-checkout > .wp-block-columns,
  body.woocommerce-checkout .wc-block-checkout > .wp-block-columns,
  body.woocommerce-checkout .wc-block-checkout__columns {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: var(--space-4) !important;
  }

  body.woocommerce-checkout .wc-block-checkout__main,
  body.woocommerce-checkout .wp-block-woocommerce-checkout-fields-block,
  body.woocommerce-checkout .wp-block-columns > .wp-block-column:first-child {
    flex: 1 1 58% !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  body.woocommerce-checkout .wc-block-checkout__sidebar,
  body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
  body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
  body.woocommerce-checkout .wp-block-columns > .wp-block-column:last-child {
    flex: 0 0 36% !important;
    width: 36% !important;
    min-width: 280px !important;
    position: sticky;
    top: 96px;
  }
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-cart .wc-block-cart__sidebar,
body.woocommerce-cart .wp-block-woocommerce-cart-totals-block {
  background: #fff !important;
  border: 1px solid var(--hair) !important;
  border-radius: var(--radius);
  padding: var(--space-3) !important;
  box-shadow: var(--shadow-rest);
}

body.woocommerce-checkout .wc-block-components-order-summary-item,
body.woocommerce-cart .wc-block-cart-items__row {
  display: flex !important;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.85rem 0 !important;
  border-bottom: 1px solid var(--hair) !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__image img,
body.woocommerce-cart .wc-block-cart-item__image img {
  width: 64px !important;
  height: 86px !important;
  object-fit: cover !important;
  background: var(--cream);
}

body.woocommerce-checkout .wc-block-components-order-summary-item .wc-block-components-product-name,
body.woocommerce-checkout .wc-block-components-order-summary-item .wc-block-components-product-name a,
body.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name,
body.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name a,
body.woocommerce-cart .wc-block-cart-items .wc-block-components-product-name,
body.woocommerce-cart .wc-block-cart-items .wc-block-components-product-name a {
  font-family: var(--display) !important;
  font-size: 0.95rem !important;
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
  text-align: left !important;
}

body.woocommerce-checkout .wc-block-components-totals-item,
body.woocommerce-cart .wc-block-components-totals-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  font-family: var(--ui);
}

body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--navy);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block .wp-block-button__link {
  width: 100% !important;
  min-height: 48px !important;
  background: var(--navy) !important;
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
}

body.woocommerce-checkout .wc-block-components-text-input,
body.woocommerce-checkout .wc-block-components-address-form {
  margin: 0 0 0.85rem;
}

body.woocommerce-checkout .wc-block-components-checkout-step {
  padding: 0 0 var(--space-3);
  border-bottom: 1px solid var(--hair);
  margin-bottom: var(--space-3);
}

body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-checkout-step__heading {
  font-family: var(--display) !important;
  font-size: 1.35rem !important;
  font-weight: 500 !important;
  color: var(--navy) !important;
}

/* ================================================================== */
/* Cuenta                                                              */
/* ================================================================== */

body.woocommerce-account main {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

body.woocommerce-account .woocommerce {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  float: none !important;
  width: 100% !important;
}

@media (min-width: 782px) {
  body.woocommerce-account .woocommerce {
    grid-template-columns: 240px minmax(0, 1fr) !important;
    align-items: start;
  }
}

body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
  background: var(--navy);
  padding: var(--space-3);
  border-radius: var(--radius);
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0.65rem 0;
  color: var(--gold-soft) !important;
  font-family: var(--ui);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  color: var(--gold) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content {
  background: #fff;
  padding: var(--space-4);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  box-shadow: var(--shadow-rest);
  min-width: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3 {
  font-family: var(--display);
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 1rem;
}

body.woocommerce-account .woocommerce-orders-table,
body.woocommerce-account table.shop_table {
  width: 100%;
  border: 0;
}

body.woocommerce-account .woocommerce-orders-table th,
body.woocommerce-account table.shop_table th {
  font-family: var(--ui);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  background: transparent;
  border-bottom: 1px solid var(--hair);
}

body.woocommerce-account .woocommerce-orders-table td,
body.woocommerce-account table.shop_table td {
  padding: 0.85rem 0.4rem;
  border-bottom: 1px solid var(--hair);
  vertical-align: middle;
}

body.woocommerce-account .woocommerce-Addresses,
body.woocommerce-account .u-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 782px) {
  body.woocommerce-account .woocommerce-Addresses,
  body.woocommerce-account .u-columns {
    grid-template-columns: 1fr 1fr;
  }
}

body.woocommerce-account .woocommerce-Address,
body.woocommerce-account .u-column {
  background: var(--ivory-2);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: var(--space-3);
}

body.woocommerce-account .woocommerce-EditAccountForm .form-row,
body.woocommerce-account form.edit-account .form-row {
  margin: 0 0 0.9rem;
}

body.woocommerce-account .woocommerce-Button,
body.woocommerce-account button.button,
body.woocommerce-account input.button {
  background: var(--navy) !important;
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
  border: 0 !important;
  min-height: 44px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Foto llena el marco. En hover: Ver producto + Añadir/Opciones. Nunca Ver carrito. */

.woocommerce ul.products li.product,
.wc-block-product,
.wc-block-grid__product,
.sistemapos-product-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

.sistemapos-card-media,
.woocommerce ul.products li.product > a:first-of-type:has(img),
.wc-block-product .wc-block-components-product-image {
  grid-row: 1;
  grid-column: 1;
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 3 / 4 !important;
  overflow: hidden !important;
  background: var(--cream) !important;
}

.sistemapos-card-media > a:not(.button):not(.add_to_cart_button):not(.wp-block-button__link),
.wc-block-product .wc-block-components-product-image > a:not(.button):not(.add_to_cart_button):not(.wp-block-button__link) {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product img,
.woocommerce ul.products li.product img[loading="lazy"],
.wc-block-product img,
.wc-block-product img[loading="lazy"],
.sistemapos-card-media img,
.wc-block-components-product-image img,
.wc-block-product-template .wc-block-components-product-image img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center 18% !important;
  transform: scale(1.03) !important;
}

.woocommerce ul.products li.product:hover a img,
.woocommerce ul.products li.product:hover img,
.wc-block-product:hover img {
  transform: scale(1.07) !important;
}

.woocommerce ul.products li.product > a:first-of-type:has(img)::after,
.wc-block-product .wc-block-components-product-image::after,
.sistemapos-card-media::after,
li.product .wc-block-components-product-image::after {
  content: "Ver" !important;
  position: absolute;
  left: 50%;
  bottom: 3.7rem;
  z-index: 3;
  transform: translate(-50%, 8px);
  font-family: var(--ui);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  white-space: nowrap;
}

.woocommerce ul.products li.product:hover > a:first-of-type:has(img)::after,
.wc-block-product:hover .wc-block-components-product-image::after,
.woocommerce ul.products li.product:hover .sistemapos-card-media::after,
.wc-block-product:hover .sistemapos-card-media::after {
  opacity: 1 !important;
  transform: translate(-50%, 0) !important;
}

.wc-block-product .wp-block-woocommerce-product-button,
.wc-block-product .wc-block-components-product-button,
.woocommerce ul.products li.product > .button,
.woocommerce ul.products li.product > a.button {
  grid-row: 1;
  grid-column: 1;
  align-self: end;
  justify-self: stretch;
  z-index: 6;
  position: relative !important;
  width: 100% !important;
  aspect-ratio: auto !important;
  height: auto !important;
  min-height: 0 !important;
  background: transparent !important;
  pointer-events: auto;
}

.sistemapos-card-media .wp-block-woocommerce-product-button,
.sistemapos-card-media .wc-block-components-product-button,
.sistemapos-card-media > .button,
.wc-block-components-product-image .wp-block-woocommerce-product-button,
.wc-block-components-product-image .wc-block-components-product-button {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 6;
  width: 100% !important;
  aspect-ratio: auto !important;
  height: auto !important;
  min-height: 0 !important;
  background: transparent !important;
}

.woocommerce ul.products li.product .button:not(.added_to_cart):not(.emmy-view-cart),
.woocommerce ul.products li.product a.button:not(.added_to_cart):not(.emmy-view-cart),
.woocommerce ul.products li.product a.product_type_simple,
.woocommerce ul.products li.product a.product_type_variable,
.woocommerce ul.products li.product a.product_type_grouped,
.wc-block-components-product-button .wp-block-button__link:not(.added_to_cart):not(.emmy-view-cart),
.wc-block-components-product-button__button:not(.added_to_cart):not(.emmy-view-cart) {
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  z-index: 6;
  width: 100% !important;
  min-height: 44px !important;
  aspect-ratio: auto !important;
  background: var(--navy) !important;
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
  border: 0 !important;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  visibility: visible !important;
}

.woocommerce ul.products li.product:hover .button:not(.added_to_cart):not(.emmy-view-cart),
.woocommerce ul.products li.product:hover a.button:not(.added_to_cart):not(.emmy-view-cart),
.woocommerce ul.products li.product:focus-within .button:not(.added_to_cart):not(.emmy-view-cart),
.wc-block-product:hover .wc-block-components-product-button .wp-block-button__link:not(.added_to_cart):not(.emmy-view-cart),
.wc-block-product:hover .wc-block-components-product-button__button:not(.added_to_cart):not(.emmy-view-cart),
.wc-block-product:focus-within .wp-block-button__link:not(.added_to_cart):not(.emmy-view-cart) {
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
  visibility: visible !important;
}

.woocommerce ul.products li.product:hover .wp-block-woocommerce-product-button,
.woocommerce ul.products li.product:hover .wc-block-components-product-button,
.wc-block-product:hover .wp-block-woocommerce-product-button,
.wc-block-product:hover .wc-block-components-product-button {
  pointer-events: auto;
}

@media (hover: none) {
  .woocommerce ul.products li.product .button:not(.added_to_cart):not(.emmy-view-cart),
  .woocommerce ul.products li.product a.button:not(.added_to_cart):not(.emmy-view-cart),
  .wc-block-product .wc-block-components-product-button .wp-block-button__link:not(.added_to_cart):not(.emmy-view-cart),
  .wc-block-product .wc-block-components-product-button__button:not(.added_to_cart):not(.emmy-view-cart) {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }
}

a.added_to_cart,
a.added_to_cart.wc-forward,
a.added_to_cart.button,
a.emmy-view-cart,
button.emmy-view-cart,
.woocommerce ul.products li.product a.added_to_cart,
.woocommerce ul.products li.product a.added_to_cart.button,
.woocommerce ul.products li.product:hover a.added_to_cart,
.wc-block-product a.added_to_cart,
.wc-block-product a.added_to_cart.wp-block-button__link,
.wc-block-product:hover a.added_to_cart,
.sistemapos-product-card a.added_to_cart,
.wc-block-grid__product a.added_to_cart,
.wc-block-components-product-button a.added_to_cart,
.wc-block-components-product-button a.added_to_cart.wp-block-button__link {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* ================================================================== */
/* Carrito: lista + totales. Checkout: una columna, un solo resumen.    */
/* ================================================================== */

body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-order-received {
  background: var(--ivory) !important;
}

body.woocommerce-cart .wc-block-cart,
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout form.wc-block-checkout__form {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout form.wc-block-checkout__form,
body.woocommerce-checkout .wc-block-checkout__columns,
body.woocommerce-checkout .wp-block-woocommerce-checkout > .wp-block-columns {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1120px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  gap: 1.75rem !important;
}

@media (min-width: 900px) {
  body.woocommerce-checkout .wc-block-checkout,
  body.woocommerce-checkout .wp-block-woocommerce-checkout,
  body.woocommerce-checkout form.wc-block-checkout__form,
  body.woocommerce-checkout .wc-block-checkout__columns,
  body.woocommerce-checkout .wp-block-woocommerce-checkout > .wp-block-columns {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 24rem) !important;
    align-items: start !important;
  }
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wp-block-woocommerce-checkout-fields-block {
  flex: none !important;
  width: 100% !important;
  max-width: none !important;
  position: static !important;
  min-width: 0 !important;
}

@media (min-width: 900px) {
  body.woocommerce-checkout .wc-block-checkout__sidebar,
  body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block {
    position: sticky !important;
    top: 6.25rem !important;
    width: 100% !important;
    max-width: none !important;
  }
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block ~ .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-checkout .wc-block-components-order-summary ~ .wc-block-components-order-summary,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-cart-items-block ~ .wp-block-woocommerce-checkout-order-summary-cart-items-block,
body.woocommerce-cart:has(.wp-block-woocommerce-cart-items-block .wc-block-cart-items__row) .wc-block-cart__sidebar .wc-block-cart-items,
body.woocommerce-cart:has(.wp-block-woocommerce-cart-items-block .wc-block-cart-items__row) .wp-block-woocommerce-cart-totals-block .wc-block-cart-items,
body.woocommerce-cart:has(.wp-block-woocommerce-cart-items-block .wc-block-cart-items__row) .wp-block-woocommerce-cart-order-summary-cart-items-block {
  display: none !important;
}

body.woocommerce-checkout .wc-block-checkout:has(.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block) .wc-block-checkout__main .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout:has(.wp-block-woocommerce-checkout-totals-block .wp-block-woocommerce-checkout-order-summary-block) .wp-block-woocommerce-checkout-fields-block .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-panel.wc-block-components-order-summary,
body.woocommerce-checkout form.wc-block-checkout__form > .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-checkout .wc-block-components-drawer .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-cart .wp-block-woocommerce-cart-totals-block .wc-block-components-order-summary,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-order-summary {
  display: none !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-heading-block + .wp-block-woocommerce-checkout-order-summary-cart-items-block .wc-block-components-title,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block > .wc-block-components-title:nth-of-type(2),
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-cart-items-block .wc-block-components-panel__button {
  display: none !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-cart-items-block,
body.woocommerce-checkout .wc-block-components-order-summary {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.woocommerce-checkout .wc-block-components-checkout-step {
  padding: 0 0 0.35rem !important;
  margin: 0 0 0.35rem !important;
  border: 0 !important;
}

body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-checkout-step__heading {
  font-family: var(--display) !important;
  font-size: 1.65rem !important;
  font-weight: 500 !important;
  color: var(--navy) !important;
  margin: 0 0 0.75rem !important;
}

body.woocommerce-checkout .wc-block-components-address-card,
body.woocommerce-checkout .wc-block-components-radio-control__option,
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option {
  background: #fff !important;
  border: 1px solid var(--hair) !important;
  border-radius: 4px !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .emmy-order-trust {
  display: none !important;
}

body.woocommerce-cart .wc-block-cart-items__header {
  display: none !important;
}

body.woocommerce-cart .wc-block-cart-items,
body.woocommerce-cart .wc-block-cart-items tbody,
body.woocommerce-checkout .wc-block-components-order-summary__content {
  display: block !important;
  width: 100% !important;
  border: 0 !important;
}

body.woocommerce-cart .wc-block-cart-items__row,
body.woocommerce-checkout .wc-block-components-order-summary-item {
  display: grid !important;
  grid-template-columns: 56px minmax(140px, 1fr) auto !important;
  align-items: start !important;
  column-gap: 0.85rem !important;
  width: 100% !important;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 0.95rem 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--hair) !important;
  border-radius: 0 !important;
  min-width: 0 !important;
}

body.woocommerce-cart .wc-block-cart-item__image,
body.woocommerce-checkout .wc-block-components-order-summary-item__image {
  position: relative;
  grid-column: 1;
  width: 56px !important;
  max-width: 56px !important;
}

body.woocommerce-cart .wc-block-cart-item__image img,
body.woocommerce-checkout .wc-block-components-order-summary-item__image img {
  display: block !important;
  width: 56px !important;
  height: 56px !important;
  max-width: none !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center 20% !important;
  background: var(--cream) !important;
  border-radius: 2px;
}

body.woocommerce-cart .wc-block-cart-item__image .wc-block-components-checkbox,
body.woocommerce-cart .wc-block-cart-item__image .wc-block-components-product-badge,
body.woocommerce-checkout .wc-block-components-order-summary-item__quantity,
body.woocommerce-checkout .wc-block-components-order-summary-item__image .wc-block-components-product-badge {
  position: absolute !important;
  top: -6px;
  right: -6px;
  z-index: 2;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px !important;
  background: var(--gold) !important;
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
  font-family: var(--ui) !important;
  font-size: 0.62rem !important;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

body.woocommerce-cart .wc-block-cart-item__wrap,
body.woocommerce-cart .wc-block-cart-item__product,
body.woocommerce-checkout .wc-block-components-order-summary-item__description {
  grid-column: 2;
  min-width: 0 !important;
  overflow: visible;
}

body.woocommerce-cart .wc-block-cart-item__total,
body.woocommerce-checkout .wc-block-components-order-summary-item__total {
  grid-column: 3;
  padding-top: 0.1rem;
  white-space: nowrap;
  font-family: var(--ui);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
}

body.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name,
body.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name a,
body.woocommerce-cart .wc-block-cart-items .wc-block-components-product-name,
body.woocommerce-cart .wc-block-cart-items .wc-block-components-product-name a,
body.woocommerce-checkout .wc-block-components-order-summary-item .wc-block-components-product-name,
body.woocommerce-checkout .wc-block-components-order-summary-item .wc-block-components-product-name a {
  display: block !important;
  max-width: 100%;
  margin: 0 !important;
  font-family: var(--ui) !important;
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
  text-align: left !important;
  white-space: normal !important;
  writing-mode: horizontal-tb !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
}

body.woocommerce-cart .wc-block-cart-item__prices,
body.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices {
  display: none;
}

body.woocommerce-cart .wc-block-components-product-metadata,
body.woocommerce-cart .wc-block-components-product-details,
body.woocommerce-checkout .wc-block-components-product-metadata,
body.woocommerce-checkout .wc-block-components-product-details {
  display: block !important;
  margin: 0.15rem 0 0;
  font-family: var(--ui);
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--stone);
  white-space: normal !important;
  word-break: normal !important;
}

body.woocommerce-cart .wc-block-cart-item__quantity {
  grid-column: 2;
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.45rem;
  position: relative !important;
  top: auto !important;
  right: auto !important;
  width: auto !important;
  height: auto !important;
  min-height: 32px !important;
  pointer-events: auto !important;
}

body.woocommerce-cart .wc-block-cart-item__remove-link,
body.woocommerce-cart button.wc-block-cart-item__remove-link,
body.woocommerce-cart .wc-block-cart-item__quantity .wc-block-components-quantity-selector,
.wc-block-mini-cart__drawer .wc-block-cart-item__remove-link {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: auto !important;
  min-width: 32px !important;
  min-height: 32px !important;
  pointer-events: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 8 !important;
}

body.woocommerce-cart .wc-block-components-totals-item,
body.woocommerce-checkout .wc-block-components-totals-item {
  display: flex !important;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0 !important;
  border-top: 1px solid var(--hair);
  font-family: var(--ui);
  font-size: 0.95rem;
}

body.woocommerce-cart .wc-block-components-totals-footer-item,
body.woocommerce-checkout .wc-block-components-totals-footer-item {
  border-top: 1px solid var(--hair);
}

body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-heading-block {
  font-family: var(--display) !important;
  font-size: 1.35rem !important;
  font-weight: 500 !important;
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
}

body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block .wp-block-button__link,
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  width: 100% !important;
  min-height: 48px !important;
  margin-top: 0.85rem;
  background: var(--navy) !important;
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
  border: 0 !important;
  border-radius: 999px !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.woocommerce-checkout .wc-block-components-address-card,
body.woocommerce-checkout .wc-block-components-address-address-wrapper,
body.woocommerce-order-received .woocommerce-customer-details address {
  font-family: var(--ui);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--navy);
}

body.woocommerce-checkout .wc-block-checkout__sidebar h2,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-title,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-heading-block {
  font-family: var(--display) !important;
  font-weight: 500 !important;
  color: var(--navy) !important;
}

body.woocommerce-checkout .wc-block-components-panel__button,
body.woocommerce-cart .wc-block-components-panel__button {
  font-family: var(--ui) !important;
  font-size: 0.95rem !important;
  font-weight: 400 !important;
}

/* ================================================================== */
/* Mi cuenta — lienzo navy + rombos oro                                 */
/* ================================================================== */

body.woocommerce-account,
body.woocommerce-account .wp-site-blocks {
  background-color: var(--navy) !important;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 54px, rgba(201, 162, 39, 0.1) 54px 55px),
    repeating-linear-gradient(-45deg, transparent 0 54px, rgba(201, 162, 39, 0.1) 54px 55px);
  background-size: auto;
}

body.woocommerce-account main {
  max-width: min(980px, 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-block: 1.5rem 6rem !important;
  padding-inline: 0 !important;
}

body.woocommerce-account .woocommerce-notices-wrapper {
  grid-column: 1 / -1;
  width: 100%;
}

body.woocommerce-account .woocommerce-notices-wrapper:empty {
  display: none;
}

body.woocommerce-account .site-footer,
body.woocommerce-account footer.wp-block-template-part,
body.woocommerce-account footer {
  color: var(--gold-soft);
}

body.woocommerce-account h1.wp-block-post-title,
body.woocommerce-account .wp-block-post-title,
body.woocommerce-account h1.entry-title {
  margin: 0.4rem 0 1.75rem !important;
  font-family: var(--display) !important;
  font-weight: 500 !important;
  font-size: clamp(2.4rem, 6vw, 4rem) !important;
  color: var(--ivory) !important;
  -webkit-text-fill-color: var(--ivory) !important;
  text-align: center !important;
}

body.woocommerce-account.logged-in .woocommerce:not(.emmy-account-studio-host) {
  display: block !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 1.15rem !important;
  float: none !important;
  width: 100% !important;
  max-width: min(860px, 100%);
  margin: 0 auto !important;
  background: transparent !important;
  min-width: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: contents !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  width: auto !important;
  list-style: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link {
  display: flex;
  justify-content: center;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--dashboard { grid-column: 2; grid-row: 1; }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--orders { grid-column: 1; grid-row: 2; }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--downloads { grid-column: 1; grid-row: 3; }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-address { grid-column: 3; grid-row: 1; }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-account { grid-column: 3; grid-row: 2; }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--payment-methods { grid-column: 1; grid-row: 1; }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout { grid-column: 3; grid-row: 3; }

body.woocommerce-account .woocommerce-MyAccount-navigation a {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  padding: 0 !important;
  color: var(--gold-soft) !important;
  -webkit-text-fill-color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  background: rgba(11, 15, 26, 0.45);
  border: 1px solid var(--gold) !important;
  border-radius: 2px;
  transform: rotate(45deg);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.12);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a::before,
body.woocommerce-account .woocommerce-MyAccount-navigation a::after {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) rotate(-45deg);
  color: var(--gold-soft);
  -webkit-text-fill-color: var(--gold-soft);
  font-size: 0.58rem;
  line-height: 1.15;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--ui);
  font-weight: 500;
  white-space: nowrap;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a::before {
  top: 22px;
  width: 16px;
  height: 16px;
  content: "";
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5h16v10H4V5zm0 12h16v2H4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5h16v10H4V5zm0 12h16v2H4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--dashboard a::after { content: "Escritorio"; }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--orders a::after { content: "Pedidos"; }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--downloads a::after { content: "Descargas"; }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-address a::after { content: "Direcciones"; }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-account a::after { content: "Detalles"; }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--payment-methods a::after { content: "Pagos"; }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a::after { content: "Salir"; }

body.woocommerce-account .woocommerce-MyAccount-navigation-link--orders a::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 2h9l5 5v15H6V2zm8 1.5V8h4.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 2h9l5 5v15H6V2zm8 1.5V8h4.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--downloads a::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 3h2v10h3l-4 5-4-5h3V3zm-7 16h16v2H4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 3h2v10h3l-4 5-4-5h3V3zm-7 16h16v2H4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-address a::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a7 7 0 0 1 7 7c0 5.25-7 13-7 13S5 14.25 5 9a7 7 0 0 1 7-7zm0 9.5A2.5 2.5 0 1 0 12 6a2.5 2.5 0 0 0 0 5.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a7 7 0 0 1 7 7c0 5.25-7 13-7 13S5 14.25 5 9a7 7 0 0 1 7-7zm0 9.5A2.5 2.5 0 1 0 12 6a2.5 2.5 0 0 0 0 5.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-account a::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4 4 0 1 0-4-4 4 4 0 0 0 4 4zm0 2c-4 0-8 2-8 5v1h16v-1c0-3-4-5-8-5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4 4 0 1 0-4-4 4 4 0 0 0 4 4zm0 2c-4 0-8 2-8 5v1h16v-1c0-3-4-5-8-5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 17v-3h4V8h-4V5l-7 6 7 6zm9-14H12v2h7v14h-7v2h9V3z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 17v-3h4V8h-4V5l-7 6 7 6zm9-14H12v2h7v14h-7v2h9V3z'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a::after {
  top: 46px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  background: rgba(201, 162, 39, 0.12);
  box-shadow: 0 0 0 1px var(--gold), 0 10px 24px rgba(0, 0, 0, 0.28);
}

body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a::before,
body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a::after,
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover::before,
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover::after {
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
}

body.woocommerce-account .woocommerce-MyAccount-content {
  grid-column: 2;
  grid-row: 2 / 4;
  position: relative;
  min-width: 0;
  float: none !important;
  width: auto !important;
  margin: 0 auto !important;
  padding: 2.4rem 2rem 3.2rem !important;
  background:
    radial-gradient(120% 40% at 50% 0%, rgba(255, 255, 255, 0.55), transparent 46%),
    linear-gradient(180deg, #fbf6ea 0%, #f3ead6 100%) !important;
  border: 1px solid rgba(201, 162, 39, 0.45) !important;
  border-radius: 4px !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35) !important;
  color: var(--navy);
}

body.woocommerce-account .woocommerce-MyAccount-content::after {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  margin: 1.6rem auto 0;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a4 4 0 0 1 4 4v2h2v14H6V8h2V6a4 4 0 0 1 4-4zm0 2a2 2 0 0 0-2 2v2h4V6a2 2 0 0 0-2-2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a4 4 0 0 1 4 4v2h2v14H6V8h2V6a4 4 0 0 1 4-4zm0 2a2 2 0 0 0-2 2v2h4V6a2 2 0 0 0-2-2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3 {
  font-family: var(--display);
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 1rem;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-MyAccount-dashboard p:first-child,
body.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type {
  background: transparent;
  padding: 0;
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1.35;
  color: var(--navy);
}

body.woocommerce-account .woocommerce-MyAccount-content p {
  color: var(--navy);
}

body.woocommerce-account .woocommerce-MyAccount-content a {
  color: var(--gold-hover);
}

body.woocommerce-account .woocommerce-orders-table,
body.woocommerce-account table.shop_table,
body.woocommerce-account .woocommerce-Address,
body.woocommerce-account .u-column {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(11, 15, 26, 0.08);
  border-radius: var(--radius);
  box-shadow: none;
}

body.woocommerce-account .woocommerce-Button,
body.woocommerce-account button.button,
body.woocommerce-account input.button,
body.woocommerce-account .woocommerce-MyAccount-dashboard a.button,
body.woocommerce-account .woocommerce-MyAccount-content .button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.2rem !important;
  background: var(--navy) !important;
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
  border: 0 !important;
  border-radius: 999px !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.woocommerce-account:not(.logged-in) .woocommerce {
  display: block !important;
  width: 100%;
  max-width: var(--card-max);
  margin-inline: auto;
  grid-template-columns: none !important;
  padding: var(--card-pad);
  background: #fbf6ea;
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 1.25rem;
  min-width: 0;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login,
body.woocommerce-account:not(.logged-in) .woocommerce-form-register,
body.woocommerce-account:not(.logged-in) .woocommerce-ResetPassword,
body.woocommerce-account:not(.logged-in) .u-column1,
body.woocommerce-account:not(.logged-in) .u-column2,
body.woocommerce-account:not(.logged-in) .col-1,
body.woocommerce-account:not(.logged-in) .col-2 {
  width: 100%;
  max-width: 100%;
  float: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation-link.is-active:not(.woocommerce-MyAccount-navigation-link--dashboard)),
body.woocommerce-account.logged-in .woocommerce.emmy-account-inner {
  grid-template-columns: 1fr !important;
  grid-template-rows: auto auto;
}

body.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation-link.is-active:not(.woocommerce-MyAccount-navigation-link--dashboard)) .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation-link.is-active:not(.woocommerce-MyAccount-navigation-link--dashboard)) .woocommerce-MyAccount-navigation ul,
body.woocommerce-account .woocommerce.emmy-account-inner .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce.emmy-account-inner .woocommerce-MyAccount-navigation ul {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  grid-column: 1 / -1;
  grid-row: auto;
}

body.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation-link.is-active:not(.woocommerce-MyAccount-navigation-link--dashboard)) .woocommerce-MyAccount-navigation-link,
body.woocommerce-account .woocommerce.emmy-account-inner .woocommerce-MyAccount-navigation-link {
  grid-column: auto;
  grid-row: auto;
}

body.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation-link.is-active:not(.woocommerce-MyAccount-navigation-link--dashboard)) .woocommerce-MyAccount-content,
body.woocommerce-account .woocommerce.emmy-account-inner .woocommerce-MyAccount-content {
  grid-column: 1 / -1;
  grid-row: auto;
  width: 100% !important;
}

@media (max-width: 781px) {
  body.woocommerce-account .woocommerce {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto;
    gap: 1.25rem !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation,
  body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
    grid-column: 1 / -1;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation-link {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    padding: 1.5rem 1.15rem 2.2rem !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation a {
    width: 76px;
    height: 76px;
  }
}

/* ================================================================== */
/* Alertas: Woo oculto (no tapa el carrito). Toast navy/oro del plugin. */
/* Este bloque va al final para no pelear con el CSS del plugin.        */
/* ================================================================== */

.wc-block-components-snackbar-list,
.wc-block-components-snackbar-list__notice-list,
.wc-block-components-snackbar,
.wc-block-components-notice-snackbar,
.wc-block-components-notices,
body:not(.woocommerce-checkout):not(.single-product):not(.woocommerce-cart) .wc-block-store-notices,
body:not(.woocommerce-account):not(.woocommerce-checkout):not(.woocommerce-order-received):not(.single-product):not(.woocommerce-cart) .woocommerce-notices-wrapper .woocommerce-message,
body:not(.woocommerce-account):not(.woocommerce-checkout):not(.woocommerce-order-received):not(.single-product):not(.woocommerce-cart) .woocommerce-notices-wrapper .woocommerce-info,
body:not(.woocommerce-account):not(.woocommerce-checkout):not(.woocommerce-order-received) .woocommerce-notices-wrapper .woocommerce-error {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Solo ocultar "carrito vacio" cuando HAY lineas reales.
   :has(.wc-block-mini-cart-items) es demasiado amplio: el wrapper existe
   aunque el carrito este vacio → drawer en blanco (ni vacio ni lleno). */
.wc-block-mini-cart__drawer:has(.wc-block-cart-items__row) .wp-block-woocommerce-empty-mini-cart-contents-block,
.wc-block-mini-cart__drawer:has(.wc-block-cart-items__row) .wc-block-mini-cart__empty-cart,
.wp-block-woocommerce-mini-cart-contents:has(.wc-block-cart-items__row) .wp-block-woocommerce-empty-mini-cart-contents-block {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* Drawer: contenido visible (lleno o vacio). Sin pelear con Blocks.
   No forzar color en botones: el CTA navy quedaba como bloque negro. */
/* Hijos del drawer: pointer-events auto SOLO con overlay abierto */
.wc-block-components-drawer__screen-overlay:not(.wc-block-components-drawer__screen-overlay--is-hidden) .wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-contents,
.wc-block-components-drawer__screen-overlay:not(.wc-block-components-drawer__screen-overlay--is-hidden) .wc-block-mini-cart__drawer .wp-block-woocommerce-filled-mini-cart-contents-block,
.wc-block-components-drawer__screen-overlay:not(.wc-block-components-drawer__screen-overlay--is-hidden) .wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block,
.wc-block-components-drawer__screen-overlay:not(.wc-block-components-drawer__screen-overlay--is-hidden) .wc-block-mini-cart__drawer .wc-block-mini-cart__items,
.wc-block-components-drawer__screen-overlay:not(.wc-block-components-drawer__screen-overlay--is-hidden) .wc-block-mini-cart__drawer .wc-block-mini-cart-items,
.wc-block-components-drawer__screen-overlay:not(.wc-block-components-drawer__screen-overlay--is-hidden) .wc-block-mini-cart__drawer .wc-block-cart-items,
.wc-block-components-drawer__screen-overlay:not(.wc-block-components-drawer__screen-overlay--is-hidden) .wc-block-mini-cart__drawer .wc-block-cart-items__row {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.wc-block-components-drawer__screen-overlay--is-hidden .wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-contents,
.wc-block-components-drawer__screen-overlay--is-hidden .wc-block-mini-cart__drawer .wp-block-woocommerce-filled-mini-cart-contents-block,
.wc-block-components-drawer__screen-overlay--is-hidden .wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block,
.wc-block-components-drawer__screen-overlay--is-hidden .wc-block-mini-cart__drawer .wc-block-mini-cart__items,
.wc-block-components-drawer__screen-overlay--is-hidden .wc-block-mini-cart__drawer .wc-block-cart-items,
.wc-block-components-drawer__screen-overlay--is-hidden .wc-block-mini-cart__drawer .wc-block-cart-items__row,
.wc-block-mini-cart__drawer[aria-hidden="true"] .wp-block-woocommerce-mini-cart-contents,
.wc-block-mini-cart__drawer[aria-hidden="true"] .wc-block-cart-items,
.wc-block-mini-cart__drawer[aria-hidden="true"] .wc-block-cart-items__row {
  pointer-events: none !important;
}

.wc-block-mini-cart__drawer .wc-block-components-product-name,
.wc-block-mini-cart__drawer .wc-block-components-product-name a,
.wc-block-mini-cart__drawer .wc-block-components-product-price,
.wc-block-mini-cart__drawer .wc-block-components-totals-item__label,
.wc-block-mini-cart__drawer .wc-block-components-totals-item__value,
.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block p,
.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block h2,
.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block .wp-block-heading {
  color: var(--ink, #1a1a1a) !important;
  -webkit-text-fill-color: var(--ink, #1a1a1a) !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-filled-mini-cart-contents-block:not([hidden]),
.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block:not([hidden]) {
  /* No forzar display:flex — rompe clicks del IAPI/Blocks en add/remove. */
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: 60vh !important;
  overflow: visible !important;
  color: var(--emmy-mc-text, #f3ede3) !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block:not([hidden]) {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  padding: 1.25rem 1.1rem 1.5rem !important;
  gap: 1rem !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-filled-mini-cart-contents-block[hidden],
.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block[hidden] {
  display: none !important;
}

/* CTA vacio del mini-cart: oro sobre navy, ancho al texto */
.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block .wp-block-button__link,
.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block a.wc-block-components-button,
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-contents .wp-block-button__link,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-components-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: max-content !important;
  min-height: 42px !important;
  margin: 0.75rem auto 0 !important;
  padding: 0.7rem 1.25rem !important;
  background: var(--navy) !important;
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
  border: 0 !important;
  border-radius: var(--radius-sm, 8px) !important;
  font-family: var(--ui, inherit) !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}

body.single-product .woocommerce-message,
body.single-product .wc-block-components-notice-banner.is-success,
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .wc-block-components-notice-banner.is-success {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: visible !important;
  pointer-events: auto !important;
  align-items: center !important;
  gap: 0.75rem !important;
  margin: 0 0 1.15rem !important;
  padding: 0.95rem 1.2rem !important;
  background: var(--navy) !important;
  color: var(--ivory) !important;
  -webkit-text-fill-color: var(--ivory) !important;
  border: 0 !important;
  border-top: 2px solid var(--gold) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: var(--shadow-2) !important;
  font-family: var(--ui) !important;
}

body.single-product .woocommerce-message::before,
body.woocommerce-cart .woocommerce-message::before {
  color: var(--gold) !important;
}

body.single-product .wc-block-components-notice-banner.is-success svg,
body.woocommerce-cart .wc-block-components-notice-banner.is-success svg {
  fill: var(--gold) !important;
  color: var(--gold) !important;
}

body.single-product .woocommerce-message a.button,
body.single-product .woocommerce-message a.wc-forward,
body.woocommerce-cart .woocommerce-message a.button,
body.woocommerce-cart .woocommerce-message a.wc-forward {
  display: none !important;
}

body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-message,
body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-info,
body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-error,
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .wc-block-components-notice-banner,
body.woocommerce-checkout .wc-block-components-notice-banner.is-error,
body.woocommerce-order-received .woocommerce-thankyou-order-received,
body.woocommerce-order-received p.woocommerce-notice,
.woocommerce-form-login .woocommerce-error,
.woocommerce-form-register .woocommerce-error,
.woocommerce-NoticeGroup .woocommerce-error,
.woocommerce-NoticeGroup .woocommerce-message {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  max-width: 100% !important;
  margin: 0 0 1.15rem !important;
  padding: 0.95rem 1.2rem !important;
  background: var(--navy) !important;
  color: var(--ivory) !important;
  -webkit-text-fill-color: var(--ivory) !important;
  border: 0 !important;
  border-top: 2px solid var(--gold) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: var(--shadow-1) !important;
  font-family: var(--ui) !important;
  font-size: 0.88rem !important;
  line-height: 1.5 !important;
  pointer-events: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
}

body.woocommerce-account .woocommerce-info,
body.woocommerce-checkout .woocommerce-info {
  background: var(--ivory) !important;
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
}

.woocommerce-message a.wc-forward,
.wc-block-components-notice-banner a.wc-forward,
.wc-block-components-snackbar a {
  display: none !important;
}

/* ================================================================== */
/* Carrito vacío: «Nuevo en la tienda» como tarjetas de la shop          */
/* ================================================================== */

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product-template,
body.woocommerce-cart .wp-block-woocommerce-product-collection ul.wc-block-product-template,
body.woocommerce-cart .cross-sells ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.5rem !important;
  width: 100% !important;
  max-width: 920px;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product,
body.woocommerce-cart .wp-block-woocommerce-product-collection .wc-block-product,
body.woocommerce-cart .cross-sells li.product {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-image,
body.woocommerce-cart .wp-block-woocommerce-product-collection .wc-block-components-product-image,
body.woocommerce-cart .cross-sells li.product .sistemapos-card-media,
body.woocommerce-cart .cross-sells li.product > a:first-of-type:has(img) {
  grid-row: 1;
  grid-column: 1;
  width: 100% !important;
  aspect-ratio: 3 / 4 !important;
  overflow: hidden !important;
  background: var(--cream) !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product img,
body.woocommerce-cart .wp-block-woocommerce-product-collection .wc-block-product img,
body.woocommerce-cart .cross-sells li.product img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center 18% !important;
  transform: scale(1.03) !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-name,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-name a,
body.woocommerce-cart .wp-block-woocommerce-product-collection .wc-block-components-product-name,
body.woocommerce-cart .wp-block-woocommerce-product-collection .wc-block-components-product-name a,
body.woocommerce-cart .cross-sells li.product .woocommerce-loop-product__title {
  display: block !important;
  margin: 0.75rem 0 0.35rem !important;
  font-family: var(--display) !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  text-align: center !important;
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
  writing-mode: horizontal-tb !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-price,
body.woocommerce-cart .wp-block-woocommerce-product-collection .wc-block-components-product-price,
body.woocommerce-cart .cross-sells li.product .price {
  display: block !important;
  text-align: center !important;
  color: var(--gold) !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .price + .price,
body.woocommerce-cart .wp-block-woocommerce-product-collection .wc-block-components-product-price + .price {
  display: none !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-button,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-button,
body.woocommerce-cart .wp-block-woocommerce-product-collection .wp-block-woocommerce-product-button,
body.woocommerce-cart .wp-block-woocommerce-product-collection .wc-block-components-product-button,
body.woocommerce-cart .cross-sells li.product .button {
  grid-row: 1 !important;
  grid-column: 1 !important;
  align-self: end !important;
  justify-self: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  writing-mode: horizontal-tb !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-button__button,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-button__link,
body.woocommerce-cart .wp-block-woocommerce-product-collection .wc-block-components-product-button__button,
body.woocommerce-cart .wp-block-woocommerce-product-collection .wp-block-button__link,
body.woocommerce-cart .cross-sells li.product .button {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 44px !important;
  height: 44px !important;
  padding: 0 0.75rem !important;
  writing-mode: horizontal-tb !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  background: var(--navy) !important;
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  visibility: visible !important;
  transform: none !important;
}

body.woocommerce-cart.emmy-empty-cart {
  background-color: var(--ivory) !important;
  background-image:
    repeating-linear-gradient(60deg, transparent 0 46px, rgba(201, 162, 39, 0.13) 46px 47px),
    repeating-linear-gradient(-60deg, transparent 0 46px, rgba(201, 162, 39, 0.13) 46px 47px),
    repeating-linear-gradient(0deg, transparent 0 80px, rgba(201, 162, 39, 0.07) 80px 81px);
}

body.woocommerce-cart.emmy-empty-cart main {
  position: relative;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 5rem;
  background: transparent !important;
}

body.woocommerce-cart.emmy-empty-cart main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.62;
  background-repeat: no-repeat;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 64' fill='none' stroke='%23C9A227' stroke-width='1.2'%3E%3Crect x='14' y='22' width='20' height='34' rx='3'/%3E%3Crect x='20' y='12' width='8' height='10'/%3E%3Cpath d='M18 12h12'/%3E%3Ccircle cx='24' cy='8' r='2.5'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 40' fill='none' stroke='%23C9A227' stroke-width='1.2'%3E%3Cpath d='M8 20c8-16 16-16 24 0s16 16 24 0'/%3E%3Cpath d='M20 20c4 8 8 8 12 0'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 48' fill='none' stroke='%23C9A227' stroke-width='1.2'%3E%3Cellipse cx='20' cy='10' rx='12' ry='5'/%3E%3Cpath d='M8 10v28c0 3 5 5 12 5s12-2 12-5V10'/%3E%3Cellipse cx='20' cy='38' rx='12' ry='5'/%3E%3Cpath d='M8 18h24M8 26h24'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 32' fill='none' stroke='%23C9A227' stroke-width='1.2'%3E%3Cpath d='M6 22c8-2 14-12 24-12h8c8 0 16 6 20 10v4H6z'/%3E%3Cpath d='M6 26h52'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none' stroke='%23C9A227' stroke-width='1.1'%3E%3Cpath d='M14 2 26 14 14 26 2 14Z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none' stroke='%23C9A227' stroke-width='1.1'%3E%3Cpath d='M14 2 26 14 14 26 2 14Z'/%3E%3C/svg%3E");
  background-position: 6% 22%, 93% 18%, 7% 68%, 92% 74%, 18% 8%, 82% 88%;
  background-size: 38px, 52px, 34px, 48px, 22px, 22px;
}

body.woocommerce-cart.emmy-empty-cart main > * {
  position: relative;
  z-index: 1;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block {
  text-align: center !important;
  padding: 1.5rem 1rem 0.5rem !important;
  background: transparent !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > svg,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart-image,
body.woocommerce-cart .wc-empty-cart-message::before {
  display: none !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > h2,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-heading,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-group > h2,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-group > .wp-block-heading,
body.woocommerce-cart .wc-empty-cart-message {
  margin: 0.4rem auto 1.15rem !important;
  max-width: 16ch;
  font-family: var(--display) !important;
  font-size: clamp(2rem, 5vw, 3.1rem) !important;
  font-weight: 500 !important;
  line-height: 1.15 !important;
  color: var(--navy) !important;
  text-align: center !important;
}

body.woocommerce-cart .sistemapos-empty-shop,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-buttons .wp-block-button__link,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-button .wp-block-button__link,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-group > .wp-block-buttons .wp-block-button__link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px !important;
  margin: 0 auto 2.4rem !important;
  padding: 0 1.4rem !important;
  width: auto !important;
  max-width: none !important;
  background: var(--gold) !important;
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
  border: 0 !important;
  border-radius: 999px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  font-family: var(--ui) !important;
  font-size: 0.72rem !important;
  box-shadow: 0 8px 18px rgba(201, 162, 39, 0.28);
}

body.woocommerce-cart .sistemapos-empty-shop::before,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-buttons .wp-block-button__link::before,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-button .wp-block-button__link::before {
  content: "";
  width: 11px;
  height: 13px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M17 8h-1V6a4 4 0 1 0-8 0v2H7v13h10V8zm-7-2a2 2 0 1 1 4 0v2h-4V6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M17 8h-1V6a4 4 0 1 0-8 0v2H7v13h10V8zm-7-2a2 2 0 1 1 4 0v2h-4V6z'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.woocommerce-cart .wp-block-woocommerce-product-collection .wp-block-heading,
body.woocommerce-cart .cross-sells > h2 {
  margin: 0.5rem auto 1.4rem !important;
  font-family: var(--display) !important;
  font-size: clamp(1.8rem, 4vw, 2.6rem) !important;
  font-weight: 500 !important;
  text-align: center !important;
  color: var(--navy) !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product-template,
body.woocommerce-cart .wp-block-woocommerce-product-collection ul.wc-block-product-template,
body.woocommerce-cart .cross-sells ul.products {
  grid-template-columns: repeat(2, minmax(0, 280px)) !important;
  justify-content: center !important;
  gap: 2rem 3rem !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-image,
body.woocommerce-cart .wp-block-woocommerce-product-collection .wc-block-components-product-image,
body.woocommerce-cart .cross-sells li.product .sistemapos-card-media,
body.woocommerce-cart .cross-sells li.product > a:first-of-type:has(img) {
  aspect-ratio: 1 / 1 !important;
  background: #fff !important;
  border-radius: 4px;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product img,
body.woocommerce-cart .wp-block-woocommerce-product-collection .wc-block-product img,
body.woocommerce-cart .cross-sells li.product img {
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  padding: 0.6rem;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-button,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-button,
body.woocommerce-cart .wp-block-woocommerce-product-collection .wp-block-woocommerce-product-button,
body.woocommerce-cart .wp-block-woocommerce-product-collection .wc-block-components-product-button,
body.woocommerce-cart .cross-sells li.product .button {
  grid-row: auto !important;
  position: static !important;
  opacity: 1 !important;
  margin-top: 0.75rem !important;
  background: transparent !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-button__button,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product .wp-block-button__link,
body.woocommerce-cart .wp-block-woocommerce-product-collection .wc-block-components-product-button__button,
body.woocommerce-cart .wp-block-woocommerce-product-collection .wp-block-button__link,
body.woocommerce-cart .cross-sells li.product .button {
  display: flex !important;
  width: auto !important;
  min-width: 7.5rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 1.15rem !important;
  background: var(--gold) !important;
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
  border-radius: 999px !important;
  letter-spacing: 0.08em !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block a.added_to_cart,
body.woocommerce-cart .wp-block-woocommerce-product-collection a.added_to_cart,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .sistemapos-card-media::after,
body.woocommerce-cart .wp-block-woocommerce-product-collection .sistemapos-card-media::after {
  display: none !important;
}

@media (max-width: 781px) {
  body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product-template,
  body.woocommerce-cart .wp-block-woocommerce-product-collection ul.wc-block-product-template,
  body.woocommerce-cart .cross-sells ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.25rem !important;
  }

  body.woocommerce-cart.emmy-empty-cart main::before {
    opacity: 0.35;
    background-size: 28px, 38px, 26px, 36px, 16px, 16px;
  }
}

/* ================================================================== */
/* Búsqueda: grilla tipo colecciones (foto + nombre). No toca el carrito */
/* ================================================================== */

body.search.emmy-search-catalog {
  background: var(--ivory) !important;
}

body.search.emmy-search-mounted .wp-block-query,
body.search.emmy-search-mounted .wp-block-post-template {
  display: none !important;
}

.emmy-search-grid {
  width: min(1180px, 92vw);
  margin: 0 auto 4rem;
}

.emmy-search-query {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto 1.75rem;
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  color: var(--stone);
}

.emmy-search-query::before,
.emmy-search-query::after {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--gold);
}

.emmy-search-empty {
  margin: 2rem 0 0;
  text-align: center;
  font-family: var(--display);
  color: var(--navy);
}

.emmy-search-grid__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem 1.25rem;
}

.emmy-search-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.emmy-search-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #fff;
}

.emmy-search-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 0.45s ease;
}

.emmy-search-card:hover .emmy-search-card__media img {
  transform: scale(1.04);
}

.emmy-search-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.95rem 0.15rem 0;
}

.emmy-search-card__name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--navy);
}

.emmy-search-card__name::after {
  content: "→";
  flex: 0 0 auto;
  font-size: 1rem;
  color: var(--navy);
}

.emmy-search-card__meta {
  font-family: var(--ui);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}

.emmy-search-card__price {
  margin-top: 0.15rem;
  font-family: var(--ui);
  font-size: 0.92rem;
  color: var(--gold);
}

@media (max-width: 1024px) {
  .emmy-search-grid__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 781px) {
  .emmy-search-grid__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 0.85rem;
  }

  .emmy-search-card__name {
    font-size: 1rem;
  }
}

body.single-product form.cart.variations_form,
body.single-product form.variations_form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
}

body.single-product form.cart .variations,
body.single-product form.cart table.variations,
body.single-product form.cart .single_variation_wrap,
body.single-product form.cart .woocommerce-variation-add-to-cart {
  display: block;
  width: 100%;
  flex: 1 1 100%;
  max-width: 100%;
}

body.single-product form.cart .woocommerce-variation-add-to-cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

body.single-product .variations .value,
body.single-product .variations td {
  position: relative;
}

body.single-product form.cart .single_add_to_cart_button:not(.disabled):not(.wc-variation-selection-needed) {
  pointer-events: auto !important;
}

body.single-product .single_add_to_cart_button.disabled,
body.single-product .single_add_to_cart_button.wc-variation-selection-needed {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Mini-cart / cart line controls: no pelear el hit-testing de Blocks.
   Solo desactivar links de imagen; remove y qty quedan al default de Woo. */
.wc-block-cart-item__image[aria-hidden="true"] a,
.wc-block-mini-cart__drawer .wc-block-cart-item__image a,
.wc-block-mini-cart-items .wc-block-cart-item__image a {
  pointer-events: none;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__remove-link,
.wc-block-mini-cart__drawer .wc-block-components-quantity-selector,
body.woocommerce-cart .wc-block-cart-item__remove-link,
body.woocommerce-cart .wc-block-components-quantity-selector {
  position: relative;
  z-index: 2;
}

/* ================================================================== */
/* Elevacion editorial — last-wins (tokens, cards, PDP, checkout, CTA) */
/* ================================================================== */

:where(
  a,
  button,
  input,
  select,
  textarea,
  .sistemapos-swatch,
  .wp-element-button,
  .wp-block-button__link
):focus-visible {
  outline: 2px solid var(--gold) !important;
  outline-offset: 2px !important;
}

.wp-block-navigation a,
.wp-block-navigation-item__content,
.menu-item a {
  letter-spacing: var(--track-nav);
}

.wp-block-search__label,
.woocommerce form .form-row label,
.wc-block-components-text-input label,
.wc-block-components-checkbox__label {
  letter-spacing: var(--track-label);
}

/* Cards: nombre izq + precio der, zoom calmo, overlay sutil */

.woocommerce ul.products li.product,
.wc-block-product,
.wc-block-grid__product,
.sistemapos-product-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: start !important;
  text-align: left !important;
  padding: 0 0 var(--space-3) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: var(--shadow-1) !important;
  transition: transform var(--t-media) var(--ease-out), box-shadow var(--t-media) var(--ease-out);
}

.woocommerce ul.products li.product:hover,
.wc-block-product:hover,
.wc-block-grid__product:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2) !important;
}

.sistemapos-card-media,
.woocommerce ul.products li.product > a:first-of-type:has(img),
.wc-block-product .wc-block-components-product-image,
.wc-block-product .wp-block-woocommerce-product-button,
.wc-block-product .wc-block-components-product-button,
.woocommerce ul.products li.product > .button,
.woocommerce ul.products li.product > a.button {
  grid-column: 1 / -1 !important;
}

.woocommerce ul.products li.product > a:first-of-type:has(img),
.wc-block-components-product-image,
.sistemapos-card-media {
  cursor: zoom-in;
}

.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product img,
.wc-block-product img,
.sistemapos-card-media img,
.wc-block-components-product-image img {
  transform: scale(1.03) !important;
  object-position: center 22% !important;
  transition: transform var(--t-media) var(--ease-out) !important;
}

.woocommerce ul.products li.product:hover a img,
.woocommerce ul.products li.product:hover img,
.wc-block-product:hover img {
  transform: scale(1.07) !important;
}

.woocommerce ul.products li.product > a:first-of-type:has(img)::before,
.wc-block-product .wc-block-components-product-image::before,
.sistemapos-card-media::before,
li.product .wc-block-components-product-image::before {
  background: linear-gradient(180deg, rgba(11, 20, 28, 0) 58%, rgba(11, 20, 28, 0.32) 100%) !important;
  transition: opacity var(--t-media) var(--ease-out) !important;
}

.woocommerce ul.products li.product > a:first-of-type:has(img)::after,
.wc-block-product .wc-block-components-product-image::after,
.sistemapos-card-media::after,
li.product .wc-block-components-product-image::after {
  content: "Ver" !important;
  bottom: 3.9rem !important;
  padding-left: 1.15rem;
  font-size: 0.72rem !important;
  letter-spacing: var(--track-label) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23dcc27a' d='M12 5c5 0 9.3 3.1 11 7-1.7 3.9-6 7-11 7S2.7 15.9 1 12c1.7-3.9 6-7 11-7zm0 2.5A4.5 4.5 0 1 0 16.5 12 4.5 4.5 0 0 0 12 7.5zm0 2A2.5 2.5 0 1 1 9.5 12 2.5 2.5 0 0 1 12 9.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 13px;
  transition: opacity var(--t-media) var(--ease-out), transform var(--t-media) var(--ease-out) !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title a,
.woocommerce ul.products li.product h2.woocommerce-loop-product__title,
.woocommerce ul.products li.product .wp-block-post-title,
.woocommerce ul.products li.product .wp-block-post-title a,
.wc-block-product .wp-block-post-title,
.wc-block-product .wp-block-post-title a,
.wc-block-product .wc-block-components-product-name,
.wc-block-product .wc-block-components-product-name a,
.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
  grid-column: 1 !important;
  grid-row: 2 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-height: 2.8em !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 1.05rem var(--space-3) 0.2rem !important;
  padding: 0 !important;
  text-align: left !important;
  font-size: 0.98rem !important;
  line-height: 1.4 !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  writing-mode: horizontal-tb !important;
}

.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price .amount,
.woocommerce ul.products li.product .price bdi,
.wc-block-product .wc-block-components-product-price,
.wc-block-product .wc-block-components-product-price .amount {
  grid-column: 1 !important;
  grid-row: 3 !important;
  display: block !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 var(--space-3) 0.45rem !important;
  padding: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-align: left !important;
  font-size: 1rem !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
  writing-mode: horizontal-tb !important;
}

.woocommerce ul.products li.product::after,
.wc-block-product::after,
.sistemapos-product-card::after {
  content: "";
  grid-column: 1 / -1;
  grid-row: 4;
  height: 1px;
  margin: 0 var(--space-3) 0.15rem;
  background: var(--hair);
  pointer-events: none;
}

.wc-block-cart-item .wc-block-components-product-name,
.wc-block-cart-item .wc-block-components-product-name a,
.wc-block-cart-item .wc-block-components-product-price,
.wc-block-components-order-summary-item .wc-block-components-product-name,
.wc-block-components-order-summary-item .wc-block-components-product-name a,
.wc-block-components-order-summary-item .wc-block-components-product-price {
  grid-column: auto !important;
  grid-row: auto !important;
  display: block !important;
  max-height: none !important;
  margin: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
  text-align: left !important;
  white-space: normal !important;
}

.wc-block-components-sale-badge,
.wc-block-grid__product-onsale,
.woocommerce span.onsale {
  background: transparent !important;
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
  border: 1px solid var(--gold) !important;
  border-radius: var(--radius-sm) !important;
  letter-spacing: var(--track-label) !important;
}

.woocommerce ul.products li.product .button:not(.added_to_cart):not(.emmy-view-cart),
.woocommerce ul.products li.product a.button:not(.added_to_cart):not(.emmy-view-cart),
.wc-block-components-product-button .wp-block-button__link:not(.added_to_cart):not(.emmy-view-cart),
.wc-block-components-product-button__button:not(.added_to_cart):not(.emmy-view-cart) {
  min-height: 48px !important;
  padding: 0.9rem var(--space-2) !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.12em !important;
  border-radius: 0 !important;
  background: var(--navy) !important;
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
  transition: background var(--t-hover) var(--ease), color var(--t-hover) var(--ease), opacity var(--t-hover) var(--ease);
}

.woocommerce ul.products li.product .button:not(.added_to_cart):not(.emmy-view-cart)::after,
.woocommerce ul.products li.product a.button:not(.added_to_cart):not(.emmy-view-cart)::after,
.wc-block-components-product-button .wp-block-button__link:not(.added_to_cart):not(.emmy-view-cart)::after,
.wc-block-components-product-button__button:not(.added_to_cart):not(.emmy-view-cart)::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 0.55rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t-hover) var(--ease);
  pointer-events: none;
}

.woocommerce ul.products li.product .button:not(.added_to_cart):hover::after,
.woocommerce ul.products li.product a.button:not(.added_to_cart):hover::after,
.wc-block-components-product-button .wp-block-button__link:not(.added_to_cart):hover::after,
.wc-block-components-product-button__button:not(.added_to_cart):hover::after {
  transform: scaleX(1);
}

.woocommerce ul.products li.product .button:not(.added_to_cart):hover,
.woocommerce ul.products li.product a.button:not(.added_to_cart):hover,
.wc-block-components-product-button .wp-block-button__link:not(.added_to_cart):hover,
.wc-block-components-product-button__button:not(.added_to_cart):hover {
  background: linear-gradient(90deg, #b48f1c 0%, #dcc27a 52%, #c9a227 100%) !important;
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
  transition: background 0.3s ease, color 0.3s ease, -webkit-text-fill-color 0.3s ease;
}

/* CTAs principales */

.single_add_to_cart_button,
.checkout-button,
.woocommerce #place_order,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-button,
.wp-block-woocommerce-proceed-to-checkout-block .wp-block-button__link,
.wp-block-woocommerce-checkout-actions-block .wp-block-button__link {
  min-height: 54px !important;
  padding: 0.95rem 1.8rem !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.14em !important;
  border-radius: var(--radius-full) !important;
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
  -webkit-text-fill-color: var(--navy-deep) !important;
  box-shadow: var(--shadow-1) !important;
  transition: box-shadow var(--t-hover) var(--ease), filter var(--t-hover) var(--ease), transform var(--t-hover) var(--ease) !important;
}

body.single-product .single_add_to_cart_button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
  -webkit-text-fill-color: var(--navy-deep) !important;
}

body.single-product .single_add_to_cart_button::before {
  content: "";
  width: 15px;
  height: 15px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 7V6a5 5 0 0 1 10 0v1h3v14H4V7h3zm2 0h6V6a3 3 0 0 0-6 0v1z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 7V6a5 5 0 0 1 10 0v1h3v14H4V7h3zm2 0h6V6a3 3 0 0 0-6 0v1z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.single_add_to_cart_button:hover,
.checkout-button:hover,
.woocommerce #place_order:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.wc-block-components-checkout-place-order-button:hover,
.wc-block-cart__submit-button:hover,
body.single-product .single_add_to_cart_button:hover {
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
  -webkit-text-fill-color: var(--navy-deep) !important;
  box-shadow: var(--shadow-2) !important;
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.woocommerce #place_order,
.wc-block-components-checkout-place-order-button {
  gap: 0.7rem !important;
}

.woocommerce #place_order::before,
.wc-block-components-checkout-place-order-button::before {
  width: 15px !important;
  height: 15px !important;
}

/* Ficha */

body.single-product .sistemapos-swatches {
  gap: 0.65rem;
}

body.single-product .sistemapos-swatch {
  min-width: 2.55rem;
  height: 2.55rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--navy);
  box-shadow: 0 0 0 1px var(--hair);
  transition: box-shadow var(--t-hover) var(--ease), border-color var(--t-hover) var(--ease), color var(--t-hover) var(--ease);
}

body.single-product .sistemapos-swatch:hover {
  box-shadow: 0 0 0 1px var(--gold);
}

body.single-product .sistemapos-swatch.is-active {
  background: #fff !important;
  color: var(--navy) !important;
  border-color: var(--navy);
  box-shadow: 0 0 0 1px #fff, 0 0 0 2px var(--navy);
}

body.single-product .wp-block-woocommerce-product-price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  align-items: baseline;
}

.woocommerce div.product .price ins,
body.single-product .price ins,
body.single-product .wc-block-components-product-price ins {
  font-size: inherit;
  text-decoration: none;
}

.woocommerce div.product .price del,
body.single-product .price del,
body.single-product .wc-block-components-product-price del {
  font-size: 0.92rem;
  font-weight: 400;
  opacity: 0.5;
  color: var(--stone) !important;
}

body.single-product .woocommerce-product-gallery:has(.flex-control-thumbs li:nth-child(2)),
body.single-product .woocommerce-product-gallery:has(.flex-control-nav li:nth-child(2)) {
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 1rem;
}

body.single-product .flex-control-thumbs,
body.single-product .flex-control-nav {
  gap: 0.75rem;
}

body.single-product .flex-control-thumbs li,
body.single-product .flex-control-nav li {
  width: 92px !important;
  opacity: 0.7;
  border-color: var(--hair);
  transition: opacity var(--t-hover) var(--ease), border-color var(--t-hover) var(--ease);
}

body.single-product .flex-control-thumbs li:hover,
body.single-product .flex-control-nav li:hover,
body.single-product .flex-control-thumbs img.flex-active,
body.single-product .flex-control-thumbs .flex-active {
  opacity: 1;
  border-color: var(--gold);
}

.sistemapos-pdp-trust {
  gap: 0;
  padding: 1.15rem 0 1.35rem;
}

.sistemapos-pdp-trust__item {
  padding: 0 1.2rem;
  border-right: 1px solid var(--hair);
}

.sistemapos-pdp-trust__item:first-child {
  padding-left: 0;
}

.sistemapos-pdp-trust__item:last-child {
  padding-right: 0;
  border-right: 0;
}

@media (max-width: 781px) {
  .sistemapos-pdp-trust {
    gap: 0.35rem;
  }

  .sistemapos-pdp-trust__item {
    padding: 0.7rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--hair);
  }

  .sistemapos-pdp-trust__item:last-child {
    border-bottom: 0;
  }
}

/* Carrito / checkout */

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-cart .wc-block-cart__sidebar,
body.woocommerce-cart .wp-block-woocommerce-cart-totals-block,
.cart-collaterals .cart_totals {
  box-shadow: var(--shadow-1) !important;
}

.emmy-checkout-steps {
  gap: 0 !important;
}

.emmy-checkout-steps__item {
  position: relative;
  flex: 1 1 0;
  justify-content: center;
  padding: 0 1.1rem 0 0;
  letter-spacing: var(--track-nav);
}

.emmy-checkout-steps__item:last-child {
  padding-right: 0;
}

.emmy-checkout-steps__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0.82rem;
  left: calc(50% + 1.15rem);
  right: 0.15rem;
  height: 1px;
  background: var(--hair);
  pointer-events: none;
}

.emmy-checkout-steps__item.is-done:not(:last-child)::after,
.emmy-checkout-steps__item.is-active:not(:last-child)::after {
  background: var(--gold);
}

@media (max-width: 640px) {
  .emmy-checkout-steps__item:not(:last-child)::after {
    display: none;
  }
}

/* Mi cuenta: rombos solo de fondo; iconos circulares, texto horizontal */

body.woocommerce-account .woocommerce-MyAccount-navigation a {
  transform: none !important;
  border-radius: 50% !important;
  width: 88px !important;
  height: 88px !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a::before,
body.woocommerce-account .woocommerce-MyAccount-navigation a::after {
  transform: translateX(-50%) !important;
  letter-spacing: var(--track-nav);
}

body.woocommerce-account .woocommerce-MyAccount-navigation a::before {
  top: 20px !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a::after {
  top: 44px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content {
  padding: 3rem 3.5rem 3.4rem !important;
}

@media (max-width: 781px) {
  body.woocommerce-account .woocommerce-MyAccount-content {
    padding: 1.8rem 1.25rem 2.2rem !important;
  }
}

/* ================================================================== */
/* PDP: titulo, opciones y relacionados sin desborde                   */
/* ================================================================== */

body.single-product h1.wp-block-post-title,
.woocommerce div.product h1.product_title,
.woocommerce div.product > .product_title {
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  max-width: 100% !important;
}

body.single-product .related .wp-block-post-title::before,
body.single-product .upsells .wp-block-post-title::before,
body.single-product .wc-block-product .wp-block-post-title::before,
body.single-product .wp-block-woocommerce-product-collection .wp-block-post-title::before,
body.single-product li.product .wp-block-post-title::before,
body.single-product li.product .woocommerce-loop-product__title::before {
  content: none !important;
  display: none !important;
}

body.single-product .related.products li.product,
body.single-product .upsells.products li.product,
body.single-product .wp-block-woocommerce-product-collection .wc-block-product {
  text-align: left !important;
  align-items: start !important;
  min-width: 0 !important;
}

body.single-product .related.products li.product .woocommerce-loop-product__title,
body.single-product .related.products li.product .woocommerce-loop-product__title a,
body.single-product .related.products li.product .wp-block-post-title,
body.single-product .related.products li.product .wp-block-post-title a,
body.single-product .upsells.products li.product .woocommerce-loop-product__title,
body.single-product .upsells.products li.product .wp-block-post-title,
body.single-product .wp-block-woocommerce-product-collection .wp-block-post-title,
body.single-product .wp-block-woocommerce-product-collection .wp-block-post-title a,
body.single-product .wp-block-woocommerce-product-collection .wc-block-components-product-name,
body.single-product .wp-block-woocommerce-product-collection .wc-block-components-product-name a {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
  max-height: 2.8em !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 1.05rem var(--space-3) 0.2rem !important;
  padding: 0 !important;
  text-align: left !important;
  font-size: 0.95rem !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}

body.single-product .related.products li.product .price,
body.single-product .upsells.products li.product .price,
body.single-product .wp-block-woocommerce-product-collection .wc-block-components-product-price {
  display: block !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 var(--space-3) 0.45rem !important;
  text-align: left !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-size: 1rem !important;
}

body.single-product .variations,
body.single-product form.cart .variations,
body.single-product form.cart table.variations {
  width: 100% !important;
  table-layout: fixed;
}

body.single-product .variations th,
body.single-product .variations .label,
body.single-product .variations label {
  font-size: 0.78rem;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}

body.single-product .variations .value,
body.single-product .variations td {
  min-width: 0;
  max-width: 100%;
}

body.single-product .sistemapos-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  max-width: 100%;
}

body.single-product .sistemapos-swatch {
  flex: 0 0 auto;
  max-width: 100%;
}

@media (max-width: 1024px) {
  body.single-product .related.products ul.products:not(.sistemapos-carousel),
  body.single-product .upsells.products ul.products:not(.sistemapos-carousel),
  body.single-product .wp-block-woocommerce-product-collection ul.wc-block-product-template:not(.sistemapos-carousel) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.single-product h1.wp-block-post-title,
  .woocommerce div.product h1.product_title {
    font-size: clamp(1.5rem, 4vw, 2.2rem) !important;
  }
}

@media (max-width: 781px) {
  body.single-product .variations,
  body.single-product .variations tbody,
  body.single-product .variations tr,
  body.single-product .variations th,
  body.single-product .variations td,
  body.single-product .variations .label,
  body.single-product .variations .value {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.single-product .variations th,
  body.single-product .variations .label {
    padding: 0 0 0.4rem !important;
  }

  body.single-product .woocommerce-product-details__short-description,
  body.single-product .wp-block-post-excerpt {
    max-width: 100%;
  }

  body.single-product form.cart .woocommerce-variation-add-to-cart {
    flex-direction: column;
    align-items: stretch;
  }

  body.single-product .single_add_to_cart_button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  body.single-product .related.products ul.products:not(.sistemapos-carousel),
  body.single-product .upsells.products ul.products:not(.sistemapos-carousel),
  body.single-product .wp-block-woocommerce-product-collection ul.wc-block-product-template:not(.sistemapos-carousel) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.single-product .related.products li.product .woocommerce-loop-product__title,
  body.single-product .related.products li.product .wp-block-post-title,
  body.single-product .wp-block-woocommerce-product-collection .wp-block-post-title,
  body.single-product .wp-block-woocommerce-product-collection .wc-block-components-product-name {
    font-size: 0.92rem !important;
  }

  body.single-product h1.wp-block-post-title,
  .woocommerce div.product h1.product_title {
    font-size: clamp(1.35rem, 6vw, 1.85rem) !important;
  }
}

/* ================================================================== */
/* UI del plugin (manual): toast, modal, eliminar carrito — unificado  */
/* El CSS del plugin va vacío a propósito: todo el look vive aquí.      */
/* ================================================================== */

@keyframes sistemapos-toast-in {
  from {
    opacity: 0;
    transform: translate(-50%, 14px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes sistemapos-toast-in-mobile {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sistemapos-toast[hidden],
.sistemapos-modal[hidden] {
  display: none !important;
  visibility: hidden !important;
}

.sistemapos-toast:not([hidden]) {
  position: fixed !important;
  left: 50% !important;
  bottom: 1.5rem !important;
  z-index: 100001 !important;
  transform: translate(-50%, 0) !important;
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  max-width: min(28rem, calc(100% - 2rem)) !important;
  padding: 0.95rem 1.25rem !important;
  background: var(--navy) !important;
  color: var(--ivory) !important;
  -webkit-text-fill-color: var(--ivory) !important;
  font-family: var(--ui) !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.02em !important;
  border: 0 !important;
  border-top: 2px solid var(--gold) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: var(--shadow-3) !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  pointer-events: auto !important;
  animation: sistemapos-toast-in 300ms var(--ease-out) both;
}

.sistemapos-toast__msg {
  flex: 1 !important;
  min-width: 0 !important;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  line-height: 1.45 !important;
}

.sistemapos-toast__mark {
  flex: 0 0 auto !important;
  width: 1.55rem !important;
  height: 1.55rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid var(--gold) !important;
  border-radius: var(--radius-full) !important;
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
  font-size: 0.75rem !important;
}

.sistemapos-toast__undo {
  border: 0 !important;
  background: var(--gold) !important;
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
  padding: 0.4rem 0.85rem !important;
  text-transform: uppercase !important;
  letter-spacing: var(--track-nav) !important;
  font-size: 0.68rem !important;
  font-family: var(--ui) !important;
  border-radius: var(--radius-full) !important;
  cursor: pointer !important;
}

.sistemapos-toast__undo:focus-visible,
.sistemapos-modal button:focus-visible,
.sistemapos-swatch:focus-visible {
  outline: 2px solid var(--gold) !important;
  outline-offset: 2px !important;
}

body.single-product .sistemapos-toast:not([hidden]),
body.woocommerce-cart .sistemapos-toast:not([hidden]) {
  bottom: auto !important;
  top: 5.5rem !important;
}

.sistemapos-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 100000 !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.25rem !important;
}

.sistemapos-modal:not([hidden]) {
  display: flex !important;
}

.sistemapos-modal__backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(11, 15, 26, 0.58) !important;
}

.sistemapos-modal__dialog {
  position: relative !important;
  width: min(28rem, 100%) !important;
  background: var(--ivory) !important;
  color: var(--navy) !important;
  border-radius: var(--radius-sm) !important;
  border: 0 !important;
  border-top: 2px solid var(--gold) !important;
  box-shadow: var(--shadow-3) !important;
  padding: 1.75rem 1.6rem 1.4rem !important;
}

.sistemapos-modal__title {
  margin: 0 0 0.75rem !important;
  font-family: var(--display) !important;
  font-weight: 500 !important;
  font-size: clamp(1.25rem, 2.4vw, 1.5rem) !important;
  color: var(--navy) !important;
}

.sistemapos-modal__message {
  margin: 0 0 1.25rem !important;
  font-family: var(--ui) !important;
  font-size: 0.92rem !important;
  line-height: 1.65 !important;
  color: var(--stone) !important;
}

.sistemapos-modal__actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.75rem !important;
  justify-content: flex-end !important;
}

.sistemapos-modal__adjust,
.sistemapos-modal__cancel {
  appearance: none !important;
  cursor: pointer !important;
  min-height: 48px !important;
  padding: 0.7rem 1.15rem !important;
  font-family: var(--ui) !important;
  font-size: 0.72rem !important;
  letter-spacing: var(--track-nav) !important;
  text-transform: uppercase !important;
}

.sistemapos-modal__adjust {
  background: var(--gold) !important;
  border: 0 !important;
  color: var(--navy-deep) !important;
  -webkit-text-fill-color: var(--navy-deep) !important;
  border-radius: var(--radius-full) !important;
}

.sistemapos-modal__cancel {
  background: transparent !important;
  border: 1px solid var(--hair) !important;
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
  border-radius: var(--radius-sm) !important;
}

/* Carrito / mini-carrito: overlays de tarjeta NO aplican; eliminar clickeable */
.wc-block-mini-cart__drawer .wc-block-components-product-image::before,
.wc-block-mini-cart__drawer .wc-block-components-product-image::after,
.wc-block-cart .wc-block-components-product-image::before,
.wc-block-cart .wc-block-components-product-image::after,
.wc-block-cart-item__image .wc-block-components-product-image::before,
.wc-block-cart-item__image .wc-block-components-product-image::after,
.wc-block-cart-item__image::before,
.wc-block-cart-item__image::after,
body.woocommerce-cart .wc-block-components-product-image::before,
body.woocommerce-cart .wc-block-components-product-image::after {
  content: none !important;
  display: none !important;
  background: none !important;
  pointer-events: none !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__quantity,
body.woocommerce-cart .wc-block-cart-item__quantity {
  position: relative !important;
  z-index: 30 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  pointer-events: auto !important;
  isolation: isolate;
}

.wc-block-mini-cart__drawer .wc-block-components-quantity-selector,
.wc-block-mini-cart__drawer .wc-block-components-quantity-selector *,
body.woocommerce-cart .wc-block-components-quantity-selector,
body.woocommerce-cart .wc-block-components-quantity-selector * {
  pointer-events: auto !important;
  position: relative !important;
  z-index: 31 !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__remove-link,
.wc-block-mini-cart__drawer .wc-block-cart-item__remove-link *,
.wc-block-mini-cart__drawer button.wc-block-cart-item__remove-link,
.wc-block-mini-cart-items .wc-block-cart-item__remove-link,
.wc-block-mini-cart__drawer .wc-block-cart-item__remove,
.wc-block-mini-cart__drawer a.remove,
.wc-block-mini-cart__drawer a.remove *,
body.woocommerce-cart .wc-block-cart-item__remove-link,
body.woocommerce-cart .wc-block-cart-item__remove-link *,
body.woocommerce-cart button.wc-block-cart-item__remove-link,
body.woocommerce-cart a.remove,
body.woocommerce-cart a.remove * {
  pointer-events: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 50 !important;
  cursor: pointer !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__remove-link,
body.woocommerce-cart .wc-block-cart-item__remove-link,
body.woocommerce-cart a.remove {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 44px !important;
  min-height: 44px !important;
  flex: 0 0 auto !important;
}

.woocommerce ul.products li.product .button:not(.added_to_cart):not(.emmy-view-cart),
.woocommerce ul.products li.product a.button:not(.added_to_cart):not(.emmy-view-cart),
.wc-block-components-product-button .wp-block-button__link:not(.added_to_cart):not(.emmy-view-cart),
.wc-block-components-product-button__button:not(.added_to_cart):not(.emmy-view-cart),
.wc-block-product .wp-block-woocommerce-product-button,
.wc-block-product .wc-block-components-product-button,
body.single-product .single_add_to_cart_button:not(.disabled):not(.wc-variation-selection-needed) {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
}

body.woocommerce-cart .wp-block-woocommerce-filled-cart-block:not([hidden]),
body.woocommerce-cart .wp-block-woocommerce-filled-cart-block:not([hidden]) .wc-block-cart-items,
body.woocommerce-cart .wp-block-woocommerce-filled-cart-block:not([hidden]) .wc-block-cart-items tbody {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block[hidden],
body.woocommerce-cart .wp-block-woocommerce-filled-cart-block[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  .sistemapos-toast:not([hidden]) {
    left: 1rem !important;
    right: 1rem !important;
    bottom: 1rem !important;
    max-width: none !important;
    transform: none !important;
    animation-name: sistemapos-toast-in-mobile !important;
  }

  body.single-product .sistemapos-toast:not([hidden]),
  body.woocommerce-cart .sistemapos-toast:not([hidden]) {
    top: 4.5rem !important;
    bottom: auto !important;
  }

  .sistemapos-modal__actions {
    flex-direction: column !important;
  }

  .sistemapos-modal__adjust,
  .sistemapos-modal__cancel {
    width: 100% !important;
  }
}

/* ================================================================== */
/* Mini-cart drawer — lookbook oscuro / oro (solo drawer, no header)   */
/* ================================================================== */

.wc-block-mini-cart__drawer,
.wc-block-components-drawer.wc-block-mini-cart__drawer {
  --emmy-mc-bg: #12151c;
  --emmy-mc-card: #1a1e28;
  --emmy-mc-line: rgba(201, 162, 39, 0.28);
  --emmy-mc-glow: rgba(201, 162, 39, 0.18);
  --emmy-mc-text: #f3ede3;
  --emmy-mc-muted: rgba(243, 237, 227, 0.62);
  --emmy-mc-gold: var(--gold);
  --emmy-mc-gold-soft: var(--gold-soft);
}

.wc-block-mini-cart__drawer .components-modal__content,
.wc-block-mini-cart__drawer .wc-block-components-drawer__content,
.wc-block-components-drawer__screen-overlay + .wc-block-components-drawer,
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-contents,
.wc-block-mini-cart__drawer .wp-block-woocommerce-filled-mini-cart-contents-block,
.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block {
  background: var(--emmy-mc-bg, #12151c) !important;
  color: var(--emmy-mc-text, #f3ede3) !important;
  -webkit-text-fill-color: var(--emmy-mc-text, #f3ede3) !important;
  border: 0 !important;
  box-shadow: -18px 0 48px rgba(0, 0, 0, 0.45) !important;
}

.wc-block-mini-cart__drawer .wc-block-components-drawer__close,
.wc-block-mini-cart__drawer .components-button[aria-label*="Cerrar"],
.wc-block-mini-cart__drawer .components-button[aria-label*="Close"] {
  color: var(--emmy-mc-gold-soft) !important;
  -webkit-text-fill-color: var(--emmy-mc-gold-soft) !important;
}

.wc-block-mini-cart__drawer .wc-block-components-drawer__close svg,
.wc-block-mini-cart__drawer .components-button[aria-label*="Cerrar"] svg,
.wc-block-mini-cart__drawer .components-button[aria-label*="Close"] svg {
  fill: currentColor !important;
}

/* Marca + título */
.wc-block-mini-cart__drawer .wc-block-mini-cart__title,
.wc-block-mini-cart__drawer h2.wc-block-mini-cart__title {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.55rem !important;
  margin: 0.35rem 0 1.25rem !important;
  padding: 0 0.15rem !important;
  font-family: var(--display) !important;
  font-size: 1.55rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.2 !important;
  color: var(--emmy-mc-gold) !important;
  -webkit-text-fill-color: var(--emmy-mc-gold) !important;
  text-transform: none !important;
}

.wc-block-mini-cart__drawer .emmy-mini-close {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  inset: auto !important;
  margin-left: auto !important;
}

.emmy-mini-cart-label {
  display: block;
  font-size: 1.7rem;
  line-height: 1.35;
  color: #e4cd8a;
  -webkit-text-fill-color: #e4cd8a;
  opacity: 1;
  visibility: visible;
}

.wc-block-mini-cart__drawer .emmy-mini-title {
  display: none !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__title::before {
  content: "emmy";
  display: block;
  font-family: var(--display) !important;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  color: var(--emmy-mc-text) !important;
  -webkit-text-fill-color: var(--emmy-mc-text) !important;
  text-transform: lowercase !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__title span,
.wc-block-mini-cart__drawer .wc-block-mini-cart__title strong {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  font-weight: inherit !important;
}

/* Filas = tarjetas */
.wc-block-mini-cart__drawer .wc-block-cart-items,
.wc-block-mini-cart__drawer .wc-block-mini-cart-items,
.wc-block-mini-cart__drawer table.wc-block-cart-items {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.85rem !important;
  width: 100% !important;
  border: 0 !important;
  background: transparent !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-items thead,
.wc-block-mini-cart__drawer .wc-block-cart-items__header {
  display: none !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-items__row {
  display: grid !important;
  grid-template-columns: 72px minmax(0, 1fr) auto !important;
  grid-template-areas:
    "image product total"
    "image quantity quantity" !important;
  gap: 0.55rem 0.85rem !important;
  align-items: start !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0.85rem !important;
  background: var(--emmy-mc-card) !important;
  border: 1px solid var(--emmy-mc-line) !important;
  border-radius: 12px !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 0 18px var(--emmy-mc-glow) !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__image {
  grid-area: image !important;
  width: 72px !important;
  margin: 0 !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__image img,
.wc-block-mini-cart__drawer .wc-block-components-product-image img {
  display: block !important;
  width: 72px !important;
  height: 72px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  background: #0b0f1a !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__product {
  grid-area: product !important;
  min-width: 0 !important;
  padding: 0 !important;
}

.wc-block-mini-cart__drawer .wc-block-components-product-name,
.wc-block-mini-cart__drawer .wc-block-components-product-name a {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
  margin: 0 0 0.35rem !important;
  font-family: var(--ui) !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  color: var(--emmy-mc-gold-soft) !important;
  -webkit-text-fill-color: var(--emmy-mc-gold-soft) !important;
  text-decoration: none !important;
}

.wc-block-mini-cart__drawer .wc-block-components-product-metadata,
.wc-block-mini-cart__drawer .wc-block-components-product-details,
.wc-block-mini-cart__drawer .wc-block-components-product-details__name,
.wc-block-mini-cart__drawer .wc-block-components-product-details__value,
.wc-block-mini-cart__drawer .wc-block-components-product-metadata__description {
  font-family: var(--ui) !important;
  font-size: 0.72rem !important;
  line-height: 1.4 !important;
  color: var(--emmy-mc-muted) !important;
  -webkit-text-fill-color: var(--emmy-mc-muted) !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__prices,
.wc-block-mini-cart__drawer .wc-block-components-product-price {
  margin: 0.2rem 0 0 !important;
  font-family: var(--ui) !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: var(--emmy-mc-gold) !important;
  -webkit-text-fill-color: var(--emmy-mc-gold) !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__total {
  grid-area: total !important;
  justify-self: end !important;
  text-align: right !important;
  padding: 0 !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__total .wc-block-components-product-price,
.wc-block-mini-cart__drawer .wc-block-cart-item__total .price {
  font-size: 0.95rem !important;
  font-weight: 650 !important;
  color: var(--emmy-mc-gold) !important;
  -webkit-text-fill-color: var(--emmy-mc-gold) !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__quantity {
  grid-area: quantity !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.65rem !important;
  width: 100% !important;
  margin-top: 0.15rem !important;
}

.wc-block-mini-cart__drawer .wc-block-components-quantity-selector {
  display: inline-flex !important;
  align-items: stretch !important;
  min-height: 34px !important;
  border: 1px solid var(--emmy-mc-line) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #0f131b !important;
}

.wc-block-mini-cart__drawer .wc-block-components-quantity-selector__button,
.wc-block-mini-cart__drawer .wc-block-components-quantity-selector input {
  border: 0 !important;
  background: transparent !important;
  color: var(--emmy-mc-text) !important;
  -webkit-text-fill-color: var(--emmy-mc-text) !important;
  box-shadow: none !important;
}

.wc-block-mini-cart__drawer .wc-block-components-quantity-selector__button {
  width: 34px !important;
  min-width: 34px !important;
  color: var(--emmy-mc-gold-soft) !important;
  -webkit-text-fill-color: var(--emmy-mc-gold-soft) !important;
}

.wc-block-mini-cart__drawer .wc-block-components-quantity-selector input {
  width: 2.2rem !important;
  min-width: 2.2rem !important;
  text-align: center !important;
  font-weight: 600 !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__remove-link,
.wc-block-mini-cart__drawer button.wc-block-cart-item__remove-link {
  color: var(--emmy-mc-muted) !important;
  -webkit-text-fill-color: var(--emmy-mc-muted) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__remove-link:hover,
.wc-block-mini-cart__drawer button.wc-block-cart-item__remove-link:hover {
  color: var(--emmy-mc-gold) !important;
  -webkit-text-fill-color: var(--emmy-mc-gold) !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__remove-link svg {
  fill: currentColor !important;
  width: 18px !important;
  height: 18px !important;
}

/* Banner envío gratis (inyectado por theme-js) */
.wc-block-mini-cart__drawer .emmy-mini-shipping {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 1rem 0 0.35rem;
  padding: 0.85rem 1rem;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--emmy-mc-line);
  background:
    radial-gradient(120% 80% at 15% 50%, rgba(201, 162, 39, 0.35), transparent 55%),
    linear-gradient(105deg, #161a24 0%, #1d2330 45%, #141821 100%);
  color: var(--emmy-mc-gold-soft);
  font-family: var(--ui);
  font-size: 0.78rem;
  line-height: 1.35;
}

.wc-block-mini-cart__drawer .emmy-mini-shipping::after {
  content: "";
  position: absolute;
  inset: auto -20% 0 auto;
  width: 70%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(220, 194, 122, 0.35), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
  opacity: 0.75;
}

.wc-block-mini-cart__drawer .emmy-mini-shipping__icon {
  flex: 0 0 auto;
  font-size: 1.05rem;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.wc-block-mini-cart__drawer .emmy-mini-shipping__text {
  position: relative;
  z-index: 1;
  color: var(--emmy-mc-gold-soft);
}

/* Footer */
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer {
  margin-top: auto !important;
  padding-top: 1rem !important;
  border-top: 1px solid var(--emmy-mc-line) !important;
  background: transparent !important;
}

.wc-block-mini-cart__drawer .wc-block-components-totals-item,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-subtotal {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  margin: 0 0 0.45rem !important;
  color: var(--emmy-mc-text) !important;
}

.wc-block-mini-cart__drawer .wc-block-components-totals-item__label,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-components-totals-item__label {
  font-family: var(--ui) !important;
  font-size: 0.95rem !important;
  color: var(--emmy-mc-text) !important;
  -webkit-text-fill-color: var(--emmy-mc-text) !important;
}

.wc-block-mini-cart__drawer .wc-block-components-totals-item__value,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-components-totals-item__value,
.wc-block-mini-cart__drawer .wc-block-components-product-price {
  font-family: var(--ui) !important;
  font-size: 1.15rem !important;
  font-weight: 650 !important;
  color: var(--emmy-mc-gold) !important;
  -webkit-text-fill-color: var(--emmy-mc-gold) !important;
}

.wc-block-mini-cart__drawer .wc-block-components-totals-item__description,
.wc-block-mini-cart__drawer .wc-block-components-totals-shipping__description {
  color: var(--emmy-mc-muted) !important;
  -webkit-text-fill-color: var(--emmy-mc-muted) !important;
  font-size: 0.72rem !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.65rem !important;
  margin-top: 0.85rem !important;
}

/* Checkout = primario oro; Ver carrito = secundario */
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-components-button,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a.wc-block-components-button,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wp-block-button__link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  width: 100% !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0.9rem 1.2rem !important;
  border-radius: 999px !important;
  font-family: var(--ui) !important;
  font-size: 0.72rem !important;
  font-weight: 650 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-components-button:not(.outlined):not(.is-link),
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a.contained,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-cart__submit-button,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a[href*="finalizar"],
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a[href*="checkout"] {
  order: 1 !important;
  background: linear-gradient(90deg, #b48f1c 0%, #dcc27a 52%, #c9a227 100%) !important;
  color: #0b0f1a !important;
  -webkit-text-fill-color: #0b0f1a !important;
  border: 0 !important;
  box-shadow: 0 8px 22px rgba(201, 162, 39, 0.28) !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-components-button.outlined,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a.outlined,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a[href*="carrito"]:not([href*="finalizar"]),
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a[href*="/cart"]:not([href*="checkout"]) {
  order: 2 !important;
  background: transparent !important;
  color: var(--emmy-mc-gold-soft) !important;
  -webkit-text-fill-color: var(--emmy-mc-gold-soft) !important;
  border: 1px solid var(--emmy-mc-line) !important;
}

/* Vacío */
.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block p,
.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block h2,
.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block .wp-block-heading {
  color: var(--emmy-mc-text) !important;
  -webkit-text-fill-color: var(--emmy-mc-text) !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block .wp-block-button__link,
.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block a.wc-block-components-button {
  background: linear-gradient(90deg, #b48f1c 0%, #dcc27a 52%, #c9a227 100%) !important;
  color: #0b0f1a !important;
  -webkit-text-fill-color: #0b0f1a !important;
  border-radius: 999px !important;
}

@media (max-width: 640px) {
  .wc-block-mini-cart__drawer .wc-block-cart-items__row {
    grid-template-columns: 64px minmax(0, 1fr) auto !important;
  }

  .wc-block-mini-cart__drawer .wc-block-cart-item__image img,
  .wc-block-mini-cart__drawer .wc-block-components-product-image img {
    width: 64px !important;
    height: 64px !important;
  }
}

/* ================================================================== */
/* FASE 1 — bugs críticos (sin rediseño)                               */
/* ================================================================== */

/* 1–2. Mini-cart: cerrado NUNCA captura clics (ni hijos) */
.wc-block-components-drawer__screen-overlay {
  z-index: 100040 !important;
}

.wc-block-components-drawer__screen-overlay--is-hidden,
.wc-block-components-drawer__screen-overlay[aria-hidden="true"] {
  pointer-events: none !important;
  visibility: hidden !important;
}

.wc-block-components-drawer__screen-overlay--is-hidden *,
.wc-block-components-drawer__screen-overlay[aria-hidden="true"] * {
  pointer-events: none !important;
}

.wc-block-mini-cart__drawer,
.wc-block-components-drawer.wc-block-mini-cart__drawer,
.wc-block-components-drawer__screen-overlay + .wc-block-components-drawer.wc-block-mini-cart__drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  bottom: 0 !important;
  width: min(100%, 420px) !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100dvh !important;
  z-index: 100050 !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

.wc-block-components-drawer__screen-overlay--is-hidden .wc-block-mini-cart__drawer,
.wc-block-components-drawer__screen-overlay--is-hidden .wc-block-components-drawer,
.wc-block-mini-cart__drawer[aria-hidden="true"],
.wc-block-components-drawer.wc-block-mini-cart__drawer[aria-hidden="true"] {
  pointer-events: none !important;
  visibility: hidden !important;
  width: 0 !important;
  max-width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

.wc-block-components-drawer__screen-overlay--is-hidden .wc-block-mini-cart__drawer *,
.wc-block-components-drawer__screen-overlay--is-hidden .wc-block-components-drawer *,
.wc-block-mini-cart__drawer[aria-hidden="true"] *,
.wc-block-components-drawer.wc-block-mini-cart__drawer[aria-hidden="true"] * {
  pointer-events: none !important;
}

.wc-block-mini-cart__drawer .wc-block-components-drawer__content,
.wc-block-mini-cart__drawer .components-modal__content,
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-contents,
.wc-block-mini-cart__drawer .wp-block-woocommerce-filled-mini-cart-contents-block,
.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-items,
.wc-block-mini-cart__drawer .wc-block-mini-cart-items,
.wc-block-mini-cart__drawer .wc-block-cart-items__row,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer,
.wc-block-mini-cart__drawer .wc-block-components-totals-item {
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__total,
.wc-block-mini-cart__drawer .wc-block-components-totals-item__value {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
}

.wc-block-mini-cart__drawer .wc-block-components-drawer__close,
.wc-block-mini-cart__drawer button.components-button[aria-label*="Cerrar"],
.wc-block-mini-cart__drawer button.components-button[aria-label*="Close"],
.wc-block-mini-cart__drawer .components-modal__header .components-button {
  position: absolute !important;
  top: 0.65rem !important;
  right: 0.65rem !important;
  z-index: 60 !important;
  width: 2.25rem !important;
  height: 2.25rem !important;
  margin: 0 !important;
  background: rgba(18, 21, 28, 0.92) !important;
  border: 1px solid var(--emmy-mc-line, rgba(201, 162, 39, 0.28)) !important;
  border-radius: 999px !important;
  color: var(--emmy-mc-gold-soft, #dcc27a) !important;
  -webkit-text-fill-color: var(--emmy-mc-gold-soft, #dcc27a) !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__title,
.wc-block-mini-cart__drawer h2.wc-block-mini-cart__title {
  padding-right: 2.75rem !important;
}

@media (max-width: 640px) {
  .wc-block-mini-cart__drawer,
  .wc-block-components-drawer.wc-block-mini-cart__drawer {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100dvh !important;
    min-height: 100dvh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .wc-block-mini-cart__drawer .wc-block-components-drawer__content,
  .wc-block-mini-cart__drawer .components-modal__content,
  .wc-block-mini-cart__drawer .wp-block-woocommerce-filled-mini-cart-contents-block,
  .wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-x: hidden !important;
  }

  .wc-block-mini-cart__drawer .wc-block-cart-items__row {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    grid-template-areas:
      "image product"
      "image quantity" !important;
  }

  .wc-block-mini-cart__drawer .wc-block-cart-item__total {
    grid-area: product !important;
    justify-self: start !important;
    text-align: left !important;
    margin-top: 0.15rem !important;
  }
}

/* 3. Nombre duplicado en ítems de carrito / mini-cart */
.wc-block-mini-cart__drawer .wc-block-cart-item__product .wc-block-components-product-name + .wc-block-components-product-name,
body.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name + .wc-block-components-product-name,
.wc-block-mini-cart__drawer .wc-block-components-product-details__item.is-emmy-dup-name,
body.woocommerce-cart .wc-block-components-product-details__item.is-emmy-dup-name,
.wc-block-mini-cart__drawer .wc-block-components-product-name.is-emmy-dup-name,
body.woocommerce-cart .wc-block-components-product-name.is-emmy-dup-name {
  display: none !important;
}

/* Evitar que estilos globales de catálogo rompan el nombre en carrito */
.wc-block-mini-cart__drawer .wc-block-components-product-name,
.wc-block-mini-cart__drawer .wc-block-components-product-name a,
body.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name,
body.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name a {
  min-height: 0 !important;
  max-height: none !important;
  width: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* 4. Search: placeholder marca si no hay imagen */
.emmy-search-card__media:not(:has(img)),
.emmy-search-card__media.is-emmy-placeholder,
body.search .wp-block-post-featured-image:not(:has(img)),
body.search .wc-block-components-product-image:not(:has(img)),
body.search ul.products li.product > a:first-of-type:not(:has(img)) {
  position: relative;
  background: var(--navy) !important;
}

.emmy-search-card__media:not(:has(img))::after,
.emmy-search-card__media.is-emmy-placeholder::after,
body.search .wp-block-post-featured-image:not(:has(img))::after,
body.search .wc-block-components-product-image:not(:has(img))::after,
body.search ul.products li.product > a:first-of-type:not(:has(img))::after {
  content: "EMMY";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  background: var(--navy);
}

.emmy-search-card__media img[src=""],
.emmy-search-card__media img:not([src]) {
  display: none !important;
}

/* 5. Comentarios solo en blog/single post — ocultos en tienda */
body.woocommerce .wp-block-comments,
body.woocommerce .wp-block-post-comments,
body.woocommerce .wp-block-post-comments-form,
body.woocommerce .comment-respond,
body.woocommerce #comments,
body.woocommerce #respond,
body.woocommerce .comments-area,
body.post-type-archive-product .wp-block-comments,
body.post-type-archive-product .comment-respond,
body.tax-product_cat .wp-block-comments,
body.tax-product_cat .comment-respond,
body.tax-product_tag .wp-block-comments,
body.woocommerce-shop .wp-block-comments,
body.woocommerce-cart .wp-block-comments,
body.woocommerce-checkout .wp-block-comments,
body.woocommerce-account .wp-block-comments,
body.single-product .wp-block-comments,
body.single-product .comment-respond,
body.single-product #respond {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-post .wp-block-comments,
body.single-post .comment-respond,
body.single-post #respond,
body.blog .wp-block-comments {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  overflow: visible !important;
}

/* ================================================================== */
/* Emmy impact — filtros joya, cards animadas, header fijo, alerts    */
/* ================================================================== */

/* Header: sticky pero sin tapar tienda; altura real vía --emmy-header-h */
.wp-site-blocks > header,
header.wp-block-template-part,
.elementor-location-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

body.post-type-archive-product .wp-site-blocks > main,
body.woocommerce-shop .wp-site-blocks > main,
body.tax-product_cat .wp-site-blocks > main,
body.tax-product_tag .wp-site-blocks > main,
body.post-type-archive-product main,
body.woocommerce-shop main {
  position: relative;
  z-index: 1;
  padding-top: 0.85rem;
  clear: both;
}

body.post-type-archive-product .sistemapos-shop-filters,
body.woocommerce-shop .sistemapos-shop-filters,
body.tax-product_cat .sistemapos-shop-filters,
.emmy-shop > .wp-block-column:first-child {
  scroll-margin-top: calc(var(--emmy-header-h, 96px) + 16px);
}

.admin-bar .wp-site-blocks > header,
.admin-bar header.wp-block-template-part,
.admin-bar .elementor-location-header {
  top: 32px !important;
}

@media screen and (max-width: 782px) {
  .admin-bar .wp-site-blocks > header,
  .admin-bar header.wp-block-template-part,
  .admin-bar .elementor-location-header {
    top: 46px !important;
  }
}

.wp-site-blocks > header .wp-block-navigation,
.wp-site-blocks > header .wp-block-navigation__container,
.wp-site-blocks > header .wp-block-search,
.wp-site-blocks > header .wc-block-mini-cart,
header.wp-block-template-part .wp-block-navigation,
header.wp-block-template-part .wp-block-search {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  max-height: none !important;
}

body.emmy-header-compact .wp-site-blocks > header .wp-block-navigation-item,
body.emmy-header-compact header.wp-block-template-part .wp-block-navigation-item {
  opacity: 1 !important;
  transform: none !important;
}

/* Filtros: marco doble oro + esquinas (todas las plantillas / widgets) */
.sistemapos-shop-filters,
.emmy-filters,
.emmy-shop > .wp-block-column:first-child,
.widget_layered_nav,
.widget_price_filter,
.widget_product_categories,
.wp-block-woocommerce-product-filters,
.wp-block-woocommerce-filter-wrapper,
aside.widget-area .widget:has(.wc-block-checkbox-list),
aside.widget-area .widget:has(.wc-block-price-filter) {
  position: relative;
}

.sistemapos-shop-filters::before,
.emmy-filters::before,
.emmy-shop > .wp-block-column:first-child::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  pointer-events: none;
  z-index: 0;
}

.sistemapos-shop-filters::after,
.emmy-filters::after,
.emmy-shop > .wp-block-column:first-child::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  top: 4px;
  left: 4px;
  border-top: 1.5px solid var(--gold);
  border-left: 1.5px solid var(--gold);
  pointer-events: none;
  z-index: 1;
  box-shadow:
    calc(100% - 22px) 0 0 -12px transparent,
    0 calc(100% - 22px) 0 -12px transparent;
  background:
    linear-gradient(var(--gold), var(--gold)) top right / 14px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) top right / 1.5px 14px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom left / 14px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom left / 1.5px 14px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom right / 14px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom right / 1.5px 14px no-repeat;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
}

.sistemapos-shop-filters > *,
.emmy-filters > *,
.emmy-shop > .wp-block-column:first-child > * {
  position: relative;
  z-index: 2;
}

.wp-block-woocommerce-filter-wrapper,
.wp-block-woocommerce-product-filters,
.wc-block-attribute-filter,
.wc-block-price-filter,
.wc-block-stock-filter,
.wp-block-woocommerce-product-filter-price,
.widget_layered_nav,
.widget_price_filter,
.widget_product_categories {
  background: linear-gradient(180deg, #fbf8f2 0%, var(--ivory) 100%);
  border: 1px solid rgba(201, 162, 39, 0.55);
  box-shadow: inset 0 0 0 3px rgba(243, 237, 227, 0.95), inset 0 0 0 4px rgba(201, 162, 39, 0.55);
  padding: 1rem 1.1rem 1.15rem !important;
  margin: 0 0 1.1rem !important;
}

.sistemapos-shop-filters .sistemapos-shop-filters__cats li,
.sistemapos-shop-filters .wc-block-checkbox-list li,
.emmy-filters .wc-block-checkbox-list li,
.widget_product_categories li,
.wc-block-product-categories-list-item,
.wp-block-categories-list .wp-block-categories-list-item {
  transition: transform 0.28s var(--ease);
  border-radius: 2px;
  padding: 0.28rem 0.15rem !important;
}

.sistemapos-shop-filters .sistemapos-shop-filters__cats li:hover,
.sistemapos-shop-filters .wc-block-checkbox-list li:hover,
.emmy-filters .wc-block-checkbox-list li:hover,
.widget_product_categories li:hover,
.wc-block-product-categories-list-item:hover,
.wp-block-categories-list .wp-block-categories-list-item:hover {
  transform: none;
}

.sistemapos-shop-filters .sistemapos-shop-filters__cats li:hover a::before,
.widget_product_categories li:hover > a::before,
.wc-block-product-categories-list-item:hover a::before,
.wp-block-categories-list .wp-block-categories-list-item:hover a::before {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
}

.sistemapos-shop-filters .wc-block-checkbox-list li:hover input[type="checkbox"],
.emmy-filters .wc-block-checkbox-list li:hover input[type="checkbox"],
.wc-block-attribute-filter-list li:hover input[type="checkbox"] {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
}

@media (min-width: 961px) {
  .sistemapos-shop-filters,
  .emmy-filters,
  .emmy-shop > .wp-block-column:first-child {
    position: sticky !important;
    top: calc(var(--emmy-header-h, 96px) + 16px) !important;
  }

  .admin-bar .sistemapos-shop-filters,
  .admin-bar .emmy-filters,
  .admin-bar .emmy-shop > .wp-block-column:first-child {
    top: calc(var(--emmy-header-h, 96px) + 16px) !important;
  }
}

/* --- Cards: animación CSS siempre (sin depender solo de JS) --- */
@keyframes emmy-card-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes emmy-range-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.45);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(201, 162, 39, 0);
    transform: scale(1.12);
  }
}

body.post-type-archive-product .woocommerce ul.products li.product,
body.woocommerce-shop .woocommerce ul.products li.product,
body.tax-product_cat .woocommerce ul.products li.product,
body.tax-product_tag .woocommerce ul.products li.product,
body.post-type-archive-product .wc-block-product-template > .wc-block-product,
body.woocommerce-shop .wc-block-product-template > .wc-block-product,
body.tax-product_cat .wc-block-product-template > .wc-block-product,
.emmy-shop .wc-block-product-template > .wc-block-product,
.wc-block-grid__products > .wc-block-grid__product {
  animation: emmy-card-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

body.post-type-archive-product .woocommerce ul.products li.product:nth-child(1),
body.woocommerce-shop .wc-block-product-template > .wc-block-product:nth-child(1),
.emmy-shop .wc-block-product-template > .wc-block-product:nth-child(1) { animation-delay: 0.04s; }
body.post-type-archive-product .woocommerce ul.products li.product:nth-child(2),
body.woocommerce-shop .wc-block-product-template > .wc-block-product:nth-child(2),
.emmy-shop .wc-block-product-template > .wc-block-product:nth-child(2) { animation-delay: 0.1s; }
body.post-type-archive-product .woocommerce ul.products li.product:nth-child(3),
body.woocommerce-shop .wc-block-product-template > .wc-block-product:nth-child(3),
.emmy-shop .wc-block-product-template > .wc-block-product:nth-child(3) { animation-delay: 0.16s; }
body.post-type-archive-product .woocommerce ul.products li.product:nth-child(4),
body.woocommerce-shop .wc-block-product-template > .wc-block-product:nth-child(4),
.emmy-shop .wc-block-product-template > .wc-block-product:nth-child(4) { animation-delay: 0.22s; }
body.post-type-archive-product .woocommerce ul.products li.product:nth-child(5),
body.woocommerce-shop .wc-block-product-template > .wc-block-product:nth-child(5),
.emmy-shop .wc-block-product-template > .wc-block-product:nth-child(5) { animation-delay: 0.28s; }
body.post-type-archive-product .woocommerce ul.products li.product:nth-child(6),
body.woocommerce-shop .wc-block-product-template > .wc-block-product:nth-child(6),
.emmy-shop .wc-block-product-template > .wc-block-product:nth-child(6) { animation-delay: 0.34s; }
body.post-type-archive-product .woocommerce ul.products li.product:nth-child(7),
body.woocommerce-shop .wc-block-product-template > .wc-block-product:nth-child(7),
.emmy-shop .wc-block-product-template > .wc-block-product:nth-child(7) { animation-delay: 0.4s; }
body.post-type-archive-product .woocommerce ul.products li.product:nth-child(8),
body.woocommerce-shop .wc-block-product-template > .wc-block-product:nth-child(8),
.emmy-shop .wc-block-product-template > .wc-block-product:nth-child(8) { animation-delay: 0.46s; }
body.post-type-archive-product .woocommerce ul.products li.product:nth-child(n + 9),
body.woocommerce-shop .wc-block-product-template > .wc-block-product:nth-child(n + 9),
.emmy-shop .wc-block-product-template > .wc-block-product:nth-child(n + 9) { animation-delay: 0.52s; }

.woocommerce ul.products li.product.emmy-card-in,
.wc-block-product.emmy-card-in,
.wc-block-grid__product.emmy-card-in,
.sistemapos-product-card.emmy-card-in {
  animation-name: emmy-card-rise;
}

.woocommerce ul.products li.product:hover,
.wc-block-product:hover,
.wc-block-grid__product:hover,
.sistemapos-product-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.15) !important;
}

.woocommerce ul.products li.product > a:first-of-type:has(img),
.wc-block-components-product-image,
.sistemapos-card-media {
  overflow: hidden !important;
}

.woocommerce ul.products li.product:hover a img,
.woocommerce ul.products li.product:hover img,
.wc-block-product:hover img,
.sistemapos-product-card:hover img {
  transform: scale(1.05) !important;
  transition: transform 0.4s ease !important;
}

/* Botón: dorado solo al hover del botón (no sheen en card) */
.woocommerce ul.products li.product .button:not(.added_to_cart):not(.emmy-view-cart),
.woocommerce ul.products li.product a.button:not(.added_to_cart):not(.emmy-view-cart),
.wc-block-components-product-button .wp-block-button__link:not(.added_to_cart):not(.emmy-view-cart),
.wc-block-components-product-button__button:not(.added_to_cart):not(.emmy-view-cart) {
  transition: background 0.3s ease, color 0.3s ease, -webkit-text-fill-color 0.3s ease !important;
}

/* --- 6. Slider precio: pulso al arrastrar --- */
.sistemapos-shop-filters__price input[type="range"]::-webkit-slider-thumb,
.wc-block-price-filter__range-input::-webkit-slider-thumb,
.wc-block-components-price-slider input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(11, 15, 26, 0.2);
  cursor: grab;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sistemapos-shop-filters__price input[type="range"]:active::-webkit-slider-thumb,
.sistemapos-shop-filters__price input[type="range"].is-emmy-dragging::-webkit-slider-thumb,
.wc-block-price-filter__range-input:active::-webkit-slider-thumb,
.wc-block-components-price-slider input[type="range"]:active::-webkit-slider-thumb {
  animation: emmy-range-pulse 0.55s ease-out 1;
  cursor: grabbing;
}

.sistemapos-shop-filters__price input[type="range"]::-moz-range-thumb,
.wc-block-price-filter__range-input::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(11, 15, 26, 0.2);
  cursor: grab;
}

.sistemapos-shop-filters__price input[type="range"]:active::-moz-range-thumb,
.sistemapos-shop-filters__price input[type="range"].is-emmy-dragging::-moz-range-thumb {
  animation: emmy-range-pulse 0.55s ease-out 1;
}

@media (prefers-reduced-motion: reduce) {
  .woocommerce ul.products li.product,
  .wc-block-product,
  .wc-block-grid__product,
  .sistemapos-product-card {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .sistemapos-shop-filters__price input[type="range"]:active::-webkit-slider-thumb,
  .sistemapos-shop-filters__price input[type="range"].is-emmy-dragging::-webkit-slider-thumb {
    animation: none !important;
  }
}

/* Toasts: más cortos visualmente + botón X */
.sistemapos-toast:not([hidden]) {
  padding-right: 2.6rem !important;
  gap: 0.75rem !important;
}

.sistemapos-toast .emmy-toast-close {
  position: absolute !important;
  top: 50% !important;
  right: 0.55rem !important;
  transform: translateY(-50%) !important;
  width: 1.7rem !important;
  height: 1.7rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(220, 194, 122, 0.45) !important;
  background: transparent !important;
  color: var(--gold-soft) !important;
  -webkit-text-fill-color: var(--gold-soft) !important;
  font-size: 1.15rem !important;
  line-height: 1 !important;
  cursor: pointer !important;
  border-radius: var(--radius-sm) !important;
  padding: 0 !important;
  z-index: 2 !important;
  flex: 0 0 auto !important;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.sistemapos-toast .emmy-toast-close:hover {
  background: rgba(220, 194, 122, 0.15) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.sistemapos-toast.is-emmy-leaving {
  opacity: 0 !important;
  transform: translate(-50%, 10px) !important;
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out) !important;
}

/* Consistencia plantillas: títulos catálogo / archivo */
body.post-type-archive-product .woocommerce-products-header__title,
body.tax-product_cat .woocommerce-products-header__title,
body.tax-product_tag .woocommerce-products-header__title,
.emmy-shop .wp-block-heading:first-child,
body.woocommerce-shop .wp-block-heading.emmy-shop-title {
  font-family: var(--display) !important;
  letter-spacing: 0.02em;
  text-align: center;
  position: relative;
  padding-bottom: 0.85rem;
}

body.post-type-archive-product .woocommerce-products-header__title::after,
body.tax-product_cat .woocommerce-products-header__title::after,
.emmy-shop .wp-block-heading:first-child::after,
body.woocommerce-shop .wp-block-heading.emmy-shop-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 3.2rem;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Paginación más joya (todas las plantillas shop) */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span,
.wc-block-pagination-page {
  border-color: rgba(201, 162, 39, 0.45) !important;
  color: var(--navy) !important;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.wc-block-pagination-page--active,
.wc-block-pagination-page:hover {
  background: transparent !important;
  color: var(--gold) !important;
  border-color: var(--gold) !important;
  box-shadow: inset 0 0 0 1px var(--gold);
}

/* ================================================================== */
/* FASE 2 + 3 — microinteracciones premium + polish                    */
/* ================================================================== */

/* Header: transición suave de fondo/texto */
.wp-site-blocks > header,
header.wp-block-template-part,
.elementor-location-header {
  transition:
    background-color 250ms ease,
    background-image 250ms ease,
    box-shadow 250ms ease,
    color 250ms ease,
    backdrop-filter 250ms ease !important;
}

.wp-site-blocks > header a,
header.wp-block-template-part a,
.elementor-location-header a,
header .wp-block-navigation-item__label {
  transition: color 250ms ease !important;
}

/* Search: expandir al focus */
header .wp-block-search .wp-block-search__inside-wrapper,
header form.search-form,
header form.woocommerce-product-search {
  transition: max-width 280ms var(--ease-out), width 280ms var(--ease-out), box-shadow 250ms ease;
  max-width: 220px;
}

header .wp-block-search .wp-block-search__inside-wrapper:focus-within,
header form.search-form:focus-within,
header form.woocommerce-product-search:focus-within {
  max-width: 300px;
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.45);
}

/* Cards: CTA se desliza desde abajo al hover (desktop) */
@media (hover: hover) and (min-width: 782px) {
  .woocommerce ul.products li.product .button:not(.added_to_cart):not(.wc-forward):not(.emmy-view-cart),
  .woocommerce ul.products li.product a.button:not(.added_to_cart):not(.wc-forward):not(.emmy-view-cart),
  .wc-block-components-product-button .wp-block-button__link:not(.added_to_cart):not(.wc-forward):not(.emmy-view-cart),
  .wc-block-components-product-button__button:not(.added_to_cart):not(.wc-forward):not(.emmy-view-cart),
  .wc-block-product .wc-block-components-product-button .wp-block-button__link:not(.added_to_cart),
  .wc-block-product .wc-block-components-product-button__button:not(.added_to_cart) {
    opacity: 0 !important;
    transform: translateY(12px) !important;
    pointer-events: none !important;
    transition:
      opacity 350ms ease,
      transform 350ms ease,
      background 0.3s ease,
      color 0.3s ease !important;
  }

  .woocommerce ul.products li.product:hover .button:not(.added_to_cart):not(.wc-forward):not(.emmy-view-cart),
  .woocommerce ul.products li.product:hover a.button:not(.added_to_cart):not(.wc-forward):not(.emmy-view-cart),
  .wc-block-product:hover .wc-block-components-product-button .wp-block-button__link:not(.added_to_cart),
  .wc-block-product:hover .wc-block-components-product-button__button:not(.added_to_cart),
  .woocommerce ul.products li.product .button:not(.added_to_cart):focus-visible,
  .wc-block-product .wc-block-components-product-button__button:not(.added_to_cart):focus-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }
}

/* Agotado */
.woocommerce ul.products li.product.outofstock img,
.woocommerce ul.products li.product.is-emmy-oos img,
.wc-block-product.outofstock img,
.wc-block-product.is-emmy-oos img,
.sistemapos-product-card.is-emmy-oos img {
  opacity: 0.55 !important;
  filter: grayscale(0.35);
}

.sistemapos-oos-badge--card,
.woocommerce ul.products li.product.is-emmy-oos .sistemapos-oos-badge,
.wc-block-product.is-emmy-oos .sistemapos-oos-badge {
  background: rgba(11, 15, 26, 0.55) !important;
  color: rgba(220, 194, 122, 0.72) !important;
  -webkit-text-fill-color: rgba(220, 194, 122, 0.72) !important;
  border: 1px solid rgba(201, 162, 39, 0.35);
}

.woocommerce ul.products li.product.is-emmy-oos .button,
.woocommerce ul.products li.product.outofstock .button,
.wc-block-product.is-emmy-oos .wc-block-components-product-button__button,
.wc-block-product.outofstock .wc-block-components-product-button__button {
  cursor: not-allowed !important;
  opacity: 0.55 !important;
}

/* Lazy fade-in imágenes */
img.emmy-img-fade {
  opacity: 0;
  transition: opacity 400ms ease;
}

img.emmy-img-fade.is-emmy-loaded {
  opacity: 1;
}

/* Add to cart loading / check visual */
.emmy-atc-loading {
  position: relative !important;
  pointer-events: none !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

.emmy-atc-loading::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 1rem !important;
  height: 1rem !important;
  margin: -0.5rem 0 0 -0.5rem !important;
  border: 2px solid rgba(220, 194, 122, 0.35) !important;
  border-top-color: var(--gold) !important;
  border-radius: 50% !important;
  animation: emmy-spin 0.55s linear infinite !important;
  display: block !important;
  background: none !important;
}

.emmy-atc-check {
  position: relative !important;
}

.emmy-atc-check::after {
  content: "✓" !important;
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.1rem !important;
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
  background: linear-gradient(90deg, #b48f1c 0%, #dcc27a 52%, #c9a227 100%) !important;
}

@keyframes emmy-spin {
  to { transform: rotate(360deg); }
}

@keyframes emmy-cart-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.wc-block-mini-cart__button.emmy-cart-bounce,
.wc-block-mini-cart__badge.emmy-cart-bounce {
  animation: emmy-cart-pop 250ms var(--ease-out) !important;
}

/* Mini-cart: entrada + overlay */
.wc-block-components-drawer__screen-overlay {
  background: rgba(0, 0, 0, 0.4) !important;
  transition: opacity 320ms ease !important;
}

.wc-block-mini-cart__drawer,
.wc-block-components-drawer.wc-block-mini-cart__drawer {
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-items__row.is-emmy-removing {
  opacity: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-width: 0 !important;
  overflow: hidden !important;
  transform: translateX(12px);
  transition:
    opacity 280ms ease,
    max-height 320ms ease,
    padding 280ms ease,
    margin 280ms ease,
    transform 280ms ease !important;
}

/* Checkout steps: línea que se llena + fade de contenido */
.emmy-checkout-steps__item:not(:last-child)::after {
  background: linear-gradient(90deg, var(--gold) var(--emmy-step-fill, 0%), var(--hair) var(--emmy-step-fill, 0%)) !important;
  transition: background 380ms ease !important;
}

.emmy-checkout-steps__item.is-done:not(:last-child) {
  --emmy-step-fill: 100%;
}

.emmy-checkout-steps__item.is-active:not(:last-child) {
  --emmy-step-fill: 55%;
}

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-order-received .woocommerce-order {
  animation: emmy-step-in 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes emmy-step-in {
  from {
    opacity: 0;
    transform: translateX(14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Carrito vacío: icono + stagger novedades */
body.woocommerce-cart.emmy-empty-cart .wp-block-woocommerce-empty-cart-block > svg,
body.woocommerce-cart.emmy-empty-cart .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart-image,
body.woocommerce-cart.emmy-empty-cart .wc-empty-cart-message::before,
body.woocommerce-cart.emmy-empty-cart main::before {
  animation: emmy-empty-pop 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes emmy-empty-pop {
  from {
    opacity: 0;
    transform: scale(0.86);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

body.woocommerce-cart.emmy-empty-cart .wc-block-product,
body.woocommerce-cart.emmy-empty-cart .wp-block-woocommerce-empty-cart-block .wc-block-product {
  opacity: 0;
  animation: emmy-card-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.woocommerce-cart.emmy-empty-cart .wc-block-product:nth-child(1) { animation-delay: 0.05s; }
body.woocommerce-cart.emmy-empty-cart .wc-block-product:nth-child(2) { animation-delay: 0.12s; }
body.woocommerce-cart.emmy-empty-cart .wc-block-product:nth-child(3) { animation-delay: 0.19s; }
body.woocommerce-cart.emmy-empty-cart .wc-block-product:nth-child(4) { animation-delay: 0.26s; }
body.woocommerce-cart.emmy-empty-cart .wc-block-product:nth-child(5) { animation-delay: 0.33s; }
body.woocommerce-cart.emmy-empty-cart .wc-block-product:nth-child(n + 6) { animation-delay: 0.4s; }

/* Mi cuenta: hover círculos */
body.woocommerce-account .woocommerce-MyAccount-navigation a {
  transition:
    background 250ms ease,
    box-shadow 250ms ease,
    border-color 250ms ease,
    transform 250ms ease !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
  background:
    radial-gradient(circle at 30% 25%, rgba(220, 194, 122, 0.22), transparent 55%),
    rgba(11, 15, 26, 0.55) !important;
  box-shadow: 0 0 0 1px var(--gold), 0 8px 22px rgba(201, 162, 39, 0.18) !important;
  border-color: var(--gold-soft) !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a:hover::before {
  transform: translateX(-50%) rotate(-45deg) scale(1.08);
  transition: transform 250ms ease;
}

/* Footer contraste WCAG AA */
footer.wp-block-template-part,
.elementor-location-footer {
  color: #f3ede3 !important;
}

footer.wp-block-template-part a,
.elementor-location-footer a,
footer.wp-block-template-part p,
.elementor-location-footer p,
footer.wp-block-template-part li,
.elementor-location-footer li {
  color: #f3ede3 !important;
  -webkit-text-fill-color: #f3ede3 !important;
}

footer.wp-block-template-part a:hover,
.elementor-location-footer a:hover {
  color: var(--gold-soft) !important;
  -webkit-text-fill-color: var(--gold-soft) !important;
}

footer.wp-block-template-part .wp-block-heading,
.elementor-location-footer .wp-block-heading,
footer.wp-block-template-part h2,
footer.wp-block-template-part h3 {
  color: var(--gold-soft) !important;
  -webkit-text-fill-color: var(--gold-soft) !important;
}

/* will-change moderado */
.woocommerce ul.products li.product:hover,
.wc-block-product:hover,
.wc-block-mini-cart__drawer,
.wc-block-mini-cart__button.emmy-cart-bounce {
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .woocommerce ul.products li.product .button:not(.added_to_cart),
  .wc-block-components-product-button__button:not(.added_to_cart),
  body.woocommerce-checkout .wc-block-checkout,
  body.woocommerce-cart .wp-block-woocommerce-cart,
  body.woocommerce-cart.emmy-empty-cart .wc-block-product,
  body.woocommerce-cart.emmy-empty-cart main::before,
  img.emmy-img-fade,
  .emmy-atc-loading::after,
  .wc-block-mini-cart__button.emmy-cart-bounce {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  @media (hover: hover) and (min-width: 782px) {
    .woocommerce ul.products li.product .button:not(.added_to_cart),
    .wc-block-components-product-button__button:not(.added_to_cart) {
      opacity: 1 !important;
      transform: none !important;
      pointer-events: auto !important;
    }
  }
}

/* ================================================================== */
/* Header utilities clickeables + interacciones dorado/azul            */
/* ================================================================== */

.wp-site-blocks > header,
header.wp-block-template-part,
.elementor-location-header {
  pointer-events: auto !important;
}

.wp-site-blocks > header .wp-block-group,
header.wp-block-template-part .wp-block-group {
  pointer-events: auto !important;
  position: relative;
  z-index: 2;
}

/* Nav no debe tapar iconos de la derecha */
.wp-site-blocks > header .wp-block-navigation,
header.wp-block-template-part .wp-block-navigation {
  flex: 0 1 auto !important;
  max-width: min(48vw, 420px);
  position: relative;
  z-index: 3;
}

.wp-site-blocks > header .wp-block-search,
.wp-site-blocks > header .wc-block-mini-cart,
.wp-site-blocks > header .wp-block-woocommerce-mini-cart,
.wp-site-blocks > header .wp-block-woocommerce-customer-account,
header.wp-block-template-part .wp-block-search,
header.wp-block-template-part .wc-block-mini-cart,
header.wp-block-template-part .wp-block-woocommerce-customer-account {
  position: relative !important;
  z-index: 60 !important;
  pointer-events: auto !important;
  isolation: isolate;
}

header .wp-block-search .wp-block-search__inside-wrapper,
header .wp-block-search__input,
header .wp-block-search__button {
  pointer-events: auto !important;
  position: relative;
  z-index: 61;
}

header .wp-block-search .wp-block-search__inside-wrapper {
  border: 1px solid rgba(26, 54, 93, 0.18) !important;
  background: #fff !important;
  border-radius: 2px !important;
  transition: border-color 220ms ease, box-shadow 220ms ease, max-width 280ms ease;
}

header .wp-block-search .wp-block-search__inside-wrapper:focus-within {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2), 0 0 0 1px var(--blue-soft) !important;
  max-width: 320px;
}

header .wp-block-search__button {
  background: var(--gold) !important;
  color: var(--navy) !important;
  border-radius: 0 !important;
  min-width: 42px !important;
  min-height: 42px !important;
}

header .wp-block-search__button:hover {
  background: var(--gold-hover) !important;
  color: #fff !important;
}

/* Home: utilidades doradas sobre navy */
body.home .wc-block-mini-cart__button,
body.home .wp-block-woocommerce-customer-account a,
body.blog .wc-block-mini-cart__button,
body.blog .wp-block-woocommerce-customer-account a,
body.single-post .wc-block-mini-cart__button,
body.single-post .wp-block-woocommerce-customer-account a {
  color: var(--gold-soft) !important;
  border-color: transparent !important;
}

body.home .wc-block-mini-cart__button:hover,
body.home .wp-block-woocommerce-customer-account a:hover,
body.blog .wc-block-mini-cart__button:hover,
body.blog .wp-block-woocommerce-customer-account a:hover,
body.single-post .wc-block-mini-cart__button:hover,
body.single-post .wp-block-woocommerce-customer-account a:hover {
  background: rgba(201, 162, 39, 0.12) !important;
  border-color: rgba(201, 162, 39, 0.55) !important;
  color: var(--gold) !important;
}

/* PDP: selectores tipo “tarjetas” (talla / color) */
body.single-product .variations select,
body.single-product table.variations td.value select,
body.single-product .wc-block-components-product-attribute,
.woocommerce div.product form.cart .variations select {
  border: 1px solid rgba(26, 54, 93, 0.2) !important;
  border-radius: 8px !important;
  min-height: 44px !important;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

body.single-product .variations select:focus,
body.single-product table.variations td.value select:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2) !important;
  outline: none !important;
}

body.single-product .flex-control-thumbs li,
body.single-product .woocommerce-product-gallery__image,
body.single-product .wc-block-components-radio-control-accordion-option {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

body.single-product .flex-control-thumbs li:hover,
body.single-product .flex-control-thumbs li img:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--gold);
}

/* Nav links: subrayado oro animado */
.wp-site-blocks > header .wp-block-navigation-item__content {
  position: relative;
  transition: color 220ms ease !important;
}

.wp-site-blocks > header .wp-block-navigation-item__content::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--blue-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
}

.wp-site-blocks > header .wp-block-navigation-item__content:hover::after,
.wp-site-blocks > header .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content::after {
  transform: scaleX(1);
}

/* Drawer por encima del header sticky — respetar estado WC */
.wc-block-components-drawer__screen-overlay:not(.wc-block-components-drawer__screen-overlay--is-hidden) {
  z-index: 100060 !important;
}

.wc-block-components-drawer__screen-overlay--is-hidden {
  pointer-events: none !important;
}

.wc-block-components-drawer__screen-overlay:not(.wc-block-components-drawer__screen-overlay--is-hidden) .wc-block-mini-cart__drawer {
  z-index: 100070 !important;
}

/* ================================================================== */
/* PDP showcase — panel flotante navy + sidebar filtros redondeado     */
/* Tokens existentes únicamente. No toca mini-cart / checkout / cuenta */
/* ================================================================== */

@keyframes emmy-pdp-panel-in {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes emmy-trust-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.single-product main {
  padding-bottom: 3.5rem;
}

body.single-product .woocommerce-breadcrumb,
body.single-product .wp-block-woocommerce-breadcrumbs {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 4vw;
  color: var(--stone) !important;
}

/* Panel flotante navy */
body.single-product .wp-block-columns.alignwide,
body.single-product div.product.product-type-simple,
body.single-product div.product.product-type-variable,
body.single-product .woocommerce div.product {
  max-width: 1180px;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.single-product .wp-block-columns.alignwide,
body.single-product .emmy-pdp-panel {
  background: var(--navy) !important;
  border-radius: 24px !important;
  padding: 2.5rem 2.75rem !important;
  box-shadow: 0 30px 60px rgba(11, 15, 26, 0.25);
  gap: 2.25rem 2.75rem !important;
  animation: emmy-pdp-panel-in 350ms var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)) both;
}

body.single-product .emmy-pdp-panel .wp-block-columns.alignwide {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  animation: none !important;
}

/* Tipografía / precios en panel oscuro */
body.single-product .wp-block-columns.alignwide h1.wp-block-post-title,
body.single-product .wp-block-columns.alignwide h1.wp-block-post-title a,
body.single-product .emmy-pdp-panel h1.product_title,
body.single-product .emmy-pdp-panel h1.wp-block-post-title,
body.single-product .wp-block-columns.alignwide .woocommerce-product-details__short-description,
body.single-product .wp-block-columns.alignwide .wp-block-post-excerpt,
body.single-product .wp-block-columns.alignwide .variations th,
body.single-product .wp-block-columns.alignwide .variations label,
body.single-product .wp-block-columns.alignwide .sistemapos-pdp-sku,
body.single-product .wp-block-columns.alignwide .sistemapos-pdp-stock,
body.single-product .wp-block-columns.alignwide p.stock {
  color: var(--ivory) !important;
  -webkit-text-fill-color: var(--ivory) !important;
}

body.single-product .wp-block-columns.alignwide h1.wp-block-post-title::before,
body.single-product .emmy-pdp-panel h1.product_title::before {
  color: var(--gold-soft) !important;
}

body.single-product .wp-block-columns.alignwide .wp-block-woocommerce-product-price,
body.single-product .wp-block-columns.alignwide .wp-block-woocommerce-product-price .amount,
body.single-product .wp-block-columns.alignwide .wc-block-components-product-price,
body.single-product .wp-block-columns.alignwide p.price,
body.single-product .wp-block-columns.alignwide p.price .amount,
body.single-product .wp-block-columns.alignwide span.price {
  color: var(--gold-soft) !important;
  -webkit-text-fill-color: var(--gold-soft) !important;
}

body.single-product .wp-block-columns.alignwide .wp-block-post-excerpt,
body.single-product .wp-block-columns.alignwide .woocommerce-product-details__short-description {
  color: rgba(243, 237, 227, 0.72) !important;
  -webkit-text-fill-color: rgba(243, 237, 227, 0.72) !important;
}

body.single-product .wp-block-columns.alignwide .sistemapos-sale-pct {
  background: rgba(201, 162, 39, 0.2);
  color: var(--gold-soft);
  border: 1px solid rgba(201, 162, 39, 0.45);
}

/* Galería */
body.single-product .woocommerce-product-gallery {
  background: transparent !important;
}

body.single-product .woocommerce-product-gallery:has(.flex-control-thumbs li:nth-child(2)),
body.single-product .woocommerce-product-gallery:has(.flex-control-nav li:nth-child(2)) {
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 0.85rem;
}

body.single-product .flex-control-thumbs li,
body.single-product .flex-control-nav li {
  width: 64px !important;
  border: 0 !important;
  border-radius: 12px !important;
  overflow: hidden;
  background: rgba(243, 237, 227, 0.08) !important;
  opacity: 0.55;
  transition: opacity 150ms ease, box-shadow 200ms ease, transform 150ms ease;
}

body.single-product .flex-control-thumbs li img,
body.single-product .flex-control-nav li img {
  border-radius: 12px;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.single-product .flex-control-thumbs li:hover,
body.single-product .flex-control-nav li:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

body.single-product .flex-control-thumbs li.flex-active,
body.single-product .flex-control-thumbs .flex-active,
body.single-product .flex-control-nav li.flex-active {
  opacity: 1 !important;
  box-shadow: 0 0 0 2px var(--gold);
}

body.single-product .woocommerce-product-gallery__image,
body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
  border-radius: 18px !important;
  overflow: hidden;
  background: rgba(243, 237, 227, 0.06) !important;
}

body.single-product .woocommerce-product-gallery__image img,
body.single-product .woocommerce-product-gallery__wrapper img,
body.single-product img.wp-post-image {
  border-radius: 18px;
  background: transparent !important;
}

body.single-product .woocommerce-product-gallery__trigger {
  background: var(--navy) !important;
  color: var(--gold-soft) !important;
  border: 1px solid rgba(201, 162, 39, 0.35);
}

/* Swatches talla = pills; color = círculos */
body.single-product .sistemapos-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.35rem 0 0.85rem;
}

body.single-product .sistemapos-swatch {
  min-width: 2.55rem;
  height: 2.55rem;
  padding: 0 0.7rem;
  border: 1.5px solid rgba(243, 237, 227, 0.28);
  border-radius: 10px;
  background: transparent;
  color: var(--ivory);
  font-family: var(--ui);
  font-size: 0.78rem;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease, transform 150ms ease, box-shadow 200ms ease;
}

body.single-product .sistemapos-swatch:hover {
  transform: scale(1.08);
  border-color: var(--gold-soft);
}

body.single-product .sistemapos-swatch.is-active {
  background: var(--gold) !important;
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 2px var(--navy), 0 0 0 4px var(--gold);
}

body.single-product .sistemapos-swatch.is-color {
  width: 34px;
  height: 34px;
  min-width: 34px;
  padding: 0;
  border-radius: 999px;
  font-size: 0;
  color: transparent;
  border: 2px solid rgba(243, 237, 227, 0.25);
  box-shadow: inset 0 0 0 2px var(--navy);
}

body.single-product .sistemapos-swatch.is-color:hover {
  transform: scale(1.08);
}

body.single-product .sistemapos-swatch.is-color.is-active {
  box-shadow:
    0 0 0 2px var(--navy),
    0 0 0 4px var(--gold);
  border-color: transparent;
  background-image: none !important;
}

body.single-product .variations select {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
}

body.single-product .quantity {
  border: 1px solid rgba(243, 237, 227, 0.22) !important;
  border-radius: 999px !important;
  background: rgba(243, 237, 227, 0.06);
}

body.single-product .sistemapos-qty-btn,
body.single-product .quantity .qty {
  color: var(--ivory) !important;
  -webkit-text-fill-color: var(--ivory) !important;
  background: transparent !important;
  border: 0 !important;
}

/* CTA dual */
body.single-product .emmy-pdp-cta,
body.single-product form.cart .emmy-pdp-cta {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: 100%;
  margin-top: 0.35rem;
}

body.single-product form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

body.single-product .single_add_to_cart_button,
body.single-product .emmy-pdp-cta .single_add_to_cart_button {
  flex: 1 1 180px !important;
  min-height: 52px !important;
  border-radius: 999px !important;
  background: var(--gold) !important;
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
  border: 0 !important;
  letter-spacing: 0.12em !important;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease !important;
}

body.single-product .single_add_to_cart_button:hover,
body.single-product .emmy-pdp-buy:hover,
body.single-product .emmy-pdp-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

body.single-product .single_add_to_cart_button:hover {
  background: var(--gold-soft) !important;
}

body.single-product .emmy-pdp-buy,
body.single-product .emmy-pdp-save {
  flex: 1 1 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.25rem;
  border-radius: 999px;
  border: 1.5px solid var(--gold-soft);
  background: transparent;
  color: var(--gold-soft) !important;
  -webkit-text-fill-color: var(--gold-soft) !important;
  font-family: var(--ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, color 200ms ease;
}

body.single-product .emmy-pdp-save {
  flex: 0 0 52px;
  width: 52px;
  padding: 0;
  font-size: 1.15rem;
  letter-spacing: 0;
}

body.single-product .emmy-pdp-buy:hover,
body.single-product .emmy-pdp-save:hover {
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
}

body.single-product .emmy-pdp-save.is-saved {
  background: rgba(201, 162, 39, 0.18);
  border-color: var(--gold);
  color: var(--gold) !important;
}

/* Trust badges compactos */
body.single-product .sistemapos-pdp-trust {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.35rem 0 0;
  padding: 1.15rem 0 0;
  border-top: 1px solid rgba(243, 237, 227, 0.12);
  border-bottom: 0;
}

body.single-product .sistemapos-pdp-trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  line-height: 1.35;
  color: rgba(243, 237, 227, 0.7) !important;
  -webkit-text-fill-color: rgba(243, 237, 227, 0.7) !important;
  opacity: 0;
  animation: emmy-trust-in 320ms var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)) both;
  position: relative;
}

body.single-product .sistemapos-pdp-trust.is-visible .sistemapos-pdp-trust__item,
body.single-product .sistemapos-pdp-trust__item.is-visible {
  opacity: 1;
}

body.single-product .sistemapos-pdp-trust__item:nth-child(1) { animation-delay: 0ms; }
body.single-product .sistemapos-pdp-trust__item:nth-child(2) { animation-delay: 60ms; }
body.single-product .sistemapos-pdp-trust__item:nth-child(3) { animation-delay: 120ms; }

body.single-product .sistemapos-pdp-trust__item::before {
  content: "";
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  margin: 0;
  border-radius: 999px;
  background-color: rgba(201, 162, 39, 0.12);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.28);
  mask: none !important;
  -webkit-mask: none !important;
  position: relative;
}

body.single-product .sistemapos-pdp-trust__item--ship::before,
body.single-product .sistemapos-pdp-trust__item--secure::before,
body.single-product .sistemapos-pdp-trust__item--returns::before {
  background-color: rgba(201, 162, 39, 0.12);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px;
}

body.single-product .sistemapos-pdp-trust__item--ship::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23C9A227' d='M3 6h11v9H3V6zm11 3h4l3 3v3h-7V9zM6 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm10 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4z'/%3E%3C/svg%3E");
}

body.single-product .sistemapos-pdp-trust__item--secure::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23C9A227' d='M12 2l8 4v6c0 5-3.4 9.4-8 10-4.6-.6-8-5-8-10V6l8-4zm0 6a2 2 0 0 0-2 2v1H9v5h6v-5h-1V10a2 2 0 0 0-2-2z'/%3E%3C/svg%3E");
}

body.single-product .sistemapos-pdp-trust__item--returns::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23C9A227' d='M12 6V3L8 7l4 4V8a6 6 0 1 1-6 6H4a8 8 0 1 0 8-8z'/%3E%3C/svg%3E");
}

/* Related / also like — compact horizontal */
body.single-product .related.products,
body.single-product .upsells.products,
body.single-product .wp-block-woocommerce-product-collection {
  max-width: 1180px;
  margin: 2.5rem auto 0 !important;
  padding: 0 4vw;
}

body.single-product .related.products > h2,
body.single-product .upsells.products > h2,
body.single-product .wp-block-woocommerce-product-collection .wp-block-heading {
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
  font-size: 1.45rem !important;
  margin-bottom: 1.1rem !important;
}

body.single-product .related.products ul.products,
body.single-product .upsells.products ul.products,
body.single-product .wp-block-woocommerce-product-collection ul.wc-block-product-template:not(.sistemapos-carousel) {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 1rem !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  grid-template-columns: none !important;
}

body.single-product .related.products li.product,
body.single-product .upsells.products li.product,
body.single-product .wp-block-woocommerce-product-collection .wc-block-product {
  flex: 0 0 180px !important;
  width: 180px !important;
  max-width: 180px !important;
  scroll-snap-align: start;
  background: #fff !important;
  border: 1px solid var(--hair) !important;
  border-radius: 12px !important;
  padding: 0 0 0.75rem !important;
  overflow: hidden;
}

body.single-product .related.products li.product img,
body.single-product .upsells.products li.product img,
body.single-product .wp-block-woocommerce-product-collection .wc-block-product img {
  aspect-ratio: 1 / 1 !important;
  border-radius: 12px 12px 0 0 !important;
  object-fit: cover !important;
}

body.single-product .related.products li.product .woocommerce-loop-product__title,
body.single-product .related.products li.product .wp-block-post-title,
body.single-product .wp-block-woocommerce-product-collection .wp-block-post-title,
body.single-product .wp-block-woocommerce-product-collection .wc-block-components-product-name {
  font-size: 0.85rem !important;
  margin: 0.65rem 0.65rem 0.2rem !important;
  -webkit-line-clamp: 2;
}

body.single-product .related.products li.product .price,
body.single-product .wp-block-woocommerce-product-collection .wc-block-components-product-price {
  font-size: 0.88rem !important;
  color: var(--gold) !important;
  margin: 0 0.65rem !important;
}

body.single-product .related.products li.product .button,
body.single-product .wp-block-woocommerce-product-collection .wc-block-components-product-button {
  display: none !important;
}

@media (max-width: 781px) {
  body.single-product .wp-block-columns.alignwide,
  body.single-product .emmy-pdp-panel {
    padding: 1.35rem 1.15rem !important;
    border-radius: 18px !important;
    margin: 0 0.75rem !important;
  }

  body.single-product .woocommerce-product-gallery:has(.flex-control-thumbs li:nth-child(2)) {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  body.single-product .flex-control-thumbs li {
    width: 48px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.single-product .wp-block-columns.alignwide,
  body.single-product .emmy-pdp-panel,
  body.single-product .sistemapos-pdp-trust__item,
  body.single-product .sistemapos-swatch {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ------------------------------------------------------------------ */
/* Sidebar categorías — pills + íconos, sin esquinas joya              */
/* ------------------------------------------------------------------ */

.sistemapos-shop-filters,
.emmy-filters,
.emmy-shop > .wp-block-column:first-child {
  border-radius: 16px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(201, 162, 39, 0.35) !important;
  padding: 1.15rem 1.1rem 1.25rem !important;
}

.sistemapos-shop-filters::before,
.emmy-filters::before,
.emmy-shop > .wp-block-column:first-child::before,
.sistemapos-shop-filters::after,
.emmy-filters::after,
.emmy-shop > .wp-block-column:first-child::after {
  content: none !important;
  display: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.sistemapos-shop-filters__cats li,
.sistemapos-shop-filters .wc-block-checkbox-list li,
.widget_product_categories li,
.wc-block-product-categories-list-item {
  padding: 0.15rem 0 !important;
  transform: none !important;
}

.sistemapos-shop-filters__cats a,
.widget_product_categories a,
.wc-block-product-categories-list-item a,
.sistemapos-shop-filters .wc-block-checkbox-list label {
  display: flex !important;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.65rem !important;
  border-radius: 999px;
  transition: background 200ms ease, color 200ms ease, transform 150ms ease;
}

.sistemapos-shop-filters__cats a::before,
.widget_product_categories a::before,
.wc-block-product-categories-list-item a::before {
  content: "" !important;
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background-color: var(--stone) !important;
  box-shadow: none !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h7v7H4V4zm9 0h7v7h-7V4zM4 13h7v7H4v-7zm9 0h7v7h-7v-7z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h7v7H4V4zm9 0h7v7h-7V4zM4 13h7v7H4v-7zm9 0h7v7h-7v-7z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.sistemapos-shop-filters__cats a:hover,
.widget_product_categories a:hover,
.wc-block-product-categories-list-item a:hover,
.sistemapos-shop-filters .wc-block-checkbox-list li:hover label {
  background: rgba(201, 162, 39, 0.08);
  transform: none;
}

.sistemapos-shop-filters__cats .current-cat > a,
.widget_product_categories .current-cat > a,
.wc-block-product-categories-list-item.is-current a,
.sistemapos-shop-filters .wc-block-checkbox-list li:has(input:checked) label {
  background: rgba(201, 162, 39, 0.12) !important;
  color: var(--navy) !important;
  font-weight: 500;
}

.sistemapos-shop-filters__cats .current-cat > a::before,
.widget_product_categories .current-cat > a::before,
.wc-block-product-categories-list-item.is-current a::before {
  background-color: var(--navy) !important;
  box-shadow: none !important;
}

/* ================================================================== */
/* FIX overlay + header azul + animaciones visibles + filtro aire      */
/* ================================================================== */

/* Header navy + rombos oro (mismo lienzo que Mi cuenta) */
.wp-site-blocks > header,
header.wp-block-template-part,
.elementor-location-header {
  background-color: var(--navy) !important;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 54px, rgba(201, 162, 39, 0.12) 54px 55px),
    repeating-linear-gradient(-45deg, transparent 0 54px, rgba(201, 162, 39, 0.1) 54px 55px),
    radial-gradient(ellipse 90% 80% at 20% -10%, rgba(201, 162, 39, 0.16), transparent 55%),
    linear-gradient(180deg, #12182a 0%, var(--navy) 55%, #0a0e16 100%) !important;
  border-bottom: 1px solid rgba(201, 162, 39, 0.4) !important;
  color: var(--ivory) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22) !important;
  overflow-x: clip !important;
  overflow-y: visible !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  min-height: 0 !important;
}

.wp-site-blocks > header::before,
header.wp-block-template-part::before,
.elementor-location-header::before {
  opacity: 0.1 !important;
  mix-blend-mode: soft-light;
  pointer-events: none !important;
}

.wp-site-blocks > header a,
header.wp-block-template-part a,
.elementor-location-header a,
header .wp-block-navigation-item__label,
.wp-site-blocks > header .wp-block-site-title a {
  color: var(--gold-soft) !important;
  -webkit-text-fill-color: var(--gold-soft) !important;
}

.wp-site-blocks > header a:hover,
header.wp-block-template-part a:hover,
header .wp-block-navigation-item__label:hover {
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
}

.wc-block-mini-cart__button,
.wp-block-woocommerce-customer-account a,
.wc-block-mini-cart__button svg,
.wc-block-mini-cart__icon,
.wp-block-woocommerce-customer-account svg {
  color: var(--gold-soft) !important;
  fill: var(--gold-soft) !important;
}

body.emmy-header-compact .wp-site-blocks > header,
.wp-site-blocks > header.scrolled {
  background-color: rgba(11, 15, 26, 0.9) !important;
  backdrop-filter: blur(12px) saturate(1.05);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
}

header .wp-block-search .wp-block-search__inside-wrapper {
  background: rgba(243, 237, 227, 0.08) !important;
  border: 1px solid rgba(201, 162, 39, 0.35) !important;
}

header .wp-block-search__input {
  color: var(--ivory) !important;
  -webkit-text-fill-color: var(--ivory) !important;
  background: transparent !important;
}

header .wp-block-search__input::placeholder {
  color: rgba(243, 237, 227, 0.55) !important;
}

/* Main: flujo normal, sin flex que rompa capas / clicks */
.wp-site-blocks {
  display: block !important;
}

.wp-site-blocks > header,
header.wp-block-template-part {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
}

.wp-site-blocks > main,
main {
  position: relative !important;
  z-index: 1 !important;
  isolation: auto !important;
  transform: none !important;
  margin-top: 0 !important;
  padding-top: 1.25rem !important;
  pointer-events: auto !important;
}

/* Reveal: no dejes contenido invisible si falla el observer */
.emmy-reveal {
  opacity: 1 !important;
  transform: none !important;
  animation: emmy-fade-up 450ms var(--ease-out) both;
}

.emmy-reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

/* Page-in más corto y sin pelear con sticky */
body.page main,
body.blog main,
body.archive main,
body.search main,
body.error404 main,
body.single-post main,
body.single-product main,
body.post-type-archive-product main,
body.woocommerce-shop main,
body.woocommerce-cart main,
body.woocommerce-checkout main,
body.woocommerce-account main,
body.woocommerce-order-received main,
body.home main {
  animation: emmy-fade-up 380ms var(--ease-out) both;
}

/* Cards: animación CSS siempre visible en catálogo */
body.post-type-archive-product .woocommerce ul.products li.product,
body.woocommerce-shop .wc-block-product-template > .wc-block-product,
body.tax-product_cat .woocommerce ul.products li.product,
.emmy-shop .wc-block-product-template > .wc-block-product {
  animation: emmy-fade-up 480ms var(--ease-out) both !important;
}

body.post-type-archive-product .woocommerce ul.products li.product:nth-child(1),
.emmy-shop .wc-block-product-template > .wc-block-product:nth-child(1) { animation-delay: 0.04s !important; }
body.post-type-archive-product .woocommerce ul.products li.product:nth-child(2),
.emmy-shop .wc-block-product-template > .wc-block-product:nth-child(2) { animation-delay: 0.09s !important; }
body.post-type-archive-product .woocommerce ul.products li.product:nth-child(3),
.emmy-shop .wc-block-product-template > .wc-block-product:nth-child(3) { animation-delay: 0.14s !important; }
body.post-type-archive-product .woocommerce ul.products li.product:nth-child(4),
.emmy-shop .wc-block-product-template > .wc-block-product:nth-child(4) { animation-delay: 0.19s !important; }
body.post-type-archive-product .woocommerce ul.products li.product:nth-child(5),
.emmy-shop .wc-block-product-template > .wc-block-product:nth-child(5) { animation-delay: 0.24s !important; }
body.post-type-archive-product .woocommerce ul.products li.product:nth-child(n + 6),
.emmy-shop .wc-block-product-template > .wc-block-product:nth-child(n + 6) { animation-delay: 0.28s !important; }

/* Filtro: más aire respecto a las tarjetas */
.sistemapos-shop-filters,
.emmy-filters,
.emmy-shop > .wp-block-column:first-child {
  margin-right: 0.5rem !important;
  max-width: 250px !important;
}

body.post-type-archive-product .sistemapos-shop-layout,
body.woocommerce-shop .sistemapos-shop-layout,
body.tax-product_cat .sistemapos-shop-layout,
.sistemapos-shop-layout:has(> .sistemapos-shop-filters),
body.post-type-archive-product .wp-block-woocommerce-product-collection:has(> .sistemapos-shop-filters),
body.woocommerce-shop .wp-block-woocommerce-product-collection:has(> .sistemapos-shop-filters),
body.tax-product_cat .wp-block-woocommerce-product-collection:has(> .sistemapos-shop-filters) {
  grid-template-columns: minmax(220px, 250px) minmax(0, 1fr) !important;
  column-gap: 4.75rem !important;
}

.emmy-shop,
.wp-block-columns.emmy-shop {
  gap: 4.75rem !important;
}

/* Sticky filtro debajo del header azul, sin tapar productos */
.sistemapos-shop-filters,
.emmy-filters,
.emmy-shop > .wp-block-column:first-child {
  z-index: 2 !important;
  top: calc(var(--emmy-header-h, 88px) + 20px) !important;
}

/* Hover tarjetas — animación clara */
.woocommerce ul.products li.product,
.wc-block-product,
.wc-block-grid__product {
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease) !important;
}

.woocommerce ul.products li.product:hover,
.wc-block-product:hover,
.wc-block-grid__product:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 14px 28px rgba(11, 15, 26, 0.12) !important;
}

.woocommerce ul.products li.product:hover img,
.wc-block-product:hover img {
  transform: scale(1.05) !important;
  transition: transform 400ms var(--ease-out) !important;
}

@media (prefers-reduced-motion: reduce) {
  body.page main,
  body.home main,
  body.post-type-archive-product main,
  .emmy-reveal,
  body.post-type-archive-product .woocommerce ul.products li.product,
  .emmy-shop .wc-block-product-template > .wc-block-product {
    animation: none !important;
  }
}


/* ================================================================== */
/* Emmy free polish — todas las plantillas, animaciones, acabado       */
/* Paleta: navy / gold / ivory / stone. Sin tocar mini-cart drawer.    */
/* ================================================================== */

@keyframes emmy-page-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes emmy-fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes emmy-line-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Entrada de página en todas las vistas */
body.page main,
body.blog main,
body.archive main,
body.search main,
body.error404 main,
body.single-post main,
body.single-product main,
body.post-type-archive-product main,
body.woocommerce-shop main,
body.woocommerce-cart main,
body.woocommerce-checkout main,
body.woocommerce-account main,
body.woocommerce-order-received main,
body.home main {
  animation: emmy-page-in 420ms var(--ease-out) both;
}

.emmy-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 480ms var(--ease-out), transform 480ms var(--ease-out);
}

.emmy-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Títulos con respiración + trazo oro */
body.page h1.wp-block-post-title,
body.blog .wp-block-query-title,
body.archive .wp-block-query-title,
body.search .wp-block-query-title,
body.search .page-title,
body.error404 h1,
body.woocommerce-cart h1.wp-block-post-title,
body.woocommerce-checkout h1.wp-block-post-title,
body.woocommerce-order-received h1,
body.post-type-archive-product .woocommerce-products-header__title,
body.tax-product_cat .woocommerce-products-header__title {
  letter-spacing: 0.01em;
  line-height: 1.12;
  margin-bottom: 1.35rem !important;
}

body.page .wp-block-post-content,
body.page .entry-content,
body.single-post .wp-block-post-content {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink);
}

body.page .wp-block-post-content > *,
body.single-post .wp-block-post-content > * {
  margin-bottom: 1.35em;
}

/* Blog / archivos / búsqueda genérica — tarjetas unificadas */
body.blog .wp-block-post,
body.archive:not(.post-type-archive-product):not(.tax-product_cat) .wp-block-post,
body.search:not(.woocommerce) .wp-block-post {
  border-radius: 14px !important;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--hair);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease);
}

body.blog .wp-block-post:hover,
body.archive:not(.post-type-archive-product) .wp-block-post:hover,
body.search:not(.woocommerce) .wp-block-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(11, 15, 26, 0.1);
}

body.blog .wp-block-post-featured-image img,
body.archive .wp-block-post-featured-image img,
body.search:not(.woocommerce) .wp-block-post-featured-image img {
  transition: transform 500ms var(--ease-out);
}

body.blog .wp-block-post:hover .wp-block-post-featured-image img,
body.archive .wp-block-post:hover .wp-block-post-featured-image img,
body.search:not(.woocommerce) .wp-block-post:hover .wp-block-post-featured-image img {
  transform: scale(1.04);
}

/* Coming soon / 404 — impacto tipográfico limpio */
.coming-soon,
body:has(.wp-block-woocommerce-coming-soon) {
  background: var(--navy) !important;
  color: var(--ivory) !important;
  min-height: 70vh;
}

.coming-soon .wp-block-heading,
body:has(.wp-block-woocommerce-coming-soon) h1,
body.error404 h1 {
  font-family: var(--display) !important;
  color: var(--ivory) !important;
  -webkit-text-fill-color: var(--ivory) !important;
}

body.error404 main {
  text-align: center;
  padding: 4rem 4vw 5rem;
}

body.error404 .wp-block-search__inside-wrapper {
  max-width: 420px;
  margin: 1.5rem auto 0;
  border-radius: 999px !important;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.4);
}

/* Home — más aire y CTA oro sólido */
body.home main .wp-block-button__link,
body.home .emmy-cta .wp-block-button__link,
body.home .emmy-hero-cta {
  border-radius: 999px !important;
  background: var(--gold) !important;
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
  min-height: 52px;
  padding: 0.9rem 1.6rem !important;
  letter-spacing: 0.12em;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease !important;
}

body.home main .wp-block-button__link:hover,
body.home .emmy-cta .wp-block-button__link:hover,
body.home .emmy-hero-cta:hover {
  background: var(--gold-soft) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 15, 26, 0.2);
}

body.home main h2 {
  position: relative;
  padding-bottom: 0.85rem;
}

body.home main h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3rem;
  height: 2px;
  background: var(--gold);
  transform-origin: left;
  animation: emmy-line-grow 600ms var(--ease-out) 200ms both;
}

/* Carrito / checkout — paneles limpios */
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-order-received .woocommerce-order {
  animation: emmy-fade-up 400ms var(--ease-out) both;
}

body.woocommerce-cart .wc-block-cart__sidebar,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wp-block-woocommerce-cart-totals-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
  border-radius: 16px !important;
  border: 1px solid var(--hair) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  padding: 1.35rem !important;
  background: #fff !important;
}

body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.woocommerce #place_order,
.checkout-button {
  border-radius: 999px !important;
  background: var(--gold) !important;
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
  min-height: 52px !important;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease !important;
}

body.woocommerce-cart .wc-block-cart__submit-button:hover,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.woocommerce #place_order:hover,
.checkout-button:hover {
  background: var(--gold-soft) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11, 15, 26, 0.16);
}

/* Mi cuenta — tarjetas redondas limpias (sin pelear el grid) */
body.woocommerce-account .woocommerce-MyAccount-navigation a {
  border-radius: 50% !important;
  transition:
    transform 250ms var(--ease),
    box-shadow 250ms var(--ease),
    background 250ms var(--ease),
    border-color 250ms var(--ease) !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  transform: translateY(-3px) scale(1.03) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content {
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--hair);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  padding: 1.5rem 1.65rem !important;
  animation: emmy-fade-up 400ms var(--ease-out) both;
}

body.woocommerce-account .woocommerce-button,
body.woocommerce-account button.button,
body.woocommerce-account .woocommerce-Button {
  border-radius: 999px !important;
  background: var(--gold) !important;
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
  border: 0 !important;
  min-height: 46px;
  transition: transform 200ms ease, background 200ms ease !important;
}

body.woocommerce-account .woocommerce-button:hover,
body.woocommerce-account button.button:hover {
  background: var(--gold-soft) !important;
  transform: translateY(-1px);
}

/* Order received */
body.woocommerce-order-received .woocommerce-order {
  max-width: 720px;
  margin: 2rem auto;
  padding: 2rem 1.75rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--hair);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

body.woocommerce-order-received .woocommerce-thankyou-order-received {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--navy);
}

/* Catálogo — título + result count */
body.post-type-archive-product .woocommerce-products-header,
body.tax-product_cat .woocommerce-products-header {
  text-align: center;
  padding: 1.5rem 0 1.75rem;
}

body.post-type-archive-product .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count,
.woocommerce-result-count {
  letter-spacing: 0.04em;
  color: var(--stone);
}

/* Footer más cuidado */
footer.wp-block-template-part,
.elementor-location-footer {
  padding-top: 3.5rem !important;
  padding-bottom: 2.5rem !important;
}

footer.wp-block-template-part a {
  transition: color 200ms ease !important;
}

footer.wp-block-template-part .wp-block-navigation-item__content:hover {
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
}

/* Formularios globales */
.woocommerce form .input-text:focus,
.woocommerce form input[type="email"]:focus,
.woocommerce form input[type="tel"]:focus,
.woocommerce form textarea:focus,
.wc-block-components-text-input input:focus,
.wp-block-search__input:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18) !important;
  outline: none !important;
}

/* Links contenido */
.wp-block-post-content a:not(.wp-block-button__link),
.entry-content a:not(.wp-block-button__link) {
  color: var(--navy);
  text-decoration: none;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 240ms var(--ease), color 200ms ease;
}

.wp-block-post-content a:not(.wp-block-button__link):hover,
.entry-content a:not(.wp-block-button__link):hover {
  color: var(--gold-hover);
  background-size: 100% 1px;
}

/* Paginación */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span,
.wc-block-pagination-page {
  border-radius: 8px !important;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease !important;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.wc-block-pagination-page:hover {
  transform: translateY(-1px);
}

/* Newsletter */
footer input[type="email"],
.wp-block-jetpack-subscriptions__form input,
form input[type="email"] {
  border-radius: 999px !important;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

/* Empty cart icon breath */
body.woocommerce-cart.emmy-empty-cart main::before {
  animation: emmy-empty-pop 520ms var(--ease-out) both, emmy-fade-up 600ms var(--ease-out) both;
}

@media (prefers-reduced-motion: reduce) {
  body.page main,
  body.blog main,
  body.archive main,
  body.search main,
  body.error404 main,
  body.single-post main,
  body.single-product main,
  body.post-type-archive-product main,
  body.woocommerce-shop main,
  body.woocommerce-cart main,
  body.woocommerce-checkout main,
  body.woocommerce-account main,
  body.woocommerce-order-received main,
  body.home main,
  .emmy-reveal,
  body.home main h2::after {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


/* ================================================================== */
/* HOTFIX — clicks + header oro + overflow + cards                     */
/* ================================================================== */

.wc-block-components-drawer__screen-overlay--is-hidden,
.wc-block-components-drawer__screen-overlay[aria-hidden="true"],
.wc-block-mini-cart__overlay[aria-hidden="true"],
.wc-block-components-drawer__screen-overlay--is-hidden .wc-block-mini-cart__drawer,
.wc-block-mini-cart__drawer[aria-hidden="true"],
.sistemapos-modal[hidden],
.sistemapos-toast[hidden] {
  pointer-events: none !important;
  visibility: hidden !important;
}

.wp-site-blocks > main,
main,
.woocommerce ul.products li.product,
.wc-block-product,
.wc-block-product a,
.woocommerce ul.products li.product a,
.wc-block-mini-cart__button,
.wp-block-woocommerce-customer-account a,
.wp-block-navigation a {
  pointer-events: auto !important;
}

.wp-site-blocks > header,
header.wp-block-template-part,
.elementor-location-header {
  width: 100% !important;
  max-width: none !important;
  overflow: visible !important;
  box-sizing: border-box !important;
  background-color: var(--navy) !important;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 54px, rgba(201, 162, 39, 0.12) 54px 55px),
    repeating-linear-gradient(-45deg, transparent 0 54px, rgba(201, 162, 39, 0.1) 54px 55px),
    radial-gradient(ellipse 90% 80% at 18% -8%, rgba(201, 162, 39, 0.18), transparent 52%),
    linear-gradient(180deg, #141b2e 0%, var(--navy) 52%, #090d14 100%) !important;
}

.wp-site-blocks > header .wp-block-group,
header.wp-block-template-part .wp-block-group {
  min-width: 0 !important;
  max-width: 100% !important;
  flex-wrap: nowrap !important;
}

.wp-site-blocks > header .wp-block-navigation,
header.wp-block-template-part .wp-block-navigation {
  min-width: 0 !important;
  flex: 1 1 auto !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none;
}

.wp-site-blocks > header .wp-block-navigation::-webkit-scrollbar {
  display: none;
}

body.emmy-header-compact .wp-site-blocks > header,
.wp-site-blocks > header.scrolled,
body.emmy-header-compact header.wp-block-template-part,
header.wp-block-template-part.scrolled {
  background-color: rgba(11, 15, 26, 0.92) !important;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 54px, rgba(201, 162, 39, 0.1) 54px 55px),
    repeating-linear-gradient(-45deg, transparent 0 54px, rgba(201, 162, 39, 0.08) 54px 55px),
    linear-gradient(180deg, rgba(18, 24, 42, 0.96) 0%, rgba(11, 15, 26, 0.94) 100%) !important;
}

.sistemapos-shop-filters li:hover,
.sistemapos-shop-filters a:hover,
.emmy-filters li:hover,
.widget_product_categories li:hover,
.wc-block-product-categories-list-item:hover,
.sistemapos-shop-filters .wc-block-checkbox-list li:hover label {
  transform: none !important;
}

@keyframes emmy-card-enter {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.post-type-archive-product .woocommerce ul.products li.product,
body.woocommerce-shop .woocommerce ul.products li.product,
body.tax-product_cat .woocommerce ul.products li.product,
body.woocommerce-shop .wc-block-product-template > .wc-block-product,
body.post-type-archive-product .wc-block-product-template > .wc-block-product,
.emmy-shop .wc-block-product-template > .wc-block-product,
.wc-block-grid__products > .wc-block-grid__product {
  opacity: 1 !important;
  animation: emmy-card-enter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
}

body.post-type-archive-product .woocommerce ul.products li.product:nth-child(1),
.emmy-shop .wc-block-product-template > .wc-block-product:nth-child(1),
body.woocommerce-shop .wc-block-product-template > .wc-block-product:nth-child(1) { animation-delay: 0.04s !important; }
body.post-type-archive-product .woocommerce ul.products li.product:nth-child(2),
.emmy-shop .wc-block-product-template > .wc-block-product:nth-child(2),
body.woocommerce-shop .wc-block-product-template > .wc-block-product:nth-child(2) { animation-delay: 0.1s !important; }
body.post-type-archive-product .woocommerce ul.products li.product:nth-child(3),
.emmy-shop .wc-block-product-template > .wc-block-product:nth-child(3),
body.woocommerce-shop .wc-block-product-template > .wc-block-product:nth-child(3) { animation-delay: 0.16s !important; }
body.post-type-archive-product .woocommerce ul.products li.product:nth-child(4),
.emmy-shop .wc-block-product-template > .wc-block-product:nth-child(4),
body.woocommerce-shop .wc-block-product-template > .wc-block-product:nth-child(4) { animation-delay: 0.22s !important; }
body.post-type-archive-product .woocommerce ul.products li.product:nth-child(5),
.emmy-shop .wc-block-product-template > .wc-block-product:nth-child(5),
body.woocommerce-shop .wc-block-product-template > .wc-block-product:nth-child(5) { animation-delay: 0.28s !important; }
body.post-type-archive-product .woocommerce ul.products li.product:nth-child(n + 6),
.emmy-shop .wc-block-product-template > .wc-block-product:nth-child(n + 6),
body.woocommerce-shop .wc-block-product-template > .wc-block-product:nth-child(n + 6) { animation-delay: 0.34s !important; }

.woocommerce ul.products li.product:hover,
.wc-block-product:hover,
.wc-block-grid__product:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 14px 28px rgba(11, 15, 26, 0.14) !important;
}

.woocommerce ul.products li.product:hover img,
.wc-block-product:hover img {
  transform: scale(1.05) !important;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

@media (prefers-reduced-motion: reduce) {
  body.post-type-archive-product .woocommerce ul.products li.product,
  body.woocommerce-shop .wc-block-product-template > .wc-block-product,
  .emmy-shop .wc-block-product-template > .wc-block-product {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ================================================================== */
/* HOTFIX 2 — drawer derecha + header utils + animaciones */
/* ================================================================== */

/* Drawer cerrado: NUNCA tapa la columna derecha — solo pointer-events */
.wc-block-components-drawer__screen-overlay--is-hidden {
  pointer-events: none !important;
}

.wc-block-components-drawer__screen-overlay--is-hidden .wc-block-mini-cart__drawer,
.wc-block-components-drawer__screen-overlay--is-hidden .wc-block-components-drawer {
  pointer-events: none !important;
}

.wc-block-components-drawer__screen-overlay:not(.wc-block-components-drawer__screen-overlay--is-hidden) {
  pointer-events: auto !important;
  z-index: 100060 !important;
}

.wc-block-components-drawer__screen-overlay:not(.wc-block-components-drawer__screen-overlay--is-hidden) .wc-block-mini-cart__drawer,
.wc-block-components-drawer__screen-overlay:not(.wc-block-components-drawer__screen-overlay--is-hidden) .wc-block-components-drawer {
  pointer-events: auto !important;
  z-index: 100070 !important;
}

/* Header: logo | nav | utilidades   sin solapes */
.wp-site-blocks > header,
header.wp-block-template-part,
.elementor-location-header {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.75rem 1rem !important;
  padding: 0.55rem 3.5vw !important;
  overflow: visible !important;
}

.wp-site-blocks > header > .wp-block-group,
header.wp-block-template-part > .wp-block-group {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-width: 0 !important;
  gap: 0.75rem !important;
}

.wp-site-blocks > header .wp-block-site-logo,
.wp-site-blocks > header figure.wp-block-image,
header.wp-block-template-part .wp-block-site-logo,
header.wp-block-template-part figure.wp-block-image {
  flex: 0 0 auto !important;
  margin: 0 !important;
  z-index: 2 !important;
}

.wp-site-blocks > header .wp-block-site-logo img,
header.wp-block-template-part figure.wp-block-image img {
  height: 52px !important;
  max-height: 52px !important;
  width: auto !important;
}

body.emmy-header-compact .wp-site-blocks > header .wp-block-site-logo img,
body.emmy-header-compact header.wp-block-template-part figure.wp-block-image img {
  height: 44px !important;
  max-height: 44px !important;
}

.wp-site-blocks > header .wp-block-navigation,
header.wp-block-template-part .wp-block-navigation {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  justify-content: center !important;
  z-index: 2 !important;
  position: relative !important;
  overflow: visible !important;
}

.wp-site-blocks > header .wp-block-navigation__container {
  flex-wrap: nowrap !important;
  justify-content: center !important;
}

/* Utilidades (buscar / cuenta / carrito) siempre encima y clickeables */
.wp-site-blocks > header .wp-block-woocommerce-mini-cart,
.wp-site-blocks > header .wc-block-mini-cart,
.wp-site-blocks > header .wp-block-woocommerce-customer-account,
.wp-site-blocks > header .wp-block-search,
header.wp-block-template-part .wp-block-woocommerce-mini-cart,
header.wp-block-template-part .wc-block-mini-cart,
header.wp-block-template-part .wp-block-woocommerce-customer-account,
header.wp-block-template-part .wp-block-search,
.emmy-utility-bar {
  flex: 0 0 auto !important;
  position: relative !important;
  z-index: 80 !important;
  pointer-events: auto !important;
  isolation: isolate;
}

.wp-site-blocks > header .wc-block-mini-cart__button,
.wp-site-blocks > header .wp-block-woocommerce-customer-account a,
.wp-site-blocks > header .wp-block-search__button,
header.wp-block-template-part .wc-block-mini-cart__button,
header.wp-block-template-part .wp-block-woocommerce-customer-account a,
header.wp-block-template-part .wp-block-search__button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  z-index: 81 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  min-width: 42px !important;
  min-height: 42px !important;
  padding: 0.45rem !important;
  border-radius: 999px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: var(--gold-soft) !important;
  fill: var(--gold-soft) !important;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease,
    color 220ms ease !important;
}

.wp-site-blocks > header .wc-block-mini-cart__button:hover,
.wp-site-blocks > header .wc-block-mini-cart__button:focus-visible,
.wp-site-blocks > header .wp-block-woocommerce-customer-account a:hover,
.wp-site-blocks > header .wp-block-woocommerce-customer-account a:focus-visible,
.wp-site-blocks > header .wp-block-search__button:hover,
.wp-site-blocks > header .wp-block-search__button:focus-visible,
header.wp-block-template-part .wc-block-mini-cart__button:hover,
header.wp-block-template-part .wp-block-woocommerce-customer-account a:hover,
header.wp-block-template-part .wp-block-search__button:hover {
  background: rgba(201, 162, 39, 0.14) !important;
  border-color: rgba(201, 162, 39, 0.7) !important;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2) !important;
  transform: translateY(-1px) scale(1.05) !important;
  color: var(--gold) !important;
  fill: var(--gold) !important;
}

.wp-site-blocks > header .wc-block-mini-cart__button:active,
.wp-site-blocks > header .wp-block-woocommerce-customer-account a:active,
.wp-site-blocks > header .wp-block-search__button:active {
  transform: scale(0.96) !important;
}

.wp-site-blocks > header .wc-block-mini-cart__button svg,
.wp-site-blocks > header .wp-block-woocommerce-customer-account svg,
.wp-site-blocks > header .wp-block-search__button svg {
  color: inherit !important;
  fill: currentColor !important;
  pointer-events: none !important;
}

/* Productos / main siempre clickeables por encima del drawer cerrado */
.wp-site-blocks > main,
main,
.woocommerce ul.products,
.wc-block-product-template,
.wc-block-product,
.woocommerce ul.products li.product {
  position: relative !important;
  z-index: 2 !important;
  pointer-events: auto !important;
}

.woocommerce ul.products li.product a,
.wc-block-product a,
.wc-block-components-product-image a,
.wc-block-components-product-button,
.wc-block-components-product-button a,
.wc-block-components-product-button button {
  pointer-events: auto !important;
  position: relative !important;
  z-index: 3 !important;
}

/* Cards: animaci n entrada + hover en TODAS las columnas */
@keyframes emmy-card-enter {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.woocommerce ul.products li.product,
.wc-block-product-template > .wc-block-product,
.wc-block-grid__products > .wc-block-grid__product,
.sistemapos-product-card {
  opacity: 1 !important;
  animation: emmy-card-enter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
}

.woocommerce ul.products li.product:hover,
.wc-block-product:hover,
.wc-block-grid__product:hover,
.sistemapos-product-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 14px 28px rgba(11, 15, 26, 0.14) !important;
}

.woocommerce ul.products li.product:hover img,
.wc-block-product:hover img {
  transform: scale(1.05) !important;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* ================================================================== */
/* Polish pedido: filtros cats, footer=header, PDP, carrito, cats UI   */
/* ================================================================== */

/* Filtros: ocultar "Filtro" + precio/stock; solo categor as */
.sistemapos-shop-filters > h2,
.emmy-filters > h2,
.sistemapos-shop-filters h2:first-child,
.emmy-filters .wp-block-heading:first-child,
.sistemapos-shop-filters__price,
.sistemapos-shop-filters h3 + .sistemapos-shop-filters__price,
.wc-block-price-filter,
.wp-block-woocommerce-product-filter-price,
.wp-block-woocommerce-product-filter-price-slider,
.wc-block-stock-filter,
.wc-block-attribute-filter,
.wp-block-woocommerce-filter-wrapper:has(.wc-block-price-filter),
.wp-block-woocommerce-filter-wrapper:has(.wc-block-stock-filter),
.wp-block-woocommerce-filter-wrapper:has(.wc-block-attribute-filter),
.wp-block-woocommerce-active-filters {
  display: none !important;
}

.sistemapos-shop-filters__cats,
.widget_product_categories ul,
.wc-block-product-categories-list {
  display: block !important;
  margin: 0 !important;
}

/* Categor as: pill dorada visible SIEMPRE (no solo hover) */
.sistemapos-shop-filters__cats a,
.widget_product_categories a,
.wc-block-product-categories-list-item a,
.sistemapos-shop-filters .wc-block-checkbox-list label {
  background: rgba(201, 162, 39, 0.08) !important;
  border: 1px solid rgba(201, 162, 39, 0.22) !important;
  color: var(--navy) !important;
  transform: none !important;
}

.sistemapos-shop-filters__cats a:hover,
.widget_product_categories a:hover,
.wc-block-product-categories-list-item a:hover,
.sistemapos-shop-filters .wc-block-checkbox-list li:hover label {
  background: rgba(201, 162, 39, 0.16) !important;
  border-color: rgba(201, 162, 39, 0.45) !important;
  color: var(--navy) !important;
}

.sistemapos-shop-filters__cats .current-cat > a,
.widget_product_categories .current-cat > a,
.wc-block-product-categories-list-item.is-current a {
  background: rgba(201, 162, 39, 0.2) !important;
  border-color: rgba(201, 162, 39, 0.55) !important;
  font-weight: 500 !important;
}

.sistemapos-shop-filters__cats a::before,
.widget_product_categories a::before,
.wc-block-product-categories-list-item a::before {
  background-color: var(--gold) !important;
  opacity: 0.85;
}

.sistemapos-shop-filters__cats .current-cat > a::before,
.widget_product_categories .current-cat > a::before,
.wc-block-product-categories-list-item.is-current a::before {
  background-color: var(--navy) !important;
  opacity: 1;
}

/* Footer = mismo lienzo navy + rombos oro del header */
footer.wp-block-template-part,
.wp-site-blocks > footer,
.elementor-location-footer,
body .site-footer {
  background-color: var(--navy) !important;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 54px, rgba(201, 162, 39, 0.12) 54px 55px),
    repeating-linear-gradient(-45deg, transparent 0 54px, rgba(201, 162, 39, 0.1) 54px 55px),
    radial-gradient(ellipse 90% 80% at 18% -8%, rgba(201, 162, 39, 0.18), transparent 52%),
    linear-gradient(180deg, #141b2e 0%, var(--navy) 52%, #090d14 100%) !important;
  border-top: 1px solid rgba(201, 162, 39, 0.4) !important;
  color: var(--ivory) !important;
  box-shadow: none !important;
}

footer.wp-block-template-part a,
.wp-site-blocks > footer a,
.elementor-location-footer a {
  color: var(--gold-soft) !important;
}

footer.wp-block-template-part a:hover,
.wp-site-blocks > footer a:hover {
  color: var(--gold) !important;
}

footer.wp-block-template-part p,
.wp-site-blocks > footer p,
.elementor-location-footer p {
  color: rgba(243, 237, 227, 0.72) !important;
}

footer.wp-block-template-part .wp-block-heading,
.elementor-location-footer .elementor-heading-title {
  color: var(--gold) !important;
}

/* PDP: ocultar stock duplicado (queda "X disponibles") */
body.single-product p.stock.in-stock,
body.single-product .sistemapos-pdp-stock:not(.is-oos),
body.single-product .wp-block-woocommerce-product-stock-indicator,
body.single-product .wc-block-components-product-stock-indicator:not(.wc-block-components-product-stock-indicator--out-of-stock) {
  display: none !important;
}

/* Carrito header: mismo dise o/animaci n que cuenta */
.wp-site-blocks > header .wc-block-mini-cart,
.wp-site-blocks > header .wp-block-woocommerce-mini-cart,
header.wp-block-template-part .wc-block-mini-cart,
header.wp-block-template-part .wp-block-woocommerce-mini-cart {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  position: relative !important;
  z-index: 90 !important;
  pointer-events: auto !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
}

.wp-site-blocks > header .wc-block-mini-cart__button,
header.wp-block-template-part .wc-block-mini-cart__button,
.wp-site-blocks > header .wp-block-woocommerce-customer-account a,
header.wp-block-template-part .wp-block-woocommerce-customer-account a,
.wp-site-blocks > header .wp-block-search__button,
header.wp-block-template-part .wp-block-search__button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 999px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--gold-soft) !important;
  -webkit-text-fill-color: var(--gold-soft) !important;
  fill: var(--gold-soft) !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  position: relative !important;
  z-index: 91 !important;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease,
    color 220ms ease !important;
}

.wp-site-blocks > header .wc-block-mini-cart__button:hover,
.wp-site-blocks > header .wc-block-mini-cart__button:focus-visible,
header.wp-block-template-part .wc-block-mini-cart__button:hover,
.wp-site-blocks > header .wp-block-woocommerce-customer-account a:hover,
header.wp-block-template-part .wp-block-woocommerce-customer-account a:hover,
.wp-site-blocks > header .wp-block-search__button:hover {
  background: rgba(201, 162, 39, 0.14) !important;
  border-color: rgba(201, 162, 39, 0.7) !important;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2) !important;
  transform: translateY(-1px) scale(1.05) !important;
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
  fill: var(--gold) !important;
}

.wp-site-blocks > header .wc-block-mini-cart__button:active,
.wp-site-blocks > header .wp-block-woocommerce-customer-account a:active,
.wp-site-blocks > header .wp-block-search__button:active {
  transform: scale(0.96) !important;
}

.wp-site-blocks > header .wc-block-mini-cart__button svg,
.wp-site-blocks > header .wc-block-mini-cart__icon,
.wp-site-blocks > header .wp-block-woocommerce-customer-account svg,
.wp-site-blocks > header .wp-block-search__button svg {
  width: 22px !important;
  height: 22px !important;
  color: inherit !important;
  fill: currentColor !important;
  pointer-events: none !important;
}

.wp-site-blocks > header .wc-block-mini-cart__badge {
  background: var(--gold) !important;
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
  border: 0 !important;
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  min-width: 1.1rem !important;
  height: 1.1rem !important;
  line-height: 1.1rem !important;
  top: -2px !important;
  right: -2px !important;
}

.wp-site-blocks > header .wc-block-mini-cart__amount,
.wp-site-blocks > header .wc-block-mini-cart__text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

/* ================================================================== */
/* Fix: stock visible, drawer no pelea WC, header, cuenta, cat PDP     */
/* ================================================================== */

/* Stock: NO ocultar p.stock   solo el duplicado custom */
body.single-product p.stock.in-stock,
body.single-product p.stock,
body.single-product .wp-block-woocommerce-product-stock-indicator,
body.single-product .wc-block-components-product-stock-indicator {
  display: block !important;
  visibility: visible !important;
}

body.single-product .sistemapos-pdp-stock:not(.is-oos) {
  display: none !important;
}

body.single-product .emmy-pdp-buy {
  pointer-events: auto !important;
  position: relative !important;
  z-index: 5 !important;
  cursor: pointer !important;
}

/* Drawer cerrado: solo pointer-events, sin visibility forzada */
.wc-block-mini-cart__drawer,
.wc-block-components-drawer.wc-block-mini-cart__drawer {
  /* deja que WC controle visibility/transform al abrir */
}

.wc-block-components-drawer__screen-overlay--is-hidden {
  pointer-events: none !important;
}

.wc-block-components-drawer__screen-overlay--is-hidden .wc-block-mini-cart__drawer,
.wc-block-components-drawer__screen-overlay--is-hidden .wc-block-components-drawer {
  pointer-events: none !important;
}

.wc-block-components-drawer__screen-overlay:not(.wc-block-components-drawer__screen-overlay--is-hidden) {
  pointer-events: auto !important;
  z-index: 100060 !important;
}

.wc-block-components-drawer__screen-overlay:not(.wc-block-components-drawer__screen-overlay--is-hidden) .wc-block-mini-cart__drawer {
  pointer-events: auto !important;
  visibility: visible !important;
  z-index: 100070 !important;
}

/* Header: sin desborde; utilidades siempre visibles y clickeables */
.wp-site-blocks > header,
header.wp-block-template-part,
.elementor-location-header {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 0.5rem 0.75rem !important;
  padding: 0.45rem 3vw !important;
  overflow: visible !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.wp-site-blocks > header > .wp-block-group,
header.wp-block-template-part > .wp-block-group {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  gap: 0.5rem !important;
  overflow: visible !important;
}

.wp-site-blocks > header .wp-block-site-logo img,
header.wp-block-template-part figure.wp-block-image img {
  height: 44px !important;
  max-height: 44px !important;
  width: auto !important;
  max-width: min(160px, 28vw) !important;
}

.wp-site-blocks > header .wp-block-navigation,
header.wp-block-template-part .wp-block-navigation {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none !important;
  z-index: 1 !important;
}

.wp-site-blocks > header .wp-block-navigation::-webkit-scrollbar {
  display: none !important;
}

.wp-site-blocks > header .wp-block-navigation-item__label {
  white-space: nowrap !important;
  font-size: 0.72rem !important;
}

/* Utils cluster derecha */
.wp-site-blocks > header .wp-block-search,
.wp-site-blocks > header .wp-block-woocommerce-customer-account,
.wp-site-blocks > header .wc-block-mini-cart,
.wp-site-blocks > header .wp-block-woocommerce-mini-cart,
header.wp-block-template-part .wp-block-search,
header.wp-block-template-part .wp-block-woocommerce-customer-account,
header.wp-block-template-part .wc-block-mini-cart,
header.wp-block-template-part .wp-block-woocommerce-mini-cart {
  flex: 0 0 auto !important;
  position: relative !important;
  z-index: 100 !important;
  pointer-events: auto !important;
  overflow: visible !important;
}

.wp-site-blocks > header .wc-block-mini-cart__button,
.wp-site-blocks > header .wp-block-woocommerce-customer-account a,
.wp-site-blocks > header .wp-block-search__button,
header.wp-block-template-part .wc-block-mini-cart__button,
header.wp-block-template-part .wp-block-woocommerce-customer-account a,
header.wp-block-template-part .wp-block-search__button {
  pointer-events: auto !important;
  z-index: 101 !important;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease,
    color 220ms ease !important;
}

.wp-site-blocks > header .wc-block-mini-cart__button:hover,
.wp-site-blocks > header .wp-block-woocommerce-customer-account a:hover,
.wp-site-blocks > header .wp-block-search__button:hover {
  background: rgba(201, 162, 39, 0.14) !important;
  border-color: rgba(201, 162, 39, 0.7) !important;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2) !important;
  transform: translateY(-1px) scale(1.05) !important;
  color: var(--gold) !important;
}

/* Categor a en detalle: m s visible + animaci n notoria */
body.single-product .taxonomy-product_cat,
body.single-product .wp-block-post-terms,
body.single-product .product_meta .posted_in {
  display: inline-flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.35rem 0 0.85rem !important;
  padding: 0.4rem 0.85rem !important;
  background: rgba(201, 162, 39, 0.12) !important;
  border: 1px solid rgba(201, 162, 39, 0.4) !important;
  border-radius: 999px !important;
  font-family: var(--ui) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: var(--gold-soft) !important;
  -webkit-text-fill-color: var(--gold-soft) !important;
  animation: emmy-cat-pulse 2.4s ease-in-out infinite;
}

body.single-product .taxonomy-product_cat a,
body.single-product .wp-block-post-terms a,
body.single-product .product_meta .posted_in a {
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
  text-decoration: none !important;
}

@keyframes emmy-cat-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.35);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(201, 162, 39, 0);
    transform: scale(1.02);
  }
}

/* Mi cuenta: tarjeta con m s aire */
body.woocommerce-account .woocommerce-MyAccount-content {
  padding: 2.75rem 2.5rem 3.5rem !important;
  max-width: 560px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.woocommerce-account .woocommerce-MyAccount-content p,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-MyAccount-dashboard p {
  margin: 0 0 1.15rem !important;
  line-height: 1.75 !important;
  font-size: 0.95rem !important;
}

body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3 {
  margin: 0 0 1.35rem !important;
  line-height: 1.25 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address,
body.woocommerce-account .woocommerce-MyAccount-content .u-columns,
body.woocommerce-account .woocommerce-MyAccount-content fieldset,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .form-row,
body.woocommerce-account .woocommerce-MyAccount-content p.form-row {
  margin: 0 0 1.25rem !important;
  padding: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content label {
  display: block !important;
  margin-bottom: 0.45rem !important;
  letter-spacing: 0.04em;
}

body.woocommerce-account .woocommerce-MyAccount-content input.input-text,
body.woocommerce-account .woocommerce-MyAccount-content select,
body.woocommerce-account .woocommerce-MyAccount-content textarea {
  margin-top: 0.15rem !important;
  padding: 0.75rem 0.9rem !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .button,
body.woocommerce-account .woocommerce-MyAccount-content button[type="submit"] {
  margin-top: 0.75rem !important;
  padding: 0.85rem 1.5rem !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Message,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message {
  margin: 0 0 1.5rem !important;
  padding: 1rem 1.15rem !important;
}

@media (prefers-reduced-motion: reduce) {
  body.single-product .taxonomy-product_cat,
  body.single-product .wp-block-post-terms,
  body.single-product .product_meta .posted_in {
    animation: none !important;
  }
}

/* ================================================================== */
/* Site-wide: header sin overflow + clicks animados + Comprar ahora    */
/* ================================================================== */

@keyframes emmy-tap-pop {
  0% { transform: scale(1); }
  40% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

@keyframes emmy-buy-shine {
  0% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.45); transform: translateY(0) scale(1); }
  40% { box-shadow: 0 0 0 10px rgba(201, 162, 39, 0); transform: translateY(-2px) scale(1.03); }
  100% { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22); transform: translateY(0) scale(1); }
}

@keyframes emmy-nav-ink {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Header contenedor: nunca desborda el viewport */
.wp-site-blocks > header,
header.wp-block-template-part,
.elementor-location-header,
body .wp-site-blocks > header {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.4rem 0.6rem !important;
  padding: 0.4rem max(12px, 2.5vw) !important;
  overflow: visible !important;
}

.wp-site-blocks > header > .wp-block-group,
header.wp-block-template-part > .wp-block-group {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  gap: 0.4rem 0.55rem !important;
  box-sizing: border-box !important;
}

.wp-site-blocks > header .wp-block-site-logo,
.wp-site-blocks > header figure.wp-block-image,
header.wp-block-template-part .wp-block-site-logo {
  flex: 0 0 auto !important;
  max-width: min(140px, 26vw) !important;
}

.wp-site-blocks > header .wp-block-site-logo img,
header.wp-block-template-part figure.wp-block-image img {
  height: 40px !important;
  max-height: 40px !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
}

body.emmy-header-compact .wp-site-blocks > header .wp-block-site-logo img,
body.emmy-header-compact header.wp-block-template-part figure.wp-block-image img {
  height: 34px !important;
  max-height: 34px !important;
}

/* Nav: se encoge y hace scroll interno si no cabe */
.wp-site-blocks > header .wp-block-navigation,
header.wp-block-template-part .wp-block-navigation {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  max-width: none !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch;
  z-index: 1 !important;
}

.wp-site-blocks > header .wp-block-navigation::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
}

.wp-site-blocks > header .wp-block-navigation__container {
  flex-wrap: nowrap !important;
  gap: 0 !important;
}

.wp-site-blocks > header .wp-block-navigation-item {
  flex: 0 0 auto !important;
  padding: 0 0.55rem !important;
}

.wp-site-blocks > header .wp-block-navigation-item__label {
  font-size: 0.68rem !important;
  letter-spacing: 0.1em !important;
}

/* Subrayado animado en nav (siempre site-wide) */
.wp-site-blocks > header .wp-block-navigation-item__content,
header.wp-block-template-part .wp-block-navigation-item__content {
  position: relative !important;
  display: inline-block !important;
  transition: color 200ms ease, transform 180ms ease !important;
}

.wp-site-blocks > header .wp-block-navigation-item__content::after,
header.wp-block-template-part .wp-block-navigation-item__content::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: -0.3rem !important;
  height: 2px !important;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft)) !important;
  transform: scaleX(0) !important;
  transform-origin: left center !important;
  transition: transform 240ms ease !important;
}

.wp-site-blocks > header .wp-block-navigation-item__content:hover::after,
.wp-site-blocks > header .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content::after,
header.wp-block-template-part .wp-block-navigation-item__content:hover::after {
  transform: scaleX(1) !important;
}

.wp-site-blocks > header .wp-block-navigation-item__content:hover {
  color: var(--gold) !important;
  transform: translateY(-1px) !important;
}

.wp-site-blocks > header .wp-block-navigation-item__content.emmy-tap {
  animation: emmy-tap-pop 280ms ease !important;
}

/* Cluster utils: nunca se encoge ni se sale */
.wp-site-blocks > header .emmy-utility-bar,
.wp-site-blocks > header .wp-block-search,
.wp-site-blocks > header .wp-block-woocommerce-customer-account,
.wp-site-blocks > header .wc-block-mini-cart,
.wp-site-blocks > header .wp-block-woocommerce-mini-cart,
header.wp-block-template-part .wp-block-search,
header.wp-block-template-part .wp-block-woocommerce-customer-account,
header.wp-block-template-part .wc-block-mini-cart,
header.wp-block-template-part .wp-block-woocommerce-mini-cart {
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  position: relative !important;
  z-index: 120 !important;
  pointer-events: auto !important;
}

/* B squeda header = solo icono (abre al click) */
header .wp-block-search.emmy-header-search,
.wp-site-blocks > header .wp-block-search {
  width: 42px !important;
  max-width: 42px !important;
  transition: width 220ms ease, max-width 220ms ease !important;
}

header .wp-block-search.emmy-header-search .wp-block-search__inside-wrapper,
.wp-site-blocks > header .wp-block-search .wp-block-search__inside-wrapper {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 42px !important;
  border-radius: 999px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  overflow: hidden !important;
  padding: 0 !important;
}

header .wp-block-search.emmy-header-search .wp-block-search__label,
.wp-site-blocks > header .wp-block-search .wp-block-search__label {
  display: none !important;
}

header .wp-block-search.emmy-header-search .wp-block-search__input,
.wp-site-blocks > header .wp-block-search .wp-block-search__input {
  width: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  border: 0 !important;
  pointer-events: none !important;
}

header .wp-block-search.emmy-header-search.is-open,
.wp-site-blocks > header .wp-block-search.is-open {
  width: min(220px, 42vw) !important;
  max-width: min(220px, 42vw) !important;
}

header .wp-block-search.emmy-header-search.is-open .wp-block-search__input,
.wp-site-blocks > header .wp-block-search.is-open .wp-block-search__input {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  padding: 0 0.65rem !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  color: var(--ivory) !important;
  -webkit-text-fill-color: var(--ivory) !important;
}

header .wp-block-search.emmy-header-search.is-open .wp-block-search__inside-wrapper,
.wp-site-blocks > header .wp-block-search.is-open .wp-block-search__inside-wrapper {
  border-color: rgba(201, 162, 39, 0.55) !important;
  background: rgba(243, 237, 227, 0.08) !important;
}

/* Botones header: hover + active + tap en TODA la web */
.wp-site-blocks > header .wc-block-mini-cart__button,
.wp-site-blocks > header .wp-block-woocommerce-customer-account a,
.wp-site-blocks > header .wp-block-search__button,
header.wp-block-template-part .wc-block-mini-cart__button,
header.wp-block-template-part .wp-block-woocommerce-customer-account a,
header.wp-block-template-part .wp-block-search__button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: var(--gold-soft) !important;
  fill: var(--gold-soft) !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  z-index: 121 !important;
  transition:
    background 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease,
    color 200ms ease !important;
}

.wp-site-blocks > header .wc-block-mini-cart__button:hover,
.wp-site-blocks > header .wp-block-woocommerce-customer-account a:hover,
.wp-site-blocks > header .wp-block-search__button:hover,
.wp-site-blocks > header .wc-block-mini-cart__button:focus-visible,
.wp-site-blocks > header .wp-block-woocommerce-customer-account a:focus-visible,
.wp-site-blocks > header .wp-block-search__button:focus-visible {
  background: rgba(201, 162, 39, 0.16) !important;
  border-color: rgba(201, 162, 39, 0.75) !important;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.22) !important;
  transform: translateY(-2px) scale(1.06) !important;
  color: var(--gold) !important;
  fill: var(--gold) !important;
}

.wp-site-blocks > header .wc-block-mini-cart__button:active,
.wp-site-blocks > header .wp-block-woocommerce-customer-account a:active,
.wp-site-blocks > header .wp-block-search__button:active,
.wp-site-blocks > header .wc-block-mini-cart__button.emmy-tap,
.wp-site-blocks > header .wp-block-woocommerce-customer-account a.emmy-tap,
.wp-site-blocks > header .wp-block-search__button.emmy-tap {
  animation: emmy-tap-pop 280ms ease !important;
  transform: scale(0.92) !important;
}

.wp-site-blocks > header .wc-block-mini-cart__button.emmy-cart-bounce {
  animation: emmy-cart-pop 280ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* Comprar ahora: animaci n clara hover/active/click */
body.single-product .emmy-pdp-buy {
  position: relative !important;
  overflow: hidden !important;
  pointer-events: auto !important;
  z-index: 6 !important;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease,
    color 220ms ease,
    border-color 220ms ease !important;
}

body.single-product .emmy-pdp-buy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(201, 162, 39, 0.25) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 520ms ease;
  pointer-events: none;
}

body.single-product .emmy-pdp-buy:hover {
  transform: translateY(-3px) scale(1.02) !important;
  background: rgba(201, 162, 39, 0.16) !important;
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28) !important;
}

body.single-product .emmy-pdp-buy:hover::before {
  transform: translateX(120%);
}

body.single-product .emmy-pdp-buy:active,
body.single-product .emmy-pdp-buy.emmy-tap,
body.single-product .emmy-pdp-buy.emmy-buy-pulse {
  animation: emmy-buy-shine 360ms ease !important;
}

body.single-product .single_add_to_cart_button:active,
body.single-product .single_add_to_cart_button.emmy-tap {
  transform: scale(0.97) !important;
}

@media (max-width: 781px) {
  .wp-site-blocks > header .wp-block-navigation-item {
    padding: 0 0.4rem !important;
  }
  .wp-site-blocks > header .wp-block-navigation-item__label {
    font-size: 0.62rem !important;
  }
  header .wp-block-search.emmy-header-search.is-open,
  .wp-site-blocks > header .wp-block-search.is-open {
    width: min(160px, 38vw) !important;
    max-width: min(160px, 38vw) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .emmy-tap,
  .emmy-buy-pulse,
  .emmy-cart-bounce,
  body.single-product .emmy-pdp-buy::before {
    animation: none !important;
    transition: none !important;
  }
}

/* ================================================================== */
/* FIX header full-bleed + clicks/anims (todas las p ginas)            */
/* ================================================================== */

html,
body {
  max-width: 100% !important;
}

.wp-site-blocks {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Header pegado a los bordes   sin 100% (causa hueco blanco) */
.wp-site-blocks > header,
header.wp-block-template-part,
.elementor-location-header,
body .wp-site-blocks > header.wp-block-template-part {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: none !important;
  inset-inline: 0 !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  z-index: 1000 !important;
  display: flex !important;
  align-items: center !important;
  padding-inline: var(--gutter) !important;
}

.admin-bar .wp-site-blocks > header,
.admin-bar header.wp-block-template-part,
.admin-bar .elementor-location-header {
  top: 32px !important;
}

@media screen and (max-width: 782px) {
  .admin-bar .wp-site-blocks > header,
  .admin-bar header.wp-block-template-part {
    top: 46px !important;
  }
}

/* Si el header est  dentro de grupo constrained, romper el max-width */
.wp-site-blocks > header.is-layout-constrained,
.wp-site-blocks > header .is-layout-constrained,
header.wp-block-template-part.is-layout-constrained {
  max-width: none !important;
}

.wp-site-blocks > header > .wp-block-group,
header.wp-block-template-part > .wp-block-group {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Utils clickeables por encima de todo el header */
.wp-site-blocks > header .wc-block-mini-cart,
.wp-site-blocks > header .wp-block-woocommerce-mini-cart,
.wp-site-blocks > header .wp-block-woocommerce-customer-account,
.wp-site-blocks > header .wp-block-search,
header.wp-block-template-part .wc-block-mini-cart,
header.wp-block-template-part .wp-block-woocommerce-customer-account,
header.wp-block-template-part .wp-block-search {
  position: relative !important;
  z-index: 200 !important;
  pointer-events: auto !important;
  flex-shrink: 0 !important;
}

.wp-site-blocks > header .wc-block-mini-cart__button,
.wp-site-blocks > header .wp-block-woocommerce-customer-account a,
.wp-site-blocks > header .wp-block-search__button,
header.wp-block-template-part .wc-block-mini-cart__button,
header.wp-block-template-part .wp-block-woocommerce-customer-account a,
header.wp-block-template-part .wp-block-search__button {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 201 !important;
  transition:
    background 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease,
    color 200ms ease !important;
}

.wp-site-blocks > header .wc-block-mini-cart__button:hover,
.wp-site-blocks > header .wp-block-woocommerce-customer-account a:hover,
.wp-site-blocks > header .wp-block-search__button:hover {
  background: rgba(201, 162, 39, 0.16) !important;
  border-color: rgba(201, 162, 39, 0.75) !important;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.22) !important;
  transform: translateY(-2px) scale(1.06) !important;
  color: var(--gold) !important;
}

.wp-site-blocks > header .wc-block-mini-cart__button.emmy-tap,
.wp-site-blocks > header .wp-block-woocommerce-customer-account a.emmy-tap,
.wp-site-blocks > header .wp-block-search__button.emmy-tap,
.wp-site-blocks > header .wp-block-navigation-item__content.emmy-tap {
  animation: emmy-tap-pop 280ms ease !important;
}

.wp-site-blocks > header .wc-block-mini-cart__button.emmy-cart-bounce {
  animation: emmy-cart-pop 280ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* Nav no tapa iconos */
.wp-site-blocks > header .wp-block-navigation {
  z-index: 1 !important;
  pointer-events: auto !important;
}

.wp-site-blocks > header .wp-block-navigation-item__content {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Tarjetas: animaci n hover + tap al click (todas) */
@keyframes emmy-card-tap {
  0% { transform: translateY(0) scale(1); }
  45% { transform: translateY(2px) scale(0.985); }
  100% { transform: translateY(-4px) scale(1); }
}

.woocommerce ul.products li.product,
.wc-block-product-template > .wc-block-product,
.wc-block-grid__products > .wc-block-grid__product,
.sistemapos-product-card {
  transition: transform 280ms ease, box-shadow 280ms ease !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

.woocommerce ul.products li.product:hover,
.wc-block-product:hover,
.wc-block-grid__product:hover,
.sistemapos-product-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 14px 28px rgba(11, 15, 26, 0.14) !important;
}

.woocommerce ul.products li.product.emmy-tap,
.woocommerce ul.products li.product.emmy-card-tap,
.wc-block-product.emmy-tap,
.wc-block-product.emmy-card-tap,
.wc-block-grid__product.emmy-tap,
.sistemapos-product-card.emmy-tap {
  animation: emmy-card-tap 320ms ease !important;
}

.woocommerce ul.products li.product a,
.wc-block-product a,
.wc-block-components-product-image,
.wc-block-components-product-button,
.wc-block-components-product-button a,
.wc-block-components-product-button button {
  pointer-events: auto !important;
}

@media (prefers-reduced-motion: reduce) {
  .emmy-tap,
  .emmy-card-tap,
  .emmy-cart-bounce {
    animation: none !important;
  }
}

/* ================================================================== */
/* PDP: un solo SKU + botones con animaci n m s notoria                */
/* ================================================================== */

/* SKU: solo el custom con numero; nativos (pills vacias) ocultos */
body.single-product .sistemapos-pdp-sku:not([hidden]) {
  display: block !important;
  margin: 0.35rem 0 0.75rem !important;
  font-family: var(--ui) !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.04em !important;
  color: rgba(243, 237, 227, 0.7) !important;
  -webkit-text-fill-color: rgba(243, 237, 227, 0.7) !important;
}

body.single-product .wp-block-woocommerce-product-sku,
body.single-product .product_meta .sku_wrapper,
body.single-product .sku_wrapper,
body.single-product .woocommerce-product-attributes-item--sku,
body.single-product .product_meta .sku {
  display: none !important;
}

@keyframes emmy-pdp-btn-in {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes emmy-pdp-btn-pulse {
  0% { transform: translateY(0) scale(1); box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.55); }
  45% { transform: translateY(-4px) scale(1.045); box-shadow: 0 0 0 14px rgba(201, 162, 39, 0); }
  100% { transform: translateY(0) scale(1); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28); }
}

@keyframes emmy-pdp-shine {
  0% { transform: translateX(-130%) skewX(-12deg); }
  100% { transform: translateX(130%) skewX(-12deg); }
}

body.single-product .emmy-pdp-cta {
  gap: 0.9rem !important;
  margin-top: 0.65rem !important;
}

body.single-product .single_add_to_cart_button,
body.single-product .emmy-pdp-cta .single_add_to_cart_button,
body.single-product .emmy-pdp-buy {
  position: relative !important;
  overflow: hidden !important;
  min-height: 54px !important;
  animation: emmy-pdp-btn-in 420ms cubic-bezier(0.22, 1, 0.36, 1) both !important;
  transition:
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 240ms ease,
    background 240ms ease,
    border-color 240ms ease,
    color 240ms ease !important;
}

body.single-product .emmy-pdp-buy {
  animation-delay: 80ms !important;
}

body.single-product .single_add_to_cart_button::after,
body.single-product .emmy-pdp-buy::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 45% !important;
  height: 100% !important;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent) !important;
  transform: translateX(-130%) skewX(-12deg) !important;
  pointer-events: none !important;
}

body.single-product .single_add_to_cart_button:hover,
body.single-product .emmy-pdp-cta .single_add_to_cart_button:hover {
  transform: translateY(-5px) scale(1.04) !important;
  background: var(--gold-soft) !important;
  box-shadow: 0 16px 32px rgba(201, 162, 39, 0.35), 0 0 0 3px rgba(201, 162, 39, 0.2) !important;
}

body.single-product .emmy-pdp-buy:hover {
  transform: translateY(-5px) scale(1.04) !important;
  background: rgba(201, 162, 39, 0.2) !important;
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.32), 0 0 0 3px rgba(201, 162, 39, 0.22) !important;
}

body.single-product .single_add_to_cart_button:hover::after,
body.single-product .emmy-pdp-buy:hover::after {
  animation: emmy-pdp-shine 650ms ease !important;
}

body.single-product .single_add_to_cart_button:active,
body.single-product .single_add_to_cart_button.emmy-tap,
body.single-product .emmy-pdp-buy:active,
body.single-product .emmy-pdp-buy.emmy-tap,
body.single-product .emmy-pdp-buy.emmy-buy-pulse {
  animation: emmy-pdp-btn-pulse 420ms ease !important;
}

/* Swatches / qty m s notorios */
body.single-product .sistemapos-swatch {
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background 200ms ease !important;
}

body.single-product .sistemapos-swatch:hover {
  transform: translateY(-3px) scale(1.08) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25) !important;
}

body.single-product .sistemapos-swatch.is-active {
  transform: scale(1.1) !important;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.35) !important;
}

body.single-product .sistemapos-qty-btn {
  transition: transform 160ms ease, background 160ms ease, color 160ms ease !important;
}

body.single-product .sistemapos-qty-btn:hover {
  transform: scale(1.12) !important;
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
}

body.single-product .sistemapos-qty-btn:active {
  transform: scale(0.92) !important;
}

@media (prefers-reduced-motion: reduce) {
  body.single-product .single_add_to_cart_button,
  body.single-product .emmy-pdp-buy,
  body.single-product .sistemapos-swatch {
    animation: none !important;
    transition: none !important;
  }
}

/* Si hay SKU de bloque Woo, oculta el de product_meta (un solo SKU) */
body.single-product:has(.wp-block-woocommerce-product-sku) .product_meta .sku_wrapper,
body.single-product:has(.wp-block-woocommerce-product-sku) .sku_wrapper,
body.single-product:has(.wp-block-woocommerce-product-sku) .product_meta .sku {
  display: none !important;
}

/* ================================================================== */
/* CR TICO: liberar clics derecha + SKU con valor                       */
/* ================================================================== */

/* Drawer cerrado: cero hit-area (hijos tambi n) */
.wc-block-components-drawer__screen-overlay--is-hidden,
.wc-block-components-drawer__screen-overlay[aria-hidden="true"] {
  pointer-events: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.wc-block-components-drawer__screen-overlay--is-hidden *,
.wc-block-components-drawer__screen-overlay[aria-hidden="true"] * {
  pointer-events: none !important;
}

.wc-block-components-drawer__screen-overlay--is-hidden .wc-block-mini-cart__drawer,
.wc-block-mini-cart__drawer[aria-hidden="true"] {
  pointer-events: none !important;
  visibility: hidden !important;
  width: 0 !important;
  max-width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

/* Header utils por encima de cualquier residuo del drawer */
.wp-site-blocks > header .wc-block-mini-cart,
.wp-site-blocks > header .wp-block-woocommerce-mini-cart,
.wp-site-blocks > header .wp-block-woocommerce-customer-account,
.wp-site-blocks > header .wp-block-search,
header.wp-block-template-part .wc-block-mini-cart,
header.wp-block-template-part .wp-block-woocommerce-customer-account,
header.wp-block-template-part .wp-block-search {
  position: relative !important;
  z-index: 100200 !important;
  pointer-events: auto !important;
}

.wp-site-blocks > header .wc-block-mini-cart__button,
.wp-site-blocks > header .wp-block-woocommerce-customer-account a,
.wp-site-blocks > header .wp-block-search__button,
header.wp-block-template-part .wc-block-mini-cart__button,
header.wp-block-template-part .wp-block-woocommerce-customer-account a,
header.wp-block-template-part .wp-block-search__button {
  pointer-events: auto !important;
  position: relative !important;
  z-index: 100201 !important;
  cursor: pointer !important;
}

/* Productos siempre clickeables */
.woocommerce ul.products li.product,
.wc-block-product,
.wc-block-product a,
main,
.wp-site-blocks > main {
  pointer-events: auto !important;
  position: relative;
  z-index: 2;
}

/* SKU: mostrar el nuestro con valor; ocultar nativos vac os/duplicados */
body.single-product .sistemapos-pdp-sku:not([hidden]) {
  display: block !important;
  margin: 0.35rem 0 0.75rem !important;
  font-family: var(--ui) !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.04em !important;
  color: rgba(243, 237, 227, 0.78) !important;
  -webkit-text-fill-color: rgba(243, 237, 227, 0.78) !important;
}

body.single-product .wp-block-woocommerce-product-sku,
body.single-product .product_meta .sku_wrapper,
body.single-product .sku_wrapper,
body.single-product .woocommerce-product-attributes-item--sku,
body.single-product .product_meta .sku {
  display: none !important;
}

/* ================================================================== */
/* Mini-cart aire + b squeda cat logo + perfil Mi cuenta               */
/* ================================================================== */

/* --- Mini-cart: sin "items", m s aire, botones compactos --- */
.wc-block-mini-cart__drawer .wc-block-mini-cart__title .wc-block-mini-cart__badge,
.wc-block-mini-cart__drawer .wc-block-mini-cart__title .badge,
.wc-block-mini-cart__drawer .wc-block-mini-cart__title [class*="badge"],
.wc-block-mini-cart__drawer .wc-block-mini-cart__title span[class*="count"] {
  display: none !important;
}

.wc-block-mini-cart__drawer .wc-block-components-drawer__content,
.wc-block-mini-cart__drawer .wp-block-woocommerce-filled-mini-cart-contents-block,
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-contents {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.15rem !important;
  padding: 1.15rem 1.15rem 1.35rem !important;
  box-sizing: border-box !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__title,
.wc-block-mini-cart__drawer h2.wc-block-mini-cart__title {
  margin: 0.15rem 0 0.35rem !important;
  gap: 0.35rem !important;
  font-size: 1.35rem !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__title::before {
  font-size: 0.95rem !important;
  margin-bottom: 0.1rem;
}

.wc-block-mini-cart__drawer .wc-block-cart-items,
.wc-block-mini-cart__drawer .wc-block-mini-cart-items {
  gap: 1rem !important;
  margin: 0.25rem 0 0.35rem !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-items__row,
.wc-block-mini-cart__drawer .emmy-mini-row {
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: 0 !important;
  align-self: stretch !important;
  padding: 1rem !important;
  gap: 0.65rem 0.9rem !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-items,
.wc-block-mini-cart__drawer .wc-block-mini-cart-items,
.wc-block-mini-cart__drawer .emmy-mini-actions {
  justify-content: flex-start;
  align-content: flex-start;
}

/* Una imagen / un precio */
.wc-block-mini-cart__drawer .wc-block-cart-item__image a + a,
.wc-block-mini-cart__drawer .wc-block-cart-item__image img + img,
.wc-block-mini-cart__drawer .wc-block-components-product-image img + img,
.wc-block-mini-cart__drawer .is-emmy-dup-price,
.wc-block-mini-cart__drawer .is-emmy-dup-name {
  display: none !important;
}

.wc-block-mini-cart__drawer .emmy-mini-shipping {
  margin: 0.35rem 0 0.15rem !important;
  padding: 0.85rem 1rem !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer {
  margin-top: 0.75rem !important;
  padding-top: 1.15rem !important;
  gap: 0.65rem !important;
}

.wc-block-mini-cart__drawer .wc-block-components-totals-item,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-subtotal {
  margin: 0 0 0.65rem !important;
}

.wc-block-mini-cart__drawer .wc-block-components-totals-item__description {
  margin-top: 0.35rem !important;
  line-height: 1.45 !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions {
  gap: 0.7rem !important;
  margin-top: 1rem !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-components-button,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a.wc-block-components-button,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wp-block-button__link {
  min-height: 42px !important;
  padding: 0.65rem 1rem !important;
  font-size: 0.66rem !important;
  letter-spacing: 0.12em !important;
  font-weight: 600 !important;
}

/* --- B squeda: tarjetas tipo cat logo --- */
.emmy-search-grid {
  width: min(1200px, 94vw);
  margin: 0.5rem auto 4.5rem;
}

.emmy-search-query {
  margin-bottom: 2.25rem !important;
  color: var(--navy) !important;
  letter-spacing: 0.18em !important;
}

.emmy-search-grid__list {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  gap: 2rem 1.35rem !important;
}

.emmy-search-card {
  background: #fff;
  border: 1px solid rgba(11, 15, 26, 0.06);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(11, 15, 26, 0.04);
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.emmy-search-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(11, 15, 26, 0.1);
}

.emmy-search-card__media {
  position: relative;
  aspect-ratio: 3 / 4 !important;
  background: #f3ede3;
}

.emmy-search-card__media.is-emmy-placeholder::after {
  content: "emmy";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 1.4rem;
  color: rgba(11, 15, 26, 0.25);
  background: linear-gradient(160deg, #f7f2ea, #ebe3d4);
}

.emmy-search-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.35rem 0.55rem;
  background: rgba(11, 15, 26, 0.82);
  color: var(--gold-soft);
  font-family: var(--ui);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.emmy-search-card__body {
  padding: 1rem 1rem 1.15rem !important;
  gap: 0.35rem !important;
}

.emmy-search-card__meta {
  color: var(--gold) !important;
  letter-spacing: 0.14em !important;
}

.emmy-search-card__name {
  display: block !important;
  font-size: 1.05rem !important;
  color: var(--navy) !important;
}

.emmy-search-card__name::after {
  content: none !important;
}

.emmy-search-card__price {
  font-size: 0.95rem !important;
  font-weight: 600;
  color: var(--gold) !important;
}

.emmy-search-card__cta {
  margin-top: 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--ui);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.7;
  transition: opacity 200ms ease, color 200ms ease;
}

.emmy-search-card__cta::after {
  content: "?";
}

.emmy-search-card:hover .emmy-search-card__cta {
  opacity: 1;
  color: var(--gold-hover);
}

.emmy-search-card.is-oos .emmy-search-card__media img {
  filter: grayscale(0.35);
  opacity: 0.88;
}

@media (max-width: 781px) {
  .emmy-search-grid__list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.25rem 0.85rem !important;
  }
}

/* --- Mi cuenta: perfil personalizado --- */
.emmy-account-profile {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 1.25rem 1.35rem;
  align-items: center;
  margin: 0 0 2rem !important;
  padding: 1.35rem 1.35rem 1.5rem !important;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(201, 162, 39, 0.16), transparent 55%),
    linear-gradient(180deg, #fffdf8 0%, #f7f0e4 100%);
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(11, 15, 26, 0.06);
}

.emmy-account-profile__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--gold);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.2), transparent 45%),
    linear-gradient(145deg, #1a2438 0%, var(--navy) 55%, #0a0e16 100%);
  border: 2px solid rgba(201, 162, 39, 0.65);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.12);
}

.emmy-account-profile__kicker {
  margin: 0 0 0.25rem !important;
  font-family: var(--ui) !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--gold-hover) !important;
  background: none !important;
  padding: 0 !important;
}

.emmy-account-profile__name {
  margin: 0 0 0.4rem !important;
  font-family: var(--display) !important;
  font-size: 1.55rem !important;
  font-weight: 500 !important;
  color: var(--navy) !important;
  line-height: 1.2 !important;
}

.emmy-account-profile__note {
  margin: 0 0 1rem !important;
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
  color: rgba(11, 15, 26, 0.72) !important;
}

.emmy-account-profile__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.emmy-account-profile__btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 1.1rem !important;
  border-radius: 999px !important;
  font-family: var(--ui) !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.emmy-account-profile__btn--primary {
  background: var(--navy) !important;
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
  border: 0 !important;
}

.emmy-account-profile__btn--ghost {
  background: transparent !important;
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
  border: 1px solid rgba(11, 15, 26, 0.2) !important;
}

.emmy-account-profile__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(11, 15, 26, 0.12);
}

body.woocommerce-account .woocommerce-MyAccount-content {
  padding: 2.4rem 2.2rem 3rem !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-MyAccount-dashboard > p:first-of-type {
  display: none !important;
}

@media (max-width: 560px) {
  .emmy-account-profile {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .emmy-account-profile__actions {
    justify-content: center;
  }
}

/* ================================================================== */
/* Mini-cart: botones chicos, sin scrollbars blancas, anims + b squeda */
/* ================================================================== */

/* Sin flechas / barras blancas del sistema */
.wc-block-mini-cart__drawer,
.wc-block-mini-cart__drawer .wc-block-components-drawer__content,
.wc-block-mini-cart__drawer .wp-block-woocommerce-filled-mini-cart-contents-block,
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-contents,
.wc-block-mini-cart__drawer .wc-block-cart-items,
.wc-block-mini-cart__drawer .wc-block-mini-cart-items {
  scrollbar-width: thin !important;
  scrollbar-color: rgba(201, 162, 39, 0.45) transparent !important;
}

.wc-block-mini-cart__drawer::-webkit-scrollbar,
.wc-block-mini-cart__drawer *::-webkit-scrollbar {
  width: 6px !important;
  height: 6px !important;
  background: transparent !important;
}

.wc-block-mini-cart__drawer::-webkit-scrollbar-track,
.wc-block-mini-cart__drawer *::-webkit-scrollbar-track {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.wc-block-mini-cart__drawer::-webkit-scrollbar-thumb,
.wc-block-mini-cart__drawer *::-webkit-scrollbar-thumb {
  background: rgba(201, 162, 39, 0.4) !important;
  border-radius: 999px !important;
  border: 0 !important;
}

.wc-block-mini-cart__drawer::-webkit-scrollbar-button,
.wc-block-mini-cart__drawer *::-webkit-scrollbar-button,
.wc-block-mini-cart__drawer::-webkit-scrollbar-corner,
.wc-block-mini-cart__drawer *::-webkit-scrollbar-corner {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

/* Layout: lista scrollea, footer fijo   evita doble scrollbar */
.wc-block-mini-cart__drawer .wc-block-components-drawer__content,
.wc-block-mini-cart__drawer .wp-block-woocommerce-filled-mini-cart-contents-block {
  display: flex !important;
  flex-direction: column !important;
  max-height: 100% !important;
  overflow: hidden !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-items,
.wc-block-mini-cart__drawer .wc-block-mini-cart-items {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  gap: 1.35rem !important;
  padding: 0.35rem 0.15rem 0.75rem !important;
  margin: 0.5rem 0 0.75rem !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-items__row {
  margin: 0 !important;
  padding: 1.05rem !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer {
  flex: 0 0 auto !important;
  overflow: visible !important;
  margin-top: 0.5rem !important;
  padding-top: 1rem !important;
}

/* Botones m s compactos + animaci n */
@keyframes emmy-mc-btn-shine {
  0% { transform: translateX(-120%) skewX(-14deg); }
  100% { transform: translateX(160%) skewX(-14deg); }
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions {
  gap: 0.55rem !important;
  margin-top: 0.75rem !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-components-button,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a.wc-block-components-button,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wp-block-button__link,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a[href*="carrito"],
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a[href*="cart"],
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a[href*="checkout"],
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a[href*="finalizar"] {
  position: relative !important;
  overflow: hidden !important;
  min-height: 38px !important;
  max-height: 42px !important;
  height: 40px !important;
  padding: 0 1rem !important;
  font-size: 0.62rem !important;
  letter-spacing: 0.11em !important;
  line-height: 1 !important;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms ease,
    background 220ms ease,
    border-color 220ms ease !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-components-button::after,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a.wc-block-components-button::after,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wp-block-button__link::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: 40% !important;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
  transform: translateX(-130%) skewX(-14deg) !important;
  pointer-events: none !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-components-button:hover,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a.wc-block-components-button:hover,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wp-block-button__link:hover,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a[href*="checkout"]:hover,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a[href*="finalizar"]:hover,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a[href*="carrito"]:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 10px 22px rgba(201, 162, 39, 0.28) !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-components-button:hover::after,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a.wc-block-components-button:hover::after,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wp-block-button__link:hover::after {
  animation: emmy-mc-btn-shine 620ms ease !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-components-button:active,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a.wc-block-components-button:active {
  transform: scale(0.97) !important;
}

/* --- B squeda: forzar dise o cat logo --- */
body.search.emmy-search-catalog main,
body.search-results.emmy-search-catalog main {
  padding-top: 1.5rem !important;
}

body.search.emmy-search-mounted .wp-block-query,
body.search.emmy-search-mounted .wp-block-post-template,
body.search.emmy-search-mounted main > ul.products {
  display: none !important;
}

.emmy-search-grid {
  display: block !important;
  visibility: visible !important;
  width: min(1200px, 94vw) !important;
  margin: 1rem auto 4.5rem !important;
}

.emmy-search-grid__list {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important;
  gap: 2rem 1.35rem !important;
}

.emmy-search-card {
  display: flex !important;
  flex-direction: column !important;
  background: #fff !important;
  border: 1px solid rgba(11, 15, 26, 0.07) !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  text-decoration: none !important;
  color: inherit !important;
  box-shadow: 0 10px 28px rgba(11, 15, 26, 0.05) !important;
  transition: transform 280ms ease, box-shadow 280ms ease !important;
}

.emmy-search-card:hover {
  transform: translateY(-7px) !important;
  box-shadow: 0 18px 40px rgba(11, 15, 26, 0.12) !important;
}

.emmy-search-card__media {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  aspect-ratio: 3 / 4 !important;
  overflow: hidden !important;
  background: #f3ede3 !important;
}

.emmy-search-card__media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 18% !important;
  transition: transform 420ms ease !important;
}

.emmy-search-card:hover .emmy-search-card__media img {
  transform: scale(1.06) !important;
}

.emmy-search-card__body {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.35rem !important;
  padding: 1rem 1.05rem 1.2rem !important;
}

.emmy-search-card__meta {
  font-size: 0.66rem !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--gold) !important;
}

.emmy-search-card__name {
  font-family: var(--display) !important;
  font-size: 1.08rem !important;
  font-weight: 500 !important;
  color: var(--navy) !important;
  line-height: 1.25 !important;
}

.emmy-search-card__name::after {
  content: none !important;
}

.emmy-search-card__price {
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: var(--gold) !important;
}

.emmy-search-card__cta {
  margin-top: 0.45rem !important;
  font-size: 0.66rem !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--navy) !important;
  opacity: 0.65;
}

.emmy-search-card:hover .emmy-search-card__cta {
  opacity: 1;
  color: var(--gold-hover) !important;
}

@media (max-width: 640px) {
  .emmy-search-grid__list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* ================================================================== */
/* Mini-cart: 1 foto + "Tu carrito" bien visible                       */
/* ================================================================== */

/* T tulo legible, no tapado por el bot n cerrar */
.wc-block-mini-cart__drawer .wc-block-mini-cart__title,
.wc-block-mini-cart__drawer h2.wc-block-mini-cart__title {
  position: relative !important;
  z-index: 5 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.4rem !important;
  margin: 0.5rem 2.75rem 1rem 0.15rem !important;
  padding: 0 !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-family: var(--display) !important;
  font-size: 1.5rem !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  color: #dcc27a !important;
  -webkit-text-fill-color: #dcc27a !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__title::before {
  content: "emmy" !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-size: 1rem !important;
  color: #f3ede3 !important;
  -webkit-text-fill-color: #f3ede3 !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__title .emmy-mini-cart-label,
.wc-block-mini-cart__drawer .wc-block-mini-cart__title > span:not([class*="badge"]) {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  color: #dcc27a !important;
  -webkit-text-fill-color: #dcc27a !important;
  font-size: 1.5rem !important;
  line-height: 1.2 !important;
}

.wc-block-mini-cart__drawer .wc-block-components-drawer__close {
  z-index: 20 !important;
}

/* Solo la PRIMERA imagen / enlace en la celda */
.wc-block-mini-cart__drawer .wc-block-cart-item__image {
  display: block !important;
  position: relative !important;
  width: 72px !important;
  height: 72px !important;
  overflow: hidden !important;
  border-radius: 8px !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__image > *:not(:first-child),
.wc-block-mini-cart__drawer .wc-block-cart-item__image a + a,
.wc-block-mini-cart__drawer .wc-block-cart-item__image .wc-block-components-product-image + .wc-block-components-product-image,
.wc-block-mini-cart__drawer .wc-block-cart-item__image img + img,
.wc-block-mini-cart__drawer .wc-block-cart-item__image a ~ .wc-block-components-product-image,
.wc-block-mini-cart__drawer .wc-block-cart-item__image .wc-block-components-product-image ~ a {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  pointer-events: none !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__image a,
.wc-block-mini-cart__drawer .wc-block-cart-item__image .wc-block-components-product-image {
  display: block !important;
  width: 72px !important;
  height: 72px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__image img {
  display: block !important;
  width: 72px !important;
  height: 72px !important;
  max-width: 72px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__image a img + img {
  display: none !important;
}

/* ================================================================== */
/* Mini-cart: aplanar sub-tarjetas (1 capa, sin cajas anidadas)         */
/* ================================================================== */

/* Un solo padding en el panel   no apilar en wrappers internos */
.wc-block-mini-cart__drawer .wc-block-components-drawer__content,
.wc-block-mini-cart__drawer .components-modal__content {
  padding: 1.15rem 1.15rem 1.25rem !important;
  gap: 0 !important;
  background: var(--emmy-mc-bg, #12151c) !important;
  box-shadow: none !important;
  border: 0 !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-contents,
.wc-block-mini-cart__drawer .wp-block-woocommerce-filled-mini-cart-contents-block,
.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block {
  padding: 0 !important;
  gap: 0.85rem !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Filas = lista plana (sin tarjeta por producto) */
.wc-block-mini-cart__drawer .wc-block-cart-items,
.wc-block-mini-cart__drawer .wc-block-mini-cart-items {
  gap: 0 !important;
  padding: 0 !important;
  margin: 0.25rem 0 0.5rem !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-items__row {
  padding: 0.95rem 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(201, 162, 39, 0.18) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-items__row:last-child {
  border-bottom: 0 !important;
}

/* Imagen: un solo marco, sin caja extra */
.wc-block-mini-cart__drawer .wc-block-cart-item__image,
.wc-block-mini-cart__drawer .wc-block-cart-item__image a,
.wc-block-mini-cart__drawer .wc-block-cart-item__image .wc-block-components-product-image {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__image::before,
.wc-block-mini-cart__drawer .wc-block-cart-item__image::after,
.wc-block-mini-cart__drawer .wc-block-cart-item__image .wc-block-components-product-image::before,
.wc-block-mini-cart__drawer .wc-block-cart-item__image .wc-block-components-product-image::after,
.wc-block-mini-cart__drawer .wc-block-components-product-image::before,
.wc-block-mini-cart__drawer .wc-block-components-product-image::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

/* Banner env o: franja, no tarjeta */
.wc-block-mini-cart__drawer .emmy-mini-shipping {
  margin: 0.5rem 0 0.25rem !important;
  padding: 0.7rem 0 !important;
  border-radius: 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(201, 162, 39, 0.22) !important;
  border-bottom: 1px solid rgba(201, 162, 39, 0.22) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.wc-block-mini-cart__drawer .emmy-mini-shipping::after {
  display: none !important;
}

/* Footer: solo l nea, sin caja */
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer {
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid rgba(201, 162, 39, 0.22) !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 1rem 0 0 !important;
}

.wc-block-mini-cart__drawer .wc-block-components-totals-item,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-subtotal {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* T tulo siempre por encima, sin quedar dentro de otra caja */
.wc-block-mini-cart__drawer .wc-block-mini-cart__title,
.wc-block-mini-cart__drawer h2.wc-block-mini-cart__title {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0.35rem 2.75rem 0.85rem 0 !important;
}

/* ================================================================== */
/* Mini-cart fix: sin blanco, titulo, tarjetita, botones, sin overflow */
/* ================================================================== */

/* Panel a pantalla completa, fondo navy (mata franja blanca top/bottom) */
.wc-block-components-drawer__screen-overlay:not(.wc-block-components-drawer__screen-overlay--is-hidden) {
  background: rgba(0, 0, 0, 0.55) !important;
}

.wc-block-mini-cart__drawer,
.wc-block-components-drawer.wc-block-mini-cart__drawer,
.wc-block-components-drawer__screen-overlay:not(.wc-block-components-drawer__screen-overlay--is-hidden) .wc-block-mini-cart__drawer {
  position: fixed !important;
  inset: 0 0 0 auto !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  width: min(100%, 420px) !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #12151c !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.wc-block-mini-cart__drawer .components-modal__frame,
.wc-block-mini-cart__drawer .components-modal__content,
.wc-block-mini-cart__drawer .components-modal__header,
.wc-block-mini-cart__drawer .wc-block-components-drawer__content,
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-contents,
.wc-block-mini-cart__drawer .wp-block-woocommerce-filled-mini-cart-contents-block,
.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block {
  background: #12151c !important;
  background-color: #12151c !important;
  color: #f3ede3 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.wc-block-mini-cart__drawer .components-modal__header {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #12151c !important;
}

/* Layout flex: titulo + lista scroll + footer fijo */
.wc-block-mini-cart__drawer .wc-block-components-drawer__content,
.wc-block-mini-cart__drawer .components-modal__content,
.wc-block-mini-cart__drawer .wp-block-woocommerce-filled-mini-cart-contents-block {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 1.1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px)) !important;
  box-sizing: border-box !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-contents,
.wc-block-mini-cart__drawer .wp-block-woocommerce-filled-mini-cart-contents-block > * {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Titulo: alineado con la X de cerrar (misma fila / misma altura) */
.wc-block-mini-cart__drawer .wc-block-mini-cart__title,
.wc-block-mini-cart__drawer h2.wc-block-mini-cart__title {
  flex: 0 0 auto !important;
  position: relative !important;
  z-index: 5 !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.4rem 0.55rem !important;
  margin: 0 3rem 0.85rem 0 !important;
  padding: 0 !important;
  min-height: 2.2rem !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-family: var(--display) !important;
  font-size: 1.45rem !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.01em !important;
  color: #dcc27a !important;
  -webkit-text-fill-color: #dcc27a !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-transform: none !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__title::before {
  content: "emmy" !important;
  display: inline-block !important;
  margin: 0 !important;
  font-family: var(--display) !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
  color: #f3ede3 !important;
  -webkit-text-fill-color: #f3ede3 !important;
  text-transform: lowercase !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__title .emmy-mini-cart-label,
.wc-block-mini-cart__drawer .wc-block-mini-cart__title > span:not([class*="badge"]) {
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
  color: #dcc27a !important;
  -webkit-text-fill-color: #dcc27a !important;
  font-size: 1.45rem !important;
  line-height: 1.2 !important;
}

.wc-block-mini-cart__drawer .wc-block-components-drawer__close,
.wc-block-mini-cart__drawer button.components-button[aria-label*="Cerrar"],
.wc-block-mini-cart__drawer button.components-button[aria-label*="Close"] {
  position: absolute !important;
  top: 0.85rem !important;
  right: 0.85rem !important;
  z-index: 30 !important;
  width: 2.2rem !important;
  height: 2.2rem !important;
  background: #12151c !important;
  border: 1px solid rgba(201, 162, 39, 0.35) !important;
  border-radius: 999px !important;
  color: #dcc27a !important;
  -webkit-text-fill-color: #dcc27a !important;
  box-shadow: none !important;
}

/* Lista scrollea; sin desborde blanco */
.wc-block-mini-cart__drawer .wc-block-cart-items,
.wc-block-mini-cart__drawer .wc-block-mini-cart-items {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  gap: 0.75rem !important;
  margin: 0 0 0.65rem !important;
  padding: 0.15rem 0.1rem 0.35rem !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(201, 162, 39, 0.4) transparent !important;
}

/* Producto = tarjetita */
.wc-block-mini-cart__drawer .wc-block-cart-items__row {
  display: grid !important;
  grid-template-columns: 68px minmax(0, 1fr) !important;
  grid-template-areas:
    "image product"
    "image quantity" !important;
  gap: 0.55rem 0.75rem !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0.8rem !important;
  background: #1a1e28 !important;
  border: 1px solid rgba(201, 162, 39, 0.26) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__image {
  grid-area: image !important;
  width: 68px !important;
  height: 68px !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  background: #0b0f1a !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__image img,
.wc-block-mini-cart__drawer .wc-block-components-product-image img {
  width: 68px !important;
  height: 68px !important;
  max-width: 68px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__product {
  grid-area: product !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__quantity {
  grid-area: quantity !important;
  width: 100% !important;
  max-width: 100% !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__total {
  display: none !important;
}

.wc-block-mini-cart__drawer .wc-block-components-product-name,
.wc-block-mini-cart__drawer .wc-block-components-product-name a {
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

/* Banner envio compacto */
.wc-block-mini-cart__drawer .emmy-mini-shipping {
  flex: 0 0 auto !important;
  margin: 0.15rem 0 0.35rem !important;
  padding: 0.55rem 0.15rem !important;
  border: 0 !important;
  border-top: 1px solid rgba(201, 162, 39, 0.2) !important;
  border-bottom: 1px solid rgba(201, 162, 39, 0.2) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 0.72rem !important;
}

.wc-block-mini-cart__drawer .emmy-mini-shipping::after {
  display: none !important;
}

/* Footer fijo, sin glow blanco / overflow */
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer {
  flex: 0 0 auto !important;
  margin-top: auto !important;
  padding: 0.85rem 0 0 !important;
  border-top: 1px solid rgba(201, 162, 39, 0.22) !important;
  background: #12151c !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions {
  gap: 0.45rem !important;
  margin-top: 0.65rem !important;
}

/* Botones pequenos */
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-components-button,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a.wc-block-components-button,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wp-block-button__link,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a[href*="carrito"],
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a[href*="cart"],
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a[href*="checkout"],
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a[href*="finalizar"] {
  min-height: 34px !important;
  max-height: 36px !important;
  height: 36px !important;
  padding: 0 0.9rem !important;
  font-size: 0.58rem !important;
  letter-spacing: 0.1em !important;
  line-height: 1 !important;
  box-shadow: none !important;
  transform: none !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-components-button:hover,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a.wc-block-components-button:hover,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wp-block-button__link:hover,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a[href*="checkout"]:hover,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a[href*="finalizar"]:hover,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a[href*="carrito"]:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(201, 162, 39, 0.22) !important;
}

/* Primario oro / secundario outline */
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a[href*="finalizar"],
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a[href*="checkout"],
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-components-button:not(.outlined):not(.is-link) {
  background: linear-gradient(90deg, #b48f1c 0%, #dcc27a 52%, #c9a227 100%) !important;
  color: #0b0f1a !important;
  -webkit-text-fill-color: #0b0f1a !important;
  border: 0 !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a[href*="carrito"]:not([href*="finalizar"]),
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a[href*="/cart"]:not([href*="checkout"]),
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-components-button.outlined {
  background: transparent !important;
  color: #dcc27a !important;
  -webkit-text-fill-color: #dcc27a !important;
  border: 1px solid rgba(201, 162, 39, 0.4) !important;
}

@media (max-width: 640px) {
  .wc-block-mini-cart__drawer,
  .wc-block-components-drawer.wc-block-mini-cart__drawer {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
  }
}


/* ================================================================== */
/* Mini-cart: panel desde la derecha + CTA al ancho del texto          */
/* ================================================================== */

.wc-block-components-drawer__screen-overlay:not(.wc-block-components-drawer__screen-overlay--is-hidden) {
  display: block !important;
  justify-content: unset !important;
  align-items: unset !important;
}

.wc-block-mini-cart__drawer,
.wc-block-components-drawer.wc-block-mini-cart__drawer,
.wc-block-components-drawer__screen-overlay:not(.wc-block-components-drawer__screen-overlay--is-hidden) .wc-block-mini-cart__drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  inset: 0 0 0 auto !important;
  width: min(100%, 420px) !important;
  max-width: min(100%, 420px) !important;
  height: 100% !important;
  margin: 0 !important;
  transform: none !important;
  border-radius: 0 !important;
}

@media (max-width: 640px) {
  .wc-block-mini-cart__drawer,
  .wc-block-components-drawer.wc-block-mini-cart__drawer {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Empezar a comprar / CTAs: ancho al texto, no full-width */
.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block .wp-block-button,
.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block .wp-block-button__link,
.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block a.wc-block-components-button,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wp-block-button {
  width: auto !important;
  max-width: max-content !important;
  align-self: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block {
  align-items: center !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block .wp-block-button__link,
.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block a.wc-block-components-button,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-components-button,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a.wc-block-components-button,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wp-block-button__link,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a {
  display: inline-flex !important;
  width: auto !important;
  max-width: max-content !important;
  min-width: 0 !important;
  min-height: 42px !important;
  height: auto !important;
  max-height: none !important;
  padding: 0.7rem 1.25rem !important;
  margin: 0.35rem auto !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.12em !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  border-radius: 8px !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.45rem !important;
}

/* PDP: tallas / qty / sku — diseño lookbook (no pisar con reglas viejas) */
body.single-product .sistemapos-swatches {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.55rem !important;
}

body.single-product .sistemapos-swatch {
  min-width: 2.55rem !important;
  height: 2.55rem !important;
  padding: 0 0.7rem !important;
  border: 1.5px solid rgba(243, 237, 227, 0.28) !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--ivory) !important;
  font-size: 0.78rem !important;
}

body.single-product .sistemapos-swatch.is-active {
  background: var(--gold) !important;
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
  border-color: var(--gold) !important;
}

body.single-product .quantity {
  border: 1px solid rgba(243, 237, 227, 0.22) !important;
  border-radius: 999px !important;
  background: rgba(243, 237, 227, 0.06) !important;
  overflow: hidden !important;
}

body.single-product .sistemapos-qty-btn,
body.single-product .quantity .qty {
  color: var(--ivory) !important;
  -webkit-text-fill-color: var(--ivory) !important;
  background: transparent !important;
  border: 0 !important;
}

/* Solo el SKU con numero (sistemapos-pdp-sku); ocultar pill nativo vacio */
body.single-product .sistemapos-pdp-sku:not([hidden]) {
  display: block !important;
  margin: 0.35rem 0 0.75rem !important;
  font-family: var(--ui) !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.04em !important;
  color: rgba(243, 237, 227, 0.75) !important;
  -webkit-text-fill-color: rgba(243, 237, 227, 0.75) !important;
}

body.single-product .wp-block-woocommerce-product-sku,
body.single-product .product_meta .sku_wrapper,
body.single-product .sku_wrapper,
body.single-product .woocommerce-product-attributes-item--sku,
body.single-product .product_meta .sku,
body.single-product .wp-block-woocommerce-product-meta .sku_wrapper {
  display: none !important;
}

/* Toast: espacio para la X (mantener fixed, no relative) */
.sistemapos-toast:not([hidden]) {
  padding-right: 2.75rem !important;
}

.sistemapos-toast .emmy-toast-close,
.emmy-notice-with-close .emmy-toast-close,
.woocommerce-message .emmy-toast-close,
.woocommerce-info .emmy-toast-close,
.woocommerce-error .emmy-toast-close,
.wc-block-components-notice-banner .emmy-toast-close {
  position: absolute !important;
  top: 50% !important;
  right: 0.55rem !important;
  transform: translateY(-50%) !important;
  width: 1.7rem !important;
  height: 1.7rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(220, 194, 122, 0.45) !important;
  background: transparent !important;
  color: var(--gold-soft, #dcc27a) !important;
  -webkit-text-fill-color: var(--gold-soft, #dcc27a) !important;
  font-size: 1.15rem !important;
  line-height: 1 !important;
  cursor: pointer !important;
  border-radius: 6px !important;
  padding: 0 !important;
  z-index: 5 !important;
  flex: 0 0 auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.sistemapos-toast .emmy-toast-close:hover,
.emmy-notice-with-close .emmy-toast-close:hover,
.woocommerce-message .emmy-toast-close:hover,
.wc-block-components-notice-banner .emmy-toast-close:hover {
  background: rgba(220, 194, 122, 0.15) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

body.single-product .woocommerce-message,
body.single-product .wc-block-components-notice-banner.is-success,
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .wc-block-components-notice-banner.is-success,
.emmy-notice-with-close {
  position: relative !important;
  padding-right: 2.75rem !important;
}

/* Mini-cart: titulo alineado con la X de cerrar */
.wc-block-mini-cart__drawer .wc-block-components-drawer__content,
.wc-block-mini-cart__drawer .wp-block-woocommerce-filled-mini-cart-contents-block,
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-contents {
  padding-top: 0.85rem !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__title,
.wc-block-mini-cart__drawer h2.wc-block-mini-cart__title {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.4rem 0.55rem !important;
  margin: 0 3rem 0.85rem 0 !important;
  padding: 0 !important;
  min-height: 2.2rem !important;
  line-height: 1.2 !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__title::before {
  content: "emmy" !important;
  display: inline-block !important;
  margin: 0 !important;
  font-size: 0.95rem !important;
  line-height: 1 !important;
  color: #f3ede3 !important;
  -webkit-text-fill-color: #f3ede3 !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__title .emmy-mini-cart-label,
.wc-block-mini-cart__drawer .wc-block-mini-cart__title > span:not([class*="badge"]) {
  display: inline-block !important;
  margin: 0 !important;
  font-size: 1.45rem !important;
  line-height: 1.2 !important;
}

.wc-block-mini-cart__drawer .wc-block-components-drawer__close,
.wc-block-mini-cart__drawer button.components-button[aria-label*="Cerrar"],
.wc-block-mini-cart__drawer button.components-button[aria-label*="Close"] {
  top: 0.85rem !important;
  right: 0.85rem !important;
  transform: none !important;
}

/* Modal stock: siempre centrado en pantalla */
.sistemapos-modal:not([hidden]) {
  position: fixed !important;
  inset: 0 !important;
  z-index: 100050 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.25rem !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.sistemapos-modal__dialog {
  position: relative !important;
  margin: auto !important;
  max-height: min(90vh, 32rem) !important;
  overflow: auto !important;
}

/* Toast X: clicable siempre */
.sistemapos-toast .emmy-toast-close,
.emmy-notice-with-close .emmy-toast-close,
.woocommerce-message .emmy-toast-close {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 20 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.sistemapos-toast[hidden],
.sistemapos-toast[data-emmy-closing="1"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

/* Mini-cart: titulo ARRIBA, lineal con la X de cerrar */
.wc-block-mini-cart__drawer .wc-block-components-drawer__content,
.wc-block-mini-cart__drawer .components-modal__content,
.wc-block-mini-cart__drawer .wp-block-woocommerce-filled-mini-cart-contents-block,
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-contents {
  padding-top: 0.65rem !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__title,
.wc-block-mini-cart__drawer h2.wc-block-mini-cart__title {
  order: -1 !important;
  margin: 0 3.4rem 0.55rem 0 !important;
  padding: 0.15rem 0 0 !important;
  min-height: 2.25rem !important;
  align-items: center !important;
  z-index: 40 !important;
  transform: none !important;
  top: 0 !important;
}

.wc-block-mini-cart__drawer .wc-block-components-drawer__close,
.wc-block-mini-cart__drawer button.components-button[aria-label*="Cerrar"],
.wc-block-mini-cart__drawer button.components-button[aria-label*="Close"] {
  top: 0.55rem !important;
  right: 0.7rem !important;
  z-index: 50 !important;
}

/* ===== SistemaPOS: categorias, paginas, journal, stock UI (aditivo) ===== */
.sistemapos-cat-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  margin: 0.75rem 0 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wp--preset--color--contrast, #e8e8e8);
  opacity: 0.85;
}
.sistemapos-cat-breadcrumb a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
.sistemapos-cat-breadcrumb__sep { opacity: 0.45; margin: 0 0.15rem; }

.sistemapos-subcats { margin: 0 0 1.5rem; }
.sistemapos-subcats__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.sistemapos-subcats__pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.45rem 1rem;
  border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  border-radius: 999px;
  text-decoration: none;
  color: inherit;
  background: color-mix(in srgb, currentColor 6%, transparent);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.sistemapos-subcats__pill:hover,
.sistemapos-subcats__pill:focus-visible {
  background: color-mix(in srgb, currentColor 14%, transparent);
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.sistemapos-page-hero {
  padding: clamp(3rem, 8vw, 6rem) 1.25rem 2.5rem;
  text-align: center;
}
.sistemapos-page-hero__title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.05;
  margin: 0 0 0.75rem;
}
.sistemapos-page-hero__sub {
  max-width: 36rem;
  margin: 0 auto;
  opacity: 0.8;
}
.sistemapos-about-values .sistemapos-about-card,
.sistemapos-about-team .wp-block-column,
.sistemapos-contact-grid .wp-block-column {
  padding: 1rem;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 0.35rem;
  background: color-mix(in srgb, currentColor 4%, transparent);
}
.sistemapos-page-cta { padding: 2.5rem 1rem 3.5rem; text-align: center; }
.sistemapos-map-placeholder,
.sistemapos-map-placeholder iframe {
  width: 100%;
  min-height: 280px;
  border: 0;
  border-radius: 0.35rem;
  background: #111;
}
.sistemapos-form-placeholder {
  padding: 1rem;
  border: 1px dashed color-mix(in srgb, currentColor 40%, transparent);
}

.sistemapos-journal-chips { gap: 0.6rem; margin: 0 0 2rem; }
.sistemapos-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.1rem;
  margin: 0.2rem;
  border-radius: 0.35rem;
  text-decoration: none;
  color: inherit;
  background: color-mix(in srgb, currentColor 10%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}
.sistemapos-chip--accent {
  background: color-mix(in srgb, currentColor 18%, transparent);
}
.sistemapos-journal-grid .wp-block-post-template {
  gap: 1.5rem;
}
.sistemapos-newsletter {
  margin: 3rem 0;
  padding: 2rem 1rem;
  text-align: center;
  border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent);
}

.sistemapos-toast.is-error {
  border-color: color-mix(in srgb, #e85d5d 70%, transparent);
}

/* Nav: submenu desktop + acordeon movil */
@media (min-width: 782px) {
  .wp-block-navigation .wp-block-navigation-submenu {
    position: relative;
  }
}
@media (max-width: 781px) {
  .wp-block-navigation .wp-block-navigation-item.has-child > .wp-block-navigation-submenu,
  .wp-block-navigation .wp-block-navigation-item.has-child > .wp-block-navigation__submenu-container {
    display: none;
  }
  .wp-block-navigation .wp-block-navigation-item.has-child.is-emmy-open > .wp-block-navigation-submenu,
  .wp-block-navigation .wp-block-navigation-item.has-child.is-emmy-open > .wp-block-navigation__submenu-container {
    display: block;
  }
  .emmy-nav-accordion-btn {
    margin-left: 0.35rem;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 1.1rem;
    line-height: 1;
    min-width: 2rem;
    min-height: 2rem;
  }
  .emmy-nav-accordion-btn:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
  }
}

/* ===== SistemaPOS UX: filtro arbol, journal, contacto, cuenta, login, resumen ===== */
.sistemapos-shop-filters__cats { list-style: none; margin: 0; padding: 0; }
.sistemapos-shop-filters__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
}
.sistemapos-shop-filters__toggle {
  flex: 0 0 auto;
  min-width: 1.75rem;
  min-height: 1.75rem;
  border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
  background: transparent;
  color: inherit;
  border-radius: var(--radius-full, 999px);
  cursor: pointer;
  line-height: 1;
}
.sistemapos-shop-filters__toggle:focus-visible {
  outline: 2px solid var(--gold, #C9A227);
  outline-offset: 2px;
}
.sistemapos-shop-filters__children {
  list-style: none;
  margin: 0.25rem 0 0.5rem 0.85rem;
  padding: 0 0 0 0.65rem;
  border-left: 1px solid color-mix(in srgb, currentColor 20%, transparent);
}
.sistemapos-shop-filters__cats > li.has-children > .sistemapos-shop-filters__row > a {
  font-weight: 600;
}
.sistemapos-shop-filters__cats li.current-cat > .sistemapos-shop-filters__row > a {
  color: var(--gold, #C9A227);
}

/* Circulos tipo LUNORA (Journal / home) */
.sistemapos-cat-circles { gap: 1rem; margin: 1.5rem 0 2.5rem; }
.sistemapos-cat-circle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: 5.5rem;
  margin: 0.35rem;
  text-decoration: none;
  color: inherit;
}
.sistemapos-cat-circle__img {
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--cream, #F3EDE3) 70%, #fff);
  border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  display: block;
  margin-bottom: 0.45rem;
}
.sistemapos-cat-circle--sale .sistemapos-cat-circle__img {
  background: var(--navy, #0B0F1A);
}
.sistemapos-cat-circle__label {
  font-family: var(--ui, sans-serif);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sistemapos-shop-by-cat__card {
  min-height: 14rem;
  border-radius: 1rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, transparent 20%, rgba(11,15,26,0.72) 100%),
    color-mix(in srgb, var(--navy, #0B0F1A) 35%, #666);
  color: #fff;
  overflow: hidden;
}
.sistemapos-shop-by-cat__card a { color: #fff; text-decoration: underline; text-underline-offset: 0.2em; }

/* Contacto dark glass */
.sistemapos-contact-shell {
  padding: clamp(2rem, 6vw, 4rem) 1rem 3rem;
  background:
    radial-gradient(1200px 500px at 20% 0%, color-mix(in srgb, var(--gold, #C9A227) 28%, transparent), transparent 60%),
    var(--navy, #0B0F1A);
  color: #f4f0e8;
  border-radius: 1.25rem;
}
.sistemapos-contact-title {
  font-family: var(--display, serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 0.25rem;
}
.sistemapos-contact-underline { opacity: 0.55; margin-top: 0; }
.sistemapos-contact-card,
.sistemapos-contact-form-card {
  background: color-mix(in srgb, #1a1f2e 88%, transparent);
  border: 1px solid color-mix(in srgb, #fff 12%, transparent);
  border-radius: 1rem;
  padding: 1.35rem 1.25rem;
}
.sistemapos-contact-list { list-style: none; padding: 0; margin: 0; }
.sistemapos-contact-list li { margin: 0.7rem 0; }
.sistemapos-contact-form-card input,
.sistemapos-contact-form-card textarea,
.sistemapos-contact-shell .wpcf7 input,
.sistemapos-contact-shell .wpcf7 textarea,
.sistemapos-contact-shell .wpforms-field input,
.sistemapos-contact-shell .wpforms-field textarea {
  width: 100%;
  border: 0;
  border-radius: 0.75rem;
  background: #121722;
  color: #f4f0e8;
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
}
.sistemapos-contact-shell .wpcf7 input[type="submit"],
.sistemapos-contact-shell .wpforms-submit,
.sistemapos-contact-form-card button {
  background: var(--gold, #C9A227);
  color: var(--navy, #0B0F1A);
  border: 0;
  border-radius: 0.75rem;
  padding: 0.85rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
}

/* Login / registro Mi cuenta */
body.woocommerce-account:not(.logged-in) .woocommerce,
body.woocommerce-account:not(.logged-in) .u-columns,
.editor-styles-wrapper .woocommerce-form-login,
.editor-styles-wrapper .woocommerce-form-register {
  max-width: var(--card-max);
  margin: 2rem auto;
}
body.woocommerce-account:not(.logged-in) .u-column1,
body.woocommerce-account:not(.logged-in) .u-column2,
body.woocommerce-account:not(.logged-in) .woocommerce-form-login,
body.woocommerce-account:not(.logged-in) .woocommerce-form-register,
body.woocommerce-account:not(.logged-in) .woocommerce-ResetPassword {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  border: 0;
  width: 100%;
  max-width: 100%;
}
body.woocommerce-account .woocommerce-form-login h2,
body.woocommerce-account .woocommerce-form-register h2 {
  font-family: var(--display, serif);
  font-size: 1.75rem;
}
body.woocommerce-account:not(.logged-in) .woocommerce-form-login .woocommerce-button:not(.show-password-input),
body.woocommerce-account:not(.logged-in) .woocommerce-form-register .woocommerce-button:not(.show-password-input),
body.woocommerce-account:not(.logged-in) .woocommerce-form-login input.button,
body.woocommerce-account:not(.logged-in) .woocommerce-form-register input.button,
body.woocommerce-account:not(.logged-in) button[name="login"],
body.woocommerce-account:not(.logged-in) button[name="register"],
body.woocommerce-account:not(.logged-in) input[name="login"],
body.woocommerce-account:not(.logged-in) input[name="register"],
body.woocommerce-account:not(.logged-in) .woocommerce-form-login .woocommerce-button:not(.show-password-input):hover,
body.woocommerce-account:not(.logged-in) .woocommerce-form-register .woocommerce-button:not(.show-password-input):hover,
body.woocommerce-account:not(.logged-in) .woocommerce-form-login .woocommerce-button:not(.show-password-input):focus,
body.woocommerce-account:not(.logged-in) .woocommerce-form-register .woocommerce-button:not(.show-password-input):focus,
body.woocommerce-account:not(.logged-in) .woocommerce-form-login .woocommerce-button:not(.show-password-input):active,
body.woocommerce-account:not(.logged-in) .woocommerce-form-register .woocommerce-button:not(.show-password-input):active,
.editor-styles-wrapper .woocommerce-form-login .woocommerce-button,
.editor-styles-wrapper .woocommerce-form-register .woocommerce-button {
  /* !important: reglas anteriores de .button fijan -webkit-text-fill-color al mismo tono del fondo. */
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-full, 999px) !important;
  background: #0b0f1a !important;
  background-image: none !important;
  color: #f6efe3 !important;
  -webkit-text-fill-color: #f6efe3 !important;
  opacity: 1 !important;
  min-height: 2.85rem;
}
body.woocommerce-account .woocommerce-form-login input.input-text,
body.woocommerce-account .woocommerce-form-register input.input-text,
body.woocommerce-account .woocommerce-ResetPassword input.input-text,
.editor-styles-wrapper .woocommerce-form-login input.input-text,
.editor-styles-wrapper .woocommerce-form-register input.input-text {
  width: 100%;
  max-width: 100%;
  border-radius: 0.65rem;
  border: 1px solid #d9d2c6;
  padding: 0.75rem 0.9rem;
}

/* Escritorio Mi cuenta */
.sistemapos-account-hero {
  margin: 0 0 1.5rem;
  border-radius: 1.15rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(11, 15, 26, 0.06);
  border: 1px solid color-mix(in srgb, var(--navy, #0B0F1A) 8%, transparent);
}
.sistemapos-account-hero__cover {
  height: 7.5rem;
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--navy, #0B0F1A) 88%, #000), color-mix(in srgb, var(--gold, #C9A227) 55%, var(--navy, #0B0F1A)));
}
.sistemapos-account-hero__body { padding: 0 1.25rem 1.25rem; }
.sistemapos-account-hero__identity {
  display: flex;
  align-items: flex-end;
  gap: 0.9rem;
  margin-top: -2.4rem;
}
.sistemapos-account-hero__avatar {
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.sistemapos-account-hero__name {
  font-family: var(--display, serif);
  font-size: 1.35rem;
  margin: 0;
  color: var(--navy, #0B0F1A);
}
.sistemapos-account-hero__email {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  opacity: 0.7;
}
.sistemapos-account-hero__stats {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 1rem 0;
  padding: 0;
}
.sistemapos-account-hero__stats strong {
  display: block;
  font-size: 1.15rem;
  color: var(--navy, #0B0F1A);
}
.sistemapos-account-hero__stats span {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.65;
}
.sistemapos-account-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.sistemapos-account-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full, 999px);
  background: var(--navy, #0B0F1A);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.85rem;
}
.sistemapos-account-hero__btn--ghost {
  background: #fff;
  color: var(--navy, #0B0F1A) !important;
  border: 1px solid color-mix(in srgb, var(--navy, #0B0F1A) 25%, transparent);
}
.sistemapos-account-hero__btn--accent {
  background: var(--gold, #C9A227);
  color: var(--navy, #0B0F1A) !important;
}
body.sistemapos-account-ui .woocommerce-MyAccount-navigation {
  border-radius: 1rem;
}
body.sistemapos-account-ui .woocommerce-MyAccount-content {
  border-radius: 1rem;
}

/* Resumen de compra (checkout) */
.wc-block-components-order-summary,
.wp-block-woocommerce-checkout-order-summary-block,
.woocommerce-checkout-review-order {
  background: #fff;
  border-radius: 1.1rem !important;
  border: 1px solid color-mix(in srgb, var(--navy, #0B0F1A) 10%, transparent) !important;
  box-shadow: 0 10px 28px rgba(11, 15, 26, 0.05);
  padding: 1.1rem 1.15rem !important;
}
.wc-block-components-order-summary-item__description,
.wc-block-components-product-name {
  font-family: var(--ui, sans-serif);
}
.wc-block-components-totals-wrapper .wc-block-components-totals-item__label,
.woocommerce-checkout-review-order-table th {
  font-family: var(--ui, sans-serif);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.wc-block-components-totals-footer-item,
.order-total {
  border-top: 1px solid color-mix(in srgb, var(--navy, #0B0F1A) 12%, transparent);
  padding-top: 0.75rem;
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.order-total .amount {
  color: var(--gold-hover, #b48f1c);
  font-weight: 700;
}

/* ===== Filtro editorial + ornamentacion dorada global + auth toggle ===== */

/* Quitar "checkbox"/iconos del filtro */
.sistemapos-shop-filters__cats a::before,
.sistemapos-shop-filters__cats .current-cat > a::before,
.sistemapos-shop-filters__cats .current-cat a::before,
.widget_product_categories a::before,
.wc-block-product-categories-list-item a::before,
.wp-block-categories-list a::before,
.sistemapos-shop-filters .wc-block-checkbox-list label::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

/* Titulo CATEGORIAS con lineas doradas (referencia) */
.sistemapos-shop-filters > h3,
.emmy-filters > h3,
.emmy-ornament-title,
body.woocommerce-account:not(.logged-in) .woocommerce-form-login > h2,
body.woocommerce-account:not(.logged-in) .woocommerce-form-register > h2,
.woocommerce-products-header__title,
body.tax-product_cat .woocommerce-products-header__title,
.sistemapos-page-hero__title,
.sistemapos-contact-title,
.sistemapos-journal-hero > .wp-block-heading:first-child,
body.blog .page-title,
body.blog h1.wp-block-post-title {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.85rem !important;
  width: 100%;
  text-align: center !important;
  font-family: var(--display) !important;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem) !important;
  font-weight: 500 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
  border: 0 !important;
  background: none !important;
  background-image: none !important;
  margin: 0 0 1.15rem !important;
  padding: 0.35rem 0 0.85rem !important;
}
.sistemapos-shop-filters > h3::before,
.sistemapos-shop-filters > h3::after,
.emmy-filters > h3::before,
.emmy-filters > h3::after,
.emmy-ornament-title::before,
.emmy-ornament-title::after,
body.woocommerce-account:not(.logged-in) .woocommerce-form-login > h2::before,
body.woocommerce-account:not(.logged-in) .woocommerce-form-login > h2::after,
body.woocommerce-account:not(.logged-in) .woocommerce-form-register > h2::before,
body.woocommerce-account:not(.logged-in) .woocommerce-form-register > h2::after {
  content: "" !important;
  display: block !important;
  flex: 1 1 auto !important;
  height: 1px !important;
  width: auto !important;
  min-width: 1.5rem;
  border: 0 !important;
  background: linear-gradient(90deg, transparent, var(--gold), transparent) !important;
  opacity: 0.85;
}

/* Padres muy relevantes; hijas editoriales */
.sistemapos-shop-filters__cats > li > .sistemapos-shop-filters__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.55rem 0 0.35rem;
}
.sistemapos-shop-filters__cats > li > .sistemapos-shop-filters__row > a,
.sistemapos-shop-filters__cats > li.has-children > .sistemapos-shop-filters__row > a {
  font-family: var(--display) !important;
  font-size: 1.12rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--navy) !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}
.sistemapos-shop-filters__cats > li > .sistemapos-shop-filters__row .sistemapos-shop-filters__count {
  font-family: var(--display);
  font-size: 0.9rem;
  opacity: 0.45;
  color: var(--navy);
}
.sistemapos-shop-filters__children {
  margin: 0.15rem 0 0.85rem 0.15rem !important;
  padding: 0 0 0 0.9rem !important;
  border-left: 1px solid rgba(11, 15, 26, 0.14) !important;
  list-style: none;
}
.sistemapos-shop-filters__children .sistemapos-shop-filters__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.4rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(11, 15, 26, 0.08);
}
.sistemapos-shop-filters__children a {
  font-family: var(--display) !important;
  font-size: 0.98rem !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--navy) !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.sistemapos-shop-filters__children .sistemapos-shop-filters__count {
  opacity: 0.4;
  font-size: 0.88rem;
}
.sistemapos-shop-filters__cats > li.current-cat > .sistemapos-shop-filters__row > a,
.sistemapos-shop-filters__children li.current-cat > .sistemapos-shop-filters__row > a {
  color: var(--gold-hover, #b48f1c) !important;
}
.sistemapos-shop-filters__toggle {
  border: 0 !important;
  background: transparent !important;
  color: var(--navy) !important;
  font-size: 1.05rem;
  min-width: 1.5rem;
  opacity: 0.55;
}

/* Mi cuenta: una sola vista (login primero) */
body.woocommerce-account:not(.logged-in) #customer_login.emmy-auth-panels,
body.woocommerce-account:not(.logged-in) .emmy-auth-panels.u-columns {
  display: block !important;
  max-width: var(--card-max);
  margin: 2rem auto !important;
}
body.woocommerce-account:not(.logged-in) .emmy-auth-panels .u-column1,
body.woocommerce-account:not(.logged-in) .emmy-auth-panels .u-column2,
body.woocommerce-account:not(.logged-in) .emmy-auth-panels .col-1,
body.woocommerce-account:not(.logged-in) .emmy-auth-panels .col-2 {
  width: 100% !important;
  float: none !important;
  max-width: none !important;
}
.emmy-auth-switch {
  margin: 1.1rem 0 0;
  text-align: center;
  font-size: 0.92rem;
  color: var(--navy);
}
.emmy-auth-legal {
  display: none !important;
}
.emmy-auth-alert {
  margin: 0 0 1rem !important;
  padding: 0.75rem 0.9rem !important;
  border: 1px solid rgba(201, 162, 39, 0.55) !important;
  border-radius: 12px !important;
  background: #fffdf8 !important;
  color: #1c2433 !important;
  font-size: 0.92rem !important;
  line-height: 1.45 !important;
}
.emmy-auth-switch__btn {
  border: 0;
  background: none;
  color: var(--gold-hover, #b48f1c);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
  padding: 0;
}
.emmy-auth-switch__btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ================================================================== */
/* EMMY — estructura, navegación y responsive (sin cambiar la marca)  */
/* ================================================================== */

:root {
  --step-0: clamp(1rem, 0.96rem + 0.22vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.05rem + 0.8vw, 1.65rem);
  --step-2: clamp(1.7rem, 1.25rem + 1.5vw, 2.45rem);
  --step-3: clamp(2.15rem, 1.35rem + 2.6vw, 3.35rem);
  --content-max: 1180px;
  --measure: 60ch;
  --touch: 48px;
}

body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: min(var(--content-max), 100%);
}

body { font-size: var(--step-0); }
h1, .emmy-hero-title { font-size: var(--step-3); }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.wp-block-navigation__responsive-container-open,
.wp-block-navigation-item__content,
.wp-block-social-link a,
.wp-site-blocks > header .wc-block-mini-cart__button,
header.wp-block-template-part .wc-block-mini-cart__button,
.wp-site-blocks > header .wp-block-woocommerce-customer-account a,
header.wp-block-template-part .wp-block-woocommerce-customer-account a {
  min-width: var(--touch);
  min-height: var(--touch);
}

/* Menú: subrayado dorado y overlay móvil en colores de marca */
.wp-block-navigation .wp-block-navigation-item__content {
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: left 100%;
  transition: background-size 220ms ease;
}
.wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-navigation .wp-block-navigation-item__content:focus-visible,
.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content {
  background-size: 100% 1px;
}
.wp-block-navigation__responsive-container.is-menu-open {
  background-color: var(--navy);
  color: var(--gold);
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  color: var(--gold);
}

/* Hero: una línea que se cose y el titular en fade */
.emmy-hero-stitch {
  color: var(--gold);
  width: min(280px, 70%);
  margin: 0.75rem auto 0;
}
.emmy-hero-stitch svg { display: block; width: 100%; height: auto; }
.emmy-stitch-path {
  stroke-dasharray: 3 8;
  stroke-dashoffset: 280;
  animation: emmy-sew 2.6s linear forwards;
}
.emmy-hero-title { animation: emmy-hero-fade 900ms ease 180ms both; }
@keyframes emmy-sew { to { stroke-dashoffset: 0; } }
@keyframes emmy-hero-fade { from { opacity: 0; } to { opacity: 1; } }

/* Texto sobre foto: degradado marino. Zoom solo en la tarjeta */
body.home .wp-block-cover,
.emmy-cover {
  overflow: hidden;
}
body.home .wp-block-cover .wp-block-cover__background,
body.home .wp-block-cover .wp-block-cover__gradient-background,
.emmy-cover .wp-block-cover__background,
.emmy-cover .wp-block-cover__gradient-background {
  background: linear-gradient(180deg, rgba(11, 15, 26, 0.18) 12%, rgba(11, 15, 26, 0.78) 100%) !important;
  opacity: 1 !important;
}
body.home .wp-block-cover .wp-block-cover__image-background,
body.home .wp-block-cover img,
body.home .wp-block-cover video,
.emmy-cover .wp-block-cover__image-background,
.emmy-cover img,
.emmy-cover video {
  transform: scale(1);
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}
@media (hover: hover) {
  body.home .wp-block-cover:hover .wp-block-cover__image-background,
  body.home .wp-block-cover:hover img,
  body.home .wp-block-cover:hover video,
  .emmy-cover:hover .wp-block-cover__image-background,
  .emmy-cover:hover img,
  .emmy-cover:hover video {
    transform: scale(1.04);
  }
}

/* Lo nuevo: la pasarela vive al final de este archivo. */

/* Táctil: Añadir al carrito siempre visible */
@media (hover: none) {
  .wc-block-components-product-button,
  .add_to_cart_button,
  .wc-block-components-product-button__button,
  .woocommerce ul.products li.product .button {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
  }
}

/* Tienda: el filtro no se monta encima del producto */
.sistemapos-shop-layout > .sistemapos-shop-filters,
.wp-block-woocommerce-product-collection > .sistemapos-shop-filters,
main div.woocommerce > .sistemapos-shop-filters,
.emmy-filters,
.emmy-shop > .wp-block-column:first-child {
  max-width: 100% !important;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: hidden;
  z-index: 2 !important;
}
.sistemapos-shop-layout > *:not(.sistemapos-shop-filters) {
  position: relative;
  z-index: 1;
  min-width: 0;
}
@media (max-width: 1024px) {
  body.post-type-archive-product .sistemapos-shop-layout,
  body.woocommerce-shop .sistemapos-shop-layout,
  body.tax-product_cat .sistemapos-shop-layout,
  body.tax-product_tag .sistemapos-shop-layout,
  .sistemapos-shop-layout:has(> .sistemapos-shop-filters) {
    grid-template-columns: 1fr !important;
  }
  .sistemapos-shop-layout > .sistemapos-shop-filters,
  .wp-block-woocommerce-product-collection > .sistemapos-shop-filters,
  main div.woocommerce > .sistemapos-shop-filters,
  .sistemapos-shop-layout > *:not(.sistemapos-shop-filters),
  .emmy-shop > .wp-block-column:first-child {
    grid-column: 1 !important;
    grid-row: auto !important;
    position: static !important;
    z-index: auto !important;
    max-width: none !important;
  }
}

/* Pilares y FAQ: aire lateral y ancho de lectura */
.emmy-details,
.sistemapos-details,
.wp-block-details {
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: 20px;
  box-sizing: border-box;
}
.emmy-details summary,
.wp-block-details summary {
  min-height: var(--touch);
  cursor: pointer;
}
.emmy-metrics,
.sistemapos-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  text-align: center;
}
@media (min-width: 900px) {
  .emmy-metrics,
  .sistemapos-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.emmy-metric strong,
.sistemapos-metrics strong {
  display: block;
  font-family: var(--display);
  font-size: var(--step-2);
  color: var(--gold);
}

/* Contacto: fondo crema, WhatsApp destacado, enviar en marino */
.sistemapos-contact-shell {
  background: var(--ivory) !important;
  color: var(--ink) !important;
  border-radius: 0;
}
.sistemapos-contact-title { color: var(--navy); }
.sistemapos-contact-layout { align-items: start; }
.sistemapos-contact-card--wa {
  background: var(--navy) !important;
  color: var(--ivory) !important;
  border: 1px solid var(--gold) !important;
}
.sistemapos-contact-card--wa a { color: var(--gold) !important; }
.sistemapos-contact-shell .wpcf7 input[type="submit"],
.sistemapos-contact-shell .wpforms-submit,
.sistemapos-contact-form input[type="submit"],
.sistemapos-contact-form button[type="submit"] {
  background: var(--navy) !important;
  color: var(--gold) !important;
  border: 1px solid var(--gold) !important;
  border-radius: 999px !important;
  min-height: var(--touch);
}
.sistemapos-contact-form.is-sent .sistemapos-contact-note::before,
.wpcf7 form.sent .wpcf7-response-output::before {
  content: "";
  display: inline-block;
  width: 0.7rem;
  height: 0.4rem;
  margin-right: 0.45rem;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg) scale(0);
  animation: emmy-check 420ms ease forwards;
}
@keyframes emmy-check { to { transform: rotate(-45deg) scale(1); } }

/* Pie: un solo logo. Comentarios del pie ocultos */
footer.wp-block-template-part:has(.wp-block-site-logo) .wp-block-site-title,
.wp-site-blocks > footer:has(.wp-block-site-logo) .wp-block-site-title {
  display: none !important;
}
footer.wp-block-template-part .wp-block-comments,
footer.wp-block-template-part .wp-block-post-comments-form,
.wp-site-blocks > footer .wp-block-comments,
.wp-site-blocks > footer .wp-block-post-comments-form {
  display: none !important;
}

/* Mini carrito: seguir comprando como botón de contorno */
.sistemapos-minicart-continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch);
  margin-top: 0.5rem;
  padding: 0 1.1rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  text-decoration: none;
}

/* Migas */
.sistemapos-breadcrumbs,
.woocommerce-breadcrumb,
.wp-block-woocommerce-breadcrumbs {
  font-family: var(--ui);
  font-size: 0.82rem;
  margin: 0.75rem 0 1rem;
}
.sistemapos-breadcrumbs a,
.woocommerce-breadcrumb a { color: var(--navy); }

@media (prefers-reduced-motion: reduce) {
  .emmy-stitch-path,
  .emmy-hero-title,
  body.home .wp-block-cover .wp-block-cover__image-background,
  body.home .wp-block-cover img,
  body.home .wp-block-cover video,
  .wpcf7 form.sent .wpcf7-response-output::before,
  .sistemapos-contact-form.is-sent .sistemapos-contact-note::before {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

/* ================================================================== */
/* Mi cuenta: solo la foto y la tarjetita                              */
/* ================================================================== */

.emmy-account-hide {
  display: none !important;
}

body.woocommerce-account.logged-in main {
  max-width: min(860px, 100%) !important;
  padding-inline: 0 !important;
}

body.woocommerce-account .emmy-account-photo {
  display: block;
  width: min(640px, 100%);
  margin: 0.25rem auto 1.6rem;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.65);
  box-shadow:
    0 0 0 6px rgba(11, 15, 26, 0.35),
    0 22px 48px rgba(0, 0, 0, 0.35);
}

body.woocommerce-account .emmy-account-photo .wp-block-cover__inner-container,
body.woocommerce-account .emmy-account-photo .wp-block-cover__background {
  display: none !important;
}

body.woocommerce-account .emmy-account-photo,
body.woocommerce-account .emmy-account-photo .wp-block-cover__image-background,
body.woocommerce-account .emmy-account-photo img {
  aspect-ratio: 16 / 7;
  object-fit: cover;
  min-height: 180px;
}

body.woocommerce-account.logged-in .woocommerce {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 1rem !important;
  max-width: 680px;
  margin: 0 auto !important;
  grid-template-columns: none !important;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation,
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation-link {
  display: flex !important;
  grid-column: auto !important;
  grid-row: auto !important;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a {
  transform: none !important;
  width: auto !important;
  height: auto !important;
  min-height: 48px;
  padding: 0 1rem !important;
  border-radius: 999px !important;
  font-size: 0.68rem !important;
  line-height: 1 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  -webkit-text-fill-color: var(--gold-soft) !important;
  color: var(--gold-soft) !important;
  background: transparent !important;
  border: 1px solid rgba(201, 162, 39, 0.55) !important;
  box-shadow: none !important;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a::before,
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a::after {
  content: none !important;
  display: none !important;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation .is-active a,
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
}

body.woocommerce-account.emmy-account-home:not(:has(.emmy-account-studio)) .woocommerce-MyAccount-navigation {
  display: none !important;
}

body.woocommerce-account.emmy-account-home:not(:has(.emmy-account-studio)) .woocommerce-MyAccount-content {
  width: min(360px, 100%) !important;
  margin: 0 auto !important;
  padding: 2rem 1.45rem 1.7rem !important;
  text-align: center;
  background:
    radial-gradient(90% 40% at 50% 0%, rgba(255, 255, 255, 0.7), transparent 55%),
    linear-gradient(180deg, #fbf6ea 0%, #f3ead6 100%) !important;
  border: 1px solid rgba(201, 162, 39, 0.75) !important;
  box-shadow:
    inset 0 0 0 5px #fbf6ea,
    inset 0 0 0 6px rgba(201, 162, 39, 0.45),
    0 24px 50px rgba(0, 0, 0, 0.38) !important;
}

body.woocommerce-account.emmy-account-home:not(:has(.emmy-account-studio)) .woocommerce-MyAccount-content::after,
body.woocommerce-account.emmy-account-home:not(:has(.emmy-account-studio)) .sistemapos-account-hero,
body.woocommerce-account.emmy-account-home:not(:has(.emmy-account-studio)) .woocommerce-MyAccount-content > *:not(.emmy-account-profile) {
  display: none !important;
}

/* Mi cuenta: tarjeta editorial. Solo vista; los enlaces siguen siendo los de WooCommerce. */
body.woocommerce-account.logged-in {
  background-color: #070b12 !important;
  background-image:
    linear-gradient(30deg, rgba(201, 162, 39, 0.07) 1px, transparent 1px),
    linear-gradient(150deg, rgba(201, 162, 39, 0.07) 1px, transparent 1px) !important;
  background-size: 28px 48px !important;
}

body.woocommerce-account.logged-in main,
body.woocommerce-account.logged-in .wp-block-post-content,
body.woocommerce-account.logged-in .entry-content {
  background: transparent !important;
}

body.woocommerce-account .woocommerce.emmy-account-studio-host {
  display: block !important;
  max-width: 860px !important;
  width: auto !important;
  margin: 1.75rem auto 2.75rem !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  float: none !important;
}

.emmy-account-studio {
  background: #f7f3ec;
  border: 1px solid #c6a15a;
  border-radius: 18px;
  padding: 0.7rem 0.7rem 1.45rem;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.emmy-account-studio__bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem 1rem;
  background: #101623;
  border-radius: 12px;
  padding: 0.95rem 1.2rem;
  margin-bottom: 1.35rem;
}

.emmy-account-studio__stat {
  justify-self: start;
  color: #d4af37 !important;
  -webkit-text-fill-color: #d4af37 !important;
  font-family: Jost, sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none !important;
}

.emmy-account-studio__stat--fav {
  justify-self: end;
  text-align: right;
}

.emmy-account-studio__identity {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.emmy-account-studio__mono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border: 1px solid #c9a227;
  border-radius: 50%;
  color: #d4af37;
  -webkit-text-fill-color: #d4af37;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1;
}

.emmy-account-studio__hello {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  line-height: 1.15;
}

.emmy-account-studio__hello strong {
  color: #d4af37;
  -webkit-text-fill-color: #d4af37;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  font-weight: 500;
}

.emmy-account-studio__hello em {
  color: #f3ede3;
  -webkit-text-fill-color: #f3ede3;
  font-family: Jost, sans-serif;
  font-style: normal;
  font-size: 0.86rem;
}

.emmy-account-studio__kicker {
  margin: 0;
  text-align: center;
  color: #c9a227;
  -webkit-text-fill-color: #c9a227;
  font-family: Jost, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.emmy-account-studio__title {
  margin: 0.4rem 0 1.15rem;
  text-align: center;
  color: #161616;
  -webkit-text-fill-color: #161616;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.15;
}

.emmy-account-studio__tabs {
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
  margin: 0 1.15rem 1.15rem;
}

.emmy-account-studio__tabs a {
  flex: 1 1 0;
  padding: 0 0.15rem 0.55rem;
  border-bottom: 1px solid rgba(201, 162, 39, 0.72);
  color: #1c2433 !important;
  -webkit-text-fill-color: #1c2433 !important;
  font-family: Jost, sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
}

.emmy-account-studio__tabs a.is-current {
  border-bottom-width: 2px;
  border-bottom-color: #b9922a;
}

body.woocommerce-account .emmy-account-studio .woocommerce-MyAccount-navigation {
  display: block !important;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

body.woocommerce-account .emmy-account-studio--sub .woocommerce-MyAccount-navigation {
  display: none !important;
}

body.woocommerce-account .emmy-account-studio .woocommerce-MyAccount-navigation ul {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.7rem !important;
  margin: 0 !important;
  padding: 0 1.05rem !important;
  list-style: none !important;
  width: auto !important;
  background: transparent !important;
}

body.woocommerce-account .emmy-account-studio .woocommerce-MyAccount-navigation-link {
  display: block !important;
  width: 100% !important;
  grid-column: auto !important;
  grid-row: auto !important;
}

body.woocommerce-account .emmy-account-studio .woocommerce-MyAccount-navigation-link--edit-account { order: 1; }
body.woocommerce-account .emmy-account-studio .woocommerce-MyAccount-navigation-link--orders { order: 2; }
body.woocommerce-account .emmy-account-studio .woocommerce-MyAccount-navigation-link--edit-address { order: 3; }
body.woocommerce-account .emmy-account-studio .woocommerce-MyAccount-navigation-link--downloads { order: 4; }
body.woocommerce-account .emmy-account-studio .woocommerce-MyAccount-navigation-link--customer-logout { order: 5; }
body.woocommerce-account .emmy-account-studio .woocommerce-MyAccount-navigation-link--dashboard,
body.woocommerce-account .emmy-account-studio .woocommerce-MyAccount-navigation-link--payment-methods {
  display: none !important;
}

body.woocommerce-account .emmy-account-studio .woocommerce-MyAccount-navigation a {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.75rem !important;
  width: 100% !important;
  height: auto !important;
  min-height: 54px !important;
  margin: 0 !important;
  padding: 0.72rem 1rem !important;
  border: 1px solid #e3d6c2 !important;
  border-radius: 12px !important;
  background: #fffdf8 !important;
  box-shadow: none !important;
  transform: none !important;
  color: #1a1f2b !important;
  -webkit-text-fill-color: #1a1f2b !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-decoration: none !important;
}

body.woocommerce-account .emmy-account-studio .woocommerce-MyAccount-navigation a:hover,
body.woocommerce-account .emmy-account-studio .woocommerce-MyAccount-navigation .is-active a {
  background: #fff !important;
  border-color: #ddc89a !important;
  transform: none !important;
  box-shadow: none !important;
  color: #1a1f2b !important;
  -webkit-text-fill-color: #1a1f2b !important;
}

body.woocommerce-account.logged-in .emmy-account-studio .woocommerce-MyAccount-navigation a::before,
body.woocommerce-account.logged-in .emmy-account-studio .woocommerce-MyAccount-navigation a::after {
  display: block !important;
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  font-family: Jost, sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

body.woocommerce-account.logged-in .emmy-account-studio .woocommerce-MyAccount-navigation a::before {
  content: "" !important;
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 16px 16px !important;
}

body.woocommerce-account.logged-in .emmy-account-studio .woocommerce-MyAccount-navigation a::after {
  content: "›" !important;
  width: auto !important;
  height: auto !important;
  margin: 0 0 0 auto !important;
  background: none !important;
  color: #8a8175 !important;
  -webkit-text-fill-color: #8a8175 !important;
  font-size: 1.35rem !important;
  line-height: 1 !important;
}

body.woocommerce-account.logged-in .emmy-account-studio .woocommerce-MyAccount-navigation-link--edit-account a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b645c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='1.5'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") !important;
}

body.woocommerce-account.logged-in .emmy-account-studio .woocommerce-MyAccount-navigation-link--orders a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b645c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h16v11H4z'/%3E%3Cpath d='M4 8l2.2-3h11.6L20 8'/%3E%3Cpath d='M9 12h6'/%3E%3C/svg%3E") !important;
}

body.woocommerce-account.logged-in .emmy-account-studio .woocommerce-MyAccount-navigation-link--edit-address a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b645c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s6-5.4 6-10a6 6 0 1 0-12 0c0 4.6 6 10 6 10z'/%3E%3Ccircle cx='12' cy='11' r='1.7'/%3E%3C/svg%3E") !important;
}

body.woocommerce-account.logged-in .emmy-account-studio .woocommerce-MyAccount-navigation-link--downloads a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b645c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v10'/%3E%3Cpath d='M8 10l4 4 4-4'/%3E%3Cpath d='M5 18h14'/%3E%3C/svg%3E") !important;
}

body.woocommerce-account.logged-in .emmy-account-studio .woocommerce-MyAccount-navigation-link--customer-logout a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b645c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 7V5H5v14h5v-2'/%3E%3Cpath d='M10 12h9'/%3E%3Cpath d='M16 8.5L19.5 12 16 15.5'/%3E%3C/svg%3E") !important;
}

body.woocommerce-account .emmy-account-studio .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
  grid-column: auto !important;
  margin: 0.85rem 0 0 !important;
  padding: 0 1.05rem !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  animation: none !important;
}

body.woocommerce-account .emmy-account-studio .woocommerce-MyAccount-content::before,
body.woocommerce-account .emmy-account-studio .woocommerce-MyAccount-content::after {
  content: none !important;
  display: none !important;
}

body.woocommerce-account .emmy-account-studio .sistemapos-account-hero,
body.woocommerce-account .emmy-account-studio .emmy-account-profile,
body.woocommerce-account .emmy-account-studio .emmy-account-hello {
  display: none !important;
}

.emmy-account-studio--home .woocommerce-MyAccount-content:not(:has(.woocommerce-message, .woocommerce-error, .woocommerce-info, table, form)) {
  display: none !important;
}

.emmy-account-studio__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding: 0 1rem;
}

.emmy-account-studio__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  font-family: Jost, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
}

.emmy-account-studio__btn--solid {
  background: #121826;
  border: 1px solid #121826;
  color: #f6efe3 !important;
  -webkit-text-fill-color: #f6efe3 !important;
}

.emmy-account-studio__btn--line {
  background: transparent;
  border: 1px solid #d5cbb8;
  color: #1c2433 !important;
  -webkit-text-fill-color: #1c2433 !important;
}

.emmy-account-studio__btn:hover,
.emmy-account-studio__btn:focus,
.emmy-account-studio__btn:focus-visible {
  text-decoration: none !important;
}

.emmy-account-studio__btn--solid:hover,
.emmy-account-studio__btn--solid:focus {
  background: #1c2433;
  color: #f6efe3 !important;
  -webkit-text-fill-color: #f6efe3 !important;
}

.emmy-account-studio__btn--line:hover,
.emmy-account-studio__btn--line:focus {
  border-color: #c9a227;
  color: #1c2433 !important;
  -webkit-text-fill-color: #1c2433 !important;
}

@media (max-width: 800px) {
  body.woocommerce-account .woocommerce.emmy-account-studio-host {
    margin: 1rem 0.75rem 2rem !important;
  }

  .emmy-account-studio {
    padding: 0.55rem 0.55rem 1.2rem;
    border-radius: 14px;
  }

  .emmy-account-studio__bar {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 1rem 0.8rem;
  }

  .emmy-account-studio__stat,
  .emmy-account-studio__stat--fav {
    justify-self: center;
    text-align: center;
  }

  .emmy-account-studio__identity {
    grid-column: auto;
    order: -1;
    flex-direction: column;
    text-align: center;
  }

  .emmy-account-studio__tabs {
    flex-wrap: wrap;
    gap: 0.75rem 0.6rem;
    margin-right: 0.7rem;
    margin-left: 0.7rem;
  }

  .emmy-account-studio__tabs a {
    flex: 1 1 42%;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .emmy-account-studio__title {
    font-size: 1.65rem;
    padding: 0 0.4rem;
  }

  .emmy-account-studio__actions {
    flex-direction: column;
  }

  .emmy-account-studio__btn {
    width: min(100%, 260px);
  }

  body.woocommerce-account:not(.logged-in) .woocommerce-form-login button.button:not(.show-password-input),
  body.woocommerce-account:not(.logged-in) .woocommerce-form-register button.button:not(.show-password-input),
  body.woocommerce-account:not(.logged-in) .woocommerce-form-login input.button,
  body.woocommerce-account:not(.logged-in) .woocommerce-form-register input.button {
    white-space: normal;
    line-height: 1.25;
    padding: 0.75rem 1rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .emmy-account-studio,
  .emmy-account-studio * {
    animation: none !important;
    transition: none !important;
  }
}


body.woocommerce-account.emmy-account-home .emmy-account-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: center;
}

body.woocommerce-account.emmy-account-home .emmy-account-profile__avatar {
  width: 76px;
  height: 76px;
  margin-bottom: 0.85rem;
  font-size: 1.7rem;
}

body.woocommerce-account.emmy-account-home .emmy-account-profile__name {
  font-size: 1.85rem !important;
}

body.woocommerce-account.emmy-account-home .emmy-account-profile__note {
  max-width: 26ch;
  margin-bottom: 0.85rem !important;
}

.emmy-account-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.85rem;
  margin: 0 0 1.1rem;
}

.emmy-account-links a {
  font-family: var(--ui);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
  text-decoration: none !important;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.12rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

body.woocommerce-account.emmy-account-home .emmy-account-profile__actions {
  justify-content: center;
}

body.woocommerce-account.logged-in:not(.emmy-account-home) .woocommerce-MyAccount-content {
  width: min(680px, 100%) !important;
}

body.home .wp-block-heading {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
}

/* ================================================================== */
/* Lo nuevo — pasarela, no una cuadrícula                              */
/* ================================================================== */

.emmy-runway {
  position: relative;
  margin: 2.5rem 0 0 !important;
  padding: 2.6rem 0 3.2rem !important;
  background-color: var(--navy) !important;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 46px, rgba(201, 162, 39, 0.09) 46px 47px),
    repeating-linear-gradient(-45deg, transparent 0 46px, rgba(201, 162, 39, 0.07) 46px 47px) !important;
  color: var(--ivory);
  overflow: hidden;
}

.emmy-runway-thread {
  color: var(--gold);
  width: min(520px, 70%);
  margin: 0 auto 0.35rem;
}

.emmy-runway-thread svg { display: block; width: 100%; height: 28px; }

.emmy-runway-stitch {
  stroke-dasharray: 3 8;
  stroke-dashoffset: 240;
  animation: emmy-runway-sew 2.8s linear forwards;
}

.emmy-runway-kicker {
  margin: 0 0 0.35rem !important;
  text-align: center;
  font-family: var(--ui) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.42em !important;
  text-transform: uppercase !important;
  color: var(--gold) !important;
}

.emmy-runway > .wp-block-heading,
.emmy-runway .wp-block-heading {
  margin: 0 0 0.4rem !important;
  text-align: center !important;
  color: var(--ivory) !important;
  -webkit-text-fill-color: var(--ivory) !important;
  font-family: var(--display) !important;
  font-weight: 500 !important;
  font-size: clamp(1.8rem, 3vw, 2.8rem) !important;
}

.emmy-runway .wc-block-product-template,
.emmy-runway ul.products,
.emmy-runway .wc-block-grid__products,
.emmy-runway .sistemapos-carousel {
  display: flex !important;
  flex-wrap: nowrap !important;
  grid-template-columns: none !important;
  gap: 1.15rem !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory;
  padding: 1.35rem 7vw 1.8rem !important;
  margin: 0 !important;
  scrollbar-width: none;
}

.emmy-runway .wc-block-product-template::-webkit-scrollbar,
.emmy-runway ul.products::-webkit-scrollbar { display: none; }

.emmy-runway .wc-block-product,
.emmy-runway li.product,
.emmy-runway .wc-block-grid__product {
  position: relative !important;
  flex: 0 0 min(68vw, 250px) !important;
  width: min(68vw, 250px) !important;
  max-width: 250px !important;
  scroll-snap-align: center;
  margin: 0 !important;
  padding: 0 0 0.85rem !important;
  background: #10182a !important;
  border: 1px solid rgba(201, 162, 39, 0.45) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28) !important;
  overflow: hidden;
  transform: none !important;
  animation: emmy-runway-in 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.emmy-runway .wc-block-product:nth-child(2),
.emmy-runway li.product:nth-child(2) { animation-delay: 0.12s; margin-top: 1.6rem !important; }
.emmy-runway .wc-block-product:nth-child(3),
.emmy-runway li.product:nth-child(3) { animation-delay: 0.22s; }
.emmy-runway .wc-block-product:nth-child(4),
.emmy-runway li.product:nth-child(4) { animation-delay: 0.32s; margin-top: 1.6rem !important; }
.emmy-runway .wc-block-product:nth-child(n + 5),
.emmy-runway li.product:nth-child(n + 5) { animation-delay: 0.4s; }

.emmy-runway .wc-block-product::before,
.emmy-runway li.product::before {
  content: "Lo nuevo";
  position: absolute;
  z-index: 3;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.28rem 0.55rem;
  border: 1px solid var(--gold);
  background: rgba(11, 15, 26, 0.72);
  color: var(--gold);
  font-family: var(--ui);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.emmy-runway .wc-block-components-product-image,
.emmy-runway .wp-block-post-featured-image,
.emmy-runway a:has(img) {
  display: block;
  overflow: hidden;
}

.emmy-runway .wc-block-product img,
.emmy-runway li.product img {
  width: 100% !important;
  aspect-ratio: 3 / 4 !important;
  object-fit: cover !important;
  transform: scale(1);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.emmy-runway .wp-block-post-title,
.emmy-runway .wc-block-components-product-name,
.emmy-runway .woocommerce-loop-product__title {
  margin: 0.75rem 0.8rem 0.15rem !important;
  color: var(--ivory) !important;
  -webkit-text-fill-color: var(--ivory) !important;
  font-family: var(--display) !important;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  text-align: left !important;
}

.emmy-runway .wc-block-components-product-price,
.emmy-runway .price {
  display: block !important;
  margin: 0 0.8rem !important;
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
  font-family: var(--ui) !important;
  letter-spacing: 0.04em;
}

.emmy-runway .wp-block-woocommerce-product-button,
.emmy-runway .wc-block-components-product-button,
.emmy-runway .button,
.emmy-runway .add_to_cart_button {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  display: flex !important;
  width: calc(100% - 1.6rem) !important;
  margin: 0.7rem 0.8rem 0 !important;
  min-height: 44px !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
  border: 1px solid var(--gold) !important;
  opacity: 1 !important;
}

@media (hover: hover) {
  .emmy-runway .wc-block-product:hover,
  .emmy-runway li.product:hover {
    margin-top: 0 !important;
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 1px var(--gold), 0 22px 40px rgba(0, 0, 0, 0.35) !important;
  }
  .emmy-runway .wc-block-product:hover img,
  .emmy-runway li.product:hover img {
    transform: scale(1.04);
  }
  .emmy-runway .wc-block-product:hover .button,
  .emmy-runway li.product:hover .add_to_cart_button,
  .emmy-runway .wc-block-product:hover .wc-block-components-product-button__button {
    background: var(--gold) !important;
    color: var(--navy) !important;
    -webkit-text-fill-color: var(--navy) !important;
  }
}

@keyframes emmy-runway-in {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@keyframes emmy-runway-sew { to { stroke-dashoffset: 0; } }

@media (max-width: 699px) {
  .emmy-runway .wc-block-product,
  .emmy-runway li.product,
  .emmy-runway .wc-block-product:nth-child(even),
  .emmy-runway li.product:nth-child(even) {
    flex-basis: 78% !important;
    width: 78% !important;
    max-width: 78% !important;
    margin-top: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .emmy-runway-stitch,
  .emmy-runway .wc-block-product,
  .emmy-runway li.product,
  .emmy-runway img {
    animation: none !important;
    transition: none !important;
    stroke-dashoffset: 0;
    opacity: 1;
    transform: none !important;
  }
}

/* La galería real de la portada es un bloque Galería, no productos */
.emmy-runway .emmy-runway-title,
.emmy-runway .wp-block-paragraph {
  background: transparent !important;
  color: var(--ivory) !important;
  -webkit-text-fill-color: var(--ivory) !important;
}

.emmy-runway .wp-block-gallery,
.emmy-runway .emmy-runway-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 1.15rem !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 1.4rem 7vw 1.8rem !important;
  scrollbar-width: none;
}

.emmy-runway .wp-block-gallery > .wp-block-image {
  flex: 0 0 min(72vw, 240px) !important;
  width: min(72vw, 240px) !important;
  max-width: 240px !important;
  margin: 0 !important;
  scroll-snap-align: center;
  position: relative !important;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.55) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  aspect-ratio: 3 / 4;
  animation: emmy-runway-in 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.emmy-runway .wp-block-gallery > .wp-block-image:nth-child(even) {
  margin-top: 1.7rem !important;
}

.emmy-runway .wp-block-gallery > .wp-block-image::before {
  content: "Lo nuevo";
  position: absolute;
  z-index: 3;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.28rem 0.5rem;
  border: 1px solid var(--gold);
  background: rgba(11, 15, 26, 0.72);
  color: var(--gold);
  font-family: var(--ui);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.emmy-runway .wp-block-gallery > .wp-block-image a,
.emmy-runway .wp-block-gallery > .wp-block-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  position: absolute !important;
  inset: 0 !important;
  margin: 0 !important;
}

.emmy-runway .wp-block-gallery > .wp-block-image img {
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  .emmy-runway .wp-block-gallery > .wp-block-image:hover {
    margin-top: 0 !important;
    border-color: var(--gold) !important;
  }
  .emmy-runway .wp-block-gallery > .wp-block-image:hover img {
    transform: scale(1.06);
  }
}

@media (max-width: 699px) {
  .emmy-runway .wp-block-gallery > .wp-block-image,
  .emmy-runway .wp-block-gallery > .wp-block-image:nth-child(even) {
    flex-basis: 78% !important;
    width: 78% !important;
    max-width: 78% !important;
    margin-top: 0 !important;
  }
}

body.home .emmy-hero-cta {
  display: none !important;
}

.emmy-novedades-cta-row {
  text-align: center;
  margin: 1.35rem 0 0.4rem;
}

.emmy-novedades-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1.55rem;
  border-radius: 999px;
  background: #c9a227;
  color: #0b0f1a !important;
  border: 1px solid #c9a227;
  font-family: var(--ui, Jost, sans-serif);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(11, 15, 26, 0.12);
}

@media (prefers-reduced-motion: no-preference) {
  body.home .emmy-home-piece {
    animation: emmy-home-in 740ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  body.home main .wp-block-cover img,
  body.home main .wp-block-cover video,
  body.home main .wp-block-cover__image-background,
  body.home main .wp-block-image img,
  body.home main .wc-block-product img,
  body.home main li.product img {
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  body.home main .wp-block-cover img,
  body.home main .wp-block-cover video,
  body.home main .wp-block-cover__image-background {
    animation: emmy-ken 16s ease-in-out infinite alternate;
  }

  body.home main .wp-block-image:hover img,
  body.home main .wc-block-product:hover img,
  body.home main li.product:hover img {
    transform: scale(1.06);
  }

  body.home main .wp-block-cover:hover img,
  body.home main .wp-block-cover:hover video,
  body.home main .wp-block-cover:hover .wp-block-cover__image-background {
    animation: none;
    transform: scale(1.08);
  }

  body.home .wp-block-button__link:hover,
  body.home .emmy-novedades-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(201, 162, 39, 0.28);
  }
}

@keyframes emmy-home-in {
  from { opacity: 0; translate: 0 16px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes emmy-ken {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

@media (prefers-reduced-motion: reduce) {
  body.home .emmy-home-piece,
  body.home main .wp-block-cover img,
  body.home main .wp-block-cover video,
  body.home main .wp-block-cover__image-background {
    animation: none !important;
  }
}

body.emmy-nosotros-page,
body.emmy-nosotros-page main {
  background: #f3ece2;
}

body.emmy-nosotros-page .wp-block-post-title {
  display: none;
}

body.emmy-nosotros-page .wp-block-post-content,
body.emmy-nosotros-page .entry-content,
body.page-nosotros .wp-block-post-content,
body.page-sobre-nosotros .wp-block-post-content,
body.emmy-contact-page .wp-block-post-content,
body.emmy-contact-page .entry-content,
body.page-contacto .wp-block-post-content {
  display: block !important;
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.emmy-nosotros {
  --ab-bg: #121212;
  --ab-card: #1f1f1f;
  --ab-gold: #d4af37;
  --ab-linen: #f5f2eb;
  --ab-text: #d2cec9;
  --ab-line: #2a2a2a;
  --ab-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --ab-ui: "Plus Jakarta Sans", Jost, sans-serif;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  align-self: stretch !important;
  flex: 1 1 100% !important;
  background: radial-gradient(ellipse at center, #1c1c1c 0%, #121212 62%);
  color: var(--ab-text);
  font-family: var(--ab-ui);
  color-scheme: dark;
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.25rem, 5vw, 4rem) clamp(3rem, 7vw, 5rem);
  box-sizing: border-box;
  overflow: visible;
}

.emmy-nosotros h1,
.emmy-nosotros h2,
.emmy-nosotros-figure {
  font-family: var(--ab-display);
  font-weight: 500;
  color: var(--ab-linen);
}

.emmy-nosotros-hero {
  max-width: 920px;
  margin: 0 auto 4.5rem;
  text-align: center;
}

.emmy-nosotros-kicker {
  margin: 0 0 1.2rem;
  color: var(--ab-gold);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.emmy-nosotros-title {
  margin: 0 auto 1.25rem;
  max-width: 18em;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.12;
  text-wrap: balance;
}

.emmy-nosotros-lead {
  max-width: 46rem;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.7;
}

.emmy-nosotros-split,
.emmy-nosotros-metrics,
.emmy-nosotros-pillars {
  display: grid;
  gap: 1.1rem;
  max-width: 1100px;
  margin: 0 auto 3.5rem;
}

.emmy-nosotros > * {
  width: 100% !important;
  max-width: 1100px;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.emmy-nosotros-split { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.emmy-nosotros-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.emmy-nosotros-pillars { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }

.emmy-nosotros-card,
.emmy-nosotros-pillar {
  background: var(--ab-card);
  border: 1px solid var(--ab-line);
  padding: 1.6rem 1.4rem 1.5rem;
}

.emmy-nosotros-card { border-top: 2px solid var(--ab-gold); }

.emmy-nosotros-card h2,
.emmy-nosotros-pillar h2 {
  margin: 0 0 0.7rem;
  font-size: 1.7rem;
}

.emmy-nosotros-card p,
.emmy-nosotros-pillar p,
.emmy-nosotros-metrics p,
.emmy-nosotros-form-lead {
  margin: 0;
  line-height: 1.65;
  font-size: 0.95rem;
}

.emmy-nosotros-figure {
  margin: 0 0 0.35rem;
  color: var(--ab-gold);
  font-size: 2.25rem;
  line-height: 1;
}

.emmy-nosotros-metrics h2 {
  margin: 0 0 0.45rem;
  font-family: var(--ab-ui);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ab-text);
}

.emmy-nosotros-index {
  margin: 0 0 0.8rem;
  color: var(--ab-gold);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
}

@media (hover: hover) {
  .emmy-nosotros-pillar {
    transition: border-color 240ms ease, transform 240ms ease;
  }
  .emmy-nosotros-pillar:hover {
    border-color: var(--ab-gold);
    transform: translateY(-6px);
  }
}

.emmy-nosotros-form {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.emmy-nosotros-form h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0 0 0.8rem;
}

.emmy-nosotros-form-lead { margin: 0 0 1.8rem; }

.emmy-nosotros-form form {
  display: grid;
  gap: 1.15rem;
  text-align: left;
}

.emmy-nosotros-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ab-linen);
}

.emmy-nosotros-form input,
.emmy-nosotros-form select,
.emmy-nosotros-form textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ab-line);
  color: var(--ab-linen);
  font-family: var(--ab-ui);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.65rem 0;
  border-radius: 0;
  outline: none;
}

.emmy-nosotros-form input:focus,
.emmy-nosotros-form select:focus,
.emmy-nosotros-form textarea:focus {
  border-bottom-color: var(--ab-gold);
}

.emmy-nosotros-form button,
.emmy-nosotros-modal__go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 0.6rem;
  padding: 0.75rem 1.3rem;
  border: 0;
  border-radius: 999px;
  background: var(--ab-gold);
  color: #121212;
  font-family: var(--ab-ui);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.emmy-nosotros-hp {
  position: absolute !important;
  left: -9999px !important;
  height: 0;
  overflow: hidden;
}

.emmy-nosotros-alert {
  color: #e7c2c2;
  margin: 0 0 1rem;
}

.emmy-nosotros-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.62);
}

.emmy-nosotros-modal__card {
  width: min(440px, 100%);
  background: #1f1f1f;
  border: 1px solid #2a2a2a;
  border-top: 2px solid #d4af37;
  padding: 2rem 1.5rem 1.6rem;
  text-align: center;
}

.emmy-nosotros-modal__card p {
  margin: 0.8rem 0 0;
  line-height: 1.6;
}

.emmy-nosotros-label {
  margin: 0 auto 1.1rem !important;
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.6rem) !important;
}

.emmy-nosotros-close {
  margin-top: 1rem !important;
  padding-top: 1.5rem;
  text-align: center;
}

.emmy-nosotros-close p {
  max-width: 36rem;
  margin: 0.6rem auto 1.2rem;
  line-height: 1.6;
}

.emmy-nosotros-close__go {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  background: var(--ab-gold, #d4af37);
  color: #121212 !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.74rem;
  text-decoration: none;
}

@media (max-width: 900px) {
  .emmy-nosotros-split,
  .emmy-nosotros-pillars { grid-template-columns: 1fr !important; }
  .emmy-nosotros-metrics { grid-template-columns: 1fr 1fr !important; }
}

@media (prefers-reduced-motion: no-preference) {
  .emmy-nosotros-hero > *,
  .emmy-nosotros-card,
  .emmy-nosotros-metrics article,
  .emmy-nosotros-pillar,
  .emmy-nosotros-form {
    animation: emmy-nosotros-in 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .emmy-nosotros-hero > :nth-child(2) { animation-delay: 0.12s; }
  .emmy-nosotros-hero > :nth-child(3) { animation-delay: 0.22s; }
  .emmy-nosotros-card:nth-child(2) { animation-delay: 0.12s; }
  .emmy-nosotros-pillar:nth-child(2) { animation-delay: 0.1s; }
  .emmy-nosotros-pillar:nth-child(3) { animation-delay: 0.18s; }
}

@keyframes emmy-nosotros-in {
  from { opacity: 0; translate: 0 14px; }
  to { opacity: 1; translate: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .emmy-nosotros-hero > *,
  .emmy-nosotros-card,
  .emmy-nosotros-metrics article,
  .emmy-nosotros-pillar,
  .emmy-nosotros-form,
  .emmy-nosotros-pillar:hover {
    animation: none !important;
    transform: none !important;
  }
}

/* Lo nuevo — pasarela con hilo, marquesina y piezas en desnivel */
.emmy-runway {
  width: 100%;
  max-width: 100%;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-top: 1.2rem !important;
  animation: emmy-quilt 22s linear infinite;
}

.emmy-runway::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(201, 162, 39, 0.16) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: emmy-sweep 7.5s ease-in-out infinite;
}

.emmy-runway-marquee {
  overflow: hidden;
  pointer-events: none;
  margin: 0 0 0.2rem;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.emmy-runway-marquee__track {
  display: flex;
  width: max-content;
  animation: emmy-marquee 36s linear infinite;
}

.emmy-runway-marquee__track > div { display: flex; }

.emmy-runway-marquee span {
  font-family: var(--display);
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 162, 39, 0.42);
  white-space: nowrap;
}

.emmy-runway-thread {
  position: relative;
  z-index: 1;
}

.emmy-runway-thread::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px var(--navy), inset 0 0 0 5.5px var(--gold);
  background: var(--navy);
  animation: emmy-spool 9s linear infinite;
}

.emmy-runway-stitch {
  stroke-dasharray: 2 7;
  stroke-dashoffset: 0;
  animation: emmy-dash 2.4s linear infinite;
}

.emmy-runway-needle {
  position: absolute;
  left: 8px;
  top: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  offset-path: path("M8 18 C 90 6, 150 30, 240 16 S 390 4, 500 18 S 680 32, 820 14 S 1000 4, 1192 18");
  offset-distance: 0%;
  animation: emmy-needle 4.8s linear infinite;
}

.emmy-runway-kicker,
.emmy-runway-title,
.emmy-runway-line,
.emmy-runway-track,
.emmy-runway .emmy-novedades-cta-row,
.emmy-runway-hint {
  position: relative;
  z-index: 1;
}

.emmy-runway-line {
  width: min(220px, 40%);
  height: 1px;
  margin: 0.85rem auto 0.2rem;
  background: var(--gold);
  transform-origin: center;
  animation: emmy-line 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.emmy-runway .wc-block-product,
.emmy-runway li.product,
.emmy-runway .wp-block-gallery > .wp-block-image {
  animation-name: emmy-runway-walk !important;
  animation-duration: 980ms !important;
}

.emmy-runway .wc-block-product::after,
.emmy-runway li.product::after,
.emmy-runway .wp-block-gallery > .wp-block-image::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 320ms ease;
  z-index: 2;
}

.emmy-runway .emmy-novedades-cta {
  position: relative;
  overflow: hidden;
}

.emmy-runway .emmy-novedades-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-130%);
  animation: emmy-sheen 3.4s ease-in-out infinite;
}

.emmy-runway-hint {
  display: none;
  margin: 0;
  text-align: center;
  font-family: var(--ui);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

body.home main .wp-block-cover {
  position: relative;
}

body.home main .wp-block-cover::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 400ms ease, inset 400ms ease;
  z-index: 2;
}

body.home main .wp-block-button__link {
  position: relative;
  overflow: hidden;
}

body.home main .wp-block-button__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
  transform: translateX(-130%);
  animation: emmy-sheen 4.2s ease-in-out infinite;
  pointer-events: none;
}

@media (hover: hover) {
  .emmy-runway .wc-block-product:hover::after,
  .emmy-runway li.product:hover::after,
  .emmy-runway .wp-block-gallery > .wp-block-image:hover::after,
  body.home main .wp-block-cover:hover::after {
    border-color: rgba(201, 162, 39, 0.9);
  }
  body.home main .wp-block-cover:hover::after { inset: 8px; }
}

@media (max-width: 699px) {
  .emmy-runway-hint {
    display: block;
    animation: emmy-hint 3s ease 1s both;
  }
}

@keyframes emmy-quilt {
  from { background-position: 0 0, 0 0; }
  to { background-position: 92px 46px, -92px 46px; }
}

@keyframes emmy-sweep {
  0%, 18% { transform: translateX(-120%); }
  55%, 100% { transform: translateX(120%); }
}

@keyframes emmy-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes emmy-spool { to { transform: rotate(360deg); } }

@keyframes emmy-dash { to { stroke-dashoffset: -220; } }

@keyframes emmy-needle { to { offset-distance: 100%; } }

@keyframes emmy-line {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

@keyframes emmy-runway-walk {
  from { opacity: 0; translate: 42px 26px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes emmy-sheen {
  0%, 42% { transform: translateX(-130%); }
  68%, 100% { transform: translateX(130%); }
}

@keyframes emmy-hint {
  0% { opacity: 0; }
  18%, 62% { opacity: 1; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .emmy-runway,
  .emmy-runway::before,
  .emmy-runway-marquee__track,
  .emmy-runway-thread::before,
  .emmy-runway-stitch,
  .emmy-runway-needle,
  .emmy-runway-line,
  .emmy-runway .emmy-novedades-cta::after,
  .emmy-runway-hint,
  body.home main .wp-block-button__link::after {
    animation: none !important;
  }
  .emmy-runway-needle { display: none; }
}

.emmy-nosotros p,
.emmy-nosotros h1,
.emmy-nosotros h2 {
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word;
}

.emmy-nosotros-title { max-width: 18em !important; }
.emmy-nosotros-lead { max-width: 42rem !important; }

.emmy-nosotros h1,
.emmy-nosotros h2,
.emmy-contact h1,
.emmy-contact h2,
body.home main h1.wp-block-heading,
body.home main h2.wp-block-heading {
  transition: color 0.35s ease, letter-spacing 0.4s ease;
}

.emmy-nosotros h2,
.emmy-contact h1,
.emmy-contact h2,
body.home main h1.wp-block-heading,
body.home main h2.wp-block-heading {
  background-image: linear-gradient(#d4af37, #d4af37);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: color 0.35s ease, letter-spacing 0.4s ease, background-size 0.45s ease;
}

.emmy-nosotros h1:hover,
.emmy-nosotros h2:hover,
.emmy-contact h1:hover,
.emmy-contact h2:hover,
body.home main h1.wp-block-heading:hover,
body.home main h2.wp-block-heading:hover {
  color: #d4af37;
  letter-spacing: 0.03em;
  background-size: 100% 1px;
}

body.emmy-contact-page,
body.emmy-contact-page main {
  background: #f3ece2;
}

body.emmy-contact-page .wp-block-post-title { display: none; }

.emmy-contact {
  display: grid !important;
  align-self: stretch !important;
  grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.2fr);
  min-height: 70vh;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  background: #f3ece2;
  color: #1c1915;
  font-family: "Plus Jakarta Sans", Jost, sans-serif;
}

.emmy-contact-aside {
  background: #0c1c33;
  color: #f5f2eb;
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 3vw, 3rem);
}

.emmy-contact-kicker {
  margin: 0 0 0.8rem;
  color: #d4af37;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.emmy-contact-aside h1,
.emmy-contact-panel h2 {
  margin: 0;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1;
  color: inherit;
}

.emmy-contact-aside h1 { color: #f5f2eb; }
.emmy-contact-aside h1::after,
.emmy-contact-panel > h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin: 0.85rem 0 1.2rem;
  background: #d4af37;
  transition: width 0.45s ease;
}
.emmy-contact-aside h1:hover::after,
.emmy-contact-panel > h2:hover::after { width: 128px; }

.emmy-contact-lead,
.emmy-contact-note {
  max-width: 34rem;
  margin: 0 0 1.8rem;
  line-height: 1.65;
  color: #d2cec9;
  font-size: 0.95rem;
}

.emmy-contact-note { color: #6f675f; }

.emmy-contact-facts {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.emmy-contact-facts span {
  display: block;
  color: #d4af37;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.emmy-contact-facts strong,
.emmy-contact-facts a {
  color: #f5f2eb;
  font-weight: 500;
  text-decoration: none;
}

.emmy-contact-facts a:hover { color: #d4af37; }

.emmy-contact-panel {
  padding: clamp(2.2rem, 5vw, 4rem) clamp(1.4rem, 4vw, 3.5rem) 2.5rem;
  background: #f6f1e8;
}

.emmy-contact-panel form {
  display: grid;
  gap: 0.95rem;
  max-width: 640px;
}

.emmy-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.emmy-contact-panel label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8d847b;
}

.emmy-contact-panel input,
.emmy-contact-panel select,
.emmy-contact-panel textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #e6dccf;
  color: #1c1915;
  font-family: "Plus Jakarta Sans", Jost, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.75rem 0.8rem;
  border-radius: 2px;
  outline: none;
}

.emmy-contact-panel input:focus,
.emmy-contact-panel select:focus,
.emmy-contact-panel textarea:focus {
  border-color: #d4af37;
}

.emmy-contact-panel button[type="submit"] {
  justify-self: start;
  min-height: 46px;
  margin-top: 0.4rem;
  padding: 0.75rem 1.3rem;
  border: 0;
  border-radius: 2px;
  background: #0e1c33;
  color: #f5f2eb;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.emmy-contact-panel button[type="submit"]:hover {
  background: #163056;
  transform: translateY(-2px);
}

.emmy-contact-wa {
  max-width: 420px;
  margin: 2.8rem auto 0;
  text-align: center;
}

.emmy-contact-wa__mark {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 0.8rem;
  border: 1px solid #1c1915;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 46%, transparent 0 7px, #1c1915 8px 9px, transparent 10px),
    linear-gradient(#1c1915, #1c1915) center 58% / 16px 2px no-repeat;
}

.emmy-contact-wa h2 {
  font-size: 1.8rem !important;
  color: #1c1915;
}

.emmy-contact-wa p {
  margin: 0.5rem 0 1rem;
  color: #6f675f;
  line-height: 1.55;
  font-size: 0.92rem;
}

.emmy-contact-wa a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.55rem 1rem;
  border: 1px solid #1c1915;
  color: #1c1915;
  text-decoration: none;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
  transition: background 0.25s ease, color 0.25s ease;
}

.emmy-contact-wa a:hover {
  background: #0e1c33;
  color: #f5f2eb;
}

@media (max-width: 800px) {
  .emmy-contact,
  .emmy-contact-row { grid-template-columns: 1fr !important; }
}

@media (prefers-reduced-motion: reduce) {
  .emmy-nosotros h1,
  .emmy-nosotros h2,
  .emmy-contact h1,
  .emmy-contact h2,
  .emmy-contact-panel button[type="submit"] {
    transition: none !important;
  }
}

/* Nosotros: lienzo a todo el ancho (el JS de pilares no debe encogerlo) */
body.emmy-nosotros-page .emmy-details,
body.page-nosotros .emmy-details,
body.page-sobre-nosotros .emmy-details,
body.emmy-nosotros-page .sistemapos-details,
body.page-nosotros .sistemapos-details,
body.emmy-nosotros-page main,
body.emmy-nosotros-page main > .wp-block-group,
body.page-nosotros main,
body.page-nosotros main > .wp-block-group {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.emmy-nosotros-page .emmy-about,
body.page-nosotros .emmy-about,
body.page-sobre-nosotros .emmy-about,
body.emmy-nosotros-page .emmy-about-story,
body.page-nosotros .emmy-about-story,
body.emmy-nosotros-page .emmy-about-metrics,
body.page-nosotros .emmy-about-metrics,
body.emmy-nosotros-page .emmy-about-pillars,
body.page-nosotros .emmy-about-pillars {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  box-sizing: border-box;
}

body.emmy-nosotros-page main > h2.wp-block-heading,
body.page-nosotros main > h2.wp-block-heading,
body.emmy-nosotros-page .wp-site-blocks > h2.wp-block-heading,
body.page-nosotros .wp-site-blocks > h2.wp-block-heading,
body.emmy-nosotros-page .wp-site-blocks > .wp-block-columns,
body.page-nosotros .wp-site-blocks > .wp-block-columns {
  display: none !important;
}

body.emmy-nosotros-page .wp-block-cover__inner-container,
body.page-nosotros .wp-block-cover__inner-container,
body.page-sobre-nosotros .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
}

body.emmy-nosotros-page .wp-block-cover::after,
body.page-nosotros .wp-block-cover::after,
body.page-sobre-nosotros .wp-block-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(11, 15, 26, 0.72), rgba(11, 15, 26, 0.28) 50%, rgba(11, 15, 26, 0.2));
}

body.emmy-nosotros-page .wp-block-cover p,
body.page-nosotros .wp-block-cover p,
body.page-sobre-nosotros .wp-block-cover p {
  color: #f5f2eb;
}

body.emmy-nosotros-page .is-style-text-display,
body.page-nosotros .is-style-text-display,
body.page-sobre-nosotros .is-style-text-display {
  color: #d4af37 !important;
  letter-spacing: 0.28em;
  font-size: 0.78rem !important;
  text-transform: uppercase;
}

body.emmy-nosotros-page .is-style-text-subtitle,
body.page-nosotros .is-style-text-subtitle,
body.page-sobre-nosotros .is-style-text-subtitle {
  max-width: 18em;
  margin-left: auto;
  margin-right: auto;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem) !important;
  line-height: 1.12;
}

body.emmy-nosotros-page .emmy-about-story,
body.emmy-nosotros-page .emmy-about-metrics,
body.emmy-nosotros-page .emmy-about-pillars,
body.page-nosotros .emmy-about-story,
body.page-nosotros .emmy-about-metrics,
body.page-nosotros .emmy-about-pillars {
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}
body.emmy-nosotros-page .emmy-about-metrics .wp-block-gallery,
body.emmy-nosotros-page .emmy-about-pillars .wp-block-columns,
body.page-nosotros .emmy-about-story .wp-block-media-text,
body.page-nosotros .emmy-about-metrics .wp-block-gallery,
body.page-nosotros .emmy-about-pillars .wp-block-columns {
  width: min(1180px, calc(100% - 2.5rem)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.emmy-nosotros-page .emmy-about-story > p,
body.page-nosotros .emmy-about-story > p {
  width: min(46rem, calc(100% - 2.5rem));
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 1.12rem;
  line-height: 1.75;
}

body.emmy-nosotros-page .wp-block-media-text,
body.page-nosotros .wp-block-media-text,
body.page-sobre-nosotros .wp-block-media-text {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

body.emmy-nosotros-page .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content,
body.page-nosotros .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content,
body.page-sobre-nosotros .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
  grid-column: 1;
  grid-row: 1;
}

body.emmy-nosotros-page .wp-block-media-text.has-media-on-the-right .wp-block-media-text__media,
body.page-nosotros .wp-block-media-text.has-media-on-the-right .wp-block-media-text__media,
body.page-sobre-nosotros .wp-block-media-text.has-media-on-the-right .wp-block-media-text__media {
  grid-column: 2;
  grid-row: 1;
}

body.emmy-nosotros-page .wp-block-media-text__content,
body.page-nosotros .wp-block-media-text__content,
body.page-sobre-nosotros .wp-block-media-text__content {
  align-self: center;
}

body.emmy-nosotros-page .wp-block-media-text__media,
body.page-nosotros .wp-block-media-text__media,
body.page-sobre-nosotros .wp-block-media-text__media {
  position: relative;
  height: 100%;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
}

body.emmy-nosotros-page .wp-block-media-text__media img,
body.page-nosotros .wp-block-media-text__media img,
body.page-sobre-nosotros .wp-block-media-text__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  aspect-ratio: auto;
}

body.emmy-nosotros-page .emmy-about-story,
body.emmy-nosotros-page .emmy-about-story h2,
body.emmy-nosotros-page .emmy-about-story p,
body.page-nosotros .emmy-about-story,
body.page-nosotros .emmy-about-story h2,
body.page-nosotros .emmy-about-story p,
body.page-sobre-nosotros .emmy-about-story,
body.page-sobre-nosotros .emmy-about-story h2,
body.page-sobre-nosotros .emmy-about-story p {
  color: #10152a;
}

body.emmy-nosotros-page .emmy-about-metrics,
body.emmy-nosotros-page .emmy-about-metrics h2,
body.emmy-nosotros-page .emmy-about-metrics figcaption,
body.page-nosotros .emmy-about-metrics,
body.page-nosotros .emmy-about-metrics h2,
body.page-nosotros .emmy-about-metrics figcaption,
body.page-sobre-nosotros .emmy-about-metrics,
body.page-sobre-nosotros .emmy-about-metrics h2,
body.page-sobre-nosotros .emmy-about-metrics figcaption {
  color: #f3ece2;
}

body.emmy-nosotros-page .wp-block-gallery,
body.page-nosotros .wp-block-gallery,
body.page-sobre-nosotros .wp-block-gallery {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

body.emmy-nosotros-page .wp-block-gallery .wp-block-image img,
body.page-nosotros .wp-block-gallery .wp-block-image img,
body.page-sobre-nosotros .wp-block-gallery .wp-block-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

body.emmy-nosotros-page .wp-block-gallery figcaption,
body.page-nosotros .wp-block-gallery figcaption,
body.page-sobre-nosotros .wp-block-gallery figcaption {
  color: #f3ece2;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.45;
}

body.emmy-nosotros-page .wp-block-columns,
body.page-nosotros .wp-block-columns,
body.page-sobre-nosotros .wp-block-columns {
  gap: 1rem;
}

body.emmy-nosotros-page .emmy-about-pillars,
body.emmy-nosotros-page .emmy-about-pillars h2,
body.emmy-nosotros-page .emmy-about-pillars h3,
body.emmy-nosotros-page .emmy-about-pillars p,
body.page-nosotros .emmy-about-pillars,
body.page-nosotros .emmy-about-pillars h2,
body.page-nosotros .emmy-about-pillars h3,
body.page-nosotros .emmy-about-pillars p,
body.page-sobre-nosotros .emmy-about-pillars,
body.page-sobre-nosotros .emmy-about-pillars h2,
body.page-sobre-nosotros .emmy-about-pillars h3,
body.page-sobre-nosotros .emmy-about-pillars p {
  color: #10152a;
}

body.emmy-nosotros-page .emmy-about-pillars .wp-block-column,
body.page-nosotros .emmy-about-pillars .wp-block-column,
body.page-sobre-nosotros .emmy-about-pillars .wp-block-column {
  background: transparent;
  border: 0;
  border-top: 2px solid #d4af37;
  padding: 1.4rem 0.4rem 0.2rem;
}

body.emmy-nosotros-page .wp-block-column:empty,
body.page-nosotros .wp-block-column:empty,
body.page-sobre-nosotros .wp-block-column:empty {
  display: none;
}

body.emmy-nosotros-page h2:hover,
body.page-nosotros h2:hover,
body.page-sobre-nosotros h2:hover {
  color: #d4af37;
}

@media (max-width: 900px) {
  body.emmy-nosotros-page .wp-block-gallery,
  body.page-nosotros .wp-block-gallery,
  body.page-sobre-nosotros .wp-block-gallery {
    grid-template-columns: 1fr 1fr;
  }

  body.emmy-nosotros-page .wp-block-media-text,
  body.emmy-nosotros-page .wp-block-media-text.has-media-on-the-right,
  body.page-nosotros .wp-block-media-text,
  body.page-nosotros .wp-block-media-text.has-media-on-the-right,
  body.page-sobre-nosotros .wp-block-media-text,
  body.page-sobre-nosotros .wp-block-media-text.has-media-on-the-right {
    grid-template-columns: 1fr;
  }

  body.emmy-nosotros-page .wp-block-media-text__media,
  body.emmy-nosotros-page .wp-block-media-text.has-media-on-the-right .wp-block-media-text__media,
  body.emmy-nosotros-page .wp-block-media-text__content,
  body.emmy-nosotros-page .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content,
  body.page-nosotros .wp-block-media-text__media,
  body.page-nosotros .wp-block-media-text.has-media-on-the-right .wp-block-media-text__media,
  body.page-nosotros .wp-block-media-text__content,
  body.page-nosotros .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content,
  body.page-sobre-nosotros .wp-block-media-text__media,
  body.page-sobre-nosotros .wp-block-media-text.has-media-on-the-right .wp-block-media-text__media,
  body.page-sobre-nosotros .wp-block-media-text__content,
  body.page-sobre-nosotros .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
    grid-column: 1;
    grid-row: auto;
  }
}

/* Nosotros: la maqueta del editor (crema / marino) con entrada y hover */
body.emmy-nosotros-page .emmy-about-story h2,
body.emmy-nosotros-page .emmy-about-story p,
body.emmy-nosotros-page .emmy-about-pillars h2,
body.emmy-nosotros-page .emmy-about-pillars h3,
body.emmy-nosotros-page .emmy-about-pillars p,
body.page-nosotros .emmy-about-story h2,
body.page-nosotros .emmy-about-story p,
body.page-nosotros .emmy-about-pillars h2,
body.page-nosotros .emmy-about-pillars h3,
body.page-nosotros .emmy-about-pillars p {
  color: #10152a !important;
}

body.emmy-nosotros-page .emmy-about-story h2:hover,
body.emmy-nosotros-page .emmy-about-pillars h2:hover,
body.emmy-nosotros-page .emmy-about-pillars h3:hover,
body.page-nosotros .emmy-about-story h2:hover,
body.page-nosotros .emmy-about-pillars h2:hover,
body.page-nosotros .emmy-about-pillars h3:hover {
  color: #10152a !important;
}

body.emmy-nosotros-page .emmy-about-metrics h2,
body.emmy-nosotros-page .emmy-about-metrics h2:hover,
body.emmy-nosotros-page .emmy-about-metrics figcaption,
body.page-nosotros .emmy-about-metrics h2,
body.page-nosotros .emmy-about-metrics h2:hover,
body.page-nosotros .emmy-about-metrics figcaption {
  color: #f3ece2 !important;
}

body.emmy-nosotros-page .emmy-about-pillars .wp-block-column,
body.page-nosotros .emmy-about-pillars .wp-block-column {
  background: rgba(255, 255, 255, 0.45) !important;
  border: 0 !important;
  border-top: 2px solid #d4af37 !important;
  box-shadow: none !important;
  color: #10152a !important;
  padding: 1.5rem 1.15rem 1.35rem !important;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), background 420ms ease;
}

body.emmy-nosotros-page .emmy-about-metrics .wp-block-gallery.has-nested-images,
body.page-nosotros .emmy-about-metrics .wp-block-gallery.has-nested-images {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1.15rem !important;
  width: 100% !important;
  align-items: stretch;
}

body.emmy-nosotros-page .emmy-about-metrics .wp-block-gallery.has-nested-images > .wp-block-image,
body.page-nosotros .emmy-about-metrics .wp-block-gallery.has-nested-images > .wp-block-image {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

body.emmy-nosotros-page .emmy-about-frame,
body.page-nosotros .emmy-about-frame {
  display: block;
  overflow: hidden;
}

body.emmy-nosotros-page .emmy-about-metrics .wp-block-gallery img,
body.page-nosotros .emmy-about-metrics .wp-block-gallery img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 3 / 4 !important;
  object-fit: cover !important;
  display: block;
  transform: scale(1);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.emmy-nosotros-page .emmy-about-metrics figcaption,
body.page-nosotros .emmy-about-metrics figcaption {
  padding-top: 0.85rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

body.emmy-nosotros-page .emmy-about-live .emmy-about-piece,
body.page-nosotros .emmy-about-live .emmy-about-piece {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--emmy-about-d, 0ms);
}

body.emmy-nosotros-page .emmy-about-live .wp-block-media-text.emmy-about-piece,
body.page-nosotros .emmy-about-live .wp-block-media-text.emmy-about-piece {
  transform: translateX(-32px);
}

body.emmy-nosotros-page .emmy-about-live .wp-block-media-text.has-media-on-the-right.emmy-about-piece,
body.page-nosotros .emmy-about-live .wp-block-media-text.has-media-on-the-right.emmy-about-piece {
  transform: translateX(32px);
}

body.emmy-nosotros-page .emmy-about-live .emmy-about-piece.is-in,
body.page-nosotros .emmy-about-live .emmy-about-piece.is-in {
  opacity: 1;
  transform: none;
}

body.emmy-nosotros-page .emmy-about-live .emmy-about-hero .wp-block-cover__image-background,
body.page-nosotros .emmy-about-live .emmy-about-hero .wp-block-cover__image-background {
  animation: emmy-about-drift 22s ease-in-out alternate infinite;
}

body.emmy-nosotros-page .emmy-about-live .emmy-about-hero .is-style-text-display,
body.emmy-nosotros-page .emmy-about-live .emmy-about-hero .is-style-text-subtitle,
body.page-nosotros .emmy-about-live .emmy-about-hero .is-style-text-display,
body.page-nosotros .emmy-about-live .emmy-about-hero .is-style-text-subtitle {
  animation: emmy-about-rise 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.emmy-nosotros-page .emmy-about-live .emmy-about-hero .is-style-text-subtitle,
body.page-nosotros .emmy-about-live .emmy-about-hero .is-style-text-subtitle {
  animation-delay: 160ms;
}

body.emmy-nosotros-page .emmy-about-metrics > .wp-block-heading::after,
body.emmy-nosotros-page .emmy-about-pillars > .wp-block-heading::after,
body.page-nosotros .emmy-about-metrics > .wp-block-heading::after,
body.page-nosotros .emmy-about-pillars > .wp-block-heading::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin: 0.85rem auto 0;
  background: #d4af37;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.emmy-nosotros-page .emmy-about-piece.is-in::after,
body.page-nosotros .emmy-about-piece.is-in::after {
  transform: scaleX(1);
}

@media (hover: hover) {
  body.emmy-nosotros-page .emmy-about-metrics .wp-block-image:hover img,
  body.page-nosotros .emmy-about-metrics .wp-block-image:hover img,
  body.emmy-nosotros-page .emmy-about .wp-block-media-text:hover img,
  body.page-nosotros .emmy-about .wp-block-media-text:hover img {
    transform: scale(1.06);
  }

  body.emmy-nosotros-page .emmy-about-pillars .wp-block-column:hover,
  body.page-nosotros .emmy-about-pillars .wp-block-column:hover {
    background: #fff !important;
    transform: translateY(-8px);
  }
}

@keyframes emmy-about-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes emmy-about-drift {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@media (max-width: 900px) {
  body.emmy-nosotros-page .emmy-about-metrics .wp-block-gallery.has-nested-images,
  body.page-nosotros .emmy-about-metrics .wp-block-gallery.has-nested-images {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.emmy-nosotros-page .emmy-about-live .emmy-about-piece,
  body.page-nosotros .emmy-about-live .emmy-about-piece,
  body.emmy-nosotros-page .emmy-about-live .emmy-about-hero .is-style-text-display,
  body.emmy-nosotros-page .emmy-about-live .emmy-about-hero .is-style-text-subtitle,
  body.emmy-nosotros-page .emmy-about-live .emmy-about-hero .wp-block-cover__image-background,
  body.page-nosotros .emmy-about-live .emmy-about-hero .wp-block-cover__image-background {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Plus al tope: sigue siendo clicable para mostrar el aviso */
.wc-block-components-quantity-selector__button--plus.is-disabled,
button.plus.is-disabled,
button[aria-label*="Aumentar"].is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: auto !important;
}

@media (min-width: 900px) {
  body.woocommerce-checkout .wc-block-checkout,
  body.woocommerce-checkout .wp-block-woocommerce-checkout,
  body.woocommerce-checkout form.wc-block-checkout__form,
  body.woocommerce-checkout .wc-block-checkout__columns,
  body.woocommerce-checkout .wp-block-woocommerce-checkout > .wp-block-columns {
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 22rem) !important;
    flex-direction: unset !important;
    max-width: 1100px !important;
    width: 100% !important;
    align-items: start !important;
    gap: 2rem !important;
  }

  body.woocommerce-checkout .wc-block-checkout__main,
  body.woocommerce-checkout .wp-block-woocommerce-checkout-fields-block {
    grid-column: 1 !important;
    width: auto !important;
    max-width: none !important;
  }

  body.woocommerce-checkout .wc-block-checkout__sidebar,
  body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block {
    grid-column: 2 !important;
    width: auto !important;
    max-width: none !important;
    position: sticky !important;
    top: 6.5rem !important;
  }
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block {
  display: block !important;
  background: #fff !important;
  border: 1px solid var(--hair, #e5dfd4) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 28px rgba(11, 15, 26, 0.06) !important;
  padding: 1.25rem 1.2rem 1.35rem !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block > .wc-block-components-title,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-heading-block .wc-block-components-title {
  display: block !important;
  font-family: var(--display, Georgia, serif) !important;
  font-size: 1.45rem !important;
  font-weight: 500 !important;
  color: var(--navy, #10152a) !important;
  margin: 0 0 1rem !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item {
  display: grid !important;
  grid-template-columns: 72px minmax(0, 1fr) auto !important;
  gap: 0.85rem !important;
  align-items: center !important;
  padding: 0.85rem 0 !important;
  border-bottom: 1px solid var(--hair, #e5dfd4) !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__image img {
  width: 72px !important;
  height: 90px !important;
  object-fit: cover !important;
  border-radius: 6px !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item .wc-block-components-product-name,
body.woocommerce-checkout .wc-block-components-order-summary-item .wc-block-components-product-name a {
  color: var(--navy, #10152a) !important;
  font-size: 0.95rem !important;
  line-height: 1.35 !important;
}

body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  color: var(--gold-hover, #b48f1c) !important;
  font-weight: 600 !important;
}

/* Resumen: abierto, con productos, no solo el total plegado */
body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-panel.wc-block-components-order-summary,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-cart-items-block .wc-block-components-panel__button,
body.woocommerce-checkout .wc-block-components-order-summary {
  display: block !important;
}

body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-panel__content {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  visibility: visible !important;
  padding-top: 0.75rem !important;
}

body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-panel__button {
  display: flex !important;
  width: 100% !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-family: var(--display, Georgia, serif) !important;
  font-size: 1.35rem !important;
  color: var(--navy, #10152a) !important;
  pointer-events: none !important;
}

body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-panel__button svg {
  display: none !important;
}

/* Mini-cart: título primero */
.wc-block-mini-cart__drawer .wc-block-mini-cart__title,
.wc-block-mini-cart__drawer h2.wc-block-mini-cart__title {
  order: -1 !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  margin: 0 2.8rem 1rem 0 !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-filled-mini-cart-contents-block,
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-contents {
  display: flex !important;
  flex-direction: column !important;
}

/* Contacto: Hablemos y datos en crema sobre marino */
.emmy-contact-aside,
.emmy-contact-aside h1,
.emmy-contact-aside h2,
.emmy-contact-aside p,
.emmy-contact-aside strong,
.emmy-contact-aside a,
.emmy-contact-aside li,
body.emmy-contact-page .emmy-contact-aside h1 {
  color: #f5f2eb !important;
  -webkit-text-fill-color: #f5f2eb !important;
}

.emmy-contact-aside h1 {
  font-size: clamp(3.1rem, 6vw, 4.8rem) !important;
  line-height: 0.95 !important;
  letter-spacing: 0.01em !important;
  text-align: left !important;
  margin: 0 !important;
}

.emmy-contact-kicker,
.emmy-contact-facts span {
  color: #d4af37 !important;
  -webkit-text-fill-color: #d4af37 !important;
}

.emmy-contact-aside .emmy-contact-lead {
  color: #e8e1d6 !important;
  -webkit-text-fill-color: #e8e1d6 !important;
  font-size: 1.05rem !important;
}

.emmy-contact h1:hover,
.emmy-contact-aside h1:hover {
  color: #d4af37 !important;
  -webkit-text-fill-color: #d4af37 !important;
}

/* Nosotros: misión y visión en dos bloques iguales */
body.emmy-nosotros-page .emmy-about-story .wp-block-media-text,
body.page-nosotros .emmy-about-story .wp-block-media-text {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
  gap: clamp(1.75rem, 4vw, 3.5rem) !important;
  align-items: center !important;
  width: min(1180px, calc(100% - 2.5rem)) !important;
  max-width: 1180px !important;
  margin: 2.75rem auto !important;
}

body.emmy-nosotros-page .emmy-about-story .wp-block-media-text.has-media-on-the-right {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr) !important;
}

body.emmy-nosotros-page .emmy-about-story .wp-block-media-text__media {
  min-height: 420px !important;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1a1a;
}

body.emmy-nosotros-page .emmy-about-story .wp-block-media-text__content {
  padding: 0.4rem 0.2rem 0.4rem 0.6rem !important;
}

body.emmy-nosotros-page .emmy-about-story .wp-block-media-text h2 {
  font-size: clamp(2rem, 3.4vw, 2.85rem) !important;
  color: #10152a !important;
  margin: 0 0 0.85rem !important;
}

body.emmy-nosotros-page .emmy-about-story .wp-block-media-text p {
  color: #2a3148 !important;
  font-size: 1.05rem !important;
  line-height: 1.75 !important;
  max-width: 36rem;
}

@media (max-width: 900px) {
  body.emmy-nosotros-page .emmy-about-story .wp-block-media-text,
  body.emmy-nosotros-page .emmy-about-story .wp-block-media-text.has-media-on-the-right {
    grid-template-columns: 1fr !important;
  }

  body.emmy-nosotros-page .emmy-about-story .wp-block-media-text__media {
    min-height: 260px !important;
  }
}

/* Checkout: tarjeta crema + oro, pasos, CTA */
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-checkout .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-totals-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block {
  background: #f7f3ea !important;
  border: 1px solid #d4af37 !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 28px rgba(16, 21, 42, 0.06) !important;
  padding: 1.35rem 1.3rem 1.5rem !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-heading-block .wc-block-components-title,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block > .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-panel__button {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 1.55rem !important;
  color: #10152a !important;
  border-bottom: 1px solid #e4dccb !important;
  padding-bottom: 0.85rem !important;
  margin-bottom: 0.85rem !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block,
body.woocommerce-checkout .wc-block-components-totals-coupon {
  display: block !important;
  margin: 0.75rem 0 !important;
}

body.woocommerce-checkout .wc-block-components-totals-coupon__input input,
body.woocommerce-checkout .wc-block-components-text-input input {
  background: #fff !important;
  border: 1px solid #d8d0c2 !important;
  min-height: 44px !important;
}

body.woocommerce-checkout .wc-block-components-totals-footer-item {
  border-top: 1px solid #d8d0c2 !important;
  margin-top: 0.6rem !important;
  padding-top: 0.85rem !important;
}

body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-size: 1.2rem !important;
  font-weight: 600 !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wp-block-woocommerce-checkout-actions-block .wc-block-components-button {
  background: #c9a227 !important;
  color: #10152a !important;
  border: 0 !important;
  border-radius: 6px !important;
  min-height: 52px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  width: 100% !important;
}

body.woocommerce-checkout .wc-block-components-address-card {
  border: 0 !important;
  border-bottom: 1px solid #c9a227 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0.35rem 0 1rem !important;
}

.emmy-checkout-steps {
  max-width: 720px !important;
  gap: 0 !important;
}

.emmy-checkout-steps__item {
  position: relative;
  padding: 0 1.4rem;
}

.emmy-checkout-steps__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 2.2rem;
  height: 1px;
  background: #d8d0c2;
}

.emmy-checkout-steps__item.is-done:not(:last-child)::after,
.emmy-checkout-steps__item.is-active:not(:last-child)::after {
  background: #c9a227;
}

/* Mini-cart: título arriba, pegado al borde */
.wc-block-mini-cart__drawer .wc-block-components-drawer__content {
  padding-top: 0.3rem !important;
}

.wc-block-mini-cart__drawer .wc-block-components-drawer__close {
  top: 0.25rem !important;
  right: 0.35rem !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__title,
.wc-block-mini-cart__drawer h2.wc-block-mini-cart__title {
  order: -2 !important;
  margin: 0.15rem 2.8rem 0.55rem 0.15rem !important;
  padding: 0 !important;
}

.wc-block-mini-cart__drawer .emmy-mini-cart-label {
  font-size: 1.75rem !important;
  line-height: 1.15 !important;
}

/* Contacto: Hablemos crema, grande, legible */
body.emmy-contact-page .emmy-contact-aside {
  background: #0c1c33 !important;
  color: #f5f2eb !important;
}

body.emmy-contact-page .emmy-contact-aside h1,
body.emmy-contact-page .emmy-contact-aside h1 span,
body.page-contacto .emmy-contact-aside h1 {
  color: #f5f2eb !important;
  -webkit-text-fill-color: #f5f2eb !important;
  background: none !important;
  font-size: clamp(3.4rem, 8vw, 5.8rem) !important;
  line-height: 0.92 !important;
  letter-spacing: -0.02em !important;
}

body.emmy-contact-page .emmy-contact-aside .emmy-contact-lead,
body.emmy-contact-page .emmy-contact-aside p,
body.emmy-contact-page .emmy-contact-aside li,
body.emmy-contact-page .emmy-contact-aside a,
body.emmy-contact-page .emmy-contact-aside strong {
  color: #efe8dc !important;
  -webkit-text-fill-color: #efe8dc !important;
}

body.emmy-contact-page .emmy-contact-kicker,
body.emmy-contact-page .emmy-contact-facts span {
  color: #d4af37 !important;
  -webkit-text-fill-color: #d4af37 !important;
}

/* Misión / Visión: tarjetas editoriales */
body.emmy-nosotros-page .emmy-about-story .wp-block-media-text {
  background: #fffdf8 !important;
  border: 1px solid rgba(201, 162, 39, 0.28) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  padding: 0.75rem !important;
  box-shadow: 0 18px 40px rgba(16, 21, 42, 0.06) !important;
}

body.emmy-nosotros-page .emmy-about-story .wp-block-media-text h2::before {
  content: "01";
  display: block;
  margin: 0 0 0.45rem;
  font-family: "Plus Jakarta Sans", Jost, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #c9a227;
}

body.emmy-nosotros-page .emmy-about-story .wp-block-media-text.has-media-on-the-right h2::before {
  content: "02";
}

body.emmy-nosotros-page .emmy-about-story .wp-block-media-text__media img {
  width: 100% !important;
  height: 100% !important;
  min-height: 420px !important;
  object-fit: cover !important;
  transform: scale(1.01);
  transition: transform 700ms ease;
}

@media (hover: hover) {
  body.emmy-nosotros-page .emmy-about-story .wp-block-media-text:hover .wp-block-media-text__media img {
    transform: scale(1.05);
  }
}

/* Checkout + pedido recibido: mismo lenguaje visual que el resto */
body.woocommerce-checkout main,
body.woocommerce-order-received main {
  background:
    radial-gradient(1200px 420px at 50% -40px, rgba(201, 162, 39, 0.12), transparent 58%),
    var(--ivory, #f3ece2) !important;
}

body.woocommerce-checkout .wc-block-components-checkout-step__heading,
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout h2.wc-block-components-title {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  color: #10152a !important;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input textarea,
body.woocommerce-checkout .wc-block-checkout__contact-fields input {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #c9a227 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-components-radio-control__option {
  border: 1px solid #e4dccb !important;
  border-radius: 8px !important;
  background: #fff !important;
}

body.woocommerce-checkout .wc-block-components-radio-control__option--checked,
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option--checked {
  border-color: #c9a227 !important;
  background: rgba(201, 162, 39, 0.08) !important;
}

body.woocommerce-order-received .wp-block-post-title,
body.woocommerce-order-received h1.wp-block-heading {
  display: none !important;
}

body.woocommerce-order-received .woocommerce-order,
body.woocommerce-order-received .emmy-order-card {
  max-width: 880px !important;
  margin: 1.25rem auto 3rem !important;
  padding: 2.4rem 1.8rem 2.6rem !important;
  background: #fffdf8 !important;
  border: 1px solid rgba(201, 162, 39, 0.35) !important;
  border-radius: 18px !important;
  box-shadow: 0 22px 48px rgba(16, 21, 42, 0.08) !important;
  text-align: center;
}

body.woocommerce-order-received .emmy-order-kicker {
  margin: 0 0 0.55rem !important;
  font-family: "Plus Jakarta Sans", Jost, sans-serif !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.28em !important;
  text-transform: uppercase !important;
  color: #c9a227 !important;
}

body.woocommerce-order-received .emmy-order-check {
  width: 78px !important;
  height: 78px !important;
  margin: 0 auto 1rem !important;
  border: 2px solid #c9a227 !important;
  background-color: #0c1c33 !important;
  box-shadow: 0 0 0 6px rgba(201, 162, 39, 0.12);
}

body.woocommerce-order-received .woocommerce-thankyou-order-received,
body.woocommerce-order-received p.woocommerce-notice,
body.woocommerce-order-received .woocommerce-order > p.woocommerce-notice--success {
  display: block !important;
  max-width: 36rem !important;
  margin: 0 auto 1.6rem !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(2rem, 4vw, 2.85rem) !important;
  font-weight: 500 !important;
  line-height: 1.15 !important;
  color: #10152a !important;
  -webkit-text-fill-color: #10152a !important;
}

body.woocommerce-order-received .woocommerce-order-overview {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 0.75rem !important;
  list-style: none !important;
  margin: 0 0 2rem !important;
  padding: 0 !important;
  border: 0 !important;
  text-align: left;
}

body.woocommerce-order-received .woocommerce-order-overview li {
  margin: 0 !important;
  padding: 0.85rem 0.9rem 0.95rem !important;
  background: #f7f3ea !important;
  border-top: 2px solid #c9a227 !important;
  border-radius: 0 0 8px 8px !important;
  font-size: 0.92rem !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #10152a !important;
}

body.woocommerce-order-received .woocommerce-order-overview li strong {
  display: block;
  margin-bottom: 0.3rem;
  font-family: "Plus Jakarta Sans", Jost, sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c9a227;
}

body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details {
  margin: 0 0 1.5rem !important;
  padding: 1.25rem 1.2rem 1.35rem !important;
  border: 1px solid rgba(201, 162, 39, 0.28) !important;
  border-radius: 12px !important;
  background: #fff !important;
  text-align: left;
}

body.woocommerce-order-received .woocommerce-order-details h2,
body.woocommerce-order-received .woocommerce-customer-details h2,
body.woocommerce-order-received .woocommerce-column__title {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 1.7rem !important;
  font-weight: 500 !important;
  color: #10152a !important;
  margin: 0 0 1rem !important;
  padding-bottom: 0.7rem !important;
  border-bottom: 1px solid #eadfca !important;
}

body.woocommerce-order-received .woocommerce-table--order-details {
  width: 100% !important;
  border: 0 !important;
}

body.woocommerce-order-received .woocommerce-table--order-details th,
body.woocommerce-order-received .woocommerce-table--order-details td {
  border: 0 !important;
  border-bottom: 1px solid #efe6d6 !important;
  padding: 0.85rem 0 !important;
  font-family: "Plus Jakarta Sans", Jost, sans-serif !important;
  color: #2a3148 !important;
}

body.woocommerce-order-received .woocommerce-table--order-details thead th {
  font-size: 0.68rem !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: #c9a227 !important;
}

body.woocommerce-order-received .woocommerce-table--order-details tfoot th,
body.woocommerce-order-received .woocommerce-table--order-details tfoot td {
  font-weight: 650 !important;
  color: #10152a !important;
  border-bottom: 0 !important;
  padding-top: 1rem !important;
}

body.woocommerce-order-received .woocommerce-customer-details address {
  background: #f7f3ea !important;
  border: 0 !important;
  border-left: 2px solid #c9a227 !important;
  border-radius: 0 8px 8px 0 !important;
  padding: 1rem 1.1rem !important;
  font-style: normal !important;
  line-height: 1.7 !important;
  color: #2a3148 !important;
}

body.woocommerce-order-received .emmy-keep-shopping {
  background: #c9a227 !important;
  color: #10152a !important;
  border: 0 !important;
  border-radius: 6px !important;
  min-width: 220px;
}

@media (max-width: 800px) {
  body.woocommerce-order-received .woocommerce-order-overview {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* ===== EMMY 3 — visibilidad y checkout (gana al theme) ===== */
.spos-plus-catch {
  position: absolute !important;
  right: 0;
  top: 0;
  width: 2.4rem;
  height: 100%;
  min-height: 2.2rem;
  border: 0 !important;
  background: transparent !important;
  cursor: pointer;
  z-index: 6;
  padding: 0;
}

.wc-block-components-quantity-selector {
  position: relative;
}

.sistemapos-stock-alert[hidden] {
  display: none !important;
}

.sistemapos-stock-alert:not([hidden]) {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  display: grid !important;
  place-items: center !important;
  padding: 1.25rem !important;
}

.sistemapos-stock-alert__scrim {
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 26, 0.62);
  backdrop-filter: blur(6px);
}

.sistemapos-stock-alert__card {
  position: relative;
  width: min(420px, 100%);
  padding: 1.7rem 1.55rem 1.4rem;
  background: #0c1c33;
  color: #f6efe3;
  border: 1px solid #d4af37;
  border-radius: 4px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  text-align: left;
  animation: spos-alert-in 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes spos-alert-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.sistemapos-stock-alert__kicker {
  margin: 0 0 0.45rem;
  font-family: "Plus Jakarta Sans", Jost, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #d4af37;
}

.sistemapos-stock-alert__title {
  margin: 0 0 0.7rem !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 1.85rem !important;
  font-weight: 500 !important;
  color: #f6efe3 !important;
  -webkit-text-fill-color: #f6efe3 !important;
  line-height: 1.15 !important;
}

.sistemapos-stock-alert__msg {
  margin: 0 0 1.3rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #efe8dc;
}

.sistemapos-stock-alert__ok {
  min-height: 46px;
  padding: 0 1.2rem;
  border: 0;
  border-radius: 2px;
  background: #d4af37;
  color: #0c1c33;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.sistemapos-toast.is-error:not([hidden]) {
  z-index: 2147482990 !important;
  background: #0c1c33 !important;
  border-top: 2px solid #d4af37 !important;
  color: #f6efe3 !important;
  -webkit-text-fill-color: #f6efe3 !important;
}

/* Mini-carrito: barra de título pegada arriba */
.emmy-mini-cart-bar {
  position: sticky !important;
  top: 0 !important;
  z-index: 80 !important;
  display: flex !important;
  align-items: center !important;
  min-height: 2.4rem;
  margin: 0 2.8rem 0.75rem 0 !important;
  padding: 0.15rem 0 0.55rem !important;
  background: #0c1c33 !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
}

.emmy-mini-cart-bar span {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 1.85rem !important;
  color: #e4cd8a !important;
  -webkit-text-fill-color: #e4cd8a !important;
  line-height: 1.1 !important;
}

.wc-block-mini-cart__drawer:has(.emmy-mini-cart-bar) .wc-block-mini-cart__title {
  display: none !important;
}

.wc-block-mini-cart__drawer .wc-block-components-drawer__close {
  top: 0.35rem !important;
  right: 0.4rem !important;
}

/* Contacto: Hablemos SIEMPRE crema */
body.emmy-contact-page .emmy-contact-aside,
body.page-contacto .emmy-contact-aside,
.emmy-contact-aside {
  background: #0c1c33 !important;
  color: #f6efe3 !important;
}

body.emmy-contact-page .emmy-contact-title,
body.emmy-contact-page .emmy-contact-aside h1,
.emmy-contact-aside .emmy-contact-title,
.emmy-contact-aside h1 {
  color: #f6efe3 !important;
  -webkit-text-fill-color: #f6efe3 !important;
  background: none !important;
  background-image: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-size: clamp(3.6rem, 9vw, 6rem) !important;
  line-height: 0.9 !important;
}

.emmy-contact-aside .emmy-contact-lead,
.emmy-contact-aside p,
.emmy-contact-aside li,
.emmy-contact-aside a,
.emmy-contact-aside strong {
  color: #efe8dc !important;
  -webkit-text-fill-color: #efe8dc !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.emmy-contact-aside .emmy-contact-kicker,
.emmy-contact-aside .emmy-contact-facts span {
  color: #d4af37 !important;
  -webkit-text-fill-color: #d4af37 !important;
}

/* Checkout: resumen como joyero */
body.woocommerce-checkout.emmy-checkout-live .emmy-summary-card,
body.woocommerce-checkout .emmy-summary-card {
  display: block !important;
  background: #f7f3ea !important;
  border: 1px solid #d4af37 !important;
  border-radius: 12px !important;
  padding: 1.4rem 1.25rem 1.5rem !important;
  box-shadow: 0 18px 40px rgba(12, 28, 51, 0.08) !important;
}

body.woocommerce-checkout .emmy-summary-card .wc-block-components-title,
body.woocommerce-checkout .emmy-summary-card .wc-block-components-panel__button {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 1.65rem !important;
  color: #10152a !important;
  -webkit-text-fill-color: #10152a !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background: #c9a227 !important;
  color: #10152a !important;
  -webkit-text-fill-color: #10152a !important;
  border-radius: 4px !important;
  min-height: 52px !important;
}

/* Nosotros: visible, editorial, sin esperar animación */
body.emmy-nosotros-page .emmy-about-live .emmy-about-piece,
body.page-nosotros .emmy-about-live .emmy-about-piece {
  opacity: 1 !important;
  transform: none !important;
}

body.emmy-nosotros-page .emmy-about-story {
  background:
    linear-gradient(180deg, #f3ece2 0%, #fffdf8 100%) !important;
}

body.emmy-nosotros-page .emmy-about-story .wp-block-media-text {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
  gap: clamp(1.5rem, 4vw, 3.2rem) !important;
  align-items: center !important;
  margin: 2.2rem auto !important;
  padding: 1.1rem !important;
  background: #fff !important;
  border: 1px solid rgba(201, 162, 39, 0.35) !important;
  border-radius: 20px !important;
  box-shadow: 0 24px 50px rgba(12, 28, 51, 0.08) !important;
}

body.emmy-nosotros-page .emmy-about-story .wp-block-media-text.has-media-on-the-right {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr) !important;
}

body.emmy-nosotros-page .emmy-about-story .wp-block-media-text h2 {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(2.1rem, 4vw, 3.1rem) !important;
  color: #10152a !important;
  -webkit-text-fill-color: #10152a !important;
}

body.emmy-nosotros-page .emmy-about-story .wp-block-media-text p {
  color: #2a3148 !important;
  font-size: 1.08rem !important;
  line-height: 1.75 !important;
}

body.emmy-nosotros-page .emmy-about-metrics {
  background: #0c1c33 !important;
}

body.emmy-nosotros-page .emmy-about-pillars .wp-block-column {
  background: #fffdf8;
  border-top: 2px solid #c9a227;
  padding: 1.4rem 1.2rem 1.5rem;
  box-shadow: 0 10px 28px rgba(12, 28, 51, 0.05);
}

/* ===== Flujo compra: mini-cart, /carrito, checkout, recibido ===== */
.emmy-checkout-steps {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.55rem !important;
  max-width: 1120px !important;
  margin: 0 auto 1.5rem !important;
  padding: 0 !important;
  list-style: none !important;
}

body.woocommerce-cart .emmy-checkout-steps,
body.woocommerce-order-received .emmy-checkout-steps {
  justify-content: center !important;
}

.emmy-checkout-steps__item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.45rem !important;
  position: relative !important;
  padding: 0 !important;
  white-space: nowrap !important;
}

.emmy-checkout-steps__item::after,
.emmy-checkout-steps__item:not(:last-child)::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
}

.emmy-checkout-steps__rule {
  flex: 0 1 3.5rem;
  height: 1px !important;
  min-width: 1.25rem;
  max-width: 4.5rem;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  background: #c9a227 !important;
  align-self: center !important;
}

.emmy-checkout-steps__label {
  position: static !important;
  line-height: 1.2 !important;
}

/* Mini-cart header + footer */
.wc-block-mini-cart__drawer .wc-block-components-drawer__content {
  display: flex !important;
  flex-direction: column !important;
  padding-top: 0 !important;
}

.wc-block-components-drawer.wc-block-mini-cart__drawer,
.wc-block-mini-cart__drawer {
  background: #121212 !important;
  color: #ffffff !important;
}

.emmy-mini-cart-bar {
  position: relative !important;
  top: 0 !important;
  display: flex !important;
  align-items: center !important;
  min-height: 3.5rem !important;
  height: 3.5rem !important;
  margin: 0 !important;
  padding: 0 3.5rem 0 1.25rem !important;
  border-bottom: 1px solid #eadfca !important;
  background: #fffdf8 !important;
}

.emmy-mini-cart-bar span {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 1.45rem !important;
  color: #10152a !important;
  -webkit-text-fill-color: #10152a !important;
  line-height: 1 !important;
}

.wc-block-mini-cart__drawer .wc-block-components-drawer__close {
  top: 0.65rem !important;
  right: 0.7rem !important;
  width: 2.1rem !important;
  height: 2.1rem !important;
}

.emmy-mini-cart-footer,
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-footer-block,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer {
  margin-top: auto !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0.6rem !important;
  padding: 1rem 1.15rem 1.2rem !important;
  background: #fffdf8 !important;
  border-top: 1px solid #eadfca !important;
}

.wc-block-mini-cart__drawer .wc-block-components-totals-item {
  grid-column: 1 / -1 !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-cart-button-block .wc-block-components-button,
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-shopping-button-block .wc-block-components-button {
  width: 100% !important;
  min-height: 46px !important;
  background: #fff !important;
  color: #10152a !important;
  -webkit-text-fill-color: #10152a !important;
  border: 1px solid #d8d0c2 !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-checkout-button-block .wc-block-components-button {
  width: 100% !important;
  min-height: 46px !important;
  background: #0c1c33 !important;
  color: #e4cd8a !important;
  -webkit-text-fill-color: #e4cd8a !important;
  border: 0 !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-items__row {
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr) auto !important;
  column-gap: 0.85rem !important;
  padding: 0.85rem 1.15rem !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #efe6d6 !important;
}

.wc-block-mini-cart__drawer .wc-block-components-product-name,
.wc-block-mini-cart__drawer .wc-block-components-product-name a,
.wc-block-mini-cart__drawer .wc-block-components-product-price,
.wc-block-mini-cart__drawer .wc-block-components-totals-item__label,
.wc-block-mini-cart__drawer .wc-block-components-totals-item__value {
  color: #10152a !important;
  -webkit-text-fill-color: #10152a !important;
}

/* /carrito: producto en tarjeta marino */
body.woocommerce-cart .wc-block-cart-items__row {
  display: grid !important;
  grid-template-columns: 88px minmax(0, 1fr) auto auto !important;
  gap: 1rem !important;
  align-items: center !important;
  margin: 0 0 0.75rem !important;
  padding: 0.95rem 1rem !important;
  background: #fff !important;
  border: 1px solid #eadfca !important;
  border-radius: 12px !important;
}

body.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name,
body.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name a,
body.woocommerce-cart .wc-block-cart-items .wc-block-components-product-name,
body.woocommerce-cart .wc-block-cart-items .wc-block-components-product-name a,
body.woocommerce-cart .wc-block-cart-item__prices,
body.woocommerce-cart .wc-block-cart-item__total,
body.woocommerce-cart .wc-block-cart-item__quantity {
  color: #10152a !important;
  -webkit-text-fill-color: #10152a !important;
}

body.woocommerce-cart .wc-block-cart-item__image img {
  width: 80px !important;
  height: 100px !important;
  object-fit: cover !important;
  border-radius: 6px !important;
}

body.woocommerce-cart .wc-block-components-product-price,
body.woocommerce-cart .wc-block-cart-item__total .price {
  color: #0c1c33 !important;
  -webkit-text-fill-color: #0c1c33 !important;
  font-weight: 600 !important;
}

/* Checkout Kickz: formulario izquierda, resumen derecha */
@media (min-width: 900px) {
  body.woocommerce-checkout.emmy-checkout-live .wc-block-checkout,
  body.woocommerce-checkout.emmy-checkout-live .wp-block-woocommerce-checkout,
  body.woocommerce-checkout.emmy-checkout-live form.wc-block-checkout__form,
  body.woocommerce-checkout.emmy-checkout-live .wc-block-checkout__columns {
    display: grid !important;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 40%) !important;
    column-gap: 2.5rem !important;
    align-items: start !important;
    max-width: 1120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.woocommerce-checkout.emmy-checkout-live .wc-block-checkout__main,
  body.woocommerce-checkout.emmy-checkout-live .wp-block-woocommerce-checkout-fields-block {
    grid-column: 1 !important;
    grid-row: 1 !important;
    order: 1 !important;
  }

  body.woocommerce-checkout.emmy-checkout-live .wc-block-checkout__sidebar,
  body.woocommerce-checkout.emmy-checkout-live .wp-block-woocommerce-checkout-totals-block,
  body.woocommerce-checkout.emmy-checkout-live .emmy-summary-card {
    grid-column: 2 !important;
    grid-row: 1 !important;
    order: 2 !important;
  }
}

body.woocommerce-checkout .wc-block-components-checkout-step {
  margin: 0 0 1.5rem !important;
  padding: 0 !important;
  border: 0 !important;
}

body.woocommerce-checkout .emmy-summary-card {
  position: sticky !important;
  top: 6.2rem !important;
  background: #fff !important;
  border: 1px solid #eadfca !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-checkout__contact-fields input {
  background: #fff !important;
  border: 1px solid #e4dccb !important;
  border-radius: 10px !important;
  min-height: 48px !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background: #c9a227 !important;
  color: #0c1c33 !important;
  -webkit-text-fill-color: #0c1c33 !important;
  border-radius: 10px !important;
  min-height: 52px !important;
  max-width: 320px !important;
}

/* Pedido recibido: dos columnas ordenadas */
body.woocommerce-order-received .woocommerce-order,
body.woocommerce-order-received .emmy-order-card {
  max-width: 920px !important;
  background: #fff !important;
  border: 1px solid #eadfca !important;
  text-align: left !important;
}

body.woocommerce-order-received .emmy-order-kicker,
body.woocommerce-order-received .emmy-order-check {
  display: none !important;
}

body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details {
  display: block !important;
  width: 100% !important;
}

@media (max-width: 800px) {
  body.woocommerce-order-received .woocommerce-order-details,
  body.woocommerce-order-received .woocommerce-customer-details {
    width: 100% !important;
    display: block !important;
  }

  .emmy-checkout-steps {
    flex-wrap: wrap !important;
  }
}

/* Header del mini-cart: "Tu carrito" + X en la misma barra */
.wc-block-mini-cart__drawer .emmy-mini-cart-bar {
  position: relative !important;
  z-index: 120 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  box-sizing: border-box !important;
  min-height: 3.65rem !important;
  height: 3.65rem !important;
  margin: 0 !important;
  padding: 0 0.7rem 0 1.2rem !important;
  background: #fffdf8 !important;
  border-bottom: 1px solid #eadfca !important;
}

.wc-block-mini-cart__drawer .emmy-mini-cart-bar > span {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 1.55rem !important;
  color: #10152a !important;
  -webkit-text-fill-color: #10152a !important;
  line-height: 1 !important;
}

.wc-block-mini-cart__drawer .emmy-mini-cart-bar .wc-block-components-drawer__close,
.wc-block-mini-cart__drawer .emmy-mini-cart-bar button {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  bottom: auto !important;
  inset: auto !important;
  margin: 0 0 0 auto !important;
  width: 2.25rem !important;
  height: 2.25rem !important;
  color: #10152a !important;
}

.wc-block-mini-cart__drawer .wc-block-components-drawer__content {
  padding-top: 0 !important;
}

.wc-block-mini-cart__drawer:has(.emmy-mini-cart-bar) .wc-block-mini-cart__title {
  display: none !important;
}

/* CRO: drawer oscuro, envío, CTA único, checkout 2 col, thank you */
.emmy-mini-shipping {
  display: none !important;
}

.emmy-ship-cue {
  margin: 0 !important;
  padding: 0.7rem 1.15rem 0.9rem !important;
  background: #1a1a1a !important;
  color: #f6efe3 !important;
  font-family: Jost, "Plus Jakarta Sans", sans-serif !important;
  font-size: 0.78rem !important;
}

.emmy-ship-cue.is-unlocked {
  color: #d4af37 !important;
}

.emmy-ship-cue__track {
  display: block;
  height: 4px;
  margin-top: 0.45rem;
  background: #2a2a2a;
  border-radius: 99px;
  overflow: hidden;
}

.emmy-ship-cue__track i {
  display: block;
  height: 100%;
  background: #d4af37;
}

.wc-block-mini-cart__drawer .wc-block-components-product-name,
.wc-block-mini-cart__drawer .wc-block-components-product-name a,
.wc-block-mini-cart__drawer .wc-block-components-product-price,
.wc-block-mini-cart__drawer .wc-block-cart-item__prices,
.wc-block-mini-cart__drawer .wc-block-components-totals-item__label,
.wc-block-mini-cart__drawer .wc-block-components-totals-item__value {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.wc-block-mini-cart__drawer .is-emmy-dup-name,
.wc-block-mini-cart__drawer .is-emmy-dup-price,
.emmy-summary-card .is-emmy-dup-name,
.emmy-summary-card .is-emmy-dup-price {
  display: none !important;
}

.wc-block-mini-cart__drawer .wc-block-components-product-details:not(.is-emmy-dup-name) {
  color: #a0a0a0 !important;
  -webkit-text-fill-color: #a0a0a0 !important;
  font-size: 0.78rem !important;
}

.emmy-mini-cart-footer,
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-footer-block,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer {
  background: #121212 !important;
  border-top: 1px solid #2a2a2a !important;
}

.wp-block-woocommerce-mini-cart-checkout-button-block .wc-block-components-button {
  width: 100% !important;
  max-width: none !important;
  min-height: 50px !important;
  background: #d4af37 !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  border: 0 !important;
  border-radius: 8px !important;
  font-family: Jost, "Plus Jakarta Sans", sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.wp-block-woocommerce-mini-cart-cart-button-block .wc-block-components-button,
.emmy-mini-cart-secondary {
  width: 100% !important;
  max-width: none !important;
  min-height: auto !important;
  background: transparent !important;
  color: #a0a0a0 !important;
  -webkit-text-fill-color: #a0a0a0 !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: underline !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 500 !important;
}

.emmy-mini-trust {
  margin: 0.35rem 0 0.2rem !important;
  color: #a0a0a0 !important;
  font-size: 0.72rem !important;
  text-align: center !important;
}

body.woocommerce-checkout {
  background: #f9f6f0 !important;
}

body.woocommerce-checkout .wc-block-checkout {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

@media (min-width: 900px) {
  body.woocommerce-checkout .emmy-kickz-checkout,
  body.woocommerce-checkout.emmy-checkout-live form.wc-block-checkout__form,
  body.woocommerce-checkout.emmy-checkout-live .wc-block-checkout,
  body.woocommerce-checkout.emmy-checkout-live .wc-block-checkout__columns {
    display: grid !important;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 40%) !important;
    gap: 2rem !important;
    max-width: 1140px !important;
    margin: 0 auto !important;
    align-items: start !important;
  }

  body.woocommerce-checkout.emmy-checkout-live .wc-block-checkout__main,
  body.woocommerce-checkout.emmy-checkout-live .wp-block-woocommerce-checkout-fields-block {
    grid-column: 1 !important;
  }

  body.woocommerce-checkout.emmy-checkout-live .wc-block-checkout__sidebar,
  body.woocommerce-checkout.emmy-checkout-live .emmy-summary-card {
    grid-column: 2 !important;
    position: sticky !important;
    top: 6rem !important;
  }
}

body.woocommerce-checkout .wc-block-components-checkout-step {
  background: #fff !important;
  border: 1px solid #eadfca !important;
  border-radius: 12px !important;
  padding: 1.15rem 1.2rem 1.25rem !important;
  margin: 0 0 1rem !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

body.woocommerce-checkout .emmy-summary-card {
  background: #fff !important;
  border: 1px solid #eadfca !important;
  border-radius: 16px !important;
  padding: 1.25rem !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

body.woocommerce-checkout .emmy-checkout-steps__num {
  position: relative !important;
  z-index: 2 !important;
  background: #fff !important;
}

.emmy-pay-logos,
.emmy-pay-lock {
  margin: 0.75rem 0 0 !important;
  font-family: Jost, sans-serif !important;
  font-size: 0.75rem !important;
  color: #6b6560 !important;
}

body.woocommerce-checkout .wc-block-components-radio-control-accordion-option,
body.woocommerce-checkout .wc-block-components-radio-control__option {
  overflow: visible !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  width: 100% !important;
  max-width: none !important;
  background: #d4af37 !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  min-height: 52px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
}

body.emmy-thanks-live .emmy-thanks-hero {
  text-align: center;
  margin: 0 0 1.5rem;
}

body.emmy-thanks-live .emmy-thanks-kicker {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: #c9a227;
}

body.emmy-thanks-live .emmy-thanks-hero h2 {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(2rem, 4vw, 2.8rem) !important;
  color: #10152a !important;
  margin: 0.35rem 0 0.6rem !important;
}

.emmy-order-tracker {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 1rem 0.4rem;
  border-top: 1px solid #eadfca;
  border-bottom: 1px solid #eadfca;
}

.emmy-order-tracker li {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a8378;
}

.emmy-order-tracker span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  margin: 0 auto 0.4rem;
  border-radius: 50%;
  border: 1px solid #d8d0c2;
  background: #fff;
}

.emmy-order-tracker li.is-on span {
  background: #c9a227;
  border-color: #c9a227;
  color: #10152a;
}

.emmy-thanks-aside {
  margin-top: 1.25rem;
  padding: 1.15rem 1.2rem;
  background: #fff;
  border: 1px solid #eadfca;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.emmy-thanks-wa {
  display: inline-flex;
  margin: 0.5rem 0 0.75rem;
  padding: 0.7rem 1rem;
  background: #0c1c33;
  color: #e4cd8a !important;
  text-decoration: none;
  border-radius: 8px;
}

body.woocommerce-order-received .emmy-order-check,
body.woocommerce-order-received .emmy-order-kicker {
  display: none !important;
}

/* Mini-cart tarjetas + CTA Kickz + checkout/pedidos navy de marca */
.wc-block-components-drawer.wc-block-mini-cart__drawer,
.wc-block-mini-cart__drawer {
  background: #f9f6f0 !important;
  color: #0c1c33 !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart-items,
.wc-block-mini-cart__drawer .wc-block-cart-items,
.wc-block-mini-cart__drawer table.wc-block-cart-items tbody {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
  padding: 0.85rem 1rem 0.4rem !important;
  background: transparent !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-items__row,
.wc-block-mini-cart__drawer .emmy-mini-item {
  display: grid !important;
  grid-template-columns: 72px minmax(0, 1fr) auto !important;
  grid-template-areas:
    "image product total"
    "image quantity quantity" !important;
  gap: 0.45rem 0.85rem !important;
  margin: 0 !important;
  padding: 0.85rem !important;
  background: #ffffff !important;
  border: 1px solid #eadfca !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 12px rgba(12, 28, 51, 0.05) !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__image {
  grid-area: image !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__product {
  grid-area: product !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__quantity {
  grid-area: quantity !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__total {
  display: block !important;
  grid-area: total !important;
  align-self: start !important;
  color: #0c1c33 !important;
}

.wc-block-mini-cart__drawer .wc-block-components-product-name,
.wc-block-mini-cart__drawer .wc-block-components-product-name a,
.wc-block-mini-cart__drawer .wc-block-components-product-price,
.wc-block-mini-cart__drawer .wc-block-cart-item__prices,
.wc-block-mini-cart__drawer .wc-block-components-totals-item__label,
.wc-block-mini-cart__drawer .wc-block-components-totals-item__value {
  color: #0c1c33 !important;
  -webkit-text-fill-color: #0c1c33 !important;
}

.emmy-ship-cue {
  background: #0c1c33 !important;
  color: #f6efe3 !important;
}

.emmy-ship-cue.is-unlocked {
  color: #e4cd8a !important;
}

.emmy-ship-cue__track {
  background: rgba(255, 255, 255, 0.12);
}

.emmy-ship-cue__track i {
  background: #c9a227;
}

.emmy-mini-cart-footer,
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-footer-block,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer {
  background: #f9f6f0 !important;
  border-top: 1px solid #eadfca !important;
  padding: 0.9rem 1rem 1.15rem !important;
}

.wp-block-woocommerce-mini-cart-checkout-button-block .wc-block-components-button,
.emmy-cta-pill,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 54px !important;
  padding: 0.9rem 1.4rem !important;
  background: #0c1c33 !important;
  color: #e4cd8a !important;
  -webkit-text-fill-color: #e4cd8a !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-family: Jost, "Plus Jakarta Sans", sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  box-shadow: 0 10px 24px rgba(12, 28, 51, 0.18) !important;
}

.wp-block-woocommerce-mini-cart-checkout-button-block .wc-block-components-button:hover,
.emmy-cta-pill:hover,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
  background: #16284a !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.wp-block-woocommerce-mini-cart-cart-button-block .wc-block-components-button,
.emmy-mini-cart-secondary {
  color: #0c1c33 !important;
  -webkit-text-fill-color: #0c1c33 !important;
}

.emmy-mini-trust {
  color: #6b6560 !important;
}

body.woocommerce-checkout,
body.woocommerce-order-received,
body.woocommerce-cart {
  background: #f9f6f0 !important;
}

body.woocommerce-checkout .emmy-checkout-steps__num,
body.woocommerce-cart .emmy-checkout-steps__num,
body.woocommerce-order-received .emmy-checkout-steps__num {
  background: #fff !important;
  color: #0c1c33 !important;
  border: 1px solid #c9a227 !important;
}

body.woocommerce-checkout .emmy-checkout-steps__item.is-active .emmy-checkout-steps__num,
body.woocommerce-checkout .emmy-checkout-steps__item.is-done .emmy-checkout-steps__num,
body.woocommerce-cart .emmy-checkout-steps__item.is-active .emmy-checkout-steps__num,
body.woocommerce-order-received .emmy-checkout-steps__item.is-done .emmy-checkout-steps__num {
  background: #0c1c33 !important;
  color: #e4cd8a !important;
  -webkit-text-fill-color: #e4cd8a !important;
  border-color: #0c1c33 !important;
}

body.woocommerce-checkout .emmy-checkout-steps__label,
body.woocommerce-cart .emmy-checkout-steps__label,
body.woocommerce-order-received .emmy-checkout-steps__label {
  color: #0c1c33 !important;
}

body.woocommerce-checkout h1,
body.woocommerce-checkout h2,
body.woocommerce-order-received h1,
body.woocommerce-order-received h2,
body.emmy-thanks-live .emmy-thanks-hero h2,
body.woocommerce-order-received .woocommerce-order-overview,
body.woocommerce-order-received .woocommerce-table {
  color: #0c1c33 !important;
}

body.emmy-thanks-live .emmy-thanks-kicker {
  color: #0c1c33 !important;
}

.emmy-order-tracker li.is-on span {
  background: #0c1c33;
  border-color: #0c1c33;
  color: #e4cd8a;
}

.emmy-thanks-wa,
body.woocommerce-order-received .emmy-keep-shopping {
  background: #0c1c33 !important;
  color: #e4cd8a !important;
  border-radius: 999px !important;
}

body.single-product .sistemapos-stock-alert:not([hidden]) {
  z-index: 2147483646 !important;
}

body.woocommerce-checkout .sistemapos-stock-alert,
body.woocommerce-checkout .sistemapos-stock-alert:not([hidden]) {
  display: none !important;
}

body.woocommerce-checkout.spos-alert-open {
  overflow: auto !important;
}

/* Checkout: formulario a la izquierda, resumen abierto a la derecha */
body.woocommerce-checkout.emmy-checkout-live .emmy-checkout-split {
  display: contents !important;
}

body.woocommerce-checkout aside.emmy-summary-card:not(.wp-block-woocommerce-checkout-totals-block):not(.wp-block-woocommerce-checkout-order-summary-block):not(.wc-block-checkout__sidebar) {
  display: none !important;
}

body.woocommerce-checkout .entry-content .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wp-block-post-content .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout.emmy-checkout-live form.wc-block-checkout__form,
body.woocommerce-checkout.emmy-checkout-live .wp-block-woocommerce-checkout .emmy-kickz-checkout {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-components-panel.wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-panel__content,
body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-panel__content[hidden] {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-panel__button svg {
  display: none !important;
}

@media (min-width: 900px) {
  body.woocommerce-checkout .wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-fields-block,
  body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__main,
  body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__columns {
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 22.5rem) !important;
    column-gap: 1.75rem !important;
    align-items: start !important;
    width: 100% !important;
    max-width: none !important;
    float: none !important;
  }

  body.woocommerce-checkout .wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-fields-block > *,
  body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__main > *,
  body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__columns > * {
    grid-column: 1 !important;
    float: none !important;
    width: auto !important;
    max-width: none !important;
  }

  body.woocommerce-checkout .wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-fields-block > .wp-block-woocommerce-checkout-order-summary-block,
  body.woocommerce-checkout .wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-fields-block > .wp-block-woocommerce-checkout-totals-block,
  body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__main > .wp-block-woocommerce-checkout-order-summary-block,
  body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__main > .wc-block-checkout__sidebar,
  body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__columns > .wc-block-checkout__sidebar,
  body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__columns > .wp-block-woocommerce-checkout-totals-block {
    grid-column: 2 !important;
    grid-row: 1 / span 50 !important;
  }
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  background: #fff !important;
  border: 1px solid #eadfca !important;
  border-radius: 16px !important;
  padding: 1.25rem 1.2rem 1.4rem !important;
  box-shadow: 0 8px 24px rgba(12, 28, 51, 0.05) !important;
}

@media (min-width: 900px) {
  body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
  body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
  body.woocommerce-checkout .wc-block-checkout__sidebar {
    position: sticky !important;
    top: 6.2rem !important;
  }
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block::after {
  content: "Transacción 100% encriptada y segura";
  display: block;
  margin-top: 0.85rem;
  font-size: 0.75rem;
  color: #6b6560;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block .wp-block-woocommerce-checkout-order-summary-block::after {
  content: none;
}

body.woocommerce-checkout .emmy-form-card {
  background: #fff !important;
  border: 1px solid #eadfca !important;
  border-radius: 16px !important;
  padding: 1.4rem 1.35rem 1.5rem !important;
}

body.woocommerce-checkout .emmy-form-card .wc-block-components-checkout-step,
body.woocommerce-checkout .emmy-form-card .wp-block-woocommerce-checkout-contact-information-block,
body.woocommerce-checkout .emmy-form-card .wp-block-woocommerce-checkout-shipping-address-block,
body.woocommerce-checkout .emmy-form-card .wp-block-woocommerce-checkout-payment-block {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 0 1.15rem !important;
  margin: 0 0 0.35rem !important;
}

/* Mini-carrito: aislado del checkout */
.wc-block-mini-cart__drawer,
.wc-block-components-drawer.wc-block-mini-cart__drawer {
  background: #f4efe6 !important;
  color: #0c1c33 !important;
}

.wc-block-mini-cart__drawer .emmy-mini-cart-bar {
  background: #fffdf8 !important;
}

.wc-block-mini-cart__drawer .emmy-mini-cart-bar > span {
  color: #0c1c33 !important;
  -webkit-text-fill-color: #0c1c33 !important;
}

.wc-block-mini-cart__drawer .emmy-mini-cart-bar button,
.wc-block-mini-cart__drawer .emmy-mini-cart-bar .wc-block-components-drawer__close {
  color: #0c1c33 !important;
  background: transparent !important;
  opacity: 1 !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__image > :not(:first-child) {
  display: none !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-items__row,
.wc-block-mini-cart__drawer .emmy-mini-item {
  background: #ffffff !important;
  border: 1px solid #eadfca !important;
  border-radius: 14px !important;
  color: #0c1c33 !important;
}

.wc-block-mini-cart__drawer .wc-block-components-product-name,
.wc-block-mini-cart__drawer .wc-block-components-product-name a,
.wc-block-mini-cart__drawer .wc-block-components-product-price,
.wc-block-mini-cart__drawer .wc-block-cart-item__prices,
.wc-block-mini-cart__drawer .wc-block-cart-item__total {
  color: #0c1c33 !important;
  -webkit-text-fill-color: #0c1c33 !important;
}

.wc-block-mini-cart__drawer .wc-block-components-product-details,
.wc-block-mini-cart__drawer .wc-block-components-product-details__name,
.wc-block-mini-cart__drawer .wc-block-components-product-details__value {
  color: #5c564e !important;
  -webkit-text-fill-color: #5c564e !important;
  opacity: 1 !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__remove-link,
.wc-block-mini-cart__drawer .wc-block-cart-item__quantity .wc-block-components-quantity-selector__button,
.wc-block-mini-cart__drawer button.wc-block-cart-item__remove-batch {
  color: #0c1c33 !important;
  opacity: 1 !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-footer-block,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer,
.wc-block-mini-cart__drawer .emmy-mini-cart-footer {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  gap: 0.55rem !important;
  background: #fffdf8 !important;
  border-top: 1px solid #eadfca !important;
  color: #0c1c33 !important;
}

.wc-block-mini-cart__drawer .wc-block-components-totals-item__label,
.wc-block-mini-cart__drawer .wc-block-components-totals-item__value,
.wc-block-mini-cart__drawer .wc-block-components-totals-footer-item,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-components-totals-item {
  color: #0c1c33 !important;
  -webkit-text-fill-color: #0c1c33 !important;
  opacity: 1 !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-checkout-button-block {
  order: 1 !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-cart-button-block {
  order: 2 !important;
}

.wc-block-mini-cart__drawer .emmy-mini-trust {
  order: 3 !important;
  color: #5c564e !important;
  -webkit-text-fill-color: #5c564e !important;
  opacity: 1 !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-checkout-button-block .wc-block-components-button,
.wc-block-mini-cart__drawer .emmy-mini-primary {
  width: 100% !important;
  min-height: 48px !important;
  background: #0c1c33 !important;
  color: #e4cd8a !important;
  -webkit-text-fill-color: #e4cd8a !important;
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  text-transform: none !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-cart-button-block .wc-block-components-button,
.wc-block-mini-cart__drawer .emmy-mini-cart-secondary {
  width: 100% !important;
  min-height: auto !important;
  background: transparent !important;
  color: #0c1c33 !important;
  -webkit-text-fill-color: #0c1c33 !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: underline !important;
  font-weight: 500 !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-checkout-fields-block,
.wc-block-mini-cart__drawer .wc-block-checkout__main,
.wc-block-mini-cart__drawer .wc-block-checkout__columns {
  display: block !important;
  grid-template-columns: none !important;
}

/* Checkout: 2 columnas en escritorio; en móvil la tarjeta usa todo el ancho */
@media (min-width: 960px) {
  body.woocommerce-checkout .wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-fields-block,
  body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__columns {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px) !important;
    gap: 1.5rem !important;
    align-items: start !important;
  }

  body.woocommerce-checkout .wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-fields-block > *,
  body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__columns > * {
    grid-column: 1 !important;
  }

  body.woocommerce-checkout .wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-fields-block > .wp-block-woocommerce-checkout-order-summary-block,
  body.woocommerce-checkout .wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-fields-block > .wp-block-woocommerce-checkout-totals-block,
  body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__columns > .wc-block-checkout__sidebar,
  body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__columns > .wp-block-woocommerce-checkout-totals-block {
    grid-column: 2 !important;
    grid-row: 1 / span 40 !important;
  }
}

@media (max-width: 959px) {
  body.woocommerce-checkout .wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-fields-block,
  body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__columns,
  body.woocommerce-checkout .emmy-form-card {
    display: block !important;
    grid-template-columns: none !important;
    width: 100% !important;
  }

  body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
  body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block {
    width: 100% !important;
    max-width: none !important;
    margin: 1rem 0 0 !important;
  }
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control,
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control-accordion-option,
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__option,
body.woocommerce-checkout .wp-block-woocommerce-checkout-actions-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-note-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-terms-block,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control-accordion-option {
  overflow: visible !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  min-height: 52px !important;
  border-radius: 10px !important;
}

body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-panel__content,
body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-panel__content[hidden] {
  display: block !important;
}

/* Mini-cart visible: crema, producto arriba, un CTA */
.wc-block-components-drawer.wc-block-mini-cart__drawer,
.wc-block-mini-cart__drawer,
.wc-block-mini-cart__drawer .wc-block-components-drawer__content,
.wc-block-mini-cart__drawer .wp-block-woocommerce-filled-mini-cart-contents-block,
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-contents {
  background: #f4efe6 !important;
  color: #0c1c33 !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-filled-mini-cart-contents-block,
.wc-block-mini-cart__drawer .wc-block-components-drawer__content {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart-items,
.wc-block-mini-cart__drawer .wc-block-cart-items,
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-items-block {
  flex: 1 1 auto !important;
  justify-content: flex-start !important;
  align-content: flex-start !important;
  align-items: stretch !important;
  overflow: auto !important;
  min-height: 0 !important;
  padding: 0.85rem 1rem !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-items__row {
  background: #fff !important;
  color: #0c1c33 !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-footer-block,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer {
  flex: 0 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  background: #fffdf8 !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-components-button,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a.wc-block-components-button,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wp-block-button__link {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  background-image: none !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-checkout-button-block .wc-block-components-button,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a[href*="checkout"],
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a[href*="finalizar"] {
  order: 1 !important;
  background: #0c1c33 !important;
  background-image: none !important;
  color: #e4cd8a !important;
  -webkit-text-fill-color: #e4cd8a !important;
  border-radius: 10px !important;
  min-height: 48px !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-cart-button-block .wc-block-components-button,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a[href*="carrito"]:not([href*="finalizar"]):not([href*="checkout"]) {
  order: 2 !important;
  background: transparent !important;
  background-image: none !important;
  color: #0c1c33 !important;
  -webkit-text-fill-color: #0c1c33 !important;
  box-shadow: none !important;
  min-height: auto !important;
  text-decoration: underline !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.wc-block-mini-cart__drawer .wc-block-components-totals-item__label,
.wc-block-mini-cart__drawer .wc-block-components-totals-item__value {
  color: #0c1c33 !important;
  -webkit-text-fill-color: #0c1c33 !important;
}

@media (min-width: 820px) {
  body.woocommerce-checkout form.wc-block-checkout__form,
  body.woocommerce-checkout.emmy-checkout-live form.wc-block-checkout__form,
  body.woocommerce-checkout.emmy-checkout-live .emmy-kickz-checkout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 22.5rem) !important;
    column-gap: 1.5rem !important;
    align-items: start !important;
    max-width: 1120px !important;
    margin: 0 auto !important;
    width: 100% !important;
  }

  body.woocommerce-checkout form.wc-block-checkout__form .wc-block-checkout,
  body.woocommerce-checkout form.wc-block-checkout__form .wc-block-checkout__columns,
  body.woocommerce-checkout form.wc-block-checkout__form .wp-block-woocommerce-checkout-fields-block,
  body.woocommerce-checkout form.wc-block-checkout__form .wp-block-woocommerce-checkout-totals-block,
  body.woocommerce-checkout form.wc-block-checkout__form .wc-block-checkout__main,
  body.woocommerce-checkout form.wc-block-checkout__form .wc-block-checkout__sidebar {
    display: contents !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  body.woocommerce-checkout form.wc-block-checkout__form .wp-block-woocommerce-checkout-contact-information-block,
  body.woocommerce-checkout form.wc-block-checkout__form .wp-block-woocommerce-checkout-shipping-method-block,
  body.woocommerce-checkout form.wc-block-checkout__form .wp-block-woocommerce-checkout-pickup-options-block,
  body.woocommerce-checkout form.wc-block-checkout__form .wp-block-woocommerce-checkout-billing-address-block,
  body.woocommerce-checkout form.wc-block-checkout__form .wp-block-woocommerce-checkout-shipping-address-block,
  body.woocommerce-checkout form.wc-block-checkout__form .wp-block-woocommerce-checkout-additional-information-block,
  body.woocommerce-checkout form.wc-block-checkout__form .wp-block-woocommerce-checkout-payment-block,
  body.woocommerce-checkout form.wc-block-checkout__form .wp-block-woocommerce-checkout-order-note-block,
  body.woocommerce-checkout form.wc-block-checkout__form .wp-block-woocommerce-checkout-terms-block,
  body.woocommerce-checkout form.wc-block-checkout__form .wp-block-woocommerce-checkout-actions-block {
    grid-column: 1 !important;
    background: #fff !important;
    border-left: 1px solid #eadfca !important;
    border-right: 1px solid #eadfca !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    border-radius: 0 !important;
    padding: 1rem 1.35rem !important;
    margin: 0 !important;
    width: auto !important;
    max-width: none !important;
  }

  body.woocommerce-checkout form.wc-block-checkout__form .wp-block-woocommerce-checkout-contact-information-block {
    border-radius: 16px 16px 0 0 !important;
    border-top: 1px solid #eadfca !important;
    padding-top: 1.35rem !important;
  }

  body.woocommerce-checkout form.wc-block-checkout__form .wp-block-woocommerce-checkout-actions-block {
    border-radius: 0 0 16px 16px !important;
    border-bottom: 1px solid #eadfca !important;
    padding-bottom: 1.35rem !important;
  }

  body.woocommerce-checkout form.wc-block-checkout__form .wp-block-woocommerce-checkout-order-summary-block {
    grid-column: 2 !important;
    grid-row: 1 / span 24 !important;
    background: #fff !important;
    border: 1px solid #eadfca !important;
    border-radius: 16px !important;
    padding: 1.2rem 1.15rem 1.3rem !important;
    position: sticky !important;
    top: 6rem !important;
    height: fit-content !important;
  }
}

body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-panel__content,
body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-panel__content[hidden] {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  visibility: visible !important;
}

.wc-block-components-drawer.wc-block-mini-cart__drawer,
.wc-block-mini-cart__drawer,
.wc-block-mini-cart__drawer .wc-block-components-drawer__content,
.wc-block-mini-cart__drawer .wp-block-woocommerce-filled-mini-cart-contents-block {
  background: #12151c !important;
  color: #f6efe3 !important;
}

.wc-block-mini-cart__drawer .emmy-mini-cart-bar {
  background: #fffdf8 !important;
}

.wc-block-mini-cart__drawer .emmy-mini-cart-bar > span {
  color: #0c1c33 !important;
  -webkit-text-fill-color: #0c1c33 !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-filled-mini-cart-contents-block,
.wc-block-mini-cart__drawer .wc-block-components-drawer__content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  height: 100% !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-items,
.wc-block-mini-cart__drawer .wc-block-mini-cart-items {
  justify-content: flex-start !important;
  align-content: flex-start !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-items__row {
  background: #1a1e28 !important;
  border: 1px solid rgba(201, 162, 39, 0.28) !important;
}

.wc-block-mini-cart__drawer .wc-block-components-product-name,
.wc-block-mini-cart__drawer .wc-block-components-product-name a,
.wc-block-mini-cart__drawer .wc-block-components-product-price {
  color: #f6efe3 !important;
  -webkit-text-fill-color: #f6efe3 !important;
}

.wc-block-mini-cart__drawer .wc-block-components-product-details,
.wc-block-mini-cart__drawer .wc-block-components-product-details__name,
.wc-block-mini-cart__drawer .wc-block-components-product-details__value {
  color: #cfc6b4 !important;
  -webkit-text-fill-color: #cfc6b4 !important;
  opacity: 1 !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-footer-block,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer {
  background: #fffdf8 !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-checkout-button-block .wc-block-components-button,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a[href*="checkout"],
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a[href*="finalizar"] {
  width: 100% !important;
  background: linear-gradient(90deg, #b48f1c 0%, #dcc27a 52%, #c9a227 100%) !important;
  color: #0b0f1a !important;
  -webkit-text-fill-color: #0b0f1a !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-cart-button-block .wc-block-components-button {
  width: 100% !important;
  background: transparent !important;
  background-image: none !important;
  color: #0c1c33 !important;
  -webkit-text-fill-color: #0c1c33 !important;
  border: 1px solid #d8d0c2 !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-footer-block .wc-block-components-totals-item__label,
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-footer-block .wc-block-components-totals-item__description,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-components-totals-item__label,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer p:not(.emmy-mini-trust),
.wc-block-mini-cart__drawer .emmy-mini-trust {
  color: #3d3a36 !important;
  -webkit-text-fill-color: #3d3a36 !important;
  opacity: 1 !important;
}

body.woocommerce-checkout {
  --wp--style--global--content-size: 1120px;
  --wp--style--global--wide-size: 1200px;
}

body.woocommerce-checkout .is-layout-constrained,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .wp-block-post-content {
  max-width: 1120px !important;
  width: 100% !important;
}

body.woocommerce-checkout.emmy-checkout-live form.wc-block-checkout__form.emmy-kickz-checkout {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

body.woocommerce-checkout.emmy-checkout-live form.wc-block-checkout__form .wp-block-woocommerce-checkout-fields-block,
body.woocommerce-checkout.emmy-checkout-live .emmy-form-card {
  display: block !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  background: #ffffff !important;
  border: 1px solid #eadfca !important;
  border-radius: 16px !important;
  padding: 1.35rem 1.4rem 1.5rem !important;
}

body.woocommerce-checkout.emmy-checkout-live form.wc-block-checkout__form .wp-block-woocommerce-checkout-totals-block,
body.woocommerce-checkout.emmy-checkout-live form.wc-block-checkout__form .wc-block-checkout__sidebar,
body.woocommerce-checkout.emmy-checkout-live form.wc-block-checkout__form > .wp-block-woocommerce-checkout-order-summary-block {
  display: block !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  background: #ffffff !important;
  border: 1px solid #eadfca !important;
  border-radius: 16px !important;
  padding: 1.2rem 1.15rem 1.35rem !important;
  position: sticky !important;
  top: 5.5rem !important;
}

@media (min-width: 900px) {
  body.woocommerce-checkout.emmy-checkout-live .wp-block-woocommerce-checkout-fields-block.emmy-form-card:has(> .wp-block-woocommerce-checkout-order-summary-block) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px) !important;
    column-gap: 1.5rem !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  body.woocommerce-checkout.emmy-checkout-live .wp-block-woocommerce-checkout-fields-block.emmy-form-card:has(> .wp-block-woocommerce-checkout-order-summary-block) > * {
    grid-column: 1 !important;
  }

  body.woocommerce-checkout.emmy-checkout-live .wp-block-woocommerce-checkout-fields-block.emmy-form-card:has(> .wp-block-woocommerce-checkout-order-summary-block) > .wp-block-woocommerce-checkout-order-summary-block {
    grid-column: 2 !important;
    grid-row: 1 / span 30 !important;
    background: #fff !important;
    border: 1px solid #eadfca !important;
    border-radius: 16px !important;
    padding: 1.2rem 1.15rem !important;
    position: sticky !important;
    top: 5.5rem !important;
  }

  body.woocommerce-checkout.emmy-checkout-live .wp-block-woocommerce-checkout-fields-block.emmy-form-card:has(> .wp-block-woocommerce-checkout-order-summary-block) > :not(.wp-block-woocommerce-checkout-order-summary-block) {
    background: #fff !important;
    border-left: 1px solid #eadfca !important;
    border-right: 1px solid #eadfca !important;
    padding: 0.9rem 1.35rem !important;
  }

  body.woocommerce-checkout.emmy-checkout-live .wp-block-woocommerce-checkout-fields-block.emmy-form-card:has(> .wp-block-woocommerce-checkout-order-summary-block) > :not(.wp-block-woocommerce-checkout-order-summary-block):first-child {
    border-radius: 16px 16px 0 0 !important;
    border-top: 1px solid #eadfca !important;
  }

  body.woocommerce-checkout.emmy-checkout-live .wp-block-woocommerce-checkout-fields-block.emmy-form-card:has(> .wp-block-woocommerce-checkout-order-summary-block) > .wp-block-woocommerce-checkout-actions-block {
    border-radius: 0 0 16px 16px !important;
    border-bottom: 1px solid #eadfca !important;
  }
}

body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-panel__content[hidden],
body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-panel__content {
  display: block !important;
  height: auto !important;
  max-height: none !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-items__row {
  overflow: visible !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__quantity {
  display: flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  min-width: 0 !important;
}

.wc-block-mini-cart__drawer .wc-block-components-quantity-selector {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  overflow: visible !important;
  min-width: 7.25rem !important;
  width: auto !important;
}

.wc-block-mini-cart__drawer .wc-block-components-quantity-selector__button,
.wc-block-mini-cart__drawer .wc-block-components-quantity-selector__button--minus,
.wc-block-mini-cart__drawer .wc-block-components-quantity-selector__button--plus {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 2.1rem !important;
  min-width: 2.1rem !important;
  height: 2.1rem !important;
  color: #e4cd8a !important;
  -webkit-text-fill-color: #e4cd8a !important;
  background: transparent !important;
}

.wc-block-mini-cart__drawer .spos-plus-catch {
  width: 2.1rem !important;
}

@media (min-width: 900px) {
  body.woocommerce-checkout .is-layout-constrained > *,
  body.woocommerce-checkout .entry-content > *,
  body.woocommerce-checkout .wp-block-post-content > *,
  body.woocommerce-checkout .wp-block-woocommerce-checkout {
    max-width: 1120px !important;
    width: 100% !important;
  }

  body.woocommerce-checkout.emmy-checkout-live form.wc-block-checkout__form.emmy-has-summary-aside:has(> .emmy-summary-slot) {
    display: grid !important;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 380px) !important;
    column-gap: 1.5rem !important;
    align-items: start !important;
  }

  body.woocommerce-checkout.emmy-checkout-live form.emmy-has-summary-aside .wp-block-woocommerce-checkout-fields-block,
  body.woocommerce-checkout.emmy-checkout-live form.emmy-has-summary-aside .emmy-form-card {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  body.woocommerce-checkout.emmy-checkout-live form.emmy-has-summary-aside .wp-block-woocommerce-checkout-totals-block,
  body.woocommerce-checkout.emmy-checkout-live form.emmy-has-summary-aside .wp-block-woocommerce-checkout-order-summary-block,
  body.woocommerce-checkout.emmy-checkout-live form.emmy-has-summary-aside .wc-block-checkout__sidebar {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  body.woocommerce-checkout.emmy-checkout-live .wp-block-woocommerce-checkout-fields-block.emmy-has-summary {
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 360px) !important;
    column-gap: 1.5rem !important;
    align-items: start !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  body.woocommerce-checkout.emmy-checkout-live .wp-block-woocommerce-checkout-fields-block.emmy-has-summary > * {
    grid-column: 1 !important;
  }

  body.woocommerce-checkout.emmy-checkout-live .wp-block-woocommerce-checkout-fields-block.emmy-has-summary > .wp-block-woocommerce-checkout-order-summary-block,
  body.woocommerce-checkout.emmy-checkout-live .wp-block-woocommerce-checkout-fields-block.emmy-has-summary > .wp-block-woocommerce-checkout-totals-block,
  body.woocommerce-checkout.emmy-checkout-live .wp-block-woocommerce-checkout-fields-block.emmy-has-summary > .emmy-summary-slot {
    grid-column: 2 !important;
    grid-row: 1 / span 40 !important;
    background: #fff !important;
    border: 1px solid #eadfca !important;
    border-radius: 16px !important;
    padding: 1.2rem 1.15rem !important;
    position: sticky !important;
    top: 5.5rem !important;
  }
}

.wc-block-mini-cart__drawer .wc-block-components-totals-item__label,
.wc-block-mini-cart__drawer .wc-block-components-totals-item__value {
  color: #0c1c33 !important;
  -webkit-text-fill-color: #0c1c33 !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__quantity {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.45rem 0.75rem !important;
  width: 100% !important;
  min-width: 0 !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__remove-link,
.wc-block-mini-cart__drawer button.wc-block-cart-item__remove-link,
.wc-block-mini-cart__drawer .emmy-mini-remove,
.wc-block-mini-cart__drawer a.remove {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.3rem !important;
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  clip: auto !important;
  clip-path: none !important;
  width: auto !important;
  height: auto !important;
  min-width: 2.5rem !important;
  min-height: 2.25rem !important;
  margin: 0 !important;
  padding: 0.2rem 0.45rem !important;
  overflow: visible !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  color: #8a3a2a !important;
  -webkit-text-fill-color: #8a3a2a !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
  z-index: 40 !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__remove-link svg,
.wc-block-mini-cart__drawer .emmy-mini-remove svg,
.wc-block-mini-cart__drawer .wc-block-cart-item__remove-link svg * {
  fill: #8a3a2a !important;
  stroke: #8a3a2a !important;
  width: 14px !important;
  height: 14px !important;
}

.wc-block-mini-cart__drawer .emmy-mini-remove-label {
  display: inline !important;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  font-size: 0.72rem !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__remove-link::after,
.wc-block-mini-cart__drawer .emmy-mini-remove::after {
  content: "Eliminar";
  font-size: 0.72rem;
  font-weight: 600;
  color: #8a3a2a;
  -webkit-text-fill-color: #8a3a2a;
}

@media (min-width: 900px) {
  body.woocommerce-checkout.emmy-checkout-live form.wc-block-checkout__form.emmy-kickz-checkout {
    display: block !important;
    width: 100% !important;
    max-width: 1120px !important;
  }

  body.woocommerce-checkout.emmy-checkout-live form.wc-block-checkout__form.emmy-has-summary-aside:has(> .emmy-summary-slot) {
    display: grid !important;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 400px) !important;
    column-gap: 1.5rem !important;
    align-items: start !important;
  }

  body.woocommerce-checkout.emmy-checkout-live form.emmy-has-summary-aside > .wp-block-woocommerce-checkout-fields-block,
  body.woocommerce-checkout.emmy-checkout-live form.emmy-has-summary-aside > .emmy-form-card {
    display: block !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  body.woocommerce-checkout.emmy-checkout-live form.emmy-has-summary-aside > .emmy-summary-slot,
  body.woocommerce-checkout.emmy-checkout-live form.emmy-has-summary-aside > .wp-block-woocommerce-checkout-totals-block,
  body.woocommerce-checkout.emmy-checkout-live form.emmy-has-summary-aside > .wp-block-woocommerce-checkout-order-summary-block,
  body.woocommerce-checkout.emmy-checkout-live form.emmy-has-summary-aside > .wc-block-checkout__sidebar {
    grid-column: 2 !important;
    grid-row: 1 / span 20 !important;
    position: sticky !important;
    top: 5.5rem !important;
  }

  body.woocommerce-checkout.emmy-checkout-live form.wc-block-checkout__form .wp-block-woocommerce-checkout-fields-block.emmy-has-summary,
  body.woocommerce-checkout.emmy-checkout-live form.wc-block-checkout__form .wp-block-woocommerce-checkout-fields-block.emmy-form-card.emmy-has-summary,
  body.woocommerce-checkout.emmy-checkout-live .wp-block-woocommerce-checkout-fields-block.emmy-has-summary {
    display: grid !important;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 400px) !important;
    column-gap: 1.5rem !important;
    align-items: start !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  body.woocommerce-checkout.emmy-checkout-live .wp-block-woocommerce-checkout-fields-block.emmy-has-summary > * {
    grid-column: 1 !important;
  }

  body.woocommerce-checkout.emmy-checkout-live .wp-block-woocommerce-checkout-fields-block.emmy-has-summary > .emmy-summary-slot,
  body.woocommerce-checkout.emmy-checkout-live .wp-block-woocommerce-checkout-fields-block.emmy-has-summary > .wp-block-woocommerce-checkout-order-summary-block,
  body.woocommerce-checkout.emmy-checkout-live .wp-block-woocommerce-checkout-fields-block.emmy-has-summary > .wp-block-woocommerce-checkout-totals-block,
  body.woocommerce-checkout.emmy-checkout-live .wp-block-woocommerce-checkout-fields-block.emmy-has-summary > .wc-block-checkout__sidebar {
    grid-column: 2 !important;
    grid-row: 1 / span 40 !important;
    background: #fff !important;
    border: 1px solid #eadfca !important;
    border-radius: 16px !important;
    padding: 1.2rem 1.15rem !important;
    position: sticky !important;
    top: 5.5rem !important;
  }
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block,
.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block:not([hidden]),
.wc-block-mini-cart__drawer .wc-block-mini-cart__empty-cart {
  color: #0c1c33 !important;
  -webkit-text-fill-color: #0c1c33 !important;
  background: #fffdf8 !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block p,
.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block h2,
.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block h3,
.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block span,
.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block .wp-block-heading,
.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block .has-text-color,
.wc-block-mini-cart__drawer .wc-block-mini-cart__empty-cart p,
.wc-block-mini-cart__drawer .wc-block-mini-cart__empty-cart h2 {
  color: #0c1c33 !important;
  -webkit-text-fill-color: #0c1c33 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block p,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block h2,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-heading,
body.woocommerce-cart .wc-empty-cart-message,
body.woocommerce-cart .cart-empty {
  color: #0c1c33 !important;
  -webkit-text-fill-color: #0c1c33 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* ================================================================== */
/* Lienzo editorial 2026 — solo presentación                           */
/* ================================================================== */

.wp-site-blocks > header,
header.wp-block-template-part,
.elementor-location-header {
  color: #dcc27a !important;
  background-color: rgba(11, 15, 26, 0.94) !important;
  background-image: none !important;
  border-bottom: 1px solid rgba(201, 162, 39, 0.55) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22) !important;
}

.wp-site-blocks > header::before,
header.wp-block-template-part::before,
.elementor-location-header::before {
  opacity: 0.12 !important;
  mix-blend-mode: soft-light !important;
  background-image:
    radial-gradient(ellipse 90% 120% at 20% 0%, rgba(201, 162, 39, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 100% at 90% 100%, rgba(201, 162, 39, 0.1), transparent 50%) !important;
}

body.emmy-header-compact .wp-site-blocks > header,
body.emmy-header-compact header.wp-block-template-part,
body.emmy-header-compact .elementor-location-header,
.wp-site-blocks > header.scrolled,
header.wp-block-template-part.scrolled {
  background-color: rgba(11, 15, 26, 0.82) !important;
  background-image: none !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

.wp-site-blocks > header a,
header.wp-block-template-part a,
.elementor-location-header a,
header .wp-block-navigation-item__label,
.wp-block-site-title a,
header .wc-block-mini-cart__button,
header .wc-block-mini-cart__button svg,
header .wp-block-woocommerce-customer-account a,
header .wp-block-woocommerce-customer-account svg {
  color: #dcc27a !important;
  fill: #dcc27a !important;
}

header .wp-block-search .wp-block-search__inside-wrapper,
header form.search-form,
header form.woocommerce-product-search {
  background: rgba(246, 241, 232, 0.08) !important;
  border-color: rgba(196, 160, 86, 0.45) !important;
}

header .wp-block-search__input,
header input[type="search"],
header .wp-block-search__input::placeholder,
header .wp-block-search__label {
  color: #f3ede3 !important;
  -webkit-text-fill-color: #f3ede3 !important;
}

footer.wp-block-template-part,
.elementor-location-footer {
  background: #0b0f1a !important;
  background-image: none !important;
}

body.home main {
  position: relative;
  isolation: isolate;
  background-color: #0b0f1a !important;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(201, 162, 39, 0.16), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(201, 162, 39, 0.1), transparent 22%) !important;
  overflow: hidden;
}

body.home main::before,
body.home main::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(34vw, 420px);
  pointer-events: none;
  z-index: 0;
}

body.home main::before {
  left: 0;
  opacity: 0.55;
  background:
    radial-gradient(circle at 20% 30%, rgba(201, 162, 39, 0.9) 0 1px, transparent 1.6px) 0 0 / 46px 38px,
    repeating-linear-gradient(115deg, transparent 0 18px, rgba(201, 162, 39, 0.28) 18px 19px, transparent 19px 42px);
  mask-image: linear-gradient(90deg, #000 20%, transparent 92%);
}

body.home main::after {
  right: 0;
  opacity: 0.7;
  background:
    radial-gradient(circle, rgba(220, 194, 122, 0.95) 0 1.1px, transparent 1.6px) 12px 18px / 54px 48px,
    linear-gradient(rgba(220, 194, 122, 0.35), rgba(220, 194, 122, 0.35)) 20px 40px / 70px 1px no-repeat,
    linear-gradient(rgba(220, 194, 122, 0.28), rgba(220, 194, 122, 0.28)) 48px 86px / 1px 54px no-repeat;
  mask-image: linear-gradient(270deg, #000 15%, transparent 88%);
}

body.home main > * {
  position: relative;
  z-index: 1;
}

body.home .emmy-thread-title {
  color: #dcc27a !important;
  -webkit-text-fill-color: #dcc27a !important;
  animation: emmy-thread-in 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.home .emmy-story-stitch {
  color: #c9a227;
  width: min(280px, 70%);
  margin: 0.35rem auto 1.2rem;
}

body.home main > p.emmy-story-copy,
body.home main > p.emmy-story-copy strong {
  color: #f3ede3 !important;
  -webkit-text-fill-color: #f3ede3 !important;
}

.emmy-elegance-move {
  overflow: hidden;
  white-space: nowrap;
}

.emmy-elegance-move__track {
  display: inline-flex;
  min-width: max-content;
  animation: emmy-marquee 22s linear infinite;
}

.emmy-elegance-move__track span {
  padding-right: 2.5rem;
}

body.home .wp-block-gallery figcaption,
body.home .emmy-gallery-cap {
  animation: emmy-cap-in 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: color 220ms ease, letter-spacing 220ms ease;
}

body.home .wp-block-gallery .wp-block-image:hover figcaption,
body.home .wp-block-gallery figcaption:hover,
body.home .wp-block-gallery .wp-block-image:hover figcaption a,
body.home .emmy-gallery-cap:hover {
  color: #c9a227 !important;
  -webkit-text-fill-color: #c9a227 !important;
  letter-spacing: 0.04em;
}

.emmy-universo {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
  margin: 0;
  padding: 2.8rem 4vw 3.2rem;
  background: #f4efe6;
  overflow: hidden;
}

.emmy-universo::before,
.emmy-universo::after {
  content: "";
  position: absolute;
  top: 8%;
  bottom: 8%;
  width: 120px;
  pointer-events: none;
  opacity: 0.45;
  background:
    radial-gradient(120px 40px at 50% 12%, transparent 40%, rgba(168, 132, 62, 0.35) 41%, transparent 43%),
    radial-gradient(90px 28px at 40% 38%, transparent 40%, rgba(168, 132, 62, 0.28) 41%, transparent 43%),
    radial-gradient(110px 36px at 60% 68%, transparent 40%, rgba(168, 132, 62, 0.3) 41%, transparent 43%);
}

.emmy-universo::before { left: 0; }
.emmy-universo::after { right: 0; transform: scaleX(-1); }

.emmy-universo-title {
  grid-column: 1 / -1;
  position: relative;
  z-index: 1;
  margin: 0 0 0.4rem !important;
  text-align: center !important;
  background: transparent !important;
  color: #10152a !important;
  -webkit-text-fill-color: #10152a !important;
  animation: emmy-thread-in 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.emmy-universo-title strong {
  color: #10152a !important;
  -webkit-text-fill-color: #10152a !important;
}

.emmy-universo-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin: 0.8rem auto 0;
  background: #c9a227;
  transform-origin: center;
  animation: emmy-line 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.emmy-universo .wp-block-cover {
  position: relative;
  z-index: 1;
  min-height: 420px;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border: 1px solid rgba(201, 162, 39, 0.55);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(11, 15, 26, 0.16);
}

.emmy-universo .wp-block-cover video,
.emmy-universo .wp-block-cover__video-background {
  animation: emmy-ken 18s ease-in-out infinite alternate;
}

.emmy-universo .wp-block-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 15, 26, 0.05) 20%, rgba(11, 15, 26, 0.45) 100%);
}

.emmy-caballero-banner .wp-block-cover__video-background,
.emmy-caballero-banner video {
  filter: blur(7px) saturate(0.9);
  transform: scale(1.12);
}

.emmy-universo .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
}

.emmy-runway .wc-block-product-template,
.emmy-runway ul.products,
.emmy-runway .wp-block-gallery,
.emmy-runway .emmy-runway-track {
  background: #f6f1e8 !important;
  border-radius: 18px;
  margin-inline: 4vw !important;
}

.emmy-home-cats {
  background: #f7f3ec;
  padding: 2.6rem 4vw 3.2rem;
}

.emmy-home-cats__title {
  margin: 0 0 1.2rem;
  text-align: center;
}

.emmy-home-cats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  max-width: 1100px;
  margin: 0 auto;
}

.emmy-home-cats__card {
  display: flex;
  flex-direction: column;
  min-height: 148px;
  overflow: hidden;
  border: 1px solid #eadfca;
  border-radius: 16px;
  background: #fffdf8;
  color: #10152a !important;
  text-decoration: none;
  transition: transform 220ms ease, border-color 220ms ease;
}

.emmy-home-cats__card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.emmy-home-cats__card span {
  display: block;
  padding: 0.75rem 0.8rem 0.9rem;
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.emmy-home-cats__card:hover {
  transform: translateY(-4px);
  border-color: #c9a227;
  color: #8a6a16 !important;
}

.sistemapos-shop-filters > h3,
.emmy-filters > h3 {
  color: #c9a227 !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid #e6dccb;
  padding-bottom: 0.55rem;
}

.sistemapos-shop-filters__cats > li > .sistemapos-shop-filters__row .sistemapos-shop-filters__name {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sistemapos-shop-filters__children .sistemapos-shop-filters__name {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #6e675d;
}

.sistemapos-shop-filters__count {
  color: #8a8378;
  font-weight: 500;
}

.sistemapos-shop-filters__children {
  margin: 0.15rem 0 0.35rem 0.35rem;
  padding-left: 0.85rem;
  border-left: 1px solid rgba(16, 21, 42, 0.16);
}

.sistemapos-shop-filters__children > li {
  position: relative;
}

.sistemapos-shop-filters__children > li::before {
  content: "";
  position: absolute;
  left: -0.85rem;
  top: 0.95rem;
  width: 0.7rem;
  border-top: 1px solid rgba(16, 21, 42, 0.16);
}

.sistemapos-shop-filters__toggle {
  font-size: 0 !important;
  line-height: 0 !important;
  width: 1.4rem;
  color: #10152a;
}

.sistemapos-shop-filters__toggle::before {
  content: "▶";
  font-size: 0.62rem;
  line-height: 1;
}

li.is-open > .sistemapos-shop-filters__row .sistemapos-shop-filters__toggle::before,
li.is-open > div .sistemapos-shop-filters__toggle::before {
  content: "▼";
}

.sistemapos-shop-filters__children .current-cat > .sistemapos-shop-filters__row a,
.sistemapos-shop-filters__children .current-cat > a {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.75rem;
  border: 1px solid #c9a227;
  border-radius: 999px;
  background: #f6f0e6;
}

.emmy-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1rem;
  padding: 0.45rem 0.55rem 0.45rem 0.9rem;
  border: 1px solid #c9a227;
  border-radius: 999px;
  background: #0b0f1a;
  color: #f3ede3 !important;
  font-family: Jost, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.emmy-filter-chip__x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: rgba(243, 237, 227, 0.12);
  color: #f3ede3;
}

.wc-block-mini-cart__drawer {
  background: #f7f3ec !important;
}

.wc-block-mini-cart__drawer .emmy-ship-cue {
  background: #0b0f1a !important;
  color: #f3ede3 !important;
}

.wc-block-mini-cart__drawer .emmy-ship-cue__track {
  background: rgba(243, 237, 227, 0.16);
}

.wc-block-mini-cart__drawer .emmy-ship-cue__track i {
  background: #c9a227 !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-items__row,
.wc-block-mini-cart__drawer .emmy-mini-item {
  background: #243044 !important;
  border-radius: 14px !important;
  padding: 0.75rem !important;
  margin: 0.55rem 0.8rem !important;
}

.wc-block-mini-cart__drawer .wc-block-components-quantity-selector {
  background: #f6f1e8 !important;
  border-radius: 10px !important;
  padding: 0.1rem !important;
}

.wc-block-mini-cart__drawer .wc-block-components-quantity-selector__button,
.wc-block-mini-cart__drawer .wc-block-components-quantity-selector__input {
  color: #10152a !important;
  -webkit-text-fill-color: #10152a !important;
  background: transparent !important;
}

.wc-block-mini-cart__drawer .emmy-mini-cart-footer,
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-footer-block,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer {
  background: #f7f3ec !important;
  border-top: 1px solid #eadfca !important;
}

.wc-block-mini-cart__drawer .wc-block-components-totals-item__label {
  color: #10152a !important;
  -webkit-text-fill-color: #10152a !important;
}

.wc-block-mini-cart__drawer .wc-block-components-totals-item__value {
  color: #c9a227 !important;
  -webkit-text-fill-color: #c9a227 !important;
  font-size: 1.35rem !important;
  font-weight: 600 !important;
}

.wc-block-mini-cart__drawer .emmy-mini-cart-secondary,
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-cart-button-block .wc-block-components-button {
  color: #8a8378 !important;
  -webkit-text-fill-color: #8a8378 !important;
  text-decoration: none !important;
  background: transparent !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-checkout-button-block .wc-block-components-button,
.wc-block-mini-cart__drawer .emmy-mini-primary {
  border-radius: 999px !important;
  background: #c9a227 !important;
  color: #0b0f1a !important;
  -webkit-text-fill-color: #0b0f1a !important;
}

.wc-block-mini-cart__drawer .emmy-mini-cart-bar button,
.wc-block-mini-cart__drawer .emmy-mini-cart-bar .wc-block-components-drawer__close {
  width: 2rem !important;
  height: 2rem !important;
  border-radius: 50% !important;
  border: 1px solid #e4d3a4 !important;
}

body.woocommerce-checkout,
body.woocommerce-order-received,
body.home,
body.woocommerce-shop,
body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_tag,
body.woocommerce-cart {
  background-color: #f4efea !important;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 54px, rgba(201, 162, 39, 0.12) 54px 55px),
    repeating-linear-gradient(-45deg, transparent 0 54px, rgba(201, 162, 39, 0.1) 54px 55px) !important;
}

body.woocommerce-checkout main,
body.woocommerce-order-received main,
body.home main,
body.woocommerce-shop main,
body.post-type-archive-product main,
body.tax-product_cat main,
body.woocommerce-cart main {
  background: transparent !important;
}

.emmy-checkout-steps__item.is-active .emmy-checkout-steps__num,
.emmy-checkout-steps__item.is-done .emmy-checkout-steps__num {
  background: #0b0f1a !important;
  border-color: #0b0f1a !important;
  color: #f3ede3 !important;
}

.emmy-checkout-steps__item.is-active .emmy-checkout-steps__label,
.emmy-checkout-steps__item.is-done .emmy-checkout-steps__label {
  color: #10152a !important;
}

.emmy-checkout-steps__rule {
  width: 2.4rem;
  height: 2px;
  margin-top: 0.85rem;
  background: #d9d0c4;
  list-style: none;
}

.emmy-checkout-steps__item.is-done + .emmy-checkout-steps__rule,
.emmy-checkout-steps__item.is-active + .emmy-checkout-steps__rule {
  background: #c9a227;
}

body.woocommerce-checkout .wc-block-components-radio-control__input:checked,
body.woocommerce-checkout input[type="radio"]:checked {
  accent-color: #c9a227;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button .wc-block-components-button__text {
  border-radius: 999px !important;
  background: #c9a227 !important;
  color: #0b0f1a !important;
  -webkit-text-fill-color: #0b0f1a !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block::after,
body.woocommerce-checkout .wc-block-checkout__sidebar::after {
  content: "✓ Garantía de satisfacción EMMY · Envío asegurado a todo Colombia";
  display: block;
  margin-top: 0.9rem;
  color: #6e675d;
  font-size: 0.75rem;
  line-height: 1.45;
}

.emmy-ship-free,
.emmy-ship-free .amount,
.emmy-ship-free td {
  color: #1f7a45 !important;
  -webkit-text-fill-color: #1f7a45 !important;
  font-weight: 700;
}

body.emmy-thanks-live .emmy-thanks-hero {
  text-align: center;
  margin-bottom: 1.2rem;
}

body.emmy-thanks-live .emmy-thanks-hero h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 500;
  color: #10152a;
}

body.emmy-thanks-live .woocommerce-thankyou-order-received,
body.emmy-thanks-live .wp-block-woocommerce-order-confirmation-status {
  display: none;
}

body.emmy-thanks-live .wc-block-order-confirmation-address-wrapper:not(:has(address, p, li)) {
  display: none;
}

body.emmy-thanks-live .wc-block-order-confirmation-summary,
body.emmy-thanks-live .wc-block-order-confirmation-totals-wrapper,
body.emmy-thanks-live .wp-block-woocommerce-order-confirmation-totals {
  background: #fff;
  border: 1px solid #eadfca;
  border-radius: 16px;
  padding: 1rem 1.15rem;
  margin: 0 auto 1.2rem;
  max-width: 920px;
}

body.woocommerce-order-received .woocommerce-order-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  justify-content: space-between;
  list-style: none;
  margin: 0 auto 1.4rem;
  padding: 1rem 1.2rem;
  max-width: 920px;
  background: #fff;
  border: 1px solid #eadfca;
  border-radius: 16px;
  text-align: left;
}

body.woocommerce-order-received .woocommerce-order-overview__total strong,
body.woocommerce-order-received .order-total .woocommerce-Price-amount {
  color: #c9a227;
  font-size: 1.2rem;
}

body.woocommerce-order-received table.woocommerce-table--order-details {
  width: 100%;
  background: #fff;
  border: 1px solid #eadfca;
  border-radius: 16px;
  overflow: hidden;
  border-collapse: separate;
}

.emmy-thanks-close {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
  gap: 1.2rem;
  align-items: end;
  margin-top: 1.4rem;
}

.emmy-thanks-close .woocommerce-customer-details,
.emmy-thanks-close address {
  background: #fff;
  border: 1px solid #eadfca;
  border-radius: 16px;
  padding: 1rem 1.1rem;
}

body.emmy-thanks-live .emmy-keep-shopping,
body.emmy-thanks-live .emmy-thanks-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.4rem !important;
  border-radius: 999px !important;
  background: #c9a227 !important;
  color: #0b0f1a !important;
  -webkit-text-fill-color: #0b0f1a !important;
  border: 0 !important;
  letter-spacing: 0.12em !important;
  text-decoration: none !important;
}

body.emmy-nosotros-page,
body.emmy-nosotros-page main,
body.page-nosotros,
body.page-nosotros main {
  background: #f7f3ec !important;
}

body.emmy-nosotros-page .emmy-about-story,
body.page-nosotros .emmy-about-story {
  background: #f7f3ec !important;
}

body.emmy-nosotros-page .emmy-about-story .wp-block-media-text,
body.page-nosotros .emmy-about-story .wp-block-media-text {
  background: #fffdf8;
  border: 1px solid #eadfca;
  border-radius: 18px;
  padding: 0.85rem;
  overflow: hidden;
}

body.emmy-nosotros-page .emmy-about-metrics,
body.page-nosotros .emmy-about-metrics {
  background: #0b0f1a !important;
  color: #f3ede3 !important;
  padding-top: 2.6rem;
  padding-bottom: 2.8rem;
}

body.emmy-nosotros-page .emmy-about-metrics .wp-block-image,
body.page-nosotros .emmy-about-metrics .wp-block-image {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
}

body.emmy-nosotros-page .emmy-about-metrics figcaption,
body.page-nosotros .emmy-about-metrics figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 1.4rem 0.7rem 0.7rem;
  background: linear-gradient(transparent, rgba(11, 15, 26, 0.78));
  color: #f3ede3 !important;
  text-align: left;
}

body.emmy-nosotros-page .emmy-about-pillars,
body.page-nosotros .emmy-about-pillars {
  background: #f7f3ec !important;
  padding-top: 2.4rem;
  padding-bottom: 3rem;
}

body.emmy-nosotros-page .emmy-about-pillars .wp-block-column,
body.page-nosotros .emmy-about-pillars .wp-block-column {
  background: #fffdf8 !important;
  border: 1px solid #e4d3a4 !important;
  border-top: 1px solid #e4d3a4 !important;
  border-radius: 16px;
  padding: 1.2rem 1rem 1.1rem !important;
}

@keyframes emmy-thread-in {
  from { opacity: 0; transform: translateY(16px); letter-spacing: 0.18em; }
  to { opacity: 1; transform: none; letter-spacing: 0.04em; }
}

@keyframes emmy-cap-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 800px) {
  .emmy-universo,
  .emmy-home-cats__grid,
  .emmy-thanks-close {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .emmy-thread-title,
  .emmy-universo-title,
  .emmy-universo-title::after,
  .emmy-elegance-move__track,
  .emmy-gallery-cap,
  .emmy-universo .wp-block-cover video,
  .emmy-universo .wp-block-cover__video-background {
    animation: none !important;
  }
}

/* Catalogo: solo el panel de categorias. Las tarjetas de producto no se tocan. */
body.tax-product_cat .sistemapos-shop-filters,
body.tax-product_tag .sistemapos-shop-filters,
body.woocommerce-shop .sistemapos-shop-filters,
body.post-type-archive-product .sistemapos-shop-filters {
  background: #f6f1e8 !important;
  border: 1px solid #e6dccb !important;
  border-radius: 22px !important;
  box-shadow: none !important;
  padding: 1.35rem 1.1rem 1.15rem !important;
  max-width: 280px !important;
}

body.tax-product_cat .sistemapos-shop-filters::before,
body.tax-product_cat .sistemapos-shop-filters::after,
body.woocommerce-shop .sistemapos-shop-filters::before,
body.woocommerce-shop .sistemapos-shop-filters::after,
body.post-type-archive-product .sistemapos-shop-filters::before,
body.post-type-archive-product .sistemapos-shop-filters::after,
body.tax-product_tag .sistemapos-shop-filters::before,
body.tax-product_tag .sistemapos-shop-filters::after {
  content: none !important;
  display: none !important;
}

.sistemapos-shop-filters > h2 {
  display: none !important;
}

.sistemapos-shop-filters > h3:first-of-type {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.85rem !important;
  margin: 0 0 1.15rem !important;
  padding: 0.35rem 0 0.85rem !important;
  border: 0 !important;
  border-bottom: 0 !important;
  background: none !important;
  color: #c9a227 !important;
  -webkit-text-fill-color: #c9a227 !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem) !important;
  font-weight: 500 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  text-align: center !important;
}

.sistemapos-shop-filters__cats a::before,
.sistemapos-shop-filters__cats .current-cat a::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  flex: 0 0 0 !important;
}

.sistemapos-shop-filters__cats > li > .sistemapos-shop-filters__row > a,
.sistemapos-shop-filters__cats > li > .sistemapos-shop-filters__row .sistemapos-shop-filters__name {
  font-family: Jost, sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 650 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #1c2433 !important;
  -webkit-text-fill-color: #1c2433 !important;
}

.sistemapos-shop-filters__count {
  color: #8d867c !important;
  font-family: Jost, sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  opacity: 1 !important;
}

.sistemapos-shop-filters__children {
  margin: 0.1rem 0 0.45rem 0.55rem !important;
  padding: 0 0 0.15rem 0.85rem !important;
  border-left: 1px solid #d9d0c3 !important;
}

.sistemapos-shop-filters__children > li {
  position: relative;
}

.sistemapos-shop-filters__children > li::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  left: -0.85rem;
  top: 1.05rem;
  width: 0.7rem;
  border-top: 1px solid #d9d0c3;
}

.sistemapos-shop-filters__children .sistemapos-shop-filters__row {
  border-bottom: 0 !important;
  padding: 0.28rem 0 !important;
}

.sistemapos-shop-filters__children a,
.sistemapos-shop-filters__children .sistemapos-shop-filters__name {
  font-family: Jost, sans-serif !important;
  font-size: 0.86rem !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #6d675f !important;
  -webkit-text-fill-color: #6d675f !important;
}

.sistemapos-shop-filters__cats > li.current-cat > a,
.sistemapos-shop-filters__cats > li.current-cat > .sistemapos-shop-filters__row > a,
.sistemapos-shop-filters__children li.current-cat > .sistemapos-shop-filters__row > a {
  display: inline !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #c9a227 !important;
  -webkit-text-fill-color: #c9a227 !important;
  box-shadow: none !important;
}

.sistemapos-shop-filters__toggle {
  width: 1.1rem !important;
  min-width: 1.1rem !important;
  height: 1.1rem !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #1c2433 !important;
  font-size: 0 !important;
}

.sistemapos-shop-filters__toggle::before {
  content: "▶";
  font-size: 0.62rem;
  line-height: 1;
}

li.is-open > .sistemapos-shop-filters__row .sistemapos-shop-filters__toggle::before {
  content: "▼";
}

.emmy-filter-chip-slot {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  margin: 0 0 1rem;
}

.emmy-filter-chip {
  display: inline-flex !important;
  align-items: center;
  gap: 0.75rem;
  margin: 0 !important;
  padding: 0.48rem 0.5rem 0.48rem 0.95rem !important;
  border: 1px solid #c9a227 !important;
  border-radius: 999px !important;
  background: #101623 !important;
  color: #f7f1e6 !important;
  -webkit-text-fill-color: #f7f1e6 !important;
  font-family: Jost, sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  text-decoration: none !important;
}

.emmy-filter-chip__label {
  font-size: 0.82rem !important;
  color: #f7f1e6 !important;
  -webkit-text-fill-color: #f7f1e6 !important;
}

.emmy-filter-chip__x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  color: #f7f1e6;
}

body.emmy-nosotros-page .emmy-about-hero,
body.page-nosotros .emmy-about-hero {
  min-height: 280px !important;
  background: #0c1220 !important;
}

body.emmy-nosotros-page .emmy-about-hero .wp-block-cover__image-background,
body.page-nosotros .emmy-about-hero .wp-block-cover__image-background,
body.emmy-nosotros-page .emmy-about-hero img,
body.page-nosotros .emmy-about-hero img {
  opacity: 0 !important;
}

body.emmy-nosotros-page .emmy-about-hero .is-style-text-display,
body.page-nosotros .emmy-about-hero .is-style-text-display {
  color: #c9a227 !important;
  -webkit-text-fill-color: #c9a227 !important;
  letter-spacing: 0.22em !important;
  font-size: 0.72rem !important;
}

body.emmy-nosotros-page .emmy-about-hero .is-style-text-subtitle,
body.page-nosotros .emmy-about-hero .is-style-text-subtitle {
  color: #f7f3ec !important;
  -webkit-text-fill-color: #f7f3ec !important;
  max-width: 18em;
}

body.emmy-nosotros-page .emmy-about-story,
body.page-nosotros .emmy-about-story {
  counter-reset: emmy-about;
}

body.emmy-nosotros-page .emmy-about-story .wp-block-media-text,
body.page-nosotros .emmy-about-story .wp-block-media-text {
  counter-increment: emmy-about;
  background: #fff !important;
  border: 1px solid #eadfca !important;
  border-radius: 16px !important;
  padding: 0.9rem !important;
}

body.emmy-nosotros-page .emmy-about-story h2::before,
body.page-nosotros .emmy-about-story h2::before {
  content: counter(emmy-about, decimal-leading-zero);
  display: block;
  margin-bottom: 0.35rem;
  color: #c9a227;
  font-family: Jost, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

body.emmy-nosotros-page .emmy-about-metrics .wp-block-gallery,
body.page-nosotros .emmy-about-metrics .wp-block-gallery {
  align-items: stretch;
}

body.emmy-nosotros-page .emmy-about-metrics .emmy-stat-card,
body.page-nosotros .emmy-about-metrics .emmy-stat-card {
  display: flex !important;
  align-items: flex-end;
  min-height: 168px;
  background: #141b2e !important;
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 16px !important;
  overflow: hidden;
}

body.emmy-nosotros-page .emmy-about-metrics .emmy-stat-card img,
body.page-nosotros .emmy-about-metrics .emmy-stat-card img {
  display: none !important;
}

body.emmy-nosotros-page .emmy-about-metrics .emmy-stat-card figcaption,
body.page-nosotros .emmy-about-metrics .emmy-stat-card figcaption {
  position: static !important;
  background: transparent !important;
  padding: 1.15rem 1rem 1.2rem !important;
  color: #f3ede3 !important;
  text-align: left !important;
}

.emmy-stat-num {
  display: block;
  margin-bottom: 0.35rem;
  color: #c9a227;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.wc-block-mini-cart__drawer .wc-block-components-quantity-selector {
  background: #fff !important;
  border-radius: 8px !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__remove-link,
.wc-block-mini-cart__drawer .emmy-mini-remove {
  color: #b45448 !important;
  -webkit-text-fill-color: #b45448 !important;
  text-decoration: none !important;
}

body.woocommerce-checkout .emmy-checkout-steps,
body.woocommerce-order-received .emmy-checkout-steps {
  gap: 0.35rem 0.15rem;
}

body.woocommerce-checkout .wc-block-components-checkout-step,
body.woocommerce-checkout .wp-block-woocommerce-checkout-contact-information-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-address-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-billing-address-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-note-block {
  background: #fff;
  border: 1px solid #eadfca;
  border-radius: 16px;
  padding: 1rem 1.05rem;
  margin-bottom: 0.85rem;
}

/* Subcategorías: el óvalo se reemplaza por el chip Filtro */
.sistemapos-subcats {
  display: none !important;
}

.sistemapos-shop-filters > h3:first-of-type::before,
.sistemapos-shop-filters > h3:first-of-type::after {
  content: "" !important;
  display: block !important;
  flex: 1 1 auto !important;
  height: 1px !important;
  min-width: 1.5rem !important;
  border: 0 !important;
  background: linear-gradient(90deg, transparent, #c9a227, transparent) !important;
  opacity: 0.85 !important;
}

/* Checkout: el layout interno lleva las dos columnas; el formulario no */
@media (min-width: 900px) {
  body.woocommerce-checkout.emmy-checkout-live .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 380px) !important;
    column-gap: 1.75rem !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 1120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  body.woocommerce-checkout.emmy-checkout-live .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-checkout__main {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
  }

  body.woocommerce-checkout.emmy-checkout-live .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-checkout__sidebar {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
  }

  body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary-item {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    align-items: start !important;
  }

  body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary-item__image {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    width: 64px !important;
    max-width: 64px !important;
  }

  body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary-item__description {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: block !important;
    min-width: 0 !important;
    width: auto !important;
  }

  body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary-item__total-price {
    grid-column: 2 !important;
    grid-row: 2 !important;
    width: auto !important;
  }

  body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary-item .wc-block-components-product-name,
  body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary-item .wc-block-components-product-name a {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    overflow: visible !important;
    white-space: normal !important;
  }
}

/* Header igual que inicio: enlaces en línea, sin el panel crema */
@media (min-width: 782px) {
  header .wp-block-navigation__responsive-container-open,
  header .wp-block-navigation__responsive-container-close,
  .wp-site-blocks > header .wp-block-navigation__responsive-container-open,
  .wp-site-blocks > header .wp-block-navigation__responsive-container-close {
    display: none !important;
  }

  header .wp-block-navigation__responsive-container,
  .wp-site-blocks > header .wp-block-navigation__responsive-container {
    display: block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    background-color: transparent !important;
    color: inherit !important;
  }

  header .wp-block-navigation__responsive-close,
  header .wp-block-navigation__responsive-dialog,
  .wp-site-blocks > header .wp-block-navigation__responsive-close,
  .wp-site-blocks > header .wp-block-navigation__responsive-dialog {
    display: contents !important;
  }

  header .wp-block-navigation__responsive-container-content,
  header .wp-block-navigation .wp-block-navigation__container,
  .wp-site-blocks > header .wp-block-navigation__responsive-container-content {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
  }
}

@media (max-width: 781px) {
  header .wp-block-navigation__responsive-container:not(.is-menu-open),
  .wp-site-blocks > header .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none !important;
  }

  header .wp-block-navigation__responsive-container.is-menu-open,
  .wp-site-blocks > header .wp-block-navigation__responsive-container.is-menu-open {
    display: flex !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 100000 !important;
    flex-direction: column !important;
    padding: 4.5rem 1.5rem 1.5rem !important;
    background: #0b0f1a !important;
    background-color: #0b0f1a !important;
  }
}

/* Mini carrito: panel oscuro del mock */
.wc-block-components-drawer.wc-block-mini-cart__drawer,
.wc-block-mini-cart__drawer,
.wc-block-mini-cart__drawer .wc-block-components-drawer__content,
.wc-block-mini-cart__drawer .wp-block-woocommerce-filled-mini-cart-contents-block,
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-contents,
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-footer-block,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer,
.wc-block-mini-cart__drawer .emmy-mini-cart-footer,
.wc-block-mini-cart__drawer .emmy-mini-cart-bar {
  background: #0b0f1a !important;
  color: #f6efe3 !important;
}

.wc-block-mini-cart__drawer .emmy-mini-cart-bar > span,
.wc-block-mini-cart__drawer .emmy-mini-cart-label,
.wc-block-mini-cart__drawer .wc-block-mini-cart__title {
  color: #f6efe3 !important;
  -webkit-text-fill-color: #f6efe3 !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 1.65rem !important;
  font-weight: 500 !important;
}

.wc-block-mini-cart__drawer .emmy-ship-cue,
.wc-block-mini-cart__drawer .emmy-ship-cue span {
  color: #dcc27a !important;
  -webkit-text-fill-color: #dcc27a !important;
  font-size: 0.82rem !important;
}

.wc-block-mini-cart__drawer .emmy-ship-cue__track {
  background: rgba(255, 255, 255, 0.12) !important;
}

.wc-block-mini-cart__drawer .emmy-ship-cue__track i {
  background: #c9a227 !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-items__row,
.wc-block-mini-cart__drawer .emmy-mini-item {
  background: #121826 !important;
  border: 1px solid rgba(201, 162, 39, 0.28) !important;
  border-radius: 14px !important;
  color: #f6efe3 !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__image,
.wc-block-mini-cart__drawer .wc-block-components-product-image {
  background: #ffffff !important;
  border-radius: 10px !important;
}

.wc-block-mini-cart__drawer .wc-block-components-product-name,
.wc-block-mini-cart__drawer .wc-block-components-product-name a {
  color: #f6efe3 !important;
  -webkit-text-fill-color: #f6efe3 !important;
}

.wc-block-mini-cart__drawer .wc-block-components-product-price,
.wc-block-mini-cart__drawer .wc-block-cart-item__prices,
.wc-block-mini-cart__drawer .wc-block-components-product-price__value,
.wc-block-mini-cart__drawer .wc-block-formatted-money-amount,
.wc-block-mini-cart__drawer .wc-block-components-totals-item__value {
  color: #dcc27a !important;
  -webkit-text-fill-color: #dcc27a !important;
}

.wc-block-mini-cart__drawer .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.wc-block-mini-cart__drawer .wc-block-components-totals-item__label,
.wc-block-mini-cart__drawer .emmy-mini-trust {
  color: #cfc6b4 !important;
  -webkit-text-fill-color: #cfc6b4 !important;
}

.wc-block-mini-cart__drawer .wc-block-components-quantity-selector {
  border: 1px solid #c9a227 !important;
  border-radius: 8px !important;
  background: transparent !important;
}

.wc-block-mini-cart__drawer .wc-block-components-quantity-selector__button,
.wc-block-mini-cart__drawer .wc-block-components-quantity-selector input {
  color: #dcc27a !important;
  -webkit-text-fill-color: #dcc27a !important;
  background: transparent !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-checkout-button-block .wc-block-components-button,
.wc-block-mini-cart__drawer .emmy-mini-primary {
  background: #c9a227 !important;
  color: #0b0f1a !important;
  -webkit-text-fill-color: #0b0f1a !important;
  border-radius: 999px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-cart-button-block .wc-block-components-button,
.wc-block-mini-cart__drawer .emmy-mini-cart-secondary {
  background: #c9a227 !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #0b0f1a !important;
  -webkit-text-fill-color: #0b0f1a !important;
  text-decoration: none !important;
}

/* Mini carrito: cabe en la pantalla y los dos botones quedan juntos */
.wc-block-components-drawer.wc-block-mini-cart__drawer,
.wc-block-mini-cart__drawer {
  width: min(420px, 100vw) !important;
  max-width: 100vw !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
}

.wc-block-mini-cart__drawer .wc-block-components-drawer__content,
.wc-block-mini-cart__drawer .wc-block-mini-cart__template-part,
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-contents,
.wc-block-mini-cart__drawer .wp-block-woocommerce-filled-mini-cart-contents-block {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
  background: #0b0f1a !important;
  color: #f6efe3 !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__items,
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-items-block {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  width: 100% !important;
  max-width: 100% !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-items,
.wc-block-mini-cart__drawer table.wc-block-cart-items {
  table-layout: fixed !important;
  width: 100% !important;
}

.wc-block-mini-cart__drawer .wc-block-components-product-name,
.wc-block-mini-cart__drawer .wc-block-components-product-name a,
.wc-block-mini-cart__drawer .wc-block-components-product-details,
.wc-block-mini-cart__drawer .wc-block-components-product-details__value {
  color: #f6efe3 !important;
  -webkit-text-fill-color: #f6efe3 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

.wc-block-mini-cart__drawer .wc-block-components-quantity-selector {
  background: #f6efe3 !important;
  border: 1px solid #c9a227 !important;
}

.wc-block-mini-cart__drawer .wc-block-components-quantity-selector__button,
.wc-block-mini-cart__drawer .wc-block-components-quantity-selector input {
  color: #0b0f1a !important;
  -webkit-text-fill-color: #0b0f1a !important;
  background: transparent !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__remove-link,
.wc-block-mini-cart__drawer .emmy-mini-remove,
.wc-block-mini-cart__drawer .wc-block-cart-item__remove-link::after,
.wc-block-mini-cart__drawer .emmy-mini-remove::after {
  color: #ffb4a8 !important;
  -webkit-text-fill-color: #ffb4a8 !important;
}

.wc-block-mini-cart__drawer .emmy-mini-cart-footer .emmy-mini-actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-auto-flow: row !important;
  flex-direction: column !important;
  gap: 0.55rem !important;
  width: 100% !important;
  margin: 0.35rem 0 0 !important;
}

.wc-block-mini-cart__drawer .emmy-mini-actions .wp-block-woocommerce-mini-cart-checkout-button-block,
.wc-block-mini-cart__drawer .emmy-mini-actions .wp-block-woocommerce-mini-cart-cart-button-block,
.wc-block-mini-cart__drawer .emmy-mini-actions .wc-block-components-button {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.wc-block-mini-cart__drawer .emmy-mini-actions .wc-block-components-button,
.wc-block-mini-cart__drawer .emmy-mini-primary,
.wc-block-mini-cart__drawer .emmy-mini-cart-secondary {
  min-height: 48px !important;
  border-radius: 999px !important;
  background: #c9a227 !important;
  color: #0b0f1a !important;
  -webkit-text-fill-color: #0b0f1a !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  white-space: normal !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

.wc-block-mini-cart__drawer .emmy-mini-cart-footer,
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-footer-block {
  flex: 0 0 auto !important;
  background: #0b0f1a !important;
  border-top: 1px solid rgba(201, 162, 39, 0.35) !important;
}

/* Mi cuenta: las tarjetas repiten las pestañas */
body.woocommerce-account .emmy-account-studio .woocommerce-MyAccount-navigation {
  display: none !important;
}

body.woocommerce-account .woocommerce-EditAccountForm input,
body.woocommerce-account .woocommerce-EditAccountForm select,
body.woocommerce-account .woocommerce-EditAccountForm textarea,
body.woocommerce-account .woocommerce-EditAccountForm button,
body.woocommerce-account .woocommerce-address-fields input,
body.woocommerce-account .woocommerce-address-fields select,
body.woocommerce-account .woocommerce-address-fields button,
body.woocommerce-account form.edit-account input,
body.woocommerce-account form.edit-account button[type="submit"] {
  visibility: visible !important;
  pointer-events: auto !important;
  opacity: 1 !important;
}

body.woocommerce-account .woocommerce-EditAccountForm button[type="submit"],
body.woocommerce-account .woocommerce-address-fields button[type="submit"],
body.woocommerce-account form.edit-account button[type="submit"] {
  background: #c9a227 !important;
  color: #0b0f1a !important;
  -webkit-text-fill-color: #0b0f1a !important;
}

/* Contacto: datos centrados */
.emmy-contact-aside,
body.page-contacto .emmy-contact-aside,
body.emmy-contact-page .emmy-contact-aside {
  text-align: center !important;
}

.emmy-contact-aside h1,
.emmy-contact-aside .emmy-contact-title,
body.page-contacto .emmy-contact-aside h1,
body.emmy-contact-page .emmy-contact-aside h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.4rem) !important;
  line-height: 1 !important;
  max-width: 100% !important;
}

.emmy-contact-aside .emmy-contact-lead,
.emmy-contact-facts,
.emmy-contact-facts strong,
.emmy-contact-facts a {
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
}

.emmy-contact-aside .emmy-contact-lead,
.emmy-contact-aside h1::after,
body.page-contacto .emmy-contact-aside h1::after {
  margin-left: auto !important;
  margin-right: auto !important;
}

.emmy-contact-facts {
  justify-items: center !important;
}

/* Finalizar compra: el mismo header que el resto */
body.woocommerce-checkout header.wp-block-template-part,
body.woocommerce-checkout .wp-site-blocks > header,
body.woocommerce-order-received header.wp-block-template-part,
body.woocommerce-order-received .wp-site-blocks > header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.55rem 3.5vw !important;
  background-color: rgba(11, 15, 26, 0.94) !important;
  background-image: none !important;
  border-bottom: 1px solid rgba(201, 162, 39, 0.55) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22) !important;
}

body.woocommerce-checkout header .wp-block-group,
body.woocommerce-checkout header .has-global-padding,
body.woocommerce-order-received header .wp-block-group,
body.woocommerce-order-received header .has-global-padding {
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

body.woocommerce-checkout header figure.wp-block-image img,
body.woocommerce-order-received header figure.wp-block-image img,
body.woocommerce-checkout header .wp-block-site-logo img,
body.woocommerce-order-received header .wp-block-site-logo img {
  height: 52px !important;
  max-height: 52px !important;
  width: auto !important;
}

/* Mini carrito: producto legible y los dos botones iguales, uno al lado del otro */
.wc-block-mini-cart__drawer .wc-block-mini-cart__items,
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-items-block {
  flex: 0 1 auto !important;
  max-height: min(46dvh, 380px) !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-items__row,
.wc-block-mini-cart__drawer .emmy-mini-item,
.wc-block-mini-cart__drawer .emmy-mini-row {
  background: #f7f3ec !important;
  border: 1px solid #c9a227 !important;
  color: #0b0f1a !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-items__row .wc-block-components-product-name,
.wc-block-mini-cart__drawer .wc-block-cart-items__row .wc-block-components-product-name a,
.wc-block-mini-cart__drawer .emmy-mini-row .wc-block-components-product-name,
.wc-block-mini-cart__drawer .emmy-mini-row .wc-block-components-product-name a,
.wc-block-mini-cart__drawer .wc-block-cart-items__row .wc-block-components-product-details,
.wc-block-mini-cart__drawer .wc-block-cart-items__row .wc-block-components-product-details__value {
  color: #0b0f1a !important;
  -webkit-text-fill-color: #0b0f1a !important;
  font-size: 1.02rem !important;
  line-height: 1.25 !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-items__row .wc-block-components-product-price,
.wc-block-mini-cart__drawer .wc-block-cart-items__row .wc-block-components-product-price__value,
.wc-block-mini-cart__drawer .wc-block-cart-items__row .wc-block-formatted-money-amount {
  color: #8a6a12 !important;
  -webkit-text-fill-color: #8a6a12 !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-items__row .wc-block-cart-item__remove-link,
.wc-block-mini-cart__drawer .wc-block-cart-items__row .emmy-mini-remove,
.wc-block-mini-cart__drawer .wc-block-cart-items__row .emmy-mini-remove::after {
  color: #9d2c2c !important;
  -webkit-text-fill-color: #9d2c2c !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-items__row.is-emmy-empty-row {
  display: none !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions,
.wc-block-mini-cart__drawer .emmy-mini-cart-footer .emmy-mini-actions,
.wc-block-mini-cart__drawer .emmy-mini-actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-auto-flow: row !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0.55rem !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0.45rem 0 0 !important;
  align-self: stretch !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-checkout {
  order: 1 !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-cart {
  order: 2 !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions > *,
.wc-block-mini-cart__drawer .emmy-mini-actions > * {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a.wc-block-components-button.wc-block-mini-cart__footer-cart[href*="carrito"]:not([href*="finalizar"]):not([href*="checkout"]),
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a.wc-block-components-button.wc-block-mini-cart__footer-checkout[href*="finalizar"],
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer a.wc-block-components-button[href*="checkout"],
.wc-block-mini-cart__drawer .emmy-mini-primary,
.wc-block-mini-cart__drawer .emmy-mini-cart-secondary {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0.7rem 1.1rem !important;
  background-color: #c9a227 !important;
  background-image: none !important;
  color: #0b0f1a !important;
  -webkit-text-fill-color: #0b0f1a !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  line-height: 1.15 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-footer-block .wc-block-components-totals-item__label,
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-footer-block .wc-block-components-totals-item__value,
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-footer-block .wc-block-components-totals-item__description,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-components-totals-item__label,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-components-totals-item__value,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-components-totals-item__description,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer p,
.wc-block-mini-cart__drawer .emmy-mini-trust,
.wc-block-mini-cart__drawer .emmy-ship-cue,
.wc-block-mini-cart__drawer .emmy-ship-cue span,
.wc-block-mini-cart__drawer .emmy-ship-cue strong {
  color: #dcc27a !important;
  -webkit-text-fill-color: #dcc27a !important;
}

/* Registro: el texto del correo no está en la página hasta pulsar Registrarse */
body.woocommerce-account .woocommerce-form-register > p:not(.woocommerce-form-row):not(.form-row):not(.emmy-auth-alert):not(.emmy-auth-switch),
body.woocommerce-account .woocommerce-form-register .woocommerce-privacy-policy-text,
body.woocommerce-account .emmy-auth-legal {
  display: none !important;
}

body.woocommerce-account .woocommerce-form-register .emmy-auth-alert,
body.woocommerce-account .woocommerce-form-register .woocommerce-info {
  display: none !important;
}

body.woocommerce-account .woocommerce-form-register.is-emmy-register-pending .emmy-auth-alert {
  display: block !important;
}

body.woocommerce-account .woocommerce-error,
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info:not(.emmy-auth-legal),
body.woocommerce-account .wc-block-components-notice-banner {
  background: #fffdf8 !important;
  color: #1c2433 !important;
  -webkit-text-fill-color: #1c2433 !important;
  border: 1px solid rgba(201, 162, 39, 0.65) !important;
  border-left: 3px solid #c9a227 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  font-family: "Plus Jakarta Sans", Jost, sans-serif !important;
}

body.woocommerce-account.logged-in .emmy-account-studio .woocommerce-MyAccount-navigation,
body.woocommerce-account.logged-in .emmy-account-studio .woocommerce-MyAccount-navigation ul,
body.woocommerce-account.logged-in .emmy-account-studio .woocommerce-MyAccount-navigation-link {
  display: none !important;
}

/* Contacto: la columna de información queda centrada */
body.emmy-contact-page .emmy-contact-aside,
body.page-contacto .emmy-contact-aside,
body.emmy-contact-page .emmy-contact-aside h1,
body.page-contacto .emmy-contact-aside h1,
body.emmy-contact-page .emmy-contact-aside p,
body.page-contacto .emmy-contact-aside p,
body.emmy-contact-page .emmy-contact-aside li,
body.page-contacto .emmy-contact-aside li,
body.emmy-contact-page .emmy-contact-facts,
body.page-contacto .emmy-contact-facts {
  text-align: center !important;
}

body.emmy-contact-page .emmy-contact-facts,
body.page-contacto .emmy-contact-facts {
  justify-items: center !important;
}

body.emmy-contact-page .emmy-contact-aside h1::after,
body.page-contacto .emmy-contact-aside h1::after {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Mini carrito: la X del mismo dorado que el subtotal, y la foto del producto visible */
.wc-block-mini-cart__drawer .emmy-mini-cart-bar .wc-block-components-drawer__close.emmy-mini-close,
.wc-block-mini-cart__drawer .emmy-mini-cart-bar button.wc-block-components-drawer__close {
  color: #dcc27a !important;
  -webkit-text-fill-color: #dcc27a !important;
  border: 1px solid #dcc27a !important;
  background: transparent !important;
  opacity: 1 !important;
}

.wc-block-mini-cart__drawer .wc-block-components-drawer__close svg,
.wc-block-mini-cart__drawer .emmy-mini-close svg,
.wc-block-mini-cart__drawer .wc-block-components-drawer__close svg path {
  fill: #dcc27a !important;
  color: #dcc27a !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__image img[src],
.wc-block-mini-cart__drawer .wc-block-components-product-image img[src] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-items,
.wc-block-mini-cart__drawer table.wc-block-cart-items,
.wc-block-mini-cart__drawer .wc-block-cart-items__row:not(.is-emmy-empty-row) {
  width: 100% !important;
  max-width: 100% !important;
}

/* Direcciones: dos tarjetas al lado, como finalizar compra */
body.woocommerce-account .emmy-account-studio .woocommerce-MyAccount-content {
  max-width: none !important;
  width: 100% !important;
}

body.woocommerce-account .emmy-account-studio .woocommerce-Addresses,
body.woocommerce-account .emmy-account-studio .col2-set.addresses,
body.woocommerce-account .emmy-account-studio .u-columns.woocommerce-Addresses {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 1rem !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
}

body.woocommerce-account .emmy-account-studio .woocommerce-Address,
body.woocommerce-account .emmy-account-studio .woocommerce-Addresses .u-column,
body.woocommerce-account .emmy-account-studio .woocommerce-Addresses .col-1,
body.woocommerce-account .emmy-account-studio .woocommerce-Addresses .col-2 {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 1.15rem 1.2rem 1.25rem !important;
  background: #fffdf8 !important;
  border: 1px solid rgba(201, 162, 39, 0.55) !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
}

body.woocommerce-account .emmy-account-studio .woocommerce-Address-title,
body.woocommerce-account .emmy-account-studio .woocommerce-Address header {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.35rem !important;
  margin: 0 0 0.75rem !important;
}

body.woocommerce-account .emmy-account-studio .woocommerce-Address h3,
body.woocommerce-account .emmy-account-studio .woocommerce-Address address,
body.woocommerce-account .emmy-account-studio .woocommerce-Address a {
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

body.woocommerce-account .emmy-account-studio .woocommerce-Address h3 {
  margin: 0 !important;
  font-size: 1.35rem !important;
  line-height: 1.25 !important;
}

body.woocommerce-account .emmy-account-studio .woocommerce-Address address {
  display: block !important;
  margin: 0 !important;
  font-style: normal !important;
  line-height: 1.55 !important;
  color: #1c2433 !important;
}

@media (max-width: 782px) {
  body.woocommerce-account .emmy-account-studio .woocommerce-Addresses,
  body.woocommerce-account .emmy-account-studio .col2-set.addresses,
  body.woocommerce-account .emmy-account-studio .u-columns.woocommerce-Addresses {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Direcciones: las dos tarjetas en la misma fila. El clearfix de Woo no debe ocupar columna. */
body.woocommerce-account.logged-in .emmy-address-grid,
body.woocommerce-account.logged-in .woocommerce-Addresses,
body.woocommerce-account.logged-in .col2-set.addresses {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 1rem !important;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
}

body.woocommerce-account.logged-in .emmy-address-grid::before,
body.woocommerce-account.logged-in .emmy-address-grid::after,
body.woocommerce-account.logged-in .woocommerce-Addresses::before,
body.woocommerce-account.logged-in .woocommerce-Addresses::after,
body.woocommerce-account.logged-in .col2-set.addresses::before,
body.woocommerce-account.logged-in .col2-set.addresses::after {
  content: none !important;
  display: none !important;
}

body.woocommerce-account.logged-in .emmy-address-grid > .woocommerce-Address,
body.woocommerce-account.logged-in .emmy-address-grid > .u-column,
body.woocommerce-account.logged-in .emmy-address-grid > .col-1,
body.woocommerce-account.logged-in .emmy-address-grid > .col-2,
body.woocommerce-account.logged-in .woocommerce-Addresses > .woocommerce-Address,
body.woocommerce-account.logged-in .woocommerce-Addresses > .u-column {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  float: none !important;
  display: block !important;
}

body.woocommerce-account .woocommerce.emmy-account-studio-host:has(.woocommerce-Addresses),
body.woocommerce-account .emmy-account-studio:has(.woocommerce-Addresses) {
  max-width: 1080px !important;
}

@media (max-width: 782px) {
  body.woocommerce-account.logged-in .emmy-address-grid,
  body.woocommerce-account.logged-in .woocommerce-Addresses,
  body.woocommerce-account.logged-in .col2-set.addresses {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Detalles de cuenta: campos y guardar siguen siendo el formulario de Woo */
body.woocommerce-account.logged-in form.edit-account .form-row,
body.woocommerce-account.logged-in form.woocommerce-EditAccountForm .form-row,
body.woocommerce-account.logged-in form.edit-account fieldset,
body.woocommerce-account.logged-in .woocommerce-address-fields .form-row {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: visible !important;
  pointer-events: auto !important;
}

body.woocommerce-account.logged-in form.edit-account input.input-text,
body.woocommerce-account.logged-in form.edit-account input[type="text"],
body.woocommerce-account.logged-in form.edit-account input[type="email"],
body.woocommerce-account.logged-in form.edit-account input[type="password"],
body.woocommerce-account.logged-in form.woocommerce-EditAccountForm input.input-text,
body.woocommerce-account.logged-in form.woocommerce-EditAccountForm input[type="password"],
body.woocommerce-account.logged-in .woocommerce-address-fields input.input-text,
body.woocommerce-account.logged-in .woocommerce-address-fields select,
body.woocommerce-account.logged-in .woocommerce-address-fields textarea {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  color: #0b0f1a !important;
  -webkit-text-fill-color: #0b0f1a !important;
  background: #fff !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

body.woocommerce-account.logged-in form.edit-account button[type="submit"],
body.woocommerce-account.logged-in form.edit-account button[name="save_account_details"],
body.woocommerce-account.logged-in form.woocommerce-EditAccountForm button[type="submit"],
body.woocommerce-account.logged-in .woocommerce-address-fields button[type="submit"] {
  display: inline-flex !important;
  position: relative !important;
  z-index: 2 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  opacity: 1 !important;
}

/* Registro: cuenta existente y “te enviaremos un correo” usan la misma tarjeta azul */
.emmy-register-alert .sistemapos-stock-alert__card {
  background: #0c1c33 !important;
  color: #f6efe3 !important;
  border: 1px solid #d4af37 !important;
}

.emmy-register-alert .sistemapos-stock-alert__kicker,
.emmy-register-alert .sistemapos-stock-alert__title,
.emmy-register-alert .sistemapos-stock-alert__msg {
  color: #f6efe3 !important;
  -webkit-text-fill-color: #f6efe3 !important;
}

.emmy-register-alert .sistemapos-stock-alert__kicker {
  color: #d4af37 !important;
  -webkit-text-fill-color: #d4af37 !important;
}

body.woocommerce-account .woocommerce-error,
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-error,
body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-message {
  background: #0c1c33 !important;
  color: #f6efe3 !important;
  -webkit-text-fill-color: #f6efe3 !important;
  border: 1px solid #d4af37 !important;
  border-left: 0 !important;
  border-top: 2px solid #d4af37 !important;
}
