/* Informática Global — tienda */

html[data-ps-scheme="light"] body.ig-store {
  --ps-bg: #f4f7fb;
  --ps-bg-soft: #ffffff;
  --ps-text: #24344d;
  --ps-heading: #1b2f6e;
  --ps-muted: #5c6d86;
  --ps-primary: #243a85;
  --ps-border: rgba(36, 58, 133, 0.12);
  --ps-header-fill: #ffffff;
  --ps-nav: #243a85;
  --ps-nav-hover: #2f98d5;
  --ig-brand: #243a85;
  --ig-accent: #2f98d5;
  --ig-navy: #243a85;
  --ig-deep: #1b2f6e;
  --ig-card: #ffffff;
  --ig-ink: #1b2f6e;
  --ig-soft: #e8f3fb;
}

html[data-ps-scheme="dark"]:has(body.ig-store) {
  --ps-bg: #0e1422;
  --ps-page: #0e1422;
  background: #0e1422;
}

html[data-ps-scheme="dark"] body.ig-store {
  --ps-bg: #0e1422;
  --ps-bg-soft: #16243a;
  --ps-text: #d5e4f2;
  --ps-heading: #f4f8fc;
  --ps-muted: #9bb4cc;
  --ps-primary: #2f98d5;
  --ps-border: rgba(47, 152, 213, 0.22);
  --ps-header-fill: #0c1220;
  --ps-nav: #f4f8fc;
  --ps-nav-hover: #ffffff;
  --ig-brand: #2f98d5;
  --ig-accent: #7ec8ef;
  --ig-navy: #243a85;
  --ig-deep: #1b2f6e;
  --ig-card: #152238;
  --ig-ink: #f4f8fc;
  --ig-soft: rgba(47, 152, 213, 0.14);
}

body.ig-store {
  background: var(--ps-bg);
  color: var(--ps-text);
}

.ig-wrap {
  width: min(var(--ps-container), calc(100% - 40px));
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header */
body.ig-store .ps-site-header-wrap.has-catnav {
  min-height: 0;
  background: var(--ps-header-fill);
}

body.ig-store .ps-site-header-wrap.has-catnav::before {
  background: var(--ps-header-fill);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 0;
  box-shadow: none;
}

body.ig-store .ps-site-header__logo-text {
  color: var(--ps-heading);
  font-family: var(--ps-heading-font, var(--ps-font));
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

body.ig-store .ps-site-header__inner {
  gap: 16px;
}

.ig-search {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 520px;
  margin-left: auto;
  background: var(--ig-soft);
  border: 1px solid var(--ps-border);
  border-radius: 999px;
  padding: 4px 4px 4px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ig-search:focus-within {
  border-color: #2f98d5;
  box-shadow: 0 0 0 4px rgba(47, 152, 213, 0.18);
}

html[data-ps-scheme="dark"] .ig-search:focus-within {
  border-color: #2f98d5;
  box-shadow: 0 0 0 4px rgba(47, 152, 213, 0.22);
}

.ig-search input[type="search"] {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ps-heading);
  outline: none;
  min-height: 38px;
}

.ig-search input[type="search"]::-webkit-search-cancel-button {
  display: none;
}

.ig-search button,
.ig-iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ps-heading);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  flex: 0 0 auto;
}

.ig-search button {
  background: #2f98d5;
  color: #fff;
}

html[data-ps-scheme="dark"] .ig-search button {
  background: #2f98d5;
  color: #fff;
}

.ig-search button:hover {
  transform: translateY(-1px);
}

.ig-search .ig-search__clear {
  width: 30px;
  height: 30px;
  margin-right: 6px;
  background: rgba(36, 58, 133, 0.08);
  color: var(--ps-text);
}

.ig-search .ig-search__clear:hover {
  background: rgba(36, 58, 133, 0.16);
  color: var(--ps-heading);
  transform: none;
}

.ig-search .ig-search__clear[hidden] {
  display: none;
}

html[data-ps-scheme="dark"] .ig-search .ig-search__clear {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

body.ig-store .ig-iconbtn {
  width: 46px;
  height: 46px;
  background: var(--ig-soft);
  color: var(--ig-brand);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

body.ig-store .ig-iconbtn svg {
  width: 22px;
  height: 22px;
}

body.ig-store .ig-iconbtn:hover,
body.ig-store .ig-iconbtn:focus-visible {
  background: linear-gradient(135deg, #243a85, #2f98d5);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(36, 58, 133, 0.28);
}

html[data-ps-scheme="dark"] body.ig-store .ig-iconbtn {
  background: rgba(47, 152, 213, 0.16);
  color: #7ec8ef;
}

html[data-ps-scheme="dark"] body.ig-store .ig-iconbtn:hover,
html[data-ps-scheme="dark"] body.ig-store .ig-iconbtn:focus-visible {
  color: #fff;
}

.ig-cart {
  overflow: visible;
}

.ig-cart svg {
  display: block;
}

.ig-cart__count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border: 2px solid var(--ps-header-fill, #fff);
  border-radius: 999px;
  background: #243a85;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 17px;
  text-align: center;
  box-sizing: border-box;
  pointer-events: none;
}

html[data-ps-scheme="dark"] .ig-cart__count {
  background: #2f98d5;
  color: #fff;
  border-color: var(--ps-header-fill, #0c1220);
}

.ig-cart__count.is-empty {
  display: none;
}

@media (max-width: 900px) {
  body.ig-store .ig-iconbtn {
    width: 40px;
    height: 40px;
  }

  body.ig-store .ig-iconbtn svg {
    width: 20px;
    height: 20px;
  }
}

.ig-search-toggle {
  display: none;
}

body.ig-store .ps-site-header__toggle {
  display: none;
}

body.ig-store .ps-site-header__tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (min-width: 901px) {
  body.ig-store .ps-site-header__inner {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) minmax(320px, 540px) minmax(210px, 1fr);
    align-items: center;
    column-gap: 28px;
  }

  body.ig-store .ps-site-header__logo {
    justify-self: start;
  }

  body.ig-store .ig-search {
    width: 100%;
    max-width: none;
    margin: 0;
    justify-self: center;
  }

  body.ig-store .ps-site-header__tools {
    justify-self: end;
    gap: 18px;
  }
}

/* Menú de categorías */
.ig-catnav {
  position: relative;
  z-index: 2;
  background: #243a85;
  color: #fff;
}

html[data-ps-scheme="dark"] .ig-catnav {
  background: #1e3478;
  box-shadow: inset 0 1px 0 rgba(47, 152, 213, 0.45);
}

.ig-catnav__track {
  display: flex;
  align-items: center;
  gap: 2px;
  width: min(var(--ps-container), calc(100% - 40px));
  margin: 0 auto;
  overflow: visible;
  padding: 8px 0;
}

.ig-catnav__track::-webkit-scrollbar {
  display: none;
}

.ig-catnav__track.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.ig-catnav__link,
body.ig-store .ig-catnav a.ig-catnav__link,
body.ig-store .ig-catnav a.ig-catnav__link:visited {
  position: relative;
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  max-width: none;
  padding: 8px 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--ps-heading-font, var(--ps-font));
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ig-catnav__link span {
  overflow: hidden;
  text-overflow: ellipsis;
}

body.ig-store .ig-catnav a.ig-catnav__link:hover,
body.ig-store .ig-catnav a.ig-catnav__link:focus-visible,
.ig-catnav__link:hover,
.ig-catnav__link:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  text-decoration: none;
  outline: none;
}

body.ig-store .ig-catnav a.ig-catnav__link.is-current,
body.ig-store .ig-catnav a.ig-catnav__link.is-current:visited,
body.ig-store .ig-catnav a.ig-catnav__link.is-current:hover,
body.ig-store .ig-catnav a.ig-catnav__link.is-current:focus-visible,
.ig-catnav__link.is-current,
.ig-catnav__toggle.is-current {
  background: #fff;
  color: var(--ig-brand);
}

body.ig-store .ig-catnav a.ig-catnav__link.is-current span,
.ig-catnav__link.is-current span,
.ig-catnav__toggle.is-current,
.ig-catnav__toggle.is-current span {
  color: var(--ig-brand);
}

.ig-catnav__link--pin,
.ig-catnav__toggle {
  flex: 0 0 auto;
  max-width: none;
}

.ig-catnav__link--pin span,
.ig-catnav__toggle span {
  overflow: visible;
  text-overflow: unset;
}

.ig-catnav__toggle:not(.is-current) {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: #fff;
}

.ig-catnav__toggle.is-current {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.ig-catnav__more {
  position: relative;
  flex: 0 0 auto;
}

.ig-catnav__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  min-width: 320px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 8px;
  border-radius: 16px;
  background: #fff;
  color: #141414;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.ig-catnav__panel[hidden] {
  display: none;
}

body.ig-store .ig-catnav__panel a,
.ig-catnav__panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.ig-catnav__panel a:hover,
.ig-catnav__panel a:focus-visible,
.ig-catnav__panel a.is-current {
  background: #f3f6fb;
  color: var(--ig-brand);
  outline: none;
}

html[data-ps-scheme="dark"] .ig-catnav__panel {
  background: #1c1c1c;
  color: #f4f4f4;
}

html[data-ps-scheme="dark"] .ig-catnav__panel a {
  color: #f4f4f4;
}

html[data-ps-scheme="dark"] .ig-catnav__panel a:hover,
html[data-ps-scheme="dark"] .ig-catnav__panel a:focus-visible,
html[data-ps-scheme="dark"] .ig-catnav__panel a.is-current {
  background: #2a2a2a;
  color: #fff;
}

/* Hero */
.ig-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(115deg, #1b2f6e 0%, #243a85 52%, #2f98d5 100%);
  color: #fff;
}

.ig-hero__glow {
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  top: -120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(8px);
}

.ig-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 32px;
  align-items: center;
  min-height: 460px;
  padding: 56px 0 64px;
}

.ig-hero__kicker,
.ig-section__kicker,
.ig-banner__kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ig-hero__kicker {
  color: rgba(255, 255, 255, 0.72);
}

.ig-hero h1 {
  margin: 0;
  max-width: 14ch;
  color: #fff;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.ig-hero__lead {
  max-width: 46ch;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.ig-hero__search {
  display: flex;
  gap: 8px;
  max-width: 520px;
  margin-top: 26px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.ig-hero__search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0 14px;
  outline: none;
  min-height: 46px;
}

.ig-hero__search input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.ig-hero__search button,
.ig-section__more {
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #243a85;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.ig-hero__search button {
  padding: 0 18px;
}

.ig-hero__search button:hover,
.ig-section__more:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.ig-hero__meta {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.ig-hero__stage {
  position: relative;
  height: 360px;
}

.ig-hero__shot {
  position: absolute;
  display: block;
  width: 210px;
  height: 210px;
  padding: 16px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ig-hero__shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ig-hero__shot--1 {
  left: 8%;
  top: 18px;
  z-index: 3;
  animation: ig-float 6s ease-in-out infinite;
}

.ig-hero__shot--2 {
  right: 6%;
  top: 0;
  width: 160px;
  height: 160px;
  z-index: 2;
  animation: ig-float 7s ease-in-out infinite reverse;
}

.ig-hero__shot--3 {
  left: 28%;
  bottom: 0;
  width: 170px;
  height: 170px;
  z-index: 1;
  animation: ig-float 8s ease-in-out infinite;
}

.ig-hero__stage:hover .ig-hero__shot--1 {
  transform: translateY(-8px) rotate(-2deg);
}

@keyframes ig-float {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Secciones */
.ig-section {
  padding: 56px 0;
}

.ig-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.ig-section__kicker {
  color: #2f98d5;
}

html[data-ps-scheme="dark"] .ig-section__kicker {
  color: #7ec8ef;
}

.ig-banner__kicker {
  color: rgba(255, 255, 255, 0.78);
}

.ig-section__head h2,
.ig-banner h1,
.ig-empty h2 {
  margin: 0;
  color: var(--ps-heading);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.ig-section__head h2 {
  font-size: clamp(32px, 4vw, 48px);
}

.ig-section__more {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  background: var(--ig-brand);
  color: #fff;
}

html[data-ps-scheme="dark"] .ig-section__more {
  background: #2f98d5;
  color: #fff;
}

.ig-catloop {
  overflow: hidden;
  padding: 8px 0 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.ig-catloop__track {
  display: flex;
  width: max-content;
  animation: ig-catloop 48s linear infinite;
}

.ig-catloop:hover .ig-catloop__track,
.ig-catloop:focus-within .ig-catloop__track {
  animation-play-state: paused;
}

.ig-catloop__list {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0 8px;
  list-style: none;
}

.ig-catloop__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 168px;
  height: 100%;
  padding: 22px 14px 18px;
  border: 1px solid rgba(36, 58, 133, 0.08);
  border-radius: 22px;
  background: var(--ig-card);
  color: var(--ig-ink);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(27, 47, 110, 0.06);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.ig-catloop__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 6px;
  border-radius: 20px;
  background: var(--ig-soft);
  color: var(--ig-brand);
  transition: background 0.3s ease, color 0.3s ease;
}

.ig-catloop__icon svg {
  width: 32px;
  height: 32px;
}

.ig-catloop__item strong {
  font-family: var(--ps-heading-font, var(--ps-font));
  font-size: 14px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.ig-catloop__item em {
  margin-top: auto;
  color: var(--ps-muted, #6b7a99);
  font-size: 12px;
  font-style: normal;
}

.ig-catloop__item:hover,
.ig-catloop__item:focus-visible {
  transform: translateY(-4px);
  border-color: var(--ig-accent);
  box-shadow: 0 16px 34px rgba(36, 58, 133, 0.16);
  color: var(--ig-ink);
  text-decoration: none;
}

.ig-catloop__item:hover .ig-catloop__icon,
.ig-catloop__item:focus-visible .ig-catloop__icon {
  background: linear-gradient(135deg, #243a85, #2f98d5);
  color: #fff;
}

html[data-ps-scheme="dark"] .ig-catloop__item {
  border-color: rgba(126, 200, 239, 0.12);
  box-shadow: none;
}

.ig-brands {
  padding-top: 8px;
}

.ig-brands__track {
  align-items: center;
  animation-duration: 36s;
}

.ig-brands__list {
  align-items: center;
  gap: 48px;
  padding: 0 24px;
}

.ig-brands__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 64px;
  overflow: hidden;
}

.ig-brands__item img {
  width: 110px;
  height: 110px;
  max-width: none;
  object-fit: contain;
  opacity: 0.55;
  transition: opacity 0.25s ease;
}

.ig-brands__item--klipxtreme img {
  height: 52px;
}

.ig-brands__item:hover img {
  opacity: 1;
}

html[data-ps-scheme="dark"] .ig-brands__item img {
  filter: invert(1);
  opacity: 0.7;
}

html[data-ps-scheme="dark"] .ig-brands__item:hover img {
  opacity: 1;
}

/* Quiénes somos */
.ig-about-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.ig-about-intro__media {
  position: relative;
  margin: 0;
}

.ig-about-intro__media::before {
  content: "";
  position: absolute;
  inset: 24px -18px -18px 24px;
  border-radius: 28px;
  background: linear-gradient(135deg, #243a85, #2f98d5);
  opacity: 0.18;
}

.ig-about-intro__media img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 24px 50px rgba(27, 47, 110, 0.18);
}

.ig-about-intro__copy h2,
.ig-about-head h2,
.ig-about-cta h2 {
  margin: 0 0 16px;
  color: var(--ps-heading);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.ig-about-intro__copy > p,
.ig-about-head > p {
  margin: 0;
  color: var(--ps-text);
  font-size: 16px;
  line-height: 1.7;
}

.ig-about-intro__copy strong {
  color: var(--ig-brand);
}

.ig-about-perks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ig-about-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ps-heading);
  font-weight: 600;
}

.ig-about-perks svg {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: var(--ig-soft);
  color: var(--ig-brand);
}

.ig-about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.ig-about-stat {
  padding: 18px 16px;
  border: 1px solid rgba(36, 58, 133, 0.08);
  border-radius: 20px;
  background: var(--ig-card);
  box-shadow: 0 10px 26px rgba(27, 47, 110, 0.06);
}

.ig-about-stat strong {
  display: block;
  color: var(--ig-brand);
  font-family: var(--ps-heading-font, var(--ps-font));
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.ig-about-stat__label {
  display: block;
  margin-top: 6px;
  color: var(--ps-muted, #6b7a99);
  font-size: 13px;
}

.ig-about-head {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.ig-about-history {
  background: var(--ig-card);
}

.ig-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ig-timeline::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #243a85, #2f98d5);
  opacity: 0.35;
}

.ig-timeline__item {
  position: relative;
}

.ig-timeline__year {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #243a85, #2f98d5);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 24px rgba(36, 58, 133, 0.25);
}

.ig-timeline__item h3 {
  margin: 18px 0 8px;
  color: var(--ps-heading);
  font-size: 18px;
  line-height: 1.25;
}

.ig-timeline__item p {
  margin: 0;
  color: var(--ps-text);
  font-size: 14px;
  line-height: 1.65;
}

.ig-about-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ig-about-card {
  padding: 28px 24px;
  border: 1px solid rgba(36, 58, 133, 0.08);
  border-radius: 24px;
  background: var(--ig-card);
  box-shadow: 0 10px 26px rgba(27, 47, 110, 0.06);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.ig-about-card:hover {
  transform: translateY(-4px);
  border-color: var(--ig-accent);
  box-shadow: 0 16px 34px rgba(36, 58, 133, 0.16);
}

.ig-about-card:hover .ig-catloop__icon {
  background: linear-gradient(135deg, #243a85, #2f98d5);
  color: #fff;
}

.ig-about-card h3 {
  margin: 14px 0 8px;
  color: var(--ps-heading);
  font-size: 20px;
}

.ig-about-card p {
  margin: 0;
  color: var(--ps-text);
  font-size: 15px;
  line-height: 1.65;
}

.ig-about-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 44px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.18), transparent 35%),
    linear-gradient(115deg, #1b2f6e 0%, #243a85 55%, #2f98d5 100%);
  color: #fff;
}

.ig-about-cta h2 {
  margin-bottom: 8px;
  color: #fff;
  font-size: clamp(24px, 2.6vw, 34px);
}

.ig-about-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.ig-about-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body.ig-store a.ig-about-cta__btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: #243a85;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

body.ig-store a.ig-about-cta__btn--ghost {
  background: transparent;
  color: #fff;
}

body.ig-store a.ig-about-cta__btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

body.ig-store a.ig-about-cta__btn--ghost:hover {
  background: #fff;
  color: #243a85;
}

html[data-ps-scheme="dark"] .ig-about-stat,
html[data-ps-scheme="dark"] .ig-about-card {
  border-color: rgba(126, 200, 239, 0.12);
  box-shadow: none;
}

@media (max-width: 1000px) {
  .ig-about-intro__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ig-about-intro__media {
    max-width: 460px;
  }

  .ig-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 22px;
  }

  .ig-timeline::before {
    display: none;
  }

  .ig-about-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .ig-about-perks,
  .ig-timeline {
    grid-template-columns: 1fr;
  }

  .ig-about-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .ig-about-stat {
    padding: 14px 10px;
  }

  .ig-about-cta {
    padding: 30px 24px;
  }
}

/* Footer */
body.ig-store .ps-site-footer {
  position: relative;
  margin-top: 40px;
  border-top: 0;
  background:
    radial-gradient(circle at 92% 0%, rgba(47, 152, 213, 0.28), transparent 38%),
    linear-gradient(160deg, #15255c 0%, #1b2f6e 45%, #243a85 100%);
  color: rgba(255, 255, 255, 0.78);
}

body.ig-store .ps-site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #243a85, #2f98d5, #7ec8ef);
}

body.ig-store .ps-site-footer__grid--5 {
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
}

html body.ig-store .ps-site-footer .ps-site-footer__logo:has(.ps-logo-dark) .ps-logo-light {
  display: none;
}

html body.ig-store .ps-site-footer .ps-site-footer__logo .ps-logo-dark {
  display: block;
}

body.ig-store .ps-site-footer {
  --ps-muted: rgba(255, 255, 255, 0.78);
  --ps-primary: #fff;
  --ps-heading: #7ec8ef;
}

body.ig-store .ps-site-footer__title {
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.02em;
}

body.ig-store .ps-site-footer__text {
  color: rgba(255, 255, 255, 0.72);
}

body.ig-store .ps-site-footer__list a,
body.ig-store .ps-site-footer__contact-item {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.2s ease, padding 0.2s ease;
}

body.ig-store .ps-site-footer__list a:hover,
body.ig-store a.ps-site-footer__contact-item:hover {
  color: #fff;
  text-decoration: none;
}

body.ig-store .ps-site-footer__list a:hover {
  padding-left: 4px;
}

body.ig-store .ps-site-footer__more {
  color: #7ec8ef !important;
  font-weight: 600;
}

body.ig-store .ps-site-footer__contact-item svg {
  flex: 0 0 auto;
  color: #7ec8ef;
}

body.ig-store .ps-site-footer__social a {
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

body.ig-store .ps-site-footer__social a:hover {
  background: #fff;
  color: #243a85;
  transform: translateY(-2px);
}

body.ig-store .ps-site-footer__bottom {
  border-top-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
}

body.ig-store .ps-site-footer__copy,
body.ig-store .ps-site-footer__visits {
  color: rgba(255, 255, 255, 0.6);
}

body.ig-store .ps-site-footer__copy a {
  color: #fff;
}

html[data-ps-scheme="dark"] body.ig-store .ps-site-footer {
  background:
    radial-gradient(circle at 92% 0%, rgba(47, 152, 213, 0.18), transparent 38%),
    linear-gradient(160deg, #0a1020 0%, #0f1a33 100%);
}

@media (max-width: 1100px) {
  body.ig-store .ps-site-footer__grid--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body.ig-store .ps-site-footer__grid--5 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Contacto */
.ig-contact-hero,
.ig-contact-hero.ig-banner--photo {
  height: auto;
  min-height: clamp(360px, 28vw, 520px);
}

.ig-contact-hero .ig-banner__copy {
  padding-top: 40px;
  padding-bottom: 112px;
}

.ig-contact-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.ig-contact-hero__badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: ig-pulse 2s ease-out infinite;
}

@keyframes ig-pulse {
  70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

body.ig-store .ig-contact {
  padding-top: 0;
  background: transparent;
}

body.ig-store .ig-contact .psc-contact__grid {
  position: relative;
  z-index: 2;
  margin-top: -72px;
  gap: 22px;
}

body.ig-store .ig-contact .psc-contact__info-card {
  height: 100%;
  padding: 30px 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.16), transparent 40%),
    linear-gradient(160deg, #1b2f6e 0%, #243a85 55%, #2f98d5 130%);
  color: #fff;
  box-shadow: 0 24px 50px rgba(27, 47, 110, 0.25);
  backdrop-filter: none;
}

body.ig-store .ig-contact .psc-contact__info-title {
  margin-bottom: 18px;
  color: #fff;
  font-size: 22px;
  letter-spacing: -0.02em;
}

body.ig-store .ig-contact .psc-contact__item {
  gap: 14px;
  padding: 14px 0;
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
}

body.ig-store .ig-contact a.psc-contact__item:hover .psc-contact__item-icon {
  background: #fff;
  color: #243a85;
}

body.ig-store .ig-contact .psc-contact__item-icon {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease;
}

body.ig-store .ig-contact .psc-contact__item-label {
  color: #9fd4f3;
}

body.ig-store .ig-contact .psc-contact__item-value {
  color: #fff;
  font-weight: 600;
}

body.ig-store .ig-contact .psc-contact__social {
  border-color: rgba(255, 255, 255, 0.12);
}

body.ig-store .ig-contact .psc-contact__social-link {
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

body.ig-store .ig-contact .psc-contact__social-link:hover {
  background: #fff;
  color: #243a85;
  transform: translateY(-2px);
}

body.ig-store .ig-contact .psc-contact__form-wrap {
  padding: 30px 30px 28px;
  border: 1px solid rgba(36, 58, 133, 0.08);
  border-radius: 26px;
  background: var(--ig-card);
  box-shadow: 0 24px 50px rgba(27, 47, 110, 0.1);
}

body.ig-store .ig-contact .psc-contact__field label {
  color: var(--ps-heading);
  font-weight: 600;
}

body.ig-store .ig-contact .psc-contact__field input,
body.ig-store .ig-contact .psc-contact__field select,
body.ig-store .ig-contact .psc-contact__field textarea {
  border: 1px solid rgba(36, 58, 133, 0.14);
  border-radius: 14px;
  background: var(--ps-bg, #f4f7fb);
  color: var(--ps-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.ig-store .ig-contact .psc-contact__field input:focus,
body.ig-store .ig-contact .psc-contact__field select:focus,
body.ig-store .ig-contact .psc-contact__field textarea:focus {
  border-color: #2f98d5;
  background: var(--ig-card);
  box-shadow: 0 0 0 4px rgba(47, 152, 213, 0.18);
  outline: none;
}

body.ig-store .ig-contact .psc-contact__captcha altcha-widget {
  --altcha-border-radius: 14px;
  --altcha-color-border: rgba(36, 58, 133, 0.14);
}

body.ig-store .ig-contact .psc-contact__submit {
  min-height: 50px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #243a85, #2f98d5);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(36, 58, 133, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.ig-store .ig-contact .psc-contact__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(36, 58, 133, 0.32);
}

body.ig-store .ig-contact .psc-contact__map {
  margin-top: 28px;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 18px 40px rgba(27, 47, 110, 0.12);
}

body.ig-store .ig-contact .psc-contact__map iframe {
  display: block;
  width: 100%;
  min-height: 380px;
  border: 0;
}

html[data-ps-scheme="dark"] body.ig-store .ig-contact .psc-contact__form-wrap {
  border-color: rgba(126, 200, 239, 0.12);
  box-shadow: none;
}

html[data-ps-scheme="dark"] body.ig-store .ig-contact .psc-contact__field input,
html[data-ps-scheme="dark"] body.ig-store .ig-contact .psc-contact__field select,
html[data-ps-scheme="dark"] body.ig-store .ig-contact .psc-contact__field textarea {
  border-color: rgba(126, 200, 239, 0.18);
  background: #0e1422;
}

@media (max-width: 860px) {
  .ig-contact-hero .ig-banner__copy {
    padding-bottom: 84px;
  }

  body.ig-store .ig-contact .psc-contact__grid {
    margin-top: -56px;
  }

  body.ig-store .ig-contact .psc-contact__form-wrap,
  body.ig-store .ig-contact .psc-contact__info-card {
    padding: 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ig-contact-hero__badge span {
    animation: none;
  }
}

@keyframes ig-catloop {
  to { transform: translateX(-50%); }
}

/* Productos */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ig-grid--home {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ig-grid.is-loading {
  opacity: 0.45;
  pointer-events: none;
}

.ig-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 22px;
  background: var(--ig-card);
  border: 1px solid var(--ps-border);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(3, 29, 66, 0.05);
  animation: ig-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ig-card:nth-child(2) { animation-delay: 0.04s; }
.ig-card:nth-child(3) { animation-delay: 0.08s; }
.ig-card:nth-child(4) { animation-delay: 0.12s; }
.ig-card:nth-child(5) { animation-delay: 0.16s; }
.ig-card:nth-child(6) { animation-delay: 0.2s; }
.ig-card:nth-child(7) { animation-delay: 0.24s; }
.ig-card:nth-child(8) { animation-delay: 0.28s; }

.ig-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(3, 29, 66, 0.12);
}

@keyframes ig-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.ig-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1;
  background: #fff;
  overflow: hidden;
}

.ig-card__img,
.ig-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: transform 0.45s ease;
}

.ig-card:hover .ig-card__img,
.ig-card:hover .ig-card__media img {
  transform: scale(1.05);
}

.ig-card__media .ig-card__img--alt {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.45s ease;
}

.ig-card__media .ig-card__img:not(.ig-card__img--alt) {
  transition: opacity 0.35s ease, transform 0.45s ease;
}

@media (hover: hover) {
  .ig-card--swap:hover .ig-card__media .ig-card__img--alt {
    opacity: 1;
  }

  .ig-card--swap:hover .ig-card__media .ig-card__img:not(.ig-card__img--alt) {
    opacity: 0;
  }
}

.ig-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--ig-brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.ig-card__badge--muted {
  background: #24344d;
}

.ig-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 14px 16px;
  flex: 1;
}

.ig-card__chip {
  margin: 0;
  color: var(--ps-muted);
  font-size: 12px;
  font-weight: 600;
}

.ig-section .ig-card__title,
.ig-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
  text-transform: none;
  min-height: 2.7em;
}

.ig-card__title a {
  color: var(--ps-heading);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
}

.ig-card__title a:hover {
  color: var(--ig-brand);
}

html[data-ps-scheme="dark"] .ig-card__title a:hover {
  color: #fff;
}

.ig-card__price {
  margin-top: auto;
  color: var(--ig-brand);
  font-family: var(--ps-heading-font, var(--ps-font));
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

html[data-ps-scheme="dark"] .ig-card__price {
  color: #2f98d5;
}

.ig-card__price del {
  color: var(--ps-muted);
  font-size: 13px;
  font-weight: 500;
  margin-right: 6px;
}

body.ig-store .ig-card a.button,
body.ig-store .ig-card button.button,
body.ig-store .ig-card .add_to_cart_button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin: 4px 0 0 !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--ig-brand) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-align: center;
  text-decoration: none !important;
  transition: transform 0.2s ease, background 0.2s ease;
}

html[data-ps-scheme="dark"] body.ig-store .ig-card a.button,
html[data-ps-scheme="dark"] body.ig-store .ig-card button.button,
html[data-ps-scheme="dark"] body.ig-store .ig-card .add_to_cart_button {
  background: #2f98d5 !important;
  color: #fff !important;
}

html[data-ps-scheme="dark"] body.ig-store .ig-card a.button:hover,
html[data-ps-scheme="dark"] body.ig-store .ig-card button.button:hover,
html[data-ps-scheme="dark"] body.ig-store .ig-card .add_to_cart_button:hover {
  background: #54b0e2 !important;
  color: #fff !important;
}

body.ig-store .ig-card a.button:hover,
body.ig-store .ig-card button.button:hover,
body.ig-store .ig-card .add_to_cart_button:hover {
  background: #1b2f6e !important;
  color: #fff !important;
  transform: translateY(-1px);
}

body.ig-store .ig-card .added_to_cart {
  display: none !important;
}

body.ig-store .ig-card a.button.added::after,
body.ig-store .ig-card a.added::after {
  content: none !important;
  display: none !important;
  margin: 0 !important;
}

.ig-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.ig-pager[hidden] {
  display: none;
}

.ig-pager button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--ig-brand);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.ig-pager button:disabled {
  opacity: 0.35;
  cursor: default;
}

.ig-pager__status {
  min-width: 4.5rem;
  text-align: center;
  color: var(--ps-muted);
  font-size: 13px;
  font-weight: 600;
}

html[data-ps-scheme="dark"] .ig-pager button {
  background: #2f98d5;
  color: #fff;
}

html[data-ps-scheme="dark"] .ig-subcats__link:hover,
html[data-ps-scheme="dark"] .ig-subcats__link.is-current {
  background: #2a2a2a;
  color: #fff;
}

html[data-ps-scheme="dark"] .ig-empty,
.ig-feed-empty {
  margin: 0;
  color: var(--ps-muted);
}

/* Categoría */
.ig-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 280px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 40%, rgba(255, 255, 255, 0.16), transparent 26%),
    linear-gradient(100deg, #1b2f6e 0%, #243a85 55%, #2f98d5 100%);
  color: #fff;
}

.ig-banner--photo {
  min-height: 0;
  height: clamp(220px, 20vw, 380px);
  background: #1b3a9c;
}

.ig-hero--photo {
  height: clamp(320px, 31.5vw, 600px);
  background: #1b3a9c;
}

.ig-hero--photo .ig-hero__grid {
  z-index: 2;
  grid-template-columns: minmax(0, 1fr);
  height: 100%;
  min-height: 0;
  padding: 28px 0;
}

.ig-hero--photo .ig-hero__copy {
  max-width: 620px;
}

.ig-hero--photo h1 {
  font-size: clamp(32px, 4.2vw, 62px);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.ig-banner--photo .ig-banner__fill,
.ig-hero--photo .ig-banner__fill {
  position: absolute;
  inset: -40px;
  width: calc(100% + 80px);
  height: calc(100% + 80px);
  object-fit: cover;
  object-position: center;
  filter: blur(36px) saturate(1.1);
  pointer-events: none;
}

.ig-banner--photo .ig-banner__photo,
.ig-hero--photo .ig-banner__photo {
  position: absolute;
  top: 0;
  right: max(0px, calc((100% - var(--ps-container)) / 2 - 90px));
  width: auto;
  max-width: none;
  height: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 92%, transparent 100%);
}

.ig-banner--photo::before,
.ig-hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(20, 34, 84, 0.78) 0%, rgba(20, 34, 84, 0.45) 38%, rgba(20, 34, 84, 0) 62%);
  pointer-events: none;
}

.ig-banner--photo .ig-banner__copy {
  z-index: 2;
  padding: 28px 0;
}

.ig-banner--photo h1 {
  font-size: clamp(30px, 4vw, 52px);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

@media (max-width: 860px) {
  .ig-banner--photo::before,
  .ig-hero--photo::before {
    background: linear-gradient(90deg, rgba(20, 34, 84, 0.82) 0%, rgba(20, 34, 84, 0.55) 60%, rgba(20, 34, 84, 0.25) 100%);
  }
}

.ig-banner__glow {
  position: absolute;
  width: 380px;
  height: 380px;
  right: 8%;
  top: -80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.ig-banner__copy {
  position: relative;
  z-index: 1;
  width: min(var(--ps-container), calc(100% - 40px));
  margin-inline: auto;
  padding: 48px 0;
}

.ig-banner h1 {
  color: #fff;
  font-size: clamp(36px, 5vw, 64px);
  max-width: 16ch;
}

.ig-banner__kicker {
  color: rgba(255, 255, 255, 0.72);
}

.ig-banner__text {
  max-width: 42ch;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.8);
}

.ig-banner__product {
  position: absolute;
  right: max(24px, calc((100% - var(--ps-container)) / 2));
  bottom: 24px;
  width: min(280px, 30vw);
  height: min(220px, 24vw);
  padding: 12px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.ig-banner__product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ig-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 0 8px;
}

.ig-toolbar .woocommerce-breadcrumb {
  margin: 0;
  color: var(--ps-muted);
  font-size: 13px;
}

.ig-toolbar .woocommerce-breadcrumb a {
  color: var(--ps-heading);
  text-decoration: none;
}

.woocommerce-result-count {
  margin: 0;
  color: var(--ps-muted);
  font-size: 13px;
}

.woocommerce-ordering {
  margin: 0;
}

.woocommerce-ordering select {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--ps-border);
  background: var(--ig-card);
  color: var(--ps-heading);
}

.ig-catalog {
  padding-bottom: 64px;
}

.ig-catalog.has-panel {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-top: 18px;
}

.ig-subcats {
  position: sticky;
  top: var(--ig-header-offset, 140px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border-radius: 22px;
  background: var(--ig-card);
  border: 1px solid var(--ps-border);
  box-shadow: 0 12px 30px rgba(3, 29, 66, 0.05);
}

.ig-subcats__label {
  margin: 4px 8px 8px;
  color: var(--ps-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ig-subcats__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--ps-heading);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.ig-subcats__link em {
  font-style: normal;
  color: var(--ps-muted);
  font-size: 12px;
  font-weight: 600;
}

.ig-subcats__link:hover,
.ig-subcats__link.is-current {
  background: var(--ig-brand);
  color: #fff;
  text-decoration: none;
}

.ig-subcats__link:hover em,
.ig-subcats__link.is-current em {
  color: rgba(255, 255, 255, 0.75);
}

.ig-shopcats {
  position: sticky;
  top: var(--ig-header-offset, 140px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: calc(100vh - var(--ig-header-offset, 140px) - 24px);
  overflow: auto;
  padding: 14px;
  border-radius: 22px;
  background: var(--ig-card);
  border: 1px solid var(--ps-border);
}

.ig-shopcats__label {
  margin: 4px 8px 10px;
  color: var(--ps-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ig-shopcats__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ig-shopcats__toggle {
  display: none;
}

.ig-shopcats__row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ig-shopcats__row a {
  flex: 1;
  min-width: 0;
  padding: 9px 10px;
  border-radius: 12px;
  color: var(--ps-heading);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  text-decoration: none;
}

.ig-shopcats__row a.is-current,
.ig-shopcats__row a:hover {
  background: var(--ig-brand);
  color: #fff;
}

.ig-shopcats__row button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ps-muted);
  cursor: pointer;
}

.ig-shopcats__item.is-open .ig-shopcats__row button svg {
  transform: rotate(180deg);
}

.ig-shopcats__sub {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 6px 12px;
  padding-left: 10px;
  border-left: 1px solid var(--ps-border);
}

.ig-shopcats__sub[hidden] {
  display: none;
}

.ig-shopcats__sub a {
  padding: 7px 10px;
  border-radius: 10px;
  color: var(--ps-text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.ig-shopcats__sub a:hover {
  background: var(--ig-soft);
  color: var(--ps-heading);
}

html[data-ps-scheme="dark"] .ig-shopcats__row a.is-current,
html[data-ps-scheme="dark"] .ig-shopcats__row a:hover {
  background: #243a85;
  color: #fff;
}

.ig-catalog__main .woocommerce-pagination,
.ig-catalog-page .woocommerce-pagination {
  margin-top: 32px;
}

.ig-catalog__main.is-loading .ig-grid {
  opacity: 0.4;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

body.ig-store .woocommerce-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 0;
}

body.ig-store .woocommerce-pagination ul.page-numbers li {
  margin: 0;
  border: 0;
}

body.ig-store .woocommerce-pagination a.page-numbers,
body.ig-store .woocommerce-pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(36, 58, 133, 0.14);
  background: #fff;
  color: #243a85;
  box-shadow: 0 1px 0 rgba(36, 58, 133, 0.04);
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body.ig-store .woocommerce-pagination a.page-numbers:hover {
  border-color: #2f98d5;
  color: #2f98d5;
  transform: translateY(-1px);
}

body.ig-store .woocommerce-pagination span.page-numbers.current {
  background: #243a85;
  border-color: #243a85;
  color: #fff;
  box-shadow: 0 8px 18px rgba(36, 58, 133, 0.22);
}

body.ig-store .woocommerce-pagination span.page-numbers.dots {
  min-width: 28px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: var(--ps-muted);
}

html[data-ps-scheme="dark"] body.ig-store .woocommerce-pagination a.page-numbers,
html[data-ps-scheme="dark"] body.ig-store .woocommerce-pagination span.page-numbers {
  background: #152238;
  border-color: rgba(47, 152, 213, 0.28);
  color: #d5e4f2;
}

html[data-ps-scheme="dark"] body.ig-store .woocommerce-pagination a.page-numbers:hover {
  border-color: #2f98d5;
  color: #7ec8ef;
}

html[data-ps-scheme="dark"] body.ig-store .woocommerce-pagination span.page-numbers.current {
  background: #2f98d5;
  border-color: #2f98d5;
  color: #fff;
  box-shadow: 0 8px 18px rgba(47, 152, 213, 0.28);
}

.ig-empty {
  padding: 48px 0 72px;
}

/* Ficha de producto */
body.ig-store.single-product .site-main {
  padding-bottom: 72px;
}

body.ig-store.single-product .woocommerce-breadcrumb,
body.ig-store.single-product .site-main > .woocommerce-notices-wrapper {
  width: min(var(--ps-container), calc(100% - 40px));
  margin: 22px auto 0;
}

body.ig-store.single-product .woocommerce-breadcrumb {
  color: var(--ps-muted);
  font-size: 13px;
  line-height: 1.5;
}

body.ig-store.single-product .woocommerce-breadcrumb a {
  color: var(--ps-text);
  font-weight: 600;
  text-decoration: none;
}

body.ig-store.single-product .woocommerce-breadcrumb a:hover {
  color: #2f98d5;
}

body.ig-store.single-product div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 48px;
  align-items: start;
  width: min(var(--ps-container), calc(100% - 40px));
  margin: 22px auto 0;
}

body.ig-store.single-product div.product .woocommerce-product-gallery,
body.ig-store.single-product div.product .summary {
  float: none;
  width: auto;
  margin: 0;
}

body.ig-store.single-product div.product .woocommerce-product-gallery {
  position: sticky;
  top: calc(var(--ig-header-offset, 140px) + 16px);
  padding: 24px;
  border: 1px solid var(--ps-border);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(3, 29, 66, 0.08);
}

body.ig-store.single-product .woocommerce-product-gallery__image img {
  border-radius: 18px;
}

body.ig-store.single-product .woocommerce-product-gallery__trigger {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23243a85' d='M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zM10 7H9v2H7v1h2v2h1v-2h2V9h-2V7z'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: 0 8px 20px rgba(3, 29, 66, 0.14);
  font-size: 0;
  transition: transform 0.2s ease;
}

body.ig-store.single-product .woocommerce-product-gallery__trigger:hover {
  transform: scale(1.08);
}

body.ig-store.single-product .woocommerce-product-gallery__trigger > * {
  display: none;
}

body.ig-store.single-product .woocommerce-product-gallery .flex-control-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
}

body.ig-store.single-product .woocommerce-product-gallery .flex-control-thumbs li {
  float: none;
  width: 78px !important;
  margin: 0 !important;
}

body.ig-store.single-product .woocommerce-product-gallery .flex-control-thumbs img {
  padding: 4px;
  border: 2px solid var(--ps-border);
  border-radius: 14px;
  background: #fff;
  opacity: 0.6;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

body.ig-store.single-product .woocommerce-product-gallery .flex-control-thumbs img:hover,
body.ig-store.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active {
  border-color: #2f98d5;
  opacity: 1;
}

body.ig-store.single-product div.product .summary {
  padding-top: 6px;
}

.ig-pdp-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.ig-pdp-kicker__cat {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--ig-soft);
  color: var(--ig-brand);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.ig-pdp-kicker__cat:hover {
  background: var(--ig-brand);
  color: #fff;
  text-decoration: none;
}

.ig-pdp-kicker__sku {
  color: var(--ps-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

body.ig-store.single-product .product_title {
  margin: 12px 0 12px;
  color: var(--ps-heading);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

body.ig-store.single-product div.product .summary .price {
  margin: 0;
  color: var(--ig-brand);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

  body.ig-store.single-product div.product .summary .price del {
  margin-right: 8px;
  color: var(--ps-muted);
  font-size: 17px;
  font-weight: 600;
}

body.ig-store.single-product div.product .summary .price ins {
  text-decoration: none;
}

html[data-ps-scheme="dark"] body.ig-store.single-product div.product .summary .price {
  color: #2f98d5;
}

.ig-pdp-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 22px;
}

.ig-pdp-stock,
.ig-pdp-saving {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.ig-pdp-stock {
  background: rgba(34, 160, 107, 0.12);
  color: #16855a;
}

.ig-pdp-stock > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(34, 160, 107, 0.2);
}

.ig-pdp-stock--outofstock {
  background: rgba(229, 72, 77, 0.12);
  color: #c4383d;
}

.ig-pdp-stock--onbackorder {
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
}

.ig-pdp-stock--outofstock > span,
.ig-pdp-stock--onbackorder > span {
  box-shadow: none;
}

.ig-pdp-saving {
  background: #fff1e6;
  color: #c2410c;
}

html[data-ps-scheme="dark"] .ig-pdp-stock {
  color: #4ade80;
}

html[data-ps-scheme="dark"] .ig-pdp-saving {
  background: rgba(249, 115, 22, 0.16);
  color: #fdba74;
}

body.ig-store.single-product .woocommerce-product-details__short-description {
  margin: 0 0 24px;
  padding: 20px 22px;
  border: 1px solid rgba(47, 152, 213, 0.2);
  border-radius: 20px;
  background: var(--ig-soft);
  color: var(--ps-text);
  font-size: 14px;
  line-height: 1.5;
}

body.ig-store.single-product .woocommerce-product-details__short-description p,
body.ig-store.single-product .woocommerce-product-details__short-description li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 26px;
  list-style: none;
}

body.ig-store.single-product .woocommerce-product-details__short-description ul {
  margin: 0;
  padding: 0;
}

body.ig-store.single-product .woocommerce-product-details__short-description p::before,
body.ig-store.single-product .woocommerce-product-details__short-description li::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #2f98d5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / 11px no-repeat;
}

body.ig-store.single-product .woocommerce-product-details__short-description p:has(> strong:only-child) {
  margin-bottom: 12px;
  padding-left: 0;
  color: var(--ps-heading);
  font-size: 15px;
}

body.ig-store.single-product .woocommerce-product-details__short-description p:has(> strong:only-child)::before {
  display: none;
}

body.ig-store.single-product .woocommerce-product-details__short-description p:empty {
  display: none;
}

body.ig-store.single-product .woocommerce-product-details__short-description > :last-child {
  margin-bottom: 0;
}

body.ig-store.single-product div.product form.cart {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin: 0 0 12px;
}

body.ig-store.single-product div.product form.cart::before,
body.ig-store.single-product div.product form.cart::after {
  display: none;
}

body.ig-store.single-product div.product form.cart .quantity {
  float: none;
  margin: 0;
}

body.ig-store.single-product .quantity.ig-qty {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 56px;
  padding: 5px;
  border: 1px solid var(--ps-border);
  border-radius: 999px;
  background: var(--ig-card);
}

.ig-qty__btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--ig-soft);
  color: var(--ig-brand);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.ig-qty__btn:hover {
  background: linear-gradient(135deg, #243a85, #2f98d5);
  color: #fff;
}

body.ig-store.single-product .quantity.ig-qty input.qty {
  width: 46px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ps-heading);
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}

body.ig-store.single-product .quantity.ig-qty input.qty::-webkit-outer-spin-button,
body.ig-store.single-product .quantity.ig-qty input.qty::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

html body.ig-store.single-product div.product form.cart .single_add_to_cart_button {
  flex: 1;
  min-height: 56px;
  background: linear-gradient(135deg, #243a85 0%, #2f98d5 100%) !important;
  font-size: 16px;
  box-shadow: 0 14px 30px rgba(36, 58, 133, 0.26);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.ig-store.single-product div.product form.cart .single_add_to_cart_button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(36, 58, 133, 0.32);
}

body.ig-store.single-product div.product .ppc-button-wrapper {
  margin: 0 0 12px;
}

.ig-pdp-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  margin: 0 0 22px;
  border: 1.5px solid #25d366;
  border-radius: 999px;
  color: #128c4b;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.ig-pdp-wa:hover {
  background: #25d366;
  color: #fff;
  text-decoration: none;
}

html[data-ps-scheme="dark"] .ig-pdp-wa {
  color: #4ade80;
}

.ig-pdp-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ig-pdp-trust li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--ps-border);
  border-radius: 18px;
  background: var(--ig-card);
}

.ig-pdp-trust__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ig-soft);
  color: var(--ig-brand);
}

html[data-ps-scheme="dark"] .ig-pdp-trust__icon {
  color: #7ec8ef;
}

.ig-pdp-trust__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.3;
}

.ig-pdp-trust__copy strong {
  color: var(--ps-heading);
  font-size: 13px;
}

.ig-pdp-trust__copy small {
  color: var(--ps-muted);
  font-size: 12px;
}

.ig-pdp-below {
  width: min(var(--ps-container), calc(100% - 40px));
  margin: 0 auto;
}

body.ig-store.single-product .woocommerce-tabs {
  margin-top: 56px;
  padding: 8px 32px 32px;
  border: 1px solid var(--ps-border);
  border-radius: 28px;
  background: var(--ig-card);
  box-shadow: 0 20px 44px rgba(3, 29, 66, 0.06);
}

body.ig-store.single-product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 8px !important;
  padding: 18px 0 !important;
  overflow-x: auto;
  border-bottom: 1px solid var(--ps-border);
}

body.ig-store.single-product .woocommerce-tabs ul.tabs::before,
body.ig-store.single-product .woocommerce-tabs ul.tabs li::before,
body.ig-store.single-product .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}

body.ig-store.single-product .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
}

body.ig-store.single-product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 10px 20px !important;
  border-radius: 999px;
  color: var(--ps-muted) !important;
  font-size: 15px;
  font-weight: 700 !important;
  white-space: nowrap;
  text-decoration: none;
}

body.ig-store.single-product .woocommerce-tabs ul.tabs li:not(.active) a:hover {
  background: var(--ig-soft);
  color: var(--ig-brand) !important;
}

body.ig-store.single-product .woocommerce-tabs ul.tabs li.active a {
  background: var(--ig-brand);
  color: #fff !important;
}

body.ig-store.single-product .woocommerce-tabs .panel {
  max-width: 860px;
  margin: 0 !important;
  padding: 22px 0 0;
  color: var(--ps-text);
  font-size: 15px;
  line-height: 1.7;
}

body.ig-store.single-product .woocommerce-tabs .panel p {
  margin: 0 0 10px;
}

@media (min-width: 901px) {
  body.ig-store.single-product .woocommerce-Tabs-panel--description {
    max-width: none;
    column-count: 2;
    column-gap: 56px;
  }

  body.ig-store.single-product .woocommerce-Tabs-panel--description > * {
    break-inside: avoid;
  }
}

body.ig-store.single-product .woocommerce-tabs .panel strong {
  color: var(--ps-heading);
}

body.ig-store.single-product #reviews .woocommerce-Reviews-title,
body.ig-store.single-product #reply-title {
  color: var(--ps-heading);
  font-size: 18px;
}

body.ig-store.single-product #review_form input[type="text"],
body.ig-store.single-product #review_form input[type="email"],
body.ig-store.single-product #review_form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--ps-border);
  border-radius: 14px;
  background: var(--ps-bg);
  color: var(--ps-heading);
  font: inherit;
}

body.ig-store.single-product #review_form .stars a {
  color: #f5a524;
}

body.ig-store.single-product .related.products,
body.ig-store.single-product .upsells.products {
  margin-top: 64px;
}

body.ig-store.single-product .related.products > h2,
body.ig-store.single-product .upsells.products > h2 {
  margin: 0 0 22px;
  color: var(--ps-heading);
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.03em;
}

.ig-buybar {
  display: none;
}

@media (max-width: 900px) {
  .ig-buybar {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 10px 10px 12px;
    border: 1px solid var(--ps-border);
    border-radius: 22px;
    background: var(--ig-card);
    box-shadow: 0 18px 44px rgba(3, 29, 66, 0.22);
    transform: translateY(150%);
    transition: transform 0.3s ease;
  }

  .ig-buybar[hidden] {
    display: none;
  }

  .ig-buybar.is-visible {
    transform: translateY(0);
  }
  .ig-buybar__info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }

  .ig-buybar__info > div {
    min-width: 0;
  }

  .ig-buybar__img {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    padding: 3px;
    border: 1px solid var(--ps-border);
    border-radius: 12px;
    background: #fff;
    object-fit: contain;
  }

  .ig-buybar__name {
    overflow: hidden;
    margin: 0;
    color: var(--ps-heading);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .ig-buybar__price {
    margin: 2px 0 0;
    color: var(--ig-brand);
    font-size: 16px;
    font-weight: 800;
  }

  .ig-buybar__price del {
    color: var(--ps-muted);
    font-size: 12px;
  }

  .ig-buybar__btn {
    flex: 0 0 auto;
    min-height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #243a85, #2f98d5);
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
  }

  html[data-ps-scheme="dark"] .ig-buybar__price {
    color: #2f98d5;
  }

  body.ig-store.single-product div.product {
    gap: 24px;
  }

  body.ig-store.single-product div.product .woocommerce-product-gallery {
    position: relative;
    top: auto;
    padding: 14px;
    border-radius: 22px;
  }

  body.ig-store.single-product .woocommerce-product-gallery .flex-control-thumbs li {
    width: 62px !important;
  }

  body.ig-store.single-product .woocommerce-tabs {
    margin-top: 36px;
    padding: 4px 18px 22px;
    border-radius: 22px;
  }
}

@media (max-width: 560px) {
  .ig-pdp-trust {
    grid-template-columns: minmax(0, 1fr);
  }

  .ig-pdp-trust li {
    flex-direction: row;
    align-items: center;
    padding: 12px 14px;
  }

  body.ig-store.single-product div.product .summary .price {
    font-size: 26px;
  }
}

body.ig-store .woocommerce a.button.alt,
body.ig-store .woocommerce button.button.alt,
body.ig-store .woocommerce #respond input#submit.alt {
  background: var(--ig-brand) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 700;
}

html[data-ps-scheme="dark"] body.ig-store .woocommerce a.button.alt,
html[data-ps-scheme="dark"] body.ig-store .woocommerce button.button.alt {
  background: #2f98d5 !important;
  color: #fff !important;
}

body.ig-store.single-product .woocommerce-tabs,
body.ig-store.single-product .related.products,
body.ig-store.single-product .upsells.products {
  grid-column: 1 / -1;
}

body.ig-store.single-product .related.products ul.products,
body.ig-store.single-product .upsells.products ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
}

body.ig-store.single-product ul.products::before,
body.ig-store.single-product ul.products::after {
  display: none !important;
}

body.ig-store.single-product ul.products li.product {
  float: none;
  width: auto;
  margin: 0;
}

body.ig-store .woocommerce-cart .ps-page-hero,
body.ig-store .woocommerce-checkout .ps-page-hero,
body.ig-store .woocommerce-account .ps-page-hero {
  display: none;
}

body.ig-store .ps-page-content {
  color: var(--ps-text);
}

body.ig-store .ps-page-content h1,
body.ig-store .ps-page-content h2,
body.ig-store .ps-page-content h3 {
  color: var(--ps-heading);
}

body.ig-store table.shop_table {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--ps-border);
  background: var(--ig-card);
}

body.ig-store .woocommerce-message,
body.ig-store .woocommerce-info,
body.ig-store .woocommerce-error {
  border-radius: 16px;
  background: var(--ig-card);
  color: var(--ps-text);
}

body.ig-store.search .ps-posts,
body.ig-store.search-results .ig-grid {
  margin-bottom: 48px;
}

.ig-search-page {
  padding: 36px 0 64px;
}

.ig-search-page h1 {
  margin: 0 0 22px;
  color: var(--ps-heading);
  letter-spacing: -0.04em;
  font-size: clamp(32px, 4vw, 48px);
}

@media (max-width: 1100px) {
  .ig-grid,
  body.ig-store.single-product .related.products ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ig-catnav__track {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .ig-catnav__link {
    flex: 0 0 auto;
    max-width: 168px;
  }

  .ig-catnav__panel {
    position: fixed;
    top: var(--ig-header-offset, 120px);
    left: 12px;
    right: 12px;
    min-width: 0;
    max-width: none;
  }
}

.ig-drawer {
  display: none;
}

body.ig-store .ig-drawer__label {
  margin: 22px 0 6px;
  color: var(--ps-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.ig-store .ig-drawer__link {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 8px 2px;
  border-bottom: 1px solid var(--ps-border);
  color: var(--ps-heading);
  font-weight: 600;
  text-decoration: none;
}

body.ig-store .ig-drawer__link.is-current {
  color: var(--ig-brand);
  font-weight: 800;
}

html[data-ps-scheme="dark"] body.ig-store .ig-drawer__link.is-current {
  color: #7ec8ef;
}

body.ig-store .ig-drawer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding-bottom: 12px;
}

body.ig-store .ig-drawer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--ig-brand);
  color: #fff;
  text-decoration: none;
}

html[data-ps-scheme="dark"] body.ig-store .ig-drawer__social a {
  background: #1e3478;
  color: #f4f8fc;
}

body.ig-store .ig-drawer__social svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 900px) {
  body.ig-store .ps-site-header,
  body.ig-store .ps-site-header.is-open {
    height: auto;
    max-height: none;
  }

  body.ig-store .ps-site-header__inner {
    height: auto;
    min-height: 64px;
    max-height: none;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 8px;
    padding-top: 8px;
    padding-bottom: 10px;
  }

  body.ig-store .ps-site-header__logo {
    order: 1;
  }

  body.ig-store .ps-site-header__tools {
    order: 2;
    margin-left: auto;
  }

  body.ig-store .ps-site-header__toggle {
    display: inline-flex;
    order: 3;
    margin-left: 2px;
  }

  body.ig-store .ig-search {
    display: flex;
    position: static;
    order: 4;
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
    margin: 0;
    left: auto;
    right: auto;
    top: auto;
    z-index: auto;
  }

  body.ig-store .ig-catnav {
    display: none;
  }

  body.ig-store .ig-drawer.is-open {
    display: block;
    position: fixed;
    top: var(--ig-header-offset, 128px);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    overflow: auto;
    padding: 4px 20px 28px;
    background: var(--ps-bg);
  }

  body.ig-store .ig-drawer[hidden] {
    display: none !important;
  }

  body.ig-drawer-open {
    overflow: hidden;
  }
}

@media (max-width: 860px) {

  .ig-hero__grid,
  .ig-catalog.has-panel,
  body.ig-store.single-product div.product {
    grid-template-columns: 1fr;
  }

  .ig-catalog.has-panel {
    gap: 18px;
  }

  .ig-subcats {
    position: static;
  }

  .ig-shopcats {
    position: relative;
    top: auto;
    z-index: 3;
    max-height: none;
    overflow: visible;
    padding: 0;
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(3, 29, 66, 0.06);
  }

  .ig-shopcats__label {
    display: none;
  }

  .ig-shopcats__toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    border: 0;
    border-radius: 18px;
    background: transparent;
    color: var(--ps-heading);
    font: inherit;
    text-align: left;
    cursor: pointer;
  }

  .ig-shopcats__toggle > svg:first-child {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    padding: 9px;
    border-radius: 12px;
    background: var(--ig-soft);
    color: var(--ig-brand);
  }

  .ig-shopcats__toggle-text {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    line-height: 1.25;
  }

  .ig-shopcats__toggle-text small {
    color: var(--ps-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .ig-shopcats__toggle-text strong {
    overflow: hidden;
    font-size: 15px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .ig-shopcats__chev {
    flex: 0 0 auto;
    color: var(--ps-muted);
    transition: transform 0.2s ease;
  }

  .ig-shopcats.is-expanded .ig-shopcats__chev {
    transform: rotate(180deg);
  }

  .ig-shopcats__list {
    display: none;
    max-height: 60vh;
    overflow: auto;
    padding: 4px 10px 12px;
    border-top: 1px solid var(--ps-border);
  }

  .ig-shopcats.is-expanded .ig-shopcats__list {
    display: flex;
  }

  .ig-shopcats__row a {
    padding: 11px 10px;
  }

  .ig-shopcats__row button {
    width: 40px;
    height: 40px;
  }

  .ig-hero__grid {
    min-height: 0;
    padding: 36px 0 28px;
  }

  .ig-hero__stage {
    height: 240px;
  }

  .ig-hero--photo {
    height: auto;
    min-height: 300px;
  }

  .ig-hero__shot--2,
  .ig-hero__shot--3 {
    display: none;
  }

  .ig-grid,
  body.ig-store.single-product .related.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ig-catloop__item {
    width: 140px;
    padding: 18px 10px 14px;
  }

  .ig-banner__product {
    display: none;
  }

  .ig-subcats {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .ig-subcats__label {
    display: none;
  }

  .ig-subcats__link {
    flex: 0 0 auto;
  }
}

@media (max-width: 560px) {
  .ig-grid,
  body.ig-store.single-product .related.products ul.products {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .ig-card__title {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ig-card,
  .ig-hero__shot,
  .ig-card__media img {
    animation: none !important;
    transition: none !important;
  }

  .ig-catloop {
    overflow-x: auto;
  }

  .ig-catloop__track {
    animation: none;
  }

  .ig-catloop__list[aria-hidden="true"] {
    display: none;
  }
}

/* ---------- WhatsApp flotante ---------- */

body.ig-store .ps-back-top {
  display: none !important;
}

.ig-wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 880;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #243a85 0%, #2f98d5 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(36, 58, 133, 0.4);
  transition: transform 0.25s ease, bottom 0.3s ease;
  animation: ig-wa-glow 2.4s ease-out infinite;
}

a.ig-wa-float,
.woocommerce a.ig-wa-float {
  color: #fff;
}

.ig-wa-float:hover,
.ig-wa-float:focus-visible {
  color: #fff;
  transform: scale(1.08);
}

.ig-wa-float__tip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  padding: 9px 14px;
  border-radius: 12px;
  background: #1b2f6e;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(3, 29, 66, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translate(6px, -50%);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  pointer-events: none;
}

.ig-wa-float__tip::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  border: 6px solid transparent;
  border-left-color: #1b2f6e;
  transform: translateY(-50%);
}

.ig-wa-float:hover .ig-wa-float__tip,
.ig-wa-float:focus-visible .ig-wa-float__tip {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}

@keyframes ig-wa-glow {
  0% {
    box-shadow: 0 14px 30px rgba(36, 58, 133, 0.4), 0 0 0 0 rgba(47, 152, 213, 0.55);
  }
  70% {
    box-shadow: 0 14px 30px rgba(36, 58, 133, 0.4), 0 0 0 18px rgba(47, 152, 213, 0);
  }
  100% {
    box-shadow: 0 14px 30px rgba(36, 58, 133, 0.4), 0 0 0 0 rgba(47, 152, 213, 0);
  }
}

body.ps-nav-open .ig-wa-float,
body.ig-drawer-open .ig-wa-float,
body.ig-popup-open .ig-wa-float {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 767px) {
  .ig-wa-float {
    right: 16px;
    bottom: 18px;
    width: 54px;
    height: 54px;
  }

  .ig-wa-float svg {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 900px) {
  body:has(.ig-buybar.is-visible) .ig-wa-float {
    bottom: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ig-wa-float {
    animation: none;
  }
}

/* ---------- Popup de anuncio ---------- */

.ig-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ig-popup[hidden] {
  display: none;
}

.ig-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 40, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.ig-popup__box {
  position: relative;
  width: min(480px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 28px;
  background: var(--ig-card);
  box-shadow: 0 30px 80px rgba(3, 29, 66, 0.35);
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.ig-popup.is-open .ig-popup__backdrop {
  opacity: 1;
}

.ig-popup.is-open .ig-popup__box {
  opacity: 1;
  transform: none;
}

.ig-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #1b2f6e;
  box-shadow: 0 6px 16px rgba(3, 29, 66, 0.18);
  cursor: pointer;
}

.ig-popup__close:hover {
  background: #fff;
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.ig-popup__img {
  display: block;
  width: 100%;
  height: auto;
}

.ig-popup__body {
  padding: 30px 30px 28px;
  text-align: center;
}

.ig-popup__body:first-child {
  padding-top: 40px;
  border-top: 6px solid transparent;
  border-image: linear-gradient(90deg, #243a85, #2f98d5) 1;
}

.ig-popup__title {
  margin: 0 0 12px;
  color: var(--ps-heading);
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ig-popup__text {
  color: var(--ps-text);
  font-size: 15px;
  line-height: 1.6;
}

.ig-popup__text p {
  margin: 0 0 10px;
}

.ig-popup__body--untitled .ig-popup__text p:first-child {
  margin-bottom: 14px;
  color: var(--ps-heading);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}

.ig-popup__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 10px;
  padding: 0 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #243a85, #2f98d5);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(36, 58, 133, 0.28);
}

.ig-popup__btn:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

body.ig-popup-open {
  overflow: hidden;
}

/* ---------- Ficha: estado "Ver carrito" ---------- */

body.ig-store.single-product div.product form.cart:has(.is-view-cart) .quantity {
  display: none;
}

html body.ig-store.single-product div.product form.cart a.single_add_to_cart_button.is-view-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  text-decoration: none;
}

/* ---------- Carrito y finalizar compra ---------- */

.ig-flow-hero {
  min-height: 0;
}

.ig-flow-hero .ig-banner__copy {
  padding: 44px 0 112px;
}

.ig-flow-hero h1 {
  max-width: none;
  font-size: clamp(32px, 4vw, 52px);
}

.ig-flow-hero .ig-banner__kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7ec8ef;
}

.ig-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ig-steps__item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ig-steps__item + .ig-steps__item::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.28);
}

.ig-steps__item.is-done + .ig-steps__item::before,
.ig-steps__item.is-current::before {
  background: #7ec8ef;
}

.ig-steps__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

a.ig-steps__link:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  text-decoration: none;
}

.ig-steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.ig-steps__item.is-done .ig-steps__num {
  background: #7ec8ef;
  color: #1b2f6e;
}

.ig-steps__item.is-current .ig-steps__link {
  background: #fff;
  border-color: #fff;
  color: #1b2f6e;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.ig-steps__item.is-current .ig-steps__num {
  background: linear-gradient(135deg, #243a85, #2f98d5);
  color: #fff;
}

body.ig-store .ps-page-sec.ig-flow {
  padding-top: 0;
  background: transparent;
}

body.ig-store .ig-flow .ps-sec__inner {
  position: relative;
  z-index: 2;
  margin-top: -72px;
}

body.ig-store .ig-flow .woocommerce {
  color: var(--ps-text);
}

body.ig-store .ig-flow .woocommerce-notices-wrapper:empty {
  display: none;
}

body.ig-store .ig-flow .woocommerce-message,
body.ig-store .ig-flow .woocommerce-info,
body.ig-store .ig-flow .woocommerce-error {
  margin: 0 0 18px;
  padding: 16px 20px 16px 52px;
  border: 1px solid var(--ps-border);
  border-top: 0;
  border-radius: 18px;
  background: var(--ig-card);
  box-shadow: 0 12px 30px rgba(3, 29, 66, 0.08);
  font-size: 14px;
}

body.ig-store .ig-flow .woocommerce-message::before,
body.ig-store .ig-flow .woocommerce-info::before {
  top: 16px;
  left: 20px;
  color: #2f98d5;
}

body.ig-store .ig-flow .woocommerce-error::before {
  top: 16px;
  left: 20px;
}

body.ig-store .ig-flow .woocommerce-info a,
body.ig-store .ig-flow .woocommerce-message a:not(.button) {
  color: #2f98d5;
  font-weight: 700;
}

body.ig-store .ig-flow .input-text,
body.ig-store .ig-flow select,
body.ig-store .ig-flow textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid var(--ps-border);
  border-radius: 14px;
  background: var(--ps-bg);
  color: var(--ps-heading);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.ig-store .ig-flow textarea {
  min-height: 110px;
}

body.ig-store .ig-flow .input-text:focus,
body.ig-store .ig-flow select:focus,
body.ig-store .ig-flow textarea:focus {
  outline: 0;
  border-color: #2f98d5;
  background: var(--ig-card);
  box-shadow: 0 0 0 4px rgba(47, 152, 213, 0.16);
}

body.ig-store .ig-flow .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--ps-border);
  border-radius: 999px;
  background: var(--ig-card);
  color: var(--ig-brand);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

body.ig-store .ig-flow .button:hover:not(:disabled) {
  background: var(--ig-soft);
  color: var(--ig-brand);
}

body.ig-store .ig-flow .button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

body.ig-store .ig-flow .woocommerce a.button.alt.checkout-button,
body.ig-store .ig-flow .woocommerce #place_order.button.alt {
  width: 100%;
  min-height: 56px;
  border: 0;
  background: linear-gradient(135deg, #243a85 0%, #2f98d5 100%) !important;
  color: #fff;
  font-size: 16px;
  box-shadow: 0 14px 30px rgba(36, 58, 133, 0.28);
}

body.ig-store .ig-flow .woocommerce a.button.alt.checkout-button:hover,
body.ig-store .ig-flow .woocommerce #place_order.button.alt:hover {
  background: linear-gradient(135deg, #1b2f6e 0%, #243a85 100%) !important;
  color: #fff;
  transform: translateY(-2px);
}

/* Carrito */

body.ig-flow-cart .ig-flow .woocommerce {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}

body.ig-flow-cart .ig-flow .woocommerce > .woocommerce-notices-wrapper {
  grid-column: 1 / -1;
}

body.ig-flow-cart .woocommerce-cart-form,
body.ig-flow-cart .cart_totals {
  padding: 8px 24px;
  border: 1px solid var(--ps-border);
  border-radius: 26px;
  background: var(--ig-card);
  box-shadow: 0 20px 44px rgba(3, 29, 66, 0.08);
}

body.ig-store .ig-flow table.shop_table {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  border-collapse: collapse;
}

body.ig-store .ig-flow table.shop_table th {
  padding: 16px 10px;
  border: 0;
  color: var(--ps-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.ig-store .ig-flow table.shop_table td {
  padding: 18px 10px;
  border: 0;
  border-top: 1px solid var(--ps-border);
  vertical-align: middle;
}

body.ig-flow-cart table.cart td.product-thumbnail {
  width: 92px;
}

body.ig-flow-cart table.cart img {
  width: 76px;
  height: 76px;
  padding: 6px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--ps-border);
  object-fit: contain;
}

body.ig-flow-cart table.cart td.product-name a {
  color: var(--ps-heading);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}

body.ig-flow-cart table.cart td.product-name a:hover {
  color: #2f98d5;
}

body.ig-flow-cart table.cart td.product-price,
body.ig-flow-cart table.cart td.product-subtotal {
  color: var(--ps-heading);
  font-weight: 700;
  white-space: nowrap;
}

body.ig-flow-cart table.cart td.product-subtotal {
  color: var(--ig-brand);
  font-size: 16px;
  font-weight: 800;
}

body.ig-flow-cart table.cart td.product-remove {
  width: 44px;
}

body.ig-flow-cart table.cart a.remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ig-soft);
  color: var(--ps-muted) !important;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

body.ig-flow-cart table.cart a.remove:hover {
  background: #e5484d;
  color: #fff !important;
}

body.ig-flow-cart table.cart .quantity .qty {
  width: 76px;
  min-height: 44px;
  padding: 8px;
  text-align: center;
  font-weight: 700;
}

body.ig-flow-cart table.cart td.actions {
  padding: 18px 0;
}

body.ig-flow-cart table.cart td.actions .coupon {
  display: flex;
  gap: 8px;
  align-items: center;
}

body.ig-flow-cart #content table.cart td.actions .coupon .input-text {
  width: 200px;
  min-height: 46px;
  margin: 0;
}

body.ig-flow-cart #content table.cart td.actions .coupon .button {
  flex: 0 0 auto;
  width: auto;
  white-space: nowrap;
}

body.ig-flow-cart .cart-collaterals {
  width: auto;
}

body.ig-flow-cart .cart-collaterals .cart_totals {
  float: none;
  width: auto;
  padding: 24px;
  position: sticky;
  top: var(--ig-header-offset, 140px);
}

body.ig-flow-cart .cart_totals h2 {
  margin: 0 0 8px;
  color: var(--ps-heading);
  font-size: 20px;
}

body.ig-flow-cart .cart_totals table.shop_table th,
body.ig-flow-cart .cart_totals table.shop_table td {
  padding: 14px 0;
  border-top: 1px solid var(--ps-border);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ps-text);
}

body.ig-flow-cart .cart_totals table.shop_table td {
  text-align: right;
  color: var(--ps-heading);
  font-weight: 700;
}

body.ig-flow-cart .cart_totals table.shop_table .order-total th,
body.ig-flow-cart .cart_totals table.shop_table .order-total td {
  color: var(--ps-heading);
  font-size: 18px;
  font-weight: 800;
}

body.ig-flow-cart .cart_totals table.shop_table .order-total td {
  color: var(--ig-brand);
  font-size: 22px;
}

body.ig-flow-cart .wc-proceed-to-checkout {
  padding: 18px 0 0;
}

body.ig-flow-cart .wc-proceed-to-checkout .checkout-button {
  margin: 0;
}

/* Carrito vacío */

body.ig-flow-empty .ig-flow .woocommerce {
  padding: 40px 24px;
  border: 1px solid var(--ps-border);
  border-radius: 26px;
  background: var(--ig-card);
  box-shadow: 0 20px 44px rgba(3, 29, 66, 0.08);
  text-align: center;
}

body.ig-flow-empty .cart-empty.woocommerce-info {
  display: inline-block;
  padding: 0;
  border: 0;
  box-shadow: none;
  color: var(--ps-heading);
  font-size: 18px;
  font-weight: 700;
}

body.ig-flow-empty .cart-empty.woocommerce-info::before {
  display: none;
}

body.ig-flow-empty .return-to-shop .button {
  margin-top: 8px;
  border: 0;
  background: linear-gradient(135deg, #243a85, #2f98d5);
  color: #fff;
}

/* Finalizar compra */

body.ig-flow-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  grid-template-rows: auto 1fr;
  column-gap: 28px;
  align-items: start;
}

body.ig-flow-checkout form.checkout > .woocommerce-NoticeGroup {
  grid-column: 1 / -1;
}

body.ig-flow-checkout .ig-checkout-main {
  grid-column: 1;
  grid-row: 1 / span 2;
  min-width: 0;
}

body.ig-flow-checkout #customer_details {
  grid-column: 1;
  grid-row: 1 / span 2;
  padding: 32px;
  border: 1px solid var(--ps-border);
  border-radius: 26px;
  background: var(--ig-card);
  box-shadow: 0 20px 44px rgba(3, 29, 66, 0.08);
}

body.ig-flow-checkout #customer_details::before,
body.ig-flow-checkout #customer_details::after {
  display: none;
}

body.ig-flow-checkout #customer_details .col-1,
body.ig-flow-checkout #customer_details .col-2 {
  float: none;
  width: 100%;
  max-width: none;
}

body.ig-flow-checkout #customer_details h3 {
  margin: 0 0 18px;
  color: #2f98d5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.ig-flow-checkout .ig-checkout-title {
  margin: 0 0 18px;
  color: var(--ps-heading);
  font-size: 24px;
  letter-spacing: -0.02em;
}

body.ig-flow-checkout .woocommerce-additional-fields,
body.ig-flow-checkout .woocommerce-shipping-fields:has(h3) {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--ps-border);
}

body.ig-flow-checkout #ship-to-different-address {
  margin: 0 0 16px;
  color: var(--ps-heading);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
}

body.ig-flow-checkout .woocommerce-billing-fields__field-wrapper,
body.ig-flow-checkout .woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

body.ig-flow-checkout #billing_first_name_field,
body.ig-flow-checkout #billing_address_1_field,
body.ig-flow-checkout #billing_email_field,
body.ig-flow-checkout #shipping_first_name_field,
body.ig-flow-checkout #shipping_address_1_field,
body.ig-flow-checkout #shipping_email_field {
  grid-column: 1 / -1;
}

body.ig-flow-checkout .form-row {
  float: none;
  width: auto;
  margin: 0 0 18px;
  padding: 0;
}

body.ig-flow-checkout .form-row label:not(.checkbox):not(.woocommerce-form__label-for-checkbox) {
  display: block;
  margin-bottom: 8px;
  color: var(--ps-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

body.ig-flow-checkout .form-row .required {
  color: #2f98d5;
  text-decoration: none;
}

body.ig-flow-checkout .form-row .optional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

body.ig-flow-checkout .form-row.woocommerce-invalid .input-text {
  border-color: #e5484d;
}

body.ig-flow-checkout .form-row.woocommerce-validated .input-text {
  border-color: rgba(34, 160, 107, 0.6);
}

body.ig-flow-checkout #order_review_heading,
body.ig-flow-checkout #order_review {
  grid-column: 2;
  border: 1px solid var(--ps-border);
  background: var(--ig-card);
}

body.ig-flow-checkout #order_review_heading {
  grid-row: 1;
  margin: 0;
  padding: 24px 24px 6px;
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
  color: var(--ps-heading);
  font-size: 20px;
}

body.ig-flow-checkout #order_review {
  grid-row: 2;
  padding: 0 24px 24px;
  border-top: 0;
  border-radius: 0 0 26px 26px;
  box-shadow: 0 24px 44px rgba(3, 29, 66, 0.08);
}

body.ig-flow-checkout .woocommerce-checkout-review-order-table th,
body.ig-flow-checkout .woocommerce-checkout-review-order-table td {
  padding: 13px 0 !important;
  font-size: 14px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.ig-flow-checkout .woocommerce-checkout-review-order-table thead th {
  color: var(--ps-muted);
  font-size: 11px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

body.ig-flow-checkout .woocommerce-checkout-review-order-table td.product-name {
  padding-right: 12px !important;
  color: var(--ps-heading);
  font-weight: 600;
  line-height: 1.4;
}

body.ig-flow-checkout .woocommerce-checkout-review-order-table .product-quantity {
  color: #2f98d5;
  font-weight: 800;
}

body.ig-flow-checkout .woocommerce-checkout-review-order-table td:last-child,
body.ig-flow-checkout .woocommerce-checkout-review-order-table th:last-child {
  text-align: right;
  white-space: nowrap;
}

body.ig-flow-checkout .woocommerce-checkout-review-order-table tfoot th {
  color: var(--ps-text);
  font-weight: 600;
  text-align: left;
}

body.ig-flow-checkout .woocommerce-checkout-review-order-table tfoot td {
  color: var(--ps-heading);
  font-weight: 700;
}

body.ig-flow-checkout .woocommerce-checkout-review-order-table .order-total th,
body.ig-flow-checkout .woocommerce-checkout-review-order-table .order-total td {
  font-size: 18px !important;
  font-weight: 800;
  color: var(--ps-heading);
}

body.ig-flow-checkout .woocommerce-checkout-review-order-table .order-total td {
  color: var(--ig-brand);
  font-size: 22px !important;
}

body.ig-flow-checkout #payment {
  margin-top: 8px;
  border-radius: 0;
  background: transparent;
}

body.ig-flow-checkout #payment ul.payment_methods {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  list-style: none;
}

body.ig-flow-checkout #payment ul.payment_methods li {
  margin: 0 0 10px;
  padding: 14px 16px;
  border: 1px solid var(--ps-border);
  border-radius: 16px;
  background: var(--ps-bg);
  color: var(--ps-heading);
  font-weight: 700;
  line-height: 1.4;
}

body.ig-flow-checkout #payment ul.payment_methods li:has(input:checked) {
  border-color: #2f98d5;
  background: var(--ig-soft);
}

body.ig-flow-checkout #payment ul.payment_methods li input[type="radio"] {
  margin-right: 8px;
  accent-color: #243a85;
}

body.ig-flow-checkout #payment ul.payment_methods li img {
  max-height: 24px;
  margin-left: 6px;
  vertical-align: middle;
}

body.ig-flow-checkout #payment div.payment_box {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--ig-card);
  color: var(--ps-text);
  font-size: 13px;
  font-weight: 500;
}

body.ig-flow-checkout #payment div.payment_box::before {
  display: none;
}

body.ig-flow-checkout #payment ul.payment_methods li.woocommerce-notice {
  padding: 0;
  border: 0;
  background: transparent;
}

body.ig-flow-checkout #payment ul.payment_methods .woocommerce-info {
  margin: 0;
  border: 1px dashed var(--ps-border);
  background: var(--ps-bg);
  box-shadow: none;
  color: var(--ps-text);
  font-weight: 500;
}

body.ig-flow-checkout #payment div.form-row.place-order {
  margin: 0;
  padding: 0;
}

body.ig-flow-checkout .woocommerce-privacy-policy-text {
  margin-bottom: 16px;
  color: var(--ps-muted);
  font-size: 12px;
  line-height: 1.55;
}

body.ig-flow-checkout .woocommerce-privacy-policy-text a {
  color: #2f98d5;
}

body.ig-flow-checkout .ppc-button-wrapper {
  margin-top: 14px;
}

body.ig-flow-checkout form.checkout_coupon {
  margin: 0 0 18px;
  padding: 18px;
  border: 1px solid var(--ps-border);
  border-radius: 18px;
  background: var(--ig-card);
}

body.ig-flow-checkout form.checkout_coupon .form-row {
  margin: 0;
}

body.ig-flow-checkout form.checkout_coupon .form-row-first {
  float: left;
  width: calc(100% - 170px);
}

body.ig-flow-checkout form.checkout_coupon .form-row-last {
  float: right;
  width: 160px;
}

body.ig-flow-checkout form.checkout_coupon .button {
  width: 100%;
  min-height: 50px;
}

.ig-coupon {
  margin-top: 18px;
  border: 1px solid var(--ps-border);
  border-radius: 22px;
  background: var(--ig-card);
  overflow: hidden;
}

.ig-coupon__toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 22px;
  border: 0;
  background: transparent;
  color: var(--ps-heading);
  text-align: left;
  cursor: pointer;
}

.ig-coupon__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #243a85 0%, #2f98d5 100%);
  color: #fff;
}

.ig-coupon__label {
  display: grid;
  flex: 1 1 auto;
  gap: 2px;
  min-width: 0;
}

.ig-coupon__label strong {
  font-size: 15px;
  font-weight: 800;
}

.ig-coupon__label small {
  color: var(--ps-muted);
  font-size: 13px;
}

.ig-coupon__chev {
  flex: 0 0 auto;
  color: var(--ps-muted);
  transition: transform 0.25s ease;
}

.ig-coupon.is-open .ig-coupon__chev {
  transform: rotate(180deg);
}

.ig-coupon__panel {
  padding: 0 22px 20px;
}

.ig-coupon__row {
  display: flex;
  gap: 10px;
}

body.ig-store .ig-coupon__row .input-text {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--ps-border);
  border-radius: 14px;
  background: var(--ps-bg);
  color: var(--ps-heading);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.ig-store .ig-coupon__row .input-text::placeholder {
  letter-spacing: 0;
  text-transform: none;
}

body.ig-store .ig-coupon__row .input-text:focus {
  border-color: #2f98d5;
  outline: 0;
  box-shadow: 0 0 0 4px rgba(47, 152, 213, 0.15);
}

html body.ig-store .ig-coupon .ig-coupon__apply {
  flex: 0 0 auto;
  min-width: 120px;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #243a85 0%, #2f98d5 100%) !important;
  color: #fff !important;
  font-weight: 800;
}

.ig-coupon.is-loading .ig-coupon__apply {
  opacity: 0.6;
  pointer-events: none;
}

.ig-coupon__msg:empty {
  display: none;
}

.ig-coupon__msg {
  margin-top: 12px;
}

body.ig-store .ig-coupon__msg .woocommerce-error,
body.ig-store .ig-coupon__msg .woocommerce-message,
body.ig-store .ig-coupon__msg .woocommerce-info {
  margin: 0;
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  font-size: 14px;
  list-style: none;
}

body.ig-store .ig-coupon__msg .woocommerce-error::before,
body.ig-store .ig-coupon__msg .woocommerce-message::before,
body.ig-store .ig-coupon__msg .woocommerce-info::before {
  display: none;
}

body.ig-store .ig-coupon__msg .woocommerce-error {
  background: #fdecec;
  color: #a12626;
}

body.ig-store .ig-coupon__msg .woocommerce-message {
  background: #e7f6ec;
  color: #1d6b39;
}

@media (max-width: 560px) {
  .ig-coupon__toggle {
    padding: 16px 18px;
  }

  .ig-coupon__panel {
    padding: 0 18px 18px;
  }

  .ig-coupon__row {
    flex-direction: column;
  }
}

html[data-ps-scheme="dark"] body.ig-flow-cart table.cart img {
  background: #fff;
}

html[data-ps-scheme="dark"] .ig-steps__item.is-current .ig-steps__link {
  background: #e8f3fb;
}

@media (max-width: 1000px) {
  body.ig-flow-cart .ig-flow .woocommerce,
  body.ig-flow-checkout form.checkout {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
  }

  body.ig-flow-cart .cart-collaterals .cart_totals {
    position: static;
  }

  body.ig-flow-checkout .ig-checkout-main,
  body.ig-flow-checkout #customer_details,
  body.ig-flow-checkout #order_review_heading,
  body.ig-flow-checkout #order_review {
    grid-column: 1;
    grid-row: auto;
  }

  body.ig-flow-checkout .ig-checkout-main {
    margin-bottom: 24px;
  }
}

@media (max-width: 768px) {
  .ig-flow-hero .ig-banner__copy {
    padding: 32px 0 96px;
  }

  .ig-steps {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .ig-steps__item:not(.is-current) .ig-steps__label {
    display: none;
  }

  .ig-steps__item:not(.is-current) .ig-steps__link {
    padding-right: 4px;
  }

  body.ig-flow-cart .woocommerce table.cart tr td {
    background: transparent !important;
  }

  .ig-steps__item + .ig-steps__item::before {
    width: 10px;
  }

  .ig-steps__link {
    padding: 4px 12px 4px 4px;
    font-size: 12px;
  }

  .ig-steps__num {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

  body.ig-flow-cart .woocommerce-cart-form {
    padding: 4px 16px;
  }

  body.ig-flow-cart table.cart thead {
    display: none;
  }

  body.ig-flow-cart table.cart tr.cart_item {
    position: relative;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    column-gap: 14px;
    padding: 16px 0;
    border-top: 1px solid var(--ps-border);
  }

  body.ig-flow-cart table.cart tr.cart_item:first-child {
    border-top: 0;
  }

  body.ig-flow-cart table.cart tr.cart_item td {
    display: block;
    padding: 2px 0;
    border: 0;
    text-align: left !important;
  }

  body.ig-flow-cart table.cart tr.cart_item td::before {
    display: none;
  }

  body.ig-flow-cart table.cart td.product-thumbnail {
    display: block !important;
    grid-column: 1;
    grid-row: 1 / span 4;
    width: auto;
  }

  body.ig-flow-cart table.cart td.product-thumbnail img {
    width: 76px;
    height: 76px;
  }

  body.ig-flow-cart table.cart td.product-name {
    grid-column: 2;
    padding-right: 40px !important;
  }

  body.ig-flow-cart table.cart td.product-price {
    grid-column: 2;
    color: var(--ps-muted);
    font-size: 13px;
  }

  body.ig-flow-cart table.cart td.product-quantity,
  body.ig-flow-cart table.cart td.product-subtotal {
    grid-column: 2;
  }

  body.ig-flow-cart table.cart td.product-quantity {
    margin-top: 6px;
  }

  body.ig-flow-cart table.cart td.product-remove {
    position: absolute;
    top: 14px;
    right: 0;
    width: auto;
  }

  body.ig-flow-cart table.cart tr:not(.cart_item) td.actions {
    display: block;
    padding: 16px 0;
    border-top: 1px solid var(--ps-border);
  }

  body.ig-flow-cart table.cart td.actions::before {
    display: none;
  }

  body.ig-flow-cart table.cart td.actions .coupon {
    flex-wrap: nowrap;
    margin-bottom: 10px;
  }

  body.ig-flow-cart #content table.cart td.actions .coupon .input-text {
    flex: 1;
    width: auto;
  }

  body.ig-flow-cart table.cart td.actions > .button {
    width: 100%;
  }

  body.ig-flow-checkout #customer_details {
    padding: 22px 18px;
  }

  body.ig-flow-checkout .woocommerce-billing-fields__field-wrapper,
  body.ig-flow-checkout .woocommerce-shipping-fields__field-wrapper {
    grid-template-columns: minmax(0, 1fr);
  }

  body.ig-flow-checkout #order_review_heading {
    padding: 20px 18px 4px;
  }

  body.ig-flow-checkout #order_review {
    padding: 0 18px 20px;
  }
}

/* Acceso de clientes ---------------------------------------------------- */

.ig-auth {
  padding: clamp(28px, 5vw, 64px) 20px clamp(40px, 6vw, 80px);
  background:
    radial-gradient(circle at 12% 0%, rgba(47, 152, 213, 0.12), transparent 42%),
    radial-gradient(circle at 92% 100%, rgba(36, 58, 133, 0.1), transparent 45%),
    var(--ps-bg);
}

.ig-auth__shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  max-width: 1040px;
  margin: 0 auto;
  border: 1px solid var(--ps-border);
  border-radius: 30px;
  background: var(--ig-card);
  box-shadow: 0 30px 70px -40px rgba(27, 47, 110, 0.45);
  overflow: hidden;
}

.ig-auth__aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 48px;
  background: linear-gradient(150deg, #1b2f6e 0%, #243a85 45%, #2f98d5 100%);
  color: #fff;
  overflow: hidden;
}

.ig-auth__glow {
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 200, 239, 0.45), transparent 70%);
  pointer-events: none;
}

.ig-auth__logo {
  position: relative;
  display: inline-block;
  margin-bottom: 36px;
}

.ig-auth__logo img {
  display: block;
  width: auto;
  max-width: 190px;
  height: auto;
  max-height: 52px;
}

.ig-auth__aside-title {
  position: relative;
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.15;
}

.ig-auth__aside-text {
  position: relative;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.6;
}

.ig-auth__perks {
  position: relative;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ig-auth__perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.ig-auth__perks svg {
  flex: 0 0 auto;
  box-sizing: content-box;
  padding: 9px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  color: #7ec8ef;
}

.ig-auth__card {
  padding: 44px 48px;
}

.ig-auth__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 28px;
  padding: 5px;
  border-radius: 16px;
  background: var(--ig-soft);
}

.ig-auth__tabs[hidden] {
  display: none;
}

.ig-auth__tab {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ps-muted);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.ig-auth__tab[aria-selected="true"] {
  background: var(--ig-card);
  color: var(--ig-brand);
  box-shadow: 0 6px 16px -10px rgba(27, 47, 110, 0.5);
}

.ig-auth__form[hidden] {
  display: none;
}

.ig-auth__badge {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #243a85 0%, #2f98d5 100%);
  color: #fff;
}

.ig-auth__title {
  margin: 0 0 6px;
  color: var(--ps-heading);
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.2;
}

.ig-auth__lead {
  margin: 0 0 26px;
  color: var(--ps-muted);
  font-size: 15px;
}

.ig-auth__field {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}

.ig-auth__field label {
  color: var(--ps-heading);
  font-size: 13px;
  font-weight: 700;
}

.ig-auth__field input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--ps-border);
  border-radius: 14px;
  background: var(--ps-bg);
  color: var(--ps-heading);
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ig-auth__field input:focus {
  border-color: #2f98d5;
  outline: 0;
  box-shadow: 0 0 0 4px rgba(47, 152, 213, 0.15);
}

.ig-auth__pass {
  position: relative;
}

.ig-auth__pass input {
  padding-right: 52px;
}

.ig-auth__eye {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ps-muted);
  transform: translateY(-50%);
  cursor: pointer;
}

.ig-auth__eye:hover {
  color: var(--ig-brand);
}

.ig-auth__eye-off,
.ig-auth__eye.is-visible .ig-auth__eye-on {
  display: none;
}

.ig-auth__eye.is-visible .ig-auth__eye-off {
  display: block;
}

.ig-auth__hint {
  color: var(--ps-muted);
  font-size: 12px;
}

.ig-auth__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: -4px 0 20px;
}

.ig-auth__check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ps-text);
  font-size: 14px;
  cursor: pointer;
}

.ig-auth__check input {
  width: 17px;
  height: 17px;
  accent-color: #243a85;
}

.ig-auth__link,
.ig-auth__switch a,
.ig-auth__legal a {
  color: #2f98d5;
  font-weight: 700;
  text-decoration: none;
}

.ig-auth__link:hover,
.ig-auth__switch a:hover,
.ig-auth__legal a:hover {
  text-decoration: underline;
}

.ig-auth__link {
  font-size: 14px;
}

.ig-auth__altcha {
  display: block;
  margin-bottom: 18px;
  --altcha-max-width: 100%;
  --altcha-border-radius: 14px;
  --altcha-border-color: var(--ps-border);
  --altcha-color-base: var(--ps-bg);
  --altcha-color-base-content: var(--ps-heading);
  --altcha-color-primary: #243a85;
  --altcha-color-primary-content: #fff;
  --altcha-checkbox-border-radius: 6px;
}

.ig-auth__submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #243a85 0%, #2f98d5 100%);
  box-shadow: 0 14px 28px -16px rgba(36, 58, 133, 0.8);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.ig-auth__submit:hover {
  color: #fff;
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.ig-auth__submit.is-loading {
  color: transparent;
  pointer-events: none;
}

.ig-auth__submit.is-loading::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ig-auth-spin 0.7s linear infinite;
}

@keyframes ig-auth-spin {
  to {
    transform: rotate(360deg);
  }
}

.ig-auth__switch,
.ig-auth__legal {
  margin: 18px 0 0;
  color: var(--ps-muted);
  font-size: 14px;
  text-align: center;
}

.ig-auth__legal {
  margin-top: 12px;
  font-size: 12px;
}

.ig-auth__notice {
  margin-bottom: 22px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
}

.ig-auth__notice p {
  margin: 0;
}

.ig-auth__notice p + p {
  margin-top: 4px;
}

.ig-auth__notice.is-error {
  border: 1px solid #f5c2c2;
  background: #fdecec;
  color: #a12626;
}

.ig-auth__notice.is-success {
  border: 1px solid #bfe5cc;
  background: #e7f6ec;
  color: #1d6b39;
}

@media (max-width: 860px) {
  .ig-auth__shell {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 24px;
  }

  .ig-auth__aside {
    padding: 28px 24px;
  }

  .ig-auth__logo {
    margin-bottom: 18px;
  }

  .ig-auth__logo img {
    max-height: 40px;
  }

  .ig-auth__aside-title {
    font-size: 22px;
  }

  .ig-auth__aside-text {
    margin-bottom: 0;
    font-size: 14px;
  }

  .ig-auth__perks {
    display: none;
  }

  .ig-auth__card {
    padding: 28px 22px 32px;
  }
}

@media (max-width: 480px) {
  .ig-auth {
    padding: 16px 12px 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ig-auth__submit.is-loading::after {
    animation-duration: 1.5s;
  }
}

/* Mi cuenta -------------------------------------------------------------- */

body.ig-store .ps-page-sec.ig-account-sec {
  padding-top: 0;
  background: transparent;
}

body.ig-store .ig-account-sec .ps-sec__inner {
  position: relative;
  z-index: 2;
  margin-top: -72px;
}

body.ig-account .ig-account-sec .woocommerce {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  color: var(--ps-text);
}

body.ig-account .ig-account-sec .woocommerce::before,
body.ig-account .ig-account-sec .woocommerce::after {
  display: none;
}

body.ig-account .woocommerce-MyAccount-navigation,
body.ig-account .woocommerce-MyAccount-content {
  float: none;
  width: auto;
  min-width: 0;
}

body.ig-account .woocommerce-MyAccount-navigation {
  position: sticky;
  top: calc(var(--ig-header-offset, 96px) + 16px);
  padding: 12px;
  border: 1px solid var(--ps-border);
  border-radius: 24px;
  background: var(--ig-card);
  box-shadow: 0 24px 50px -40px rgba(27, 47, 110, 0.5);
}

body.ig-account .woocommerce-MyAccount-navigation ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.ig-account .woocommerce-MyAccount-navigation li {
  margin: 0;
  padding: 0;
}

body.ig-account .woocommerce-MyAccount-navigation a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--ps-heading);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

body.ig-account .woocommerce-MyAccount-navigation a::before {
  content: "";
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  background: currentColor;
  opacity: 0.8;
  -webkit-mask: var(--ig-acc-icon) center / contain no-repeat;
  mask: var(--ig-acc-icon) center / contain no-repeat;
}

body.ig-account .woocommerce-MyAccount-navigation a:hover {
  background: var(--ig-soft);
  color: var(--ig-brand);
}

body.ig-account .woocommerce-MyAccount-navigation .is-active a {
  background: linear-gradient(135deg, #243a85 0%, #2f98d5 100%);
  box-shadow: 0 12px 24px -16px rgba(36, 58, 133, 0.9);
  color: #fff;
}

body.ig-account .woocommerce-MyAccount-navigation .is-active a::before {
  opacity: 1;
}

body.ig-account .woocommerce-MyAccount-navigation-link--customer-logout {
  margin-top: 6px !important;
  padding-top: 6px !important;
  border-top: 1px solid var(--ps-border);
}

body.ig-account .woocommerce-MyAccount-navigation-link--customer-logout a {
  color: #c0392b;
}

body.ig-account .woocommerce-MyAccount-navigation-link--customer-logout a:hover {
  background: #fdecec;
  color: #a12626;
}

.woocommerce-MyAccount-navigation-link--dashboard {
  --ig-acc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z'/%3E%3C/svg%3E");
}

.woocommerce-MyAccount-navigation-link--orders {
  --ig-acc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 7h-3V6a5 5 0 0 0-10 0v1H4a1 1 0 0 0-1 1v11a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V8a1 1 0 0 0-1-1zM9 6a3 3 0 0 1 6 0v1H9V6zm10 13a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V9h2v2h2V9h6v2h2V9h2v10z'/%3E%3C/svg%3E");
}

.woocommerce-MyAccount-navigation-link--edit-account {
  --ig-acc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a4 4 0 1 0-4-4 4 4 0 0 0 4 4Zm0 2c-3.3 0-8 1.7-8 5v1h16v-1c0-3.3-4.7-5-8-5Z'/%3E%3C/svg%3E");
}

.woocommerce-MyAccount-navigation-link--payment-methods {
  --ig-acc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z'/%3E%3C/svg%3E");
}

.woocommerce-MyAccount-navigation-link--customer-logout {
  --ig-acc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.09 15.59 11.5 17l5-5-5-5-1.41 1.41L12.67 11H3v2h9.67l-2.58 2.59zM19 3H5a2 2 0 0 0-2 2v4h2V5h14v14H5v-4H3v4a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2z'/%3E%3C/svg%3E");
}

body.ig-account .woocommerce-MyAccount-content {
  padding: 30px;
  border: 1px solid var(--ps-border);
  border-radius: 24px;
  background: var(--ig-card);
  box-shadow: 0 24px 50px -40px rgba(27, 47, 110, 0.5);
}

body.ig-account .woocommerce-MyAccount-content:has(> .ig-acc-dash) {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.ig-account .woocommerce-MyAccount-content > .woocommerce-notices-wrapper:empty {
  display: none;
}

/* Resumen */

.ig-acc-dash {
  display: grid;
  gap: 20px;
}

.ig-acc-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ig-acc-card {
  display: grid;
  gap: 4px;
  padding: 22px;
  border: 1px solid var(--ps-border);
  border-radius: 22px;
  background: var(--ig-card);
  box-shadow: 0 24px 50px -40px rgba(27, 47, 110, 0.5);
  color: var(--ps-heading);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ig-acc-card:hover {
  border-color: #2f98d5;
  color: var(--ps-heading);
  transform: translateY(-2px);
}

.ig-acc-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: linear-gradient(135deg, #243a85 0%, #2f98d5 100%);
  color: #fff;
}

.ig-acc-card strong {
  font-size: 20px;
  line-height: 1.2;
}

.ig-acc-card > span:last-child {
  color: var(--ps-muted);
  font-size: 13px;
}

.ig-acc-panel {
  padding: 24px 26px;
  border: 1px solid var(--ps-border);
  border-radius: 24px;
  background: var(--ig-card);
  box-shadow: 0 24px 50px -40px rgba(27, 47, 110, 0.5);
}

.ig-acc-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.ig-acc-panel__head h2 {
  margin: 0;
  color: var(--ps-heading);
  font-size: 18px;
}

.ig-acc-panel__head a {
  color: #2f98d5;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.ig-acc-orders {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ig-acc-orders li + li {
  border-top: 1px solid var(--ps-border);
}

.ig-acc-order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  color: var(--ps-heading);
  text-decoration: none;
}

.ig-acc-order__main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ig-acc-order__main small {
  color: var(--ps-muted);
  font-size: 13px;
}

.ig-acc-order__total {
  min-width: 90px;
  font-weight: 800;
  text-align: right;
}

.ig-acc-order:hover strong {
  color: #2f98d5;
}

.ig-acc-empty {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: 12px 0 4px;
}

.ig-acc-empty p {
  margin: 0;
  color: var(--ps-muted);
}

.ig-acc-btn,
body.ig-account .woocommerce-MyAccount-content .button,
body.ig-account .woocommerce-MyAccount-content button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #243a85 0%, #2f98d5 100%) !important;
  box-shadow: 0 12px 24px -16px rgba(36, 58, 133, 0.9);
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.ig-acc-btn:hover,
body.ig-account .woocommerce-MyAccount-content .button:hover {
  color: #fff !important;
  filter: brightness(1.06);
}

.ig-acc-help {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, #1b2f6e 0%, #243a85 55%, #2f98d5 100%);
  color: #fff;
  text-decoration: none;
}

.ig-acc-help:hover {
  color: #fff;
}

.ig-acc-help__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.ig-acc-help__copy {
  display: grid;
  flex: 1 1 auto;
  gap: 2px;
}

.ig-acc-help__copy strong {
  color: #fff;
  font-size: 16px;
}

.ig-acc-help__copy small {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.ig-acc-help__go {
  font-size: 22px;
  transition: transform 0.2s ease;
}

.ig-acc-help:hover .ig-acc-help__go {
  transform: translateX(4px);
}

/* Estados de pedido */

.ig-status {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eef1f6;
  color: #4a5568;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.ig-status--processing {
  background: #e3f1fb;
  color: #1d6fa5;
}

.ig-status--completed {
  background: #e7f6ec;
  color: #1d6b39;
}

.ig-status--on-hold,
.ig-status--pending,
.ig-status--checkout-draft {
  background: #fff4dc;
  color: #8a5a00;
}

.ig-status--cancelled,
.ig-status--failed {
  background: #fdecec;
  color: #a12626;
}

.ig-status--refunded {
  background: #f1ebfb;
  color: #5b3a9c;
}

/* Pedidos */

body.ig-account .woocommerce-MyAccount-content table.shop_table {
  width: 100%;
  margin: 0 0 24px;
  border: 1px solid var(--ps-border);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 18px;
  overflow: hidden;
}

body.ig-account .woocommerce-MyAccount-content table.shop_table:last-child {
  margin-bottom: 0;
}

body.ig-account .woocommerce-MyAccount-content table.shop_table th,
body.ig-account .woocommerce-MyAccount-content table.shop_table td {
  padding: 14px 16px;
  border: 0;
  border-top: 1px solid var(--ps-border);
  color: var(--ps-heading);
  font-size: 14px;
  vertical-align: middle;
}

body.ig-account .woocommerce-MyAccount-content table.shop_table tbody tr:nth-child(2n) td {
  background: transparent;
}

body.ig-account .woocommerce-MyAccount-content table.shop_table thead th {
  border-top: 0;
  background: var(--ig-soft);
  color: var(--ps-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.ig-account .woocommerce-orders-table__cell-order-number a {
  color: var(--ig-brand);
  font-weight: 800;
  text-decoration: none;
}

body.ig-account .woocommerce-orders-table__cell-order-actions {
  text-align: right;
}

body.ig-account .woocommerce-orders-table__cell-order-actions .button {
  min-height: 36px;
  margin: 2px 0 2px 6px;
  padding: 0 16px;
  font-size: 13px;
}

body.ig-account .woocommerce-pagination {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

/* Detalle de pedido */

body.ig-account .woocommerce-MyAccount-content > p:first-of-type mark {
  padding: 0;
  background: transparent;
  color: var(--ps-heading);
  font-weight: 800;
}

body.ig-account .woocommerce-MyAccount-content h2 {
  margin: 28px 0 14px;
  color: var(--ps-heading);
  font-size: 20px;
}

body.ig-account .woocommerce-MyAccount-content tfoot th {
  font-weight: 700;
}

body.ig-account .woocommerce-MyAccount-content tfoot tr:last-child td {
  font-size: 17px;
  font-weight: 800;
}

body.ig-account .woocommerce-customer-details address {
  padding: 18px 20px;
  border: 1px solid var(--ps-border);
  border-radius: 18px;
  font-style: normal;
  line-height: 1.7;
}

/* Mis datos */

body.ig-account .woocommerce-EditAccountForm {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

body.ig-account .woocommerce-EditAccountForm > .clear {
  display: none;
}

body.ig-account .woocommerce-EditAccountForm .form-row {
  float: none;
  width: auto;
  margin: 0 0 18px;
  padding: 0;
}

body.ig-account .woocommerce-EditAccountForm .form-row-wide,
body.ig-account .woocommerce-EditAccountForm fieldset,
body.ig-account .woocommerce-EditAccountForm > p:not(.form-row) {
  grid-column: 1 / -1;
}

body.ig-account .woocommerce-EditAccountForm label {
  display: block;
  margin-bottom: 7px;
  color: var(--ps-heading);
  font-size: 13px;
  font-weight: 700;
}

body.ig-account .woocommerce-EditAccountForm .required {
  color: #c0392b;
  text-decoration: none;
}

body.ig-account .woocommerce-EditAccountForm .input-text {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--ps-border);
  border-radius: 14px;
  background: var(--ps-bg);
  color: var(--ps-heading);
  font-size: 15px;
}

body.ig-account .woocommerce-EditAccountForm .input-text:focus {
  border-color: #2f98d5;
  outline: 0;
  box-shadow: 0 0 0 4px rgba(47, 152, 213, 0.15);
}

body.ig-account .woocommerce-EditAccountForm em {
  display: block;
  margin-top: 6px;
  color: var(--ps-muted);
  font-size: 12px;
  font-style: normal;
}

body.ig-account .woocommerce-EditAccountForm fieldset {
  margin: 8px 0 20px;
  padding: 22px 22px 4px;
  border: 1px solid var(--ps-border);
  border-radius: 18px;
}

body.ig-account .woocommerce-EditAccountForm legend {
  padding: 0 8px;
  color: #2f98d5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.ig-account .woocommerce-EditAccountForm .password-input {
  display: block;
  position: relative;
}

body.ig-account .woocommerce-EditAccountForm button[type="submit"] {
  min-height: 52px;
  padding: 0 32px;
  font-size: 15px;
}

/* Avisos */

body.ig-account .woocommerce-MyAccount-content .woocommerce-message,
body.ig-account .woocommerce-MyAccount-content .woocommerce-info,
body.ig-account .woocommerce-MyAccount-content .woocommerce-error {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 22px;
  padding: 16px 18px;
  border: 1px solid var(--ps-border);
  border-radius: 16px;
  background: var(--ig-soft);
  color: var(--ps-heading);
  font-size: 14px;
  list-style: none;
}

body.ig-account .woocommerce-MyAccount-content .woocommerce-message::before,
body.ig-account .woocommerce-MyAccount-content .woocommerce-info::before,
body.ig-account .woocommerce-MyAccount-content .woocommerce-error::before {
  display: none;
}

body.ig-account .woocommerce-MyAccount-content .woocommerce-message {
  border-color: #bfe5cc;
  background: #e7f6ec;
  color: #1d6b39;
}

body.ig-account .woocommerce-MyAccount-content .woocommerce-error {
  border-color: #f5c2c2;
  background: #fdecec;
  color: #a12626;
}

body.ig-account .woocommerce-MyAccount-content .woocommerce-info .button {
  order: 2;
}

@media (max-width: 1000px) {
  body.ig-account .ig-account-sec .woocommerce {
    grid-template-columns: minmax(0, 1fr);
  }

  body.ig-account .woocommerce-MyAccount-navigation {
    position: static;
    padding: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  body.ig-account .woocommerce-MyAccount-navigation::-webkit-scrollbar {
    display: none;
  }

  body.ig-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    gap: 6px;
  }

  body.ig-account .woocommerce-MyAccount-navigation a {
    padding: 10px 14px;
    font-size: 14px;
    white-space: nowrap;
  }

  body.ig-account .woocommerce-MyAccount-navigation-link--customer-logout {
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    border-top: 0;
  }
}

@media (max-width: 768px) {
  .ig-acc-cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .ig-acc-card {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 14px;
    padding: 16px 18px;
  }

  .ig-acc-card__icon {
    grid-row: span 2;
    margin: 0;
  }

  .ig-acc-card strong {
    font-size: 17px;
  }

  .ig-acc-panel {
    padding: 20px 18px;
  }

  .ig-acc-order {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
  }

  .ig-acc-order .ig-status {
    grid-row: 2;
    justify-self: start;
  }

  .ig-acc-order__total {
    grid-row: 1 / span 2;
    grid-column: 2;
  }

  body.ig-account .woocommerce-MyAccount-content {
    padding: 22px 18px;
  }

  body.ig-account .woocommerce-EditAccountForm {
    grid-template-columns: minmax(0, 1fr);
  }

  body.ig-account .woocommerce-orders-table thead {
    display: none;
  }

  body.ig-account .woocommerce-MyAccount-content table.woocommerce-orders-table {
    border: 0;
    border-radius: 0;
    overflow: visible;
  }

  body.ig-account .woocommerce-orders-table tr {
    display: block;
    margin-bottom: 12px;
    padding: 6px 16px;
    border: 1px solid var(--ps-border);
    border-radius: 16px;
  }

  body.ig-account .woocommerce-MyAccount-content table.woocommerce-orders-table th,
  body.ig-account .woocommerce-MyAccount-content table.woocommerce-orders-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    text-align: right;
  }

  body.ig-account .woocommerce-MyAccount-content table.woocommerce-orders-table tr > :first-child {
    border-top: 0;
  }

  body.ig-account .woocommerce-orders-table [data-title]::before {
    content: attr(data-title);
    float: none;
    color: var(--ps-muted);
    font-size: 12px;
    font-weight: 700;
  }

  body.ig-account .woocommerce-orders-table__cell-order-actions::before {
    display: none;
  }

  body.ig-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-total {
    display: block;
  }

  body.ig-account .woocommerce-orders-table__cell-order-total::before {
    float: left !important;
    margin-right: 12px;
  }

  body.ig-account .woocommerce-orders-table__cell-order-actions {
    justify-content: flex-end !important;
  }
}

/* Cabecera tecnológica (cabeceras sin imagen propia) ----------------------- */

.ig-banner:not(.ig-banner--photo) {
  isolation: isolate;
  background: #142a78 url("../img/ig-banner-tech.jpg") 70% center / cover no-repeat;
}

.ig-banner:not(.ig-banner--photo)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(14, 28, 86, 0.92) 0%, rgba(18, 36, 104, 0.7) 38%, rgba(18, 36, 104, 0.1) 72%, rgba(18, 36, 104, 0) 100%),
    linear-gradient(0deg, rgba(10, 22, 66, 0.45) 0%, rgba(10, 22, 66, 0) 45%);
  pointer-events: none;
}

.ig-banner:not(.ig-banner--photo)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(126, 200, 239, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 200, 239, 0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 78% 50%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 90% at 78% 50%, #000 0%, transparent 70%);
  animation: ig-grid-drift 18s linear infinite;
  pointer-events: none;
}

.ig-banner:not(.ig-banner--photo) .ig-banner__glow {
  z-index: 0;
  top: auto;
  right: auto;
  bottom: -160px;
  left: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(47, 152, 213, 0.35) 0%, rgba(47, 152, 213, 0) 65%);
  animation: ig-glow-float 9s ease-in-out infinite alternate;
}

.ig-banner:not(.ig-banner--photo) .ig-banner__copy {
  z-index: 2;
}

.ig-banner:not(.ig-banner--photo) .ig-banner__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(126, 200, 239, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #cfeaff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.ig-banner:not(.ig-banner--photo) .ig-banner__kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7ec8ef;
  box-shadow: 0 0 0 4px rgba(126, 200, 239, 0.22), 0 0 12px #7ec8ef;
}

.ig-banner:not(.ig-banner--photo) .ig-banner__kicker:has(svg)::before {
  display: none;
}

.ig-banner__kicker--link:hover {
  border-color: rgba(126, 200, 239, 0.7);
  color: #fff;
}

.ig-banner:not(.ig-banner--photo) h1 {
  text-shadow: 0 4px 30px rgba(6, 16, 52, 0.45);
}

.ig-banner__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.ig-banner__chips li {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
}

.ig-banner__chips li:first-child {
  border-color: transparent;
  background: linear-gradient(135deg, #2f98d5 0%, #7ec8ef 100%);
  color: #0d1f5c;
  font-weight: 800;
}

.ig-banner--tech {
  min-height: 300px;
}

.ig-banner__art {
  position: absolute;
  top: 50%;
  right: max(40px, calc((100% - var(--ps-container)) / 2 + 40px));
  z-index: 1;
  display: grid;
  place-items: center;
  width: 220px;
  height: 220px;
  transform: translateY(-50%);
}

.ig-banner__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(126, 200, 239, 0.35);
  border-radius: 50%;
  animation: ig-ring-spin 22s linear infinite;
}

.ig-banner__ring::before {
  content: "";
  position: absolute;
  top: 14%;
  left: 14%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #7ec8ef;
  box-shadow: 0 0 14px #7ec8ef;
}

.ig-banner__ring--2 {
  inset: -34px;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.14);
  animation-duration: 40s;
  animation-direction: reverse;
}

.ig-banner__ring--2::before {
  top: auto;
  bottom: 18%;
  left: auto;
  right: 8%;
  width: 6px;
  height: 6px;
  background: #fff;
}

.ig-banner__core {
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.05) 100%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px -20px rgba(6, 16, 52, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  color: #fff;
  animation: ig-core-float 6s ease-in-out infinite;
}

.ig-banner__core svg {
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 0 14px rgba(126, 200, 239, 0.8));
}

@keyframes ig-grid-drift {
  to {
    background-position: 46px 46px;
  }
}

@keyframes ig-glow-float {
  to {
    transform: translate(60px, -30px) scale(1.1);
  }
}

@keyframes ig-ring-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ig-core-float {
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 860px) {
  .ig-banner:not(.ig-banner--photo) {
    background-position: 78% center;
  }

  .ig-banner:not(.ig-banner--photo)::before {
    background: linear-gradient(90deg, rgba(14, 28, 86, 0.9) 0%, rgba(18, 36, 104, 0.65) 70%, rgba(18, 36, 104, 0.35) 100%);
  }

  .ig-banner--tech {
    min-height: 0;
  }

  .ig-banner__art {
    top: 24px;
    right: 18px;
    width: 92px;
    height: 92px;
    transform: none;
    opacity: 0.55;
  }

  .ig-banner__ring--2 {
    display: none;
  }

  .ig-banner__core {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }

  .ig-banner__core svg {
    width: 30px;
    height: 30px;
  }

  .ig-banner__chips li {
    padding: 6px 12px;
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  .ig-banner__art {
    display: none;
  }
}

/* Páginas legales ----------------------------------------------------------- */

body.ig-store .ps-page-sec.ig-legal-sec {
  padding-top: 0;
  background: transparent;
}

body.ig-store .ig-legal-sec .ps-sec__inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin-top: -40px;
}

.ig-legal-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  padding: 6px;
  border: 1px solid var(--ps-border);
  border-radius: 16px;
  background: var(--ig-card);
  box-shadow: 0 24px 50px -40px rgba(27, 47, 110, 0.5);
}

.ig-legal-switch a {
  padding: 10px 18px;
  border-radius: 12px;
  color: var(--ps-heading);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.ig-legal-switch a:hover {
  background: var(--ig-soft);
  color: var(--ig-brand);
}

.ig-legal-switch a.is-active {
  background: linear-gradient(135deg, #243a85 0%, #2f98d5 100%);
  color: #fff;
}

.ps-page-content.ig-legal {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--ps-border);
  border-radius: 24px;
  background: var(--ig-card);
  box-shadow: 0 24px 50px -40px rgba(27, 47, 110, 0.5);
  color: var(--ps-text);
  font-size: 16px;
  line-height: 1.75;
  counter-reset: none;
}

.ig-legal > p:first-child {
  margin-top: 0;
  padding: 18px 20px;
  border-left: 4px solid #2f98d5;
  border-radius: 0 14px 14px 0;
  background: var(--ig-soft);
  color: var(--ps-heading);
}

.ig-legal h2 {
  margin: 36px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--ps-border);
  color: var(--ps-heading);
  font-size: clamp(19px, 2vw, 22px);
  scroll-margin-top: 120px;
}

.ig-legal h2:first-of-type {
  margin-top: 28px;
}

.ig-legal ul {
  margin: 0 0 16px;
  padding-left: 0;
  list-style: none;
}

.ig-legal li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 22px;
}

.ig-legal li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2f98d5;
}

.ig-legal a {
  color: #2f98d5;
  font-weight: 600;
}

.ig-legal strong {
  color: var(--ps-heading);
}

.ps-site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}

.ps-site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 12px;
}

.ps-site-footer__legal a {
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
}

.ps-site-footer__legal a:hover {
  opacity: 1;
  text-decoration: underline;
}

body.ig-store .ps-site-footer__legal a {
  color: rgba(255, 255, 255, 0.75);
}

body.ig-store .ps-site-footer__legal a:hover {
  color: #fff;
}

@media (max-width: 600px) {
  .ig-legal-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .ig-legal-switch a {
    padding: 10px 8px;
    font-size: 13px;
    text-align: center;
  }

  .ps-page-content.ig-legal {
    padding: 22px 18px;
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .ps-site-footer__meta {
    justify-content: center;
  }

  .ps-site-footer__legal {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ig-banner:not(.ig-banner--photo)::after,
  .ig-banner:not(.ig-banner--photo) .ig-banner__glow,
  .ig-banner__ring,
  .ig-banner__core {
    animation: none;
  }
}
