﻿/*
Theme Name: Moonsters Shop
Theme URI: https://losmoonsters.com
Author: Moonsters ops
Author URI: https://losmoonsters.com
Description: Tema ligero para WooCommerce con identidad visual Moonsters (azul noche, coral, cian y amarillo estrella) y navegacion hibrida hacia Astro.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: moonsters-shop
*/

:root {
  /* Fondo coherente con la web Astro */
  --color-bg: #071721;
  --color-surface: rgba(8, 25, 37, 0.78);
  --color-surface-strong: rgba(8, 25, 37, 0.94);
  --color-border: rgba(151, 229, 255, 0.18);
  --color-text: #f4fdff;
  --color-muted: rgba(221, 243, 249, 0.84);
  /* Paleta Moonsters: coral principal + cian secundario + amarillo estrella */
  --color-primary: #ff9a62;
  --color-primary-soft: #ff7aa2;
  --color-primary-glow: rgba(255, 154, 98, 0.32);
  --color-secondary: #6cdfff;
  --color-accent: #ffd36d;
  --color-success: #ccffe0;
  --color-success-bg: rgba(125, 255, 187, 0.12);
  --color-warning: #ffd5bf;
  --color-warning-bg: rgba(255, 154, 98, 0.12);
  --shadow-soft: 0 24px 60px rgba(2, 16, 24, 0.3);
  --shadow-card: 0 28px 70px rgba(2, 16, 24, 0.24);
  --shadow-button: 0 18px 34px rgba(255, 154, 98, 0.32);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --container: 1120px;
  --font-body: "Poppins", "Avenir Next", "Trebuchet MS", sans-serif;
  --font-display: "Poppins", "Avenir Next", "Trebuchet MS", sans-serif;
  --font-brand: "Poppins", "Avenir Next", "Trebuchet MS", sans-serif;
}

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

html {
  /* Sin scroll-behavior global: interfiere con el autoscroll del browser
     (middle-click) y con view-transitions Astro. */
}

@media (prefers-reduced-motion: no-preference) {
  html:focus-within { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  background:
    linear-gradient(180deg, rgba(7, 23, 33, 0.58) 0%, rgba(7, 23, 33, 0.74) 48%, rgba(6, 8, 24, 0.84) 100%),
    radial-gradient(circle at top left, rgba(255, 154, 98, 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(90, 214, 255, 0.12), transparent 30%),
    url("assets/moonsters-background.png") center top / cover no-repeat fixed,
    #071721;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  filter: blur(36px);
  pointer-events: none;
  z-index: 0;
}

body::before {
  top: -7rem;
  left: -6rem;
  width: 22rem;
  height: 22rem;
  background: rgba(255, 211, 109, 0.14);
}

body::after {
  right: -5rem;
  bottom: 5rem;
  width: 18rem;
  height: 18rem;
  background: rgba(108, 223, 255, 0.14);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.moonsters-shop-site {
  position: relative;
  min-height: 100vh;
  z-index: 1;
}

.moonsters-shop-container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

/* Container ancho exclusivo del header (igual que Astro) */
.moonsters-shop-header .moonsters-shop-container {
  width: min(calc(var(--container) + 16rem), calc(100% - 0.5rem));
}

/* Header: paridad 1:1 con la cabecera Astro (.site-header) */
.moonsters-shop-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(7, 23, 33, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  isolation: isolate;
}

.moonsters-shop-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 2.75rem;
  background: linear-gradient(
    180deg,
    rgba(7, 23, 33, 0.42) 0%,
    rgba(7, 23, 33, 0.18) 48%,
    rgba(7, 23, 33, 0) 100%
  );
  pointer-events: none;
}

.moonsters-shop-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1rem 0;
}

.moonsters-shop-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
}

.moonsters-shop-brand__logo {
  display: block;
  width: auto;
  height: clamp(4rem, 8vw, 5.75rem);
  max-width: min(42vw, 15rem);
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(6, 18, 27, 0.18));
}

.moonsters-shop-brand__text {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  color: #ffffff;
}

.moonsters-shop-nav {
  flex: 0 1 auto;
  min-width: 0;
}

.moonsters-shop-nav ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  white-space: nowrap;
}

.moonsters-shop-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.5rem 0.65rem;
  border-radius: 999px;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(227, 233, 251, 0.86);
  transition:
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.moonsters-shop-nav a:hover,
.moonsters-shop-nav a:focus-visible {
  background: rgba(255, 154, 98, 0.18);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(151, 229, 255, 0.32);
}

.moonsters-shop-nav .is-current,
.moonsters-shop-nav a[aria-current="page"] {
  background: rgba(255, 154, 98, 0.22);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(151, 229, 255, 0.40);
}

.moonsters-shop-header__actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8rem;
}

.site-language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.22rem;
  border: 1px solid rgba(151, 229, 255, 0.16);
  border-radius: 999px;
  background: rgba(9, 27, 40, 0.68);
  box-shadow: 0 12px 28px rgba(2, 16, 24, 0.18);
}

.site-language-switcher__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  min-height: 2.2rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  color: rgba(227, 245, 251, 0.84);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.site-language-switcher__link:hover,
.site-language-switcher__link:focus-visible,
.site-language-switcher__link.is-active {
  background: rgba(108, 223, 255, 0.14);
  color: #ffffff;
  transform: translateY(-1px);
}

.site-nav-mobile {
  display: none;
}

.mobile-nav {
  position: relative;
}

.mobile-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(9, 27, 40, 0.76);
  color: #f4fdff;
  box-shadow: 0 12px 28px rgba(2, 16, 24, 0.18);
  cursor: pointer;
}

.mobile-nav__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  width: min(18rem, calc(100vw - 2rem));
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(11, 31, 44, 0.96), rgba(8, 24, 36, 0.96));
  box-shadow: 0 24px 48px rgba(2, 16, 24, 0.32);
  backdrop-filter: blur(10px);
  z-index: 40;
}

.mobile-nav__list {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  color: rgba(227, 245, 251, 0.84);
}

.mobile-nav__list a:hover,
.mobile-nav__list a:focus-visible {
  background: rgba(108, 223, 255, 0.12);
  color: #ffffff;
}

.mobile-nav__list a[aria-current="page"] {
  background: rgba(108, 223, 255, 0.1);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(151, 229, 255, 0.14);
}

.mobile-nav__languages {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(151, 229, 255, 0.1);
}

.mobile-nav__language-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  min-height: 2.25rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(151, 229, 255, 0.12);
  border-radius: 999px;
  color: rgba(227, 245, 251, 0.84);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(108, 223, 255, 0.06);
}

.mobile-nav__language-link:hover,
.mobile-nav__language-link:focus-visible,
.mobile-nav__language-link.is-active {
  background: rgba(108, 223, 255, 0.14);
  color: #ffffff;
}

.moonsters-cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.85rem;
  padding: 0.6rem 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: rgba(8, 25, 37, 0.72);
  color: var(--color-text);
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.moonsters-cart-trigger:hover,
.moonsters-cart-trigger:focus-visible {
  transform: translateY(-1px);
  background: rgba(108, 223, 255, 0.12);
  border-color: rgba(151, 229, 255, 0.3);
}

.moonsters-cart-trigger__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2rem;
  border-radius: 999px;
  background: rgba(255, 154, 98, 0.12);
  color: var(--color-accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.moonsters-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.95rem;
  min-height: 1.95rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: rgba(255, 154, 98, 0.18);
  color: var(--color-accent);
  font-size: 0.88rem;
  font-weight: 800;
}

.moonsters-cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 38;
  background: rgba(3, 10, 14, 0.56);
  backdrop-filter: blur(6px);
}

.moonsters-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 39;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(28rem, 100vw);
  height: 100vh;
  padding: 1rem;
  border-left: 1px solid rgba(151, 229, 255, 0.18);
  background:
    radial-gradient(circle at top, rgba(255, 154, 98, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(7, 29, 43, 0.88), rgba(7, 20, 29, 0.9));
  box-shadow: -26px 0 70px rgba(2, 16, 24, 0.38);
  transform: translateX(100%);
  transition: transform 220ms ease;
  outline: none;
}

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

body.moonsters-cart-open .moonsters-cart-drawer {
  transform: translateX(0);
}

.moonsters-cart-drawer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 0 1rem;
}

.moonsters-cart-drawer__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.moonsters-cart-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  min-height: 2.6rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(8, 25, 37, 0.62);
  color: var(--color-text);
  cursor: pointer;
}

.moonsters-cart-drawer__body {
  min-height: 0;
}

.moonsters-cart-drawer .widget_shopping_cart_content {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100%;
  min-height: 0;
}

.moonsters-mini-cart {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  height: 100%;
  min-height: 0;
}

.moonsters-mini-cart__items {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  max-height: calc(100vh - 15rem);
  margin: 0;
  padding: 0 0.15rem 0.15rem 0;
  overflow: auto;
  list-style: none;
}

.moonsters-mini-cart__item {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(151, 229, 255, 0.12);
  border-radius: 20px;
  background: rgba(8, 25, 37, 0.52);
}

.moonsters-mini-cart__media {
  flex: 0 0 4.25rem;
  width: 4.25rem;
  height: 4.25rem;
  overflow: hidden;
  border-radius: 12px;
}

.moonsters-mini-cart__media a,
.moonsters-mini-cart__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.moonsters-mini-cart__media img {
  object-fit: cover;
}

.moonsters-mini-cart__copy {
  display: grid;
  gap: 0.28rem;
  flex: 1 1 auto;
  min-width: 0;
}

.moonsters-mini-cart__topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: start;
}

.moonsters-mini-cart__title {
  margin: 0;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.1;
}

.moonsters-mini-cart__title a {
  color: inherit;
}

.moonsters-mini-cart__line-total {
  color: var(--color-accent);
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.moonsters-mini-cart__unit-price {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.moonsters-mini-cart__meta,
.moonsters-mini-cart__meta p {
  margin: 0;
  color: rgba(221, 243, 249, 0.72);
  font-size: 0.75rem;
}

.moonsters-mini-cart__meta dl {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.5rem;
  margin: 0;
}

.moonsters-mini-cart__meta dt,
.moonsters-mini-cart__meta dd {
  margin: 0;
}

.moonsters-mini-cart__actions {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0.65rem;
  align-items: center;
  margin-top: 0.25rem;
}

.moonsters-mini-cart__quantity {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(120, 157, 175, 0.32);
  border-radius: 10px;
  background: rgba(10, 28, 40, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.moonsters-mini-cart__qty-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.15rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(169, 196, 210, 0.9);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.moonsters-mini-cart__qty-button:hover,
.moonsters-mini-cart__qty-button:focus-visible {
  background: rgba(255, 255, 255, 0.03);
  color: rgba(236, 246, 251, 0.98);
}

.moonsters-mini-cart__qty-button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.moonsters-mini-cart__qty-button:first-child {
  border-right: 1px solid rgba(151, 229, 255, 0.14);
}

.moonsters-mini-cart__qty-button:last-child {
  border-left: 1px solid rgba(151, 229, 255, 0.14);
}

.moonsters-mini-cart__quantity-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.7rem;
  min-height: 2.15rem;
  padding: 0 0.5rem;
  background: transparent;
  color: rgba(244, 253, 255, 0.98);
  font-size: 0.92rem;
  font-weight: 800;
}

.moonsters-mini-cart__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.95rem;
  height: 1.95rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(234, 244, 250, 0.92) !important;
  border: 0;
  font-size: 0;
  line-height: 1;
}

.moonsters-mini-cart__remove:hover,
.moonsters-mini-cart__remove:focus-visible {
  background: transparent;
  color: #ffffff !important;
}

.moonsters-mini-cart__remove-icon {
  display: inline-flex;
  width: 1.15rem;
  height: 1.15rem;
}

.moonsters-mini-cart__remove-icon svg {
  width: 100%;
  height: 100%;
}

.moonsters-cart-drawer .woocommerce-mini-cart-item a:not(.remove) {
  display: inline-block;
  font-family: var(--font-display);
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.moonsters-cart-drawer .woocommerce-mini-cart-item .remove {
  float: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.95rem;
  height: 1.95rem;
  margin-left: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(234, 244, 250, 0.92) !important;
  border: 0;
  font-size: 0;
  line-height: 1;
}

.moonsters-cart-drawer .woocommerce-mini-cart__empty-message {
  margin: 0;
  padding: 1rem;
  border: 1px dashed rgba(151, 229, 255, 0.14);
  border-radius: var(--radius-lg);
  color: var(--color-muted);
  text-align: center;
}

.moonsters-cart-drawer .woocommerce-mini-cart__total,
.moonsters-cart-drawer .woocommerce-mini-cart__buttons {
  margin: 0;
}

.moonsters-cart-drawer .woocommerce-mini-cart__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0.9rem;
  border-top: 1px solid rgba(151, 229, 255, 0.12);
  color: var(--color-text);
}

.moonsters-cart-drawer .woocommerce-mini-cart__total strong,
.moonsters-cart-drawer .woocommerce-mini-cart__total .amount {
  color: var(--color-accent);
}

.moonsters-cart-drawer .woocommerce-mini-cart__buttons {
  display: grid;
  gap: 0.75rem;
  padding-bottom: 0.3rem;
}

.moonsters-cart-drawer .woocommerce-mini-cart__buttons .button,
.moonsters-cart-drawer .woocommerce-mini-cart__buttons .wc-forward {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  text-decoration: none;
}

.moonsters-cart-drawer .woocommerce-mini-cart__buttons .wc-forward:not(.checkout) {
  min-height: 2.95rem;
  padding: 0.68rem 1.15rem;
  border: 1px solid rgba(151, 229, 255, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(8, 25, 37, 0.72);
  color: var(--color-text) !important;
  box-shadow: none;
}

.moonsters-cart-drawer .woocommerce-mini-cart__buttons .wc-forward:not(.checkout):hover,
.moonsters-cart-drawer .woocommerce-mini-cart__buttons .wc-forward:not(.checkout):focus-visible,
.moonsters-cart-drawer .woocommerce-mini-cart__buttons .wc-forward:not(.checkout):visited {
  background: rgba(108, 223, 255, 0.1);
  border-color: rgba(151, 229, 255, 0.28);
  color: var(--color-text) !important;
  transform: translateY(-1px);
  filter: none;
}

.moonsters-cart-drawer .woocommerce-mini-cart__buttons .checkout.wc-forward {
  color: #1f1207 !important;
}

.moonsters-cart-drawer .woocommerce-mini-cart__buttons .checkout.wc-forward:visited {
  color: #1f1207 !important;
}

.moonsters-shop-main {
  display: grid;
  gap: 1.5rem;
  padding: 2rem 0 4rem;
}

.moonsters-shop-hero {
  padding-top: 1rem;
}

.moonsters-shop-panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(255, 154, 98, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(7, 29, 43, 0.76), rgba(7, 20, 29, 0.84));
  box-shadow: var(--shadow-soft);
}

.moonsters-shop-panel--hero {
  padding: 1.75rem;
}

.moonsters-shop-eyebrow,
.woocommerce-breadcrumb,
.woocommerce-products-header__description,
.woocommerce-result-count {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.moonsters-shop-title,
.woocommerce-products-header__title.page-title,
.product_title,
.woocommerce-Reviews-title,
.cart_totals h2,
.woocommerce-checkout-review-order h3,
#order_review_heading,
.entry-title {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.05;
}

.moonsters-shop-title,
.woocommerce-products-header__title.page-title,
.product_title,
.entry-title {
  font-size: clamp(2.4rem, 5vw, 4.25rem);
}

.moonsters-shop-description,
.term-description,
.entry-content > p:first-child {
  margin: 0.85rem 0 0;
  max-width: 64ch;
  color: var(--color-muted);
}

.moonsters-shop-category-filters {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.moonsters-shop-category-filters__group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.moonsters-shop-category-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(151, 229, 255, 0.14);
  border-radius: 999px;
  background: rgba(8, 25, 37, 0.46);
  color: rgba(244, 253, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.moonsters-shop-category-chip:hover,
.moonsters-shop-category-chip:focus-visible {
  transform: translateY(-1px);
  background: rgba(108, 223, 255, 0.12);
  border-color: rgba(151, 229, 255, 0.28);
}

.moonsters-shop-category-chip.is-active {
  background: rgba(255, 211, 109, 0.14);
  border-color: rgba(255, 211, 109, 0.3);
  color: #fff6d8;
}

.moonsters-shop-category-filters__group--children .moonsters-shop-category-chip {
  background: rgba(108, 223, 255, 0.12);
  border-color: rgba(108, 223, 255, 0.22);
  color: rgba(222, 248, 255, 0.95);
  font-size: 0.85rem;
}

.moonsters-shop-category-filters__group--children .moonsters-shop-category-chip.is-active {
  background: rgba(108, 223, 255, 0.22);
  border-color: rgba(108, 223, 255, 0.36);
  color: #ffffff;
}

.moonsters-shop-category-section + .moonsters-shop-category-section {
  margin-top: 2rem;
}

.moonsters-shop-category-section__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.9rem 1rem;
  align-items: end;
  margin-bottom: 1.1rem;
}

.moonsters-shop-category-section__band {
  grid-column: 1 / -1;
  height: 1px;
  background:
    linear-gradient(90deg, rgba(255, 211, 109, 0.44), rgba(108, 223, 255, 0.18) 45%, rgba(108, 223, 255, 0));
}

.moonsters-shop-category-section__heading {
  display: grid;
  gap: 0.25rem;
}

.moonsters-shop-category-section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.1;
}

.moonsters-shop-category-section__description {
  margin: 0;
  color: rgba(221, 243, 249, 0.72);
  font-size: 0.92rem;
}

.moonsters-shop-category-section__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.3rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(151, 229, 255, 0.14);
  border-radius: 999px;
  background: rgba(8, 25, 37, 0.4);
  color: rgba(244, 253, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 700;
}

.moonsters-shop-category-section__link:hover,
.moonsters-shop-category-section__link:focus-visible {
  background: rgba(108, 223, 255, 0.12);
  border-color: rgba(151, 229, 255, 0.28);
}

.moonsters-shop-content {
  display: grid;
  gap: 1.5rem;
}

.moonsters-shop-commerce-shell {
  display: grid;
  gap: 1.25rem;
}

.moonsters-shop-card,
.entry-content,
.woocommerce-notices-wrapper:empty + .woocommerce,
.woocommerce div.product div.summary,
.woocommerce #reviews,
.woocommerce .cart-collaterals .cart_totals,
.woocommerce form.checkout,
.woocommerce-account .woocommerce,
.woocommerce-order {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(7, 29, 43, 0.76), rgba(7, 20, 29, 0.84));
  box-shadow: var(--shadow-soft);
}

.entry-content,
.moonsters-shop-entry,
.woocommerce #reviews,
.woocommerce-account .woocommerce,
.woocommerce-order {
  padding: 1.5rem;
}

.moonsters-shop-footer {
  padding: 0.75rem 0 2rem;
}

.moonsters-shop-footer__copyright {
  margin: 0;
  padding: 0.35rem 0;
  color: rgba(221, 243, 249, 0.58);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.woocommerce {
  color: var(--color-text);
}

.woocommerce a {
  color: inherit;
}

.woocommerce .woocommerce-breadcrumb {
  padding: 0 0.2rem;
}

.woocommerce .woocommerce-breadcrumb a {
  color: rgba(244, 253, 255, 0.88);
}

.woocommerce .woocommerce-ordering select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple,
.woocommerce .quantity .qty {
  width: 100%;
  min-height: 3.15rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: rgba(5, 16, 24, 0.8);
  color: var(--color-text);
  box-shadow: none;
}

.woocommerce .quantity .qty {
  width: 5rem;
}

.woocommerce form .form-row textarea {
  min-height: 8rem;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.woocommerce .quantity .qty:focus,
.woocommerce .woocommerce-ordering select:focus {
  outline: none;
  border-color: rgba(108, 223, 255, 0.44);
  box-shadow: 0 0 0 4px rgba(108, 223, 255, 0.12);
}

.woocommerce form .form-row label {
  margin-bottom: 0.45rem;
  font-weight: 700;
  color: rgba(244, 253, 255, 0.92);
}

.woocommerce form .form-row .required {
  color: var(--color-primary);
}

.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .return-to-shop .button,
.wp-element-button,
#place_order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.95rem;
  padding: 0.7rem 1.3rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #ff9a62, #ff7aa2 58%, #ffd36d);
  color: #ffffff;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  box-shadow:
    var(--shadow-button),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition:
    transform 180ms ease,
    filter 180ms ease,
    box-shadow 180ms ease;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce button.button:focus-visible,
.woocommerce a.button:focus-visible,
.woocommerce input.button:focus-visible,
.woocommerce #respond input#submit:focus-visible,
#place_order:hover,
#place_order:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.05);
  color: #ffffff;
  background: linear-gradient(135deg, #ffa56d, #ffb36f 58%, #ffd99a);
  box-shadow:
    0 22px 42px rgba(255, 154, 98, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.woocommerce-info,
.woocommerce-message,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
  margin: 0 0 1rem;
  padding: 1rem 1.15rem 1rem 1.3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: rgba(8, 25, 37, 0.72);
  color: var(--color-text);
}

.woocommerce-message {
  border-color: rgba(125, 255, 187, 0.22);
}

.woocommerce-error {
  border-color: rgba(255, 154, 98, 0.24);
}

.moonsters-shop-shipping-notice {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 211, 109, 0.18);
  border-radius: 18px;
  background: rgba(255, 211, 109, 0.08);
  color: rgba(255, 244, 221, 0.92);
  font-size: 0.92rem;
  line-height: 1.45;
}

.moonsters-shop-shipping-notice strong {
  color: var(--color-accent);
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 320px));
  justify-content: start;
  gap: 1.4rem;
  padding: 0;
  list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product {
  width: auto !important;
  max-width: 320px;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(151, 229, 255, 0.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(255, 154, 98, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(7, 29, 43, 0.92), rgba(7, 20, 29, 0.96));
  box-shadow: var(--shadow-card);
}

.woocommerce ul.products li.product a img {
  margin: 0;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 280ms ease;
}

.woocommerce ul.products li.product:hover a img,
.woocommerce ul.products li.product:focus-within a img {
  transform: scale(1.03);
}

.woocommerce ul.products li.product .woocommerce-loop-product__link {
  display: grid;
  gap: 0.9rem;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
  padding: 0 1.35rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.15;
}

.woocommerce ul.products li.product .price {
  display: block;
  padding: 0 1.35rem;
  margin: 0;
  color: var(--color-accent);
  font-size: 1.18rem;
  font-weight: 700;
}

.woocommerce ul.products li.product .button {
  margin: 1rem 1.35rem 1.35rem;
}

.woocommerce ul.products li.product.moonsters-product-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  isolation: isolate;
}

.woocommerce ul.products li.product.moonsters-product-card .moonsters-product-card__link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  gap: 0;
  color: inherit;
}

.woocommerce ul.products li.product.moonsters-product-card .moonsters-product-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: rgba(7, 23, 33, 0.42);
}

.woocommerce ul.products li.product.moonsters-product-card .moonsters-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.woocommerce ul.products li.product.moonsters-product-card .moonsters-product-card__body {
  display: grid;
  gap: 0.65rem;
  align-content: start;
  padding: 1.3rem 1.35rem 0.8rem;
}

.woocommerce ul.products li.product.moonsters-product-card .moonsters-product-card__title,
.woocommerce ul.products li.product.moonsters-product-card .woocommerce-loop-product__title {
  padding: 0;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  line-height: 1.08;
  text-wrap: balance;
}

.woocommerce ul.products li.product.moonsters-product-card .price {
  display: block;
  padding: 0;
  margin: 0;
  color: var(--color-accent);
  font-size: 1.1rem;
  font-weight: 800;
}

.woocommerce ul.products li.product.moonsters-product-card .moonsters-product-card__footer {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  padding: 0 1.35rem 1.35rem;
  margin-top: auto;
  position: relative;
  z-index: 2;
}

.woocommerce ul.products li.product.moonsters-product-card .button,
.woocommerce ul.products li.product.moonsters-product-card .added_to_cart {
  margin: 0 !important;
}

.woocommerce ul.products li.product.moonsters-product-card .button {
  min-width: 11rem;
  position: relative;
  z-index: 3;
  pointer-events: auto;
}

.woocommerce ul.products li.product.moonsters-product-card .added_to_cart {
  color: rgba(244, 253, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.woocommerce ul.products li.product.moonsters-product-card .added_to_cart:hover,
.woocommerce ul.products li.product.moonsters-product-card .added_to_cart:focus-visible {
  color: #ffffff;
}

.woocommerce span.onsale {
  top: 1rem;
  left: 1rem;
  min-height: 0;
  min-width: 0;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 154, 98, 0.96);
  color: #1f1207;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.single-product .product {
  display: grid;
  gap: 1.5rem;
}

.woocommerce div.product div.images {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top, rgba(255, 154, 98, 0.18), transparent 45%),
    linear-gradient(180deg, rgba(108, 223, 255, 0.1), rgba(108, 223, 255, 0.02));
  box-shadow: var(--shadow-card);
}

.woocommerce div.product div.summary {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 1.4rem;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--color-accent);
  font-size: 1.5rem;
  font-weight: 800;
}

.woocommerce-product-details__short-description,
.woocommerce-tabs .panel {
  color: var(--color-muted);
}

.woocommerce div.product form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 0 0 1rem;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: inline-flex;
  align-items: center;
  min-height: 2.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: rgba(8, 25, 37, 0.62);
  color: var(--color-text);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  background: rgba(108, 223, 255, 0.12);
}

.woocommerce div.product .woocommerce-tabs .panel,
.woocommerce div.product .related.products,
.woocommerce #reviews,
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-checkout .col2-set,
.woocommerce-checkout-review-order,
.woocommerce #payment,
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
  padding: 1.4rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: rgba(8, 25, 37, 0.58);
  box-shadow: var(--shadow-soft);
}

.woocommerce table.shop_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: rgba(8, 25, 37, 0.66);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 1rem;
  border-color: rgba(151, 229, 255, 0.08);
}

.woocommerce table.shop_table th {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.woocommerce-cart .coupon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.woocommerce-cart .coupon input.input-text {
  min-width: 16rem;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #payment #place_order {
  width: 100%;
}

.woocommerce-checkout form.checkout {
  display: grid;
  gap: 1.4rem;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.woocommerce-checkout .col2-set {
  display: grid;
  gap: 1.25rem;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
  float: none;
  width: 100%;
  margin: 0;
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout-review-order,
.woocommerce-checkout #payment {
  border: 1px solid rgba(151, 229, 255, 0.16);
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, rgba(108, 223, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(7, 29, 43, 0.74), rgba(7, 20, 29, 0.82));
  box-shadow: var(--shadow-soft);
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields {
  padding: 1.4rem;
}

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3,
.woocommerce-checkout-review-order h3,
#order_review_heading {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.1;
}

.woocommerce-checkout .form-row {
  margin-bottom: 0.95rem;
}

.woocommerce-checkout .form-row-last,
.woocommerce-checkout .form-row-first {
  width: calc(50% - 0.55rem);
}

.woocommerce-checkout .form-row-wide {
  clear: both;
}

.woocommerce-checkout .woocommerce form .form-row input.input-text,
.woocommerce-checkout .woocommerce form .form-row textarea,
.woocommerce-checkout .woocommerce form .form-row select,
.woocommerce-checkout .select2-container--default .select2-selection--single,
.woocommerce-checkout .select2-container--default .select2-selection--multiple {
  min-height: 3.25rem;
  border-color: rgba(151, 229, 255, 0.18);
  border-radius: 18px;
  background: rgba(4, 14, 22, 0.78);
}

.woocommerce-checkout .woocommerce form .form-row textarea {
  min-height: 8.5rem;
}

.woocommerce-checkout .woocommerce form .form-row input.input-text::placeholder,
.woocommerce-checkout .woocommerce form .form-row textarea::placeholder {
  color: rgba(221, 243, 249, 0.42);
}

.woocommerce-checkout .select2-container--default .select2-selection--single {
  display: flex;
  align-items: center;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  width: 100%;
  padding-left: 0.15rem;
  color: var(--color-text);
  line-height: 1.3;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  right: 0.8rem;
}

.select2-dropdown {
  border: 1px solid rgba(151, 229, 255, 0.18);
  border-radius: 16px;
  background: rgba(7, 20, 29, 0.98);
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid rgba(151, 229, 255, 0.16);
  border-radius: 12px;
  background: rgba(4, 14, 22, 0.82);
  color: var(--color-text);
}

.select2-container--default .select2-results__option {
  color: var(--color-text);
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: rgba(108, 223, 255, 0.18);
  color: #ffffff;
}

.woocommerce-checkout .woocommerce form .form-row label.checkbox,
.woocommerce-checkout .woocommerce form .form-row .woocommerce-form__label-for-checkbox,
.woocommerce-checkout .woocommerce-shipping-fields__checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}

.woocommerce-checkout input[type="checkbox"],
.woocommerce-checkout input[type="radio"] {
  accent-color: var(--color-secondary);
}

.woocommerce-checkout-review-order {
  padding: 1.4rem;
}

.woocommerce-checkout-review-order-table {
  margin-bottom: 0;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: 0.95rem 0.9rem;
}

.woocommerce-checkout-review-order-table tbody td:first-child,
.woocommerce-checkout-review-order-table tfoot td:first-child,
.woocommerce-checkout-review-order-table tfoot th:first-child {
  color: rgba(244, 253, 255, 0.84);
}

.woocommerce-checkout-review-order-table .amount {
  color: var(--color-accent);
  font-weight: 800;
}

.woocommerce-checkout #payment {
  padding: 1.25rem 1.4rem 1.4rem;
}

.woocommerce-checkout #payment ul.payment_methods {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  margin: 0 0 1rem;
  border: 0;
  list-style: none;
}

.woocommerce-checkout #payment ul.payment_methods::before,
.woocommerce-checkout #payment ul.payment_methods::after {
  display: none;
}

.woocommerce-checkout #payment ul.payment_methods > li {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(151, 229, 255, 0.14);
  border-radius: 18px;
  background: rgba(4, 14, 22, 0.54);
}

.woocommerce-checkout #payment ul.payment_methods > li > label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(244, 253, 255, 0.96);
  font-weight: 700;
}

.woocommerce-checkout #payment div.payment_box {
  margin: 0.9rem 0 0;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(8, 25, 37, 0.72);
  color: rgba(221, 243, 249, 0.84);
}

.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: rgba(8, 25, 37, 0.72);
}

.woocommerce-checkout .woocommerce-privacy-policy-text,
.woocommerce-checkout .form-row.place-order {
  color: rgba(221, 243, 249, 0.8);
}

.woocommerce-checkout .form-row.place-order {
  margin-bottom: 0;
}

.woocommerce-checkout #place_order {
  min-height: 3.2rem;
  font-size: 1rem;
}

.woocommerce-checkout .shop_table .product-name {
  color: rgba(244, 253, 255, 0.96);
}

.wc-block-checkout {
  color: var(--color-text);
}

.wc-block-components-sidebar-layout {
  gap: 1.5rem;
  margin-bottom: 0;
}

.wc-block-components-sidebar-layout .wc-block-components-main,
.wc-block-components-sidebar-layout .wc-block-components-sidebar {
  padding: 0;
}

.wc-block-components-checkout-step,
.wc-block-components-order-summary,
.wc-block-components-totals-wrapper,
.wc-block-components-panel,
.wp-block-woocommerce-checkout-order-summary-block,
.wp-block-woocommerce-checkout-fields-block,
.wc-block-checkout__actions_row {
  border: 1px solid rgba(151, 229, 255, 0.16);
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, rgba(108, 223, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(7, 29, 43, 0.74), rgba(7, 20, 29, 0.82));
  box-shadow: var(--shadow-soft);
}

.wc-block-components-checkout-step,
.wp-block-woocommerce-checkout-order-summary-block,
.wc-block-checkout__actions_row {
  padding: 1.4rem;
}

.wp-block-woocommerce-checkout-fields-block,
.wp-block-woocommerce-checkout-order-summary-block {
  padding: 1.4rem;
}

.moonsters-shop-commerce-shell .wc-block-checkout,
.moonsters-shop-commerce-shell .wc-block-cart {
  margin: 0;
}

.moonsters-shop-commerce-shell .wc-block-components-sidebar-layout > .wc-block-components-main,
.moonsters-shop-commerce-shell .wc-block-components-sidebar-layout > .wc-block-components-sidebar {
  background: transparent;
}

.moonsters-shop-commerce-shell .wc-block-components-sidebar-layout > .wc-block-components-main {
  padding: 1rem 1.25rem 1rem 1.25rem;
}

.wp-block-woocommerce-checkout-order-summary-block > *,
.wp-block-woocommerce-checkout-fields-block > * {
  margin-top: 0;
  margin-bottom: 0;
}

.wp-block-woocommerce-checkout-fields-block > * + *,
.wp-block-woocommerce-checkout-order-summary-block > * + * {
  margin-top: 1rem;
}

.wc-block-checkout__actions_row {
  margin-top: 1.25rem;
}

.wc-block-components-title,
.wc-block-components-checkout-step__title,
.wc-block-components-order-summary__title,
.wc-block-components-totals-wrapper h2,
.wc-block-components-panel__button {
  color: rgba(244, 253, 255, 0.98);
  font-family: var(--font-display);
}

.wc-block-components-checkout-step__description,
.wc-block-components-formatted-money-amount,
.wc-block-components-order-summary-item__description,
.wc-block-components-totals-item__description,
.wc-block-components-totals-footer-item span,
.wc-block-components-checkout-step__content,
.wc-block-components-checkout-return-to-cart-button {
  color: rgba(221, 243, 249, 0.84);
}

.wc-block-components-checkout-step__container {
  border: 0;
  padding: 0.25rem 0 0;
}

.wc-block-components-checkout-step__content {
  padding: 0.35rem 0 0;
}

.wc-block-components-address-form,
.wc-block-components-address-form > div,
.wc-block-components-checkout-step__content > div,
.wc-block-components-order-summary__content > div {
  max-width: 100%;
}

.wc-block-components-text-input,
.wc-block-components-textarea,
.wc-block-components-select-input,
.wc-block-components-combobox,
.wc-block-components-combobox-control,
.wc-block-components-address-form .wc-block-components-country-input,
.wc-block-components-address-form .wc-block-components-state-input,
.wc-block-components-checkbox,
.wc-block-components-radio-control {
  margin-top: 0.85rem;
}

.wc-block-components-address-form > :first-child,
.wc-block-components-checkout-step__content > :first-child,
.wc-block-components-order-summary__content > :first-child,
.wc-block-components-radio-control > :first-child {
  margin-top: 0;
}

.wc-block-components-text-input,
.wc-block-components-textarea,
.wc-block-components-select-input,
.wc-block-components-combobox-control,
.wc-blocks-components-select .wc-blocks-components-select__container,
.wc-block-components-address-form select {
  background: transparent !important;
}

.wc-block-components-text-input input,
.wc-block-components-text-input input:-webkit-autofill,
.wc-block-components-combobox .components-combobox-control__input,
.wc-block-components-textarea textarea,
.wc-block-components-address-form select,
.wc-block-components-select .wc-block-components-select__select,
.wc-block-components-combobox-control .components-input-control__input,
.wc-blocks-components-select .wc-blocks-components-select__container,
.wc-blocks-components-select .wc-blocks-components-select__select {
  min-height: 3.25rem !important;
  border: 1px solid rgba(151, 229, 255, 0.18) !important;
  border-radius: 18px !important;
  background: rgba(4, 14, 22, 0.82) !important;
  color: var(--color-text) !important;
  box-shadow: none !important;
}

.wc-block-components-text-input input:-webkit-autofill,
.wc-block-components-text-input input:-webkit-autofill:hover,
.wc-block-components-text-input input:-webkit-autofill:focus,
.wc-block-components-combobox .components-combobox-control__input:-webkit-autofill,
.wc-block-components-textarea textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--color-text) !important;
  -webkit-box-shadow: 0 0 0 1000px rgba(4, 14, 22, 0.82) inset !important;
  transition: background-color 9999s ease-in-out 0s;
}

.wc-block-components-text-input input::placeholder,
.wc-block-components-combobox .components-combobox-control__input::placeholder,
.wc-blocks-components-select .wc-blocks-components-select__select::placeholder,
.wc-block-components-textarea textarea::placeholder {
  color: rgba(221, 243, 249, 0.42) !important;
}

.wc-block-components-text-input label,
.wc-block-components-combobox-control label,
.wc-block-components-address-form label,
.wc-block-components-textarea label,
.wc-blocks-components-select .wc-blocks-components-select__label,
.wc-block-components-checkbox__label,
.wc-block-components-radio-control__label,
.wc-block-components-address-card__edit {
  color: rgba(244, 253, 255, 0.92) !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
}

.wc-block-components-text-input.is-active input,
.wc-block-components-text-input input:focus,
.wc-block-components-combobox .components-combobox-control__input:focus,
.wc-block-components-textarea textarea:focus,
.wc-block-components-address-form select:focus,
.wc-blocks-components-select .wc-blocks-components-select__select:focus,
.wc-blocks-components-select .wc-blocks-components-select__container:focus-within {
  border-color: rgba(108, 223, 255, 0.44) !important;
  box-shadow: 0 0 0 4px rgba(108, 223, 255, 0.12) !important;
  outline: none !important;
}

.wc-block-components-text-input.has-error input,
.wc-block-components-textarea.has-error textarea,
.wc-block-components-validation-error,
.wc-block-components-notice-banner.is-error {
  border-color: rgba(255, 107, 107, 0.44) !important;
}

.wc-block-components-validation-error,
.wc-block-components-notice-banner {
  border-radius: 18px;
  background: rgba(8, 25, 37, 0.74);
  color: rgba(255, 233, 233, 0.96);
}

.wc-block-components-notice-banner.is-error {
  background: rgba(85, 15, 20, 0.28);
  color: rgba(255, 230, 230, 0.96);
}

.wc-block-components-notice-banner svg {
  fill: currentColor;
}

.wc-block-components-order-summary {
  padding: 0;
  overflow: hidden;
}

.wc-block-components-order-summary__content,
.wc-block-components-order-summary .wc-block-components-totals-wrapper {
  padding: 1rem 1.1rem;
}

.wc-block-components-order-summary__content,
.wc-block-components-totals-wrapper {
  padding-left: 1.15rem;
  padding-right: 1.15rem;
}

.wc-block-components-order-summary-item {
  align-items: start;
}

.wc-block-components-order-summary-item__image {
  position: relative;
}

.wc-block-components-order-summary-item__image img {
  border-radius: 12px;
}

.wc-block-components-order-summary-item__quantity {
  background: rgba(8, 25, 37, 0.88);
  color: rgba(244, 253, 255, 0.96);
  border: 1px solid rgba(151, 229, 255, 0.18);
  box-shadow: none;
}

.wc-block-components-order-summary-item__individual-price,
.wc-block-components-order-summary-item__total-price,
.wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  color: var(--color-accent);
  font-weight: 800;
}

.wc-block-components-totals-item,
.wc-block-components-order-summary-item {
  border-color: rgba(151, 229, 255, 0.1);
}

.wc-block-cart .wc-block-components-totals-coupon,
.wc-block-cart .wc-block-components-totals-coupon .wc-block-components-panel {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.wc-block-cart .wc-block-components-totals-coupon {
  padding: 0 !important;
}

.wc-block-cart .wc-block-components-totals-coupon .wc-block-components-panel__button {
  padding-left: 0;
  padding-right: 0;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-panel,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-coupon,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary__content,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper {
  padding-left: 0;
  padding-right: 0;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item {
  padding: 0.7rem 0;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item:first-child {
  padding-top: 0;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item:last-child {
  padding-bottom: 0;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-panel__button {
  padding-left: 0;
  padding-right: 0;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item {
  padding-left: 0;
  padding-right: 0;
}

.wc-block-components-panel__button {
  padding: 0.95rem 1rem;
}

.wc-block-components-panel__button:hover,
.wc-block-components-panel__button:focus-visible {
  color: #ffffff;
}

.wc-block-components-checkbox .wc-block-components-checkbox__mark,
.wc-block-components-radio-control__input {
  border-color: rgba(151, 229, 255, 0.28) !important;
  background: rgba(4, 14, 22, 0.82) !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__input:checked + .wc-block-components-checkbox__mark,
.wc-block-components-radio-control__option-checked .wc-block-components-radio-control__input {
  border-color: rgba(108, 223, 255, 0.44) !important;
  background: rgba(108, 223, 255, 0.22) !important;
}

.wc-block-components-checkout-place-order-button,
.wc-block-components-button:not(.is-link) {
  min-height: 3.2rem;
  border: 0 !important;
  border-radius: var(--radius-pill) !important;
  background: linear-gradient(135deg, rgba(255, 145, 92, 0.98), rgba(255, 189, 108, 0.96) 58%, rgba(255, 214, 132, 0.92)) !important;
  color: #1f1207 !important;
  font-weight: 800 !important;
  box-shadow: 0 18px 34px rgba(255, 146, 92, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.34) !important;
}

.wc-block-components-button:not(.is-link):hover,
.wc-block-components-button:not(.is-link):focus-visible,
.wc-block-components-checkout-place-order-button:hover,
.wc-block-components-checkout-place-order-button:focus-visible {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.wc-block-components-checkout-return-to-cart-button,
.wc-block-components-checkout-return-to-cart-button:hover,
.wc-block-components-checkout-return-to-cart-button:focus-visible {
  color: rgba(244, 253, 255, 0.88);
}

.is-large .wc-block-components-sidebar {
  position: sticky;
  top: 6.5rem;
}

@media (min-width: 960px) {
  .wp-block-woocommerce-checkout,
  .wc-block-checkout {
    width: 100%;
    max-width: none;
    container-type: inline-size;
  }

  .wc-block-components-sidebar-layout {
    align-items: flex-start;
    flex-wrap: nowrap;
  }

  .wc-block-components-sidebar-layout .wc-block-components-main {
    width: 65%;
    padding: 1rem 1.75rem 1rem 1.25rem;
  }

  .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    width: 35%;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 699px) {
  .moonsters-shop-commerce-shell .wc-block-components-sidebar-layout > .wc-block-components-main {
    padding: 0.85rem 0.95rem;
  }

  .wp-block-woocommerce-checkout-fields-block,
  .wp-block-woocommerce-checkout-order-summary-block,
  .wc-block-components-checkout-step,
  .wc-block-checkout__actions_row {
    padding: 1.05rem;
  }

  .wc-block-components-order-summary__content,
  .wc-block-components-order-summary .wc-block-components-totals-wrapper {
    padding-left: 0.95rem;
    padding-right: 0.95rem;
  }
}

.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  gap: 0.4rem;
  padding: 0;
  border: 0;
  list-style: none;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: rgba(8, 25, 37, 0.66);
  color: var(--color-text);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background: rgba(108, 223, 255, 0.14);
}

@media (min-width: 960px) {
  .single-product .product {
    grid-template-columns: minmax(18rem, 0.92fr) minmax(0, 1.08fr);
    align-items: start;
  }

  .woocommerce-checkout .col2-set {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (max-width: 959px) {
  .moonsters-shop-header__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.9rem;
  }

  .moonsters-shop-nav {
    display: none;
  }

  .moonsters-shop-header__actions {
    justify-self: end;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: nowrap;
    min-width: 0;
  }

  .site-nav-mobile,
  .mobile-nav {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
  }

  .site-language-switcher {
    flex: 0 0 auto;
    gap: 0.12rem;
    padding: 0.16rem;
  }

  .site-language-switcher__link {
    min-width: 1.9rem;
    min-height: 1.9rem;
    padding: 0.2rem 0.42rem;
    font-size: 0.68rem;
  }

  .moonsters-cart-trigger {
    min-height: 2.5rem;
    padding: 0.55rem 0.78rem;
    gap: 0.35rem;
  }

  .moonsters-cart-trigger__label {
    display: none;
  }

  .mobile-nav__toggle {
    min-height: 2.4rem;
    padding: 0.58rem 0.82rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .mobile-nav__panel {
    position: fixed;
    top: calc(4.8rem + env(safe-area-inset-top, 0px));
    right: 1rem;
    left: 1rem;
    width: auto;
    max-width: none;
    max-height: min(70vh, calc(100dvh - 6rem));
    overflow-y: auto;
  }
}

@media (max-width: 782px) {
  body {
    background-attachment: scroll;
  }

  .moonsters-shop-main {
    padding-top: 1.2rem;
  }

  .moonsters-shop-header__actions {
    width: 100%;
    justify-content: space-between;
  }

  .moonsters-shop-panel--hero,
  .entry-content,
  .moonsters-shop-entry,
  .woocommerce #reviews,
  .woocommerce-account .woocommerce,
  .woocommerce-order,
  .woocommerce .cart-collaterals .cart_totals,
  .woocommerce-checkout .col2-set,
  .woocommerce-checkout-review-order,
  .woocommerce div.product div.summary,
  .woocommerce div.product .woocommerce-tabs .panel,
  .woocommerce div.product .related.products {
    padding: 1.15rem;
  }

  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }

  .woocommerce div.product form.cart {
    align-items: stretch;
  }

  .moonsters-cart-drawer {
    width: min(24rem, 100vw);
  }

  .moonsters-mini-cart__item {
    gap: 0.65rem;
    padding: 0.65rem;
  }

  .moonsters-mini-cart__media {
    flex-basis: 3.8rem;
    width: 3.8rem;
    height: 3.8rem;
  }

  .moonsters-mini-cart__title {
    font-size: 0.9rem;
  }
}

/* ============================================================
   Checkout (WooCommerce Blocks) — overrides para fondo oscuro
   ------------------------------------------------------------
   El checkout moderno usa WC Blocks (clases `wc-block-components-*`)
   y por defecto trae texto en tonos grises pensados para tema claro.
   Sobre nuestro fondo oscuro se queda casi ilegible. Forzamos
   blanco/clear en labels, inputs, placeholders, descripciones y
   estados de validacion.
   ============================================================ */

.wc-block-checkout,
.wc-block-cart,
.wc-block-components-form,
.wc-block-components-panel,
.wc-block-components-totals-wrapper,
.wc-block-components-checkout-step,
.wc-block-components-text-input,
.wc-block-components-address-form,
.wc-block-components-radio-control,
.wc-block-components-checkbox {
	color: var(--color-text);
}

/* Labels (Nombre, Apellidos, Email, Direccion, etc.) */
.wc-block-components-text-input label,
.wc-block-components-text-input > label,
.wc-block-components-checkout-step__title,
.wc-block-components-form .wc-block-components-text-input label,
.wc-block-components-form-step__heading,
.wc-block-components-checkbox__label,
.wc-block-components-radio-control__label,
.wc-block-components-select label,
.wc-block-components-quantity-selector label,
.wc-block-components-totals-item__label,
.woocommerce-checkout label,
.woocommerce-input-wrapper label {
	color: #ffffff !important;
}

/* Descripciones / texto auxiliar bajo los inputs */
.wc-block-components-checkout-step__description,
.wc-block-components-text-input .wc-block-components-validation-error,
.wc-block-components-form-step__description,
.wc-block-components-radio-control-accordion-option__description,
.wc-block-components-checkbox__description,
.wc-block-components-totals-shipping__address-description {
	color: rgba(244, 253, 255, 0.85) !important;
}

/* Inputs / textareas / selects: texto blanco + fondo oscuro + borde violeta */
.wc-block-components-text-input input,
.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="email"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-text-input input[type="number"],
.wc-block-components-text-input textarea,
.wc-block-components-address-form input,
.wc-block-components-address-form select,
.wc-block-components-combobox-input,
.wc-block-components-select select,
.wc-block-checkout input[type="text"],
.wc-block-checkout input[type="email"],
.wc-block-checkout input[type="tel"],
.wc-block-checkout select,
.wc-block-checkout textarea {
	background-color: rgba(5, 16, 24, 0.85) !important;
	color: #ffffff !important;
	border-color: rgba(151, 229, 255, 0.32) !important;
}

/* Placeholders (los grises que se confunden con el fondo) */
.wc-block-components-text-input input::placeholder,
.wc-block-components-text-input textarea::placeholder,
.wc-block-components-address-form input::placeholder,
.wc-block-components-combobox-input::placeholder,
.wc-block-checkout input::placeholder,
.wc-block-checkout textarea::placeholder {
	color: rgba(221, 243, 249, 0.6) !important;
}

/* Combobox/select desplegable: opciones tambien sobre fondo oscuro */
.wc-block-components-combobox-list,
.wc-block-components-combobox-list .wc-block-components-combobox-list__item {
	background-color: #11102b !important;
	color: #ffffff !important;
}
.wc-block-components-combobox-list .wc-block-components-combobox-list__item--is-highlighted,
.wc-block-components-combobox-list .wc-block-components-combobox-list__item:hover {
	background-color: rgba(255, 154, 98, 0.22) !important;
}

/* Sidebar de resumen del pedido */
.wc-block-components-order-summary,
.wc-block-components-totals-item,
.wc-block-components-product-name,
.wc-block-components-product-metadata,
.wc-block-components-product-price,
.wc-block-components-shipping-address,
.wc-block-components-totals-coupon {
	color: var(--color-text);
}

.wc-block-components-product-metadata,
.wc-block-components-product-metadata__description,
.wc-block-components-product-details {
	color: rgba(221, 243, 249, 0.85) !important;
}

/* Botones y enlaces secundarios del checkout (editar, cambiar direccion) */
.wc-block-components-button--text,
.wc-block-components-checkout-step__heading-button,
.wc-block-components-totals-coupon__button,
.wc-block-components-address-card__edit {
	color: var(--color-accent) !important;
}

/* Mensajes de error en validacion */
.wc-block-components-validation-error,
.wc-block-components-form-step__description--error,
.wc-block-components-form-step__error {
	color: #ffb1b1 !important;
}

/* Footer / aviso de privacidad */
.wc-block-checkout__terms,
.wc-block-checkout__terms p,
.wc-block-checkout__actions,
.wc-block-components-checkout-place-order-button {
	color: var(--color-text);
}
.wc-block-checkout__terms a {
	color: var(--color-accent) !important;
}

/* Tarjeta resumen de direccion (ya rellenada): "Jon Huarte" + Editar */
.wc-block-components-address-card,
.wc-block-checkout__billing-fields .wc-block-components-address-card,
.wc-block-checkout__shipping-fields .wc-block-components-address-card,
.wc-block-checkout__contact-fields .wc-block-components-address-card {
	color: #ffffff !important;
	background: rgba(11, 11, 30, 0.7) !important;
	border: 1px solid rgba(151, 229, 255, 0.28) !important;
	border-radius: 14px !important;
	padding: 0.95rem 1.1rem !important;
}

.wc-block-components-address-card *,
.wc-block-components-address-card address,
.wc-block-components-address-card span,
.wc-block-components-address-card p,
.wc-block-components-address-card strong {
	color: #ffffff !important;
}

.wc-block-components-address-card__edit,
.wc-block-components-address-card .wc-block-components-button--link {
	color: var(--color-accent) !important;
	font-weight: 700 !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* "Información de contacto" y similar headers de seccion */
.wc-block-checkout__contact-fields h2,
.wc-block-checkout__billing-fields h2,
.wc-block-checkout__shipping-fields h2,
.wc-block-checkout__order-notes h2,
.wc-block-components-checkout-step__title {
	color: #ffffff !important;
}

/* Inputs autocompletados (Chrome los pinta blanco -> ilegible sobre dark) */
.wc-block-components-text-input input:-webkit-autofill,
.wc-block-components-text-input input:-webkit-autofill:hover,
.wc-block-components-text-input input:-webkit-autofill:focus,
.wc-block-checkout input:-webkit-autofill {
	-webkit-text-fill-color: #ffffff !important;
	-webkit-box-shadow: 0 0 0 1000px rgba(5, 16, 24, 0.95) inset !important;
	transition: background-color 9999s ease-in-out 0s;
}

/* ============================================================
   Order received / Thank-you page — integracion con tema Moonsters
   ------------------------------------------------------------
   La pagina /checkout/order-received/ usa templates clasicos de WC
   (ul.woocommerce-order-overview + table.shop_table). Por defecto
   trae tipografia oscura y tabla zebrada de tema claro. Aqui le
   damos el look Moonsters (panel violeta + heading Poppins + tabla
   transparente legible sobre nuestro fondo).
   ============================================================ */

.woocommerce-order-received .woocommerce-thankyou-order-received,
.woocommerce-order-received .woocommerce-notice {
	margin: 0 0 1.5rem;
	font-family: var(--font-body);
	font-size: 1.05rem;
	color: var(--color-text);
}

/* Lista de "Numero de pedido / Fecha / Email / Total / Metodo de pago" */
.woocommerce-order-overview {
	display: grid;
	gap: 0.6rem;
	margin: 0 0 2rem;
	padding: 1.2rem 1.4rem;
	border: 1px solid rgba(151, 229, 255, 0.28);
	border-radius: 16px;
	background: linear-gradient(180deg, rgba(8, 25, 37, 0.92), rgba(11, 11, 30, 0.96));
	box-shadow: 0 14px 34px rgba(2, 16, 24, 0.32);
	list-style: none;
}

.woocommerce-order-overview li {
	margin: 0;
	color: var(--color-text);
	font-size: 0.96rem;
}

.woocommerce-order-overview strong {
	color: #ffffff;
	font-weight: 700;
}

/* Heading "Detalles del pedido" */
.woocommerce-order-details > h2,
.woocommerce-order-details > h3,
.woocommerce-customer-details > h2,
.woocommerce-customer-details > h3 {
	margin: 2rem 0 1rem;
	font-family: var(--font-brand);
	font-size: clamp(1.4rem, 2.6vw, 1.9rem);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #ffffff;
	text-shadow: 0 2px 14px rgba(7, 23, 33, 0.7), 0 0 26px rgba(151, 229, 255, 0.22);
}

/* Tabla de productos del thank-you (.shop_table) */
.woocommerce-order-details table.shop_table,
.woocommerce table.shop_table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 0 0 1.5rem;
	border: 1px solid rgba(151, 229, 255, 0.22);
	border-radius: 16px;
	overflow: hidden;
	background: rgba(11, 11, 30, 0.7);
	color: var(--color-text);
}

.woocommerce table.shop_table thead th {
	padding: 0.95rem 1.2rem;
	border-bottom: 1px solid rgba(151, 229, 255, 0.22);
	background: rgba(8, 25, 37, 0.85);
	font-family: var(--font-brand);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--color-accent);
	text-align: left;
}

.woocommerce table.shop_table tbody td,
.woocommerce table.shop_table tfoot th,
.woocommerce table.shop_table tfoot td {
	padding: 0.85rem 1.2rem;
	border-bottom: 1px solid rgba(151, 229, 255, 0.12);
	color: var(--color-text);
	font-size: 0.96rem;
	background: transparent;
}

.woocommerce table.shop_table tbody tr:last-child td {
	border-bottom: 0;
}

.woocommerce table.shop_table tfoot th {
	color: rgba(244, 253, 255, 0.85);
	font-family: var(--font-brand);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 0.78rem;
}

.woocommerce table.shop_table tfoot td {
	color: #ffffff;
	font-weight: 700;
}

.woocommerce table.shop_table .product-name a {
	color: var(--color-text);
}

.woocommerce table.shop_table .product-name a:hover {
	color: var(--color-accent);
}

/* Direccion de facturacion/envio (.woocommerce-customer-details) */
.woocommerce-customer-details address {
	padding: 1rem 1.2rem;
	border: 1px solid rgba(151, 229, 255, 0.22);
	border-radius: 14px;
	background: rgba(11, 11, 30, 0.7);
	color: var(--color-text);
	font-style: normal;
	font-size: 0.96rem;
	line-height: 1.55;
}

.woocommerce-customer-details .woocommerce-customer-details--phone,
.woocommerce-customer-details .woocommerce-customer-details--email {
	color: rgba(221, 243, 249, 0.85);
}

/* Wrap general del page-content de WP para envolver con panel Moonsters */
.woocommerce-order-received main,
.woocommerce-order-received .entry-content,
.woocommerce-order-received .wp-block-post-content {
	color: var(--color-text);
}

/* -------------------------------------------------------------------
   Modo "embedded shell": cuando esta pagina se carga dentro de un
   iframe de Astro (p.ej. /pago.astro envuelve /checkout/?embedded=1),
   ocultamos la cabecera/footer/admin bar del tema WP para que solo
   se vea el contenido WC integrado en el chrome de Moonsters.
   La clase la activa header.php (server-side via ?embedded=1/cookie)
   y un script inline (client-side via window.self !== window.top).
   ------------------------------------------------------------------- */
html.is-embedded-shell body,
body.is-embedded-shell {
	background: transparent !important;
}

html.is-embedded-shell .moonsters-shop-header,
body.is-embedded-shell .moonsters-shop-header,
html.is-embedded-shell .moonsters-shop-footer,
body.is-embedded-shell .moonsters-shop-footer,
html.is-embedded-shell #wpadminbar,
body.is-embedded-shell #wpadminbar {
	display: none !important;
}

/* Sin admin bar el body deja de necesitar el padding superior que WP
   anade por defecto cuando esta logueado. */
html.is-embedded-shell,
body.is-embedded-shell {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

html.is-embedded-shell .moonsters-shop-main,
body.is-embedded-shell .moonsters-shop-main {
	padding-top: 0;
}

html.is-embedded-shell .moonsters-shop-site,
body.is-embedded-shell .moonsters-shop-site {
	min-height: auto;
}

/* -------------------------------------------------------------------
   Checkout legacy ([woocommerce_checkout]): por defecto WP apila el
   formulario de facturacion arriba y "Tu pedido" debajo. Forzamos un
   grid 2 columnas con el resumen del pedido sticky a la derecha
   (mismo layout que tenia el checkout con WC Blocks antes de la
   regresion por traducciones).
   ------------------------------------------------------------------- */
@media (min-width: 860px) {
	form.woocommerce-checkout,
	form.checkout {
		display: grid;
		/* Antes: minmax(320px, 380px) en la columna review. Demasiado
		   estrecha: el iframe de Stripe Elements de WooPayments necesita
		   ~440px para no colapsar. Subimos a 440 min y dejamos crecer. */
		grid-template-columns: minmax(0, 1fr) minmax(440px, 520px);
		grid-template-areas:
			"customer review-head"
			"customer review";
		column-gap: 1.75rem;
		row-gap: 1rem;
		align-items: start;
	}

	form.woocommerce-checkout #customer_details,
	form.checkout #customer_details {
		grid-area: customer;
	}

	form.woocommerce-checkout #order_review_heading,
	form.checkout #order_review_heading {
		grid-area: review-head;
		margin: 0;
	}

	form.woocommerce-checkout #order_review,
	form.checkout #order_review {
		grid-area: review;
		position: sticky;
		top: 1rem;
	}

	/* Notas a clientes / cupones quedan dentro del area "customer"
	   en una sola columna. */
	form.woocommerce-checkout .col2-set,
	form.checkout .col2-set {
		display: grid;
		grid-template-columns: 1fr;
		gap: 1rem;
	}
}

/* -------------------------------------------------------------------
   jQuery blockUI overlay: WC bloquea visualmente #order_review y los
   campos de billing mientras recalcula totales por AJAX. Por defecto
   pinta un overlay BLANCO opaco encima -> parece que la zona derecha
   se queda en blanco y no clicable, sobre todo si la AJAX tarda.
   Lo hacemos transparente y dejamos solo un pulso sutil.
   ------------------------------------------------------------------- */
.blockUI.blockOverlay,
.blockUI.blockMsg {
	background: transparent !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* Aseguramos que el panel #order_review tenga fondo Moonsters y nunca
   herede el blanco del wc.css base. */
#order_review,
.woocommerce-checkout-review-order {
	background: rgba(7, 23, 33, 0.55) !important;
	color: var(--color-text) !important;
}

#order_review *,
.woocommerce-checkout-review-order * {
	pointer-events: auto;
}

/* -------------------------------------------------------------------
   Payment box: en el checkout legacy WC mete cada metodo de pago en
   un .payment_box que se despliega cuando seleccionas su radio. El
   WooPayments mete un iframe de Stripe Elements ahi dentro. Por
   defecto el iframe nace con height=0 y se calcula tras montar; si
   el contenedor no tiene min-height, queda colapsado.
   ------------------------------------------------------------------- */
ul.wc_payment_methods {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

ul.wc_payment_methods li.wc_payment_method {
	background: rgba(7, 23, 33, 0.45);
	border: 1px solid rgba(151, 229, 255, 0.18);
	border-radius: 14px;
	padding: 0.85rem 1rem;
}

ul.wc_payment_methods li.wc_payment_method > label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--color-text);
	font-weight: 600;
}

ul.wc_payment_methods li.wc_payment_method .payment_box {
	margin-top: 0.75rem;
	padding: 1rem;
	background: rgba(7, 23, 33, 0.55);
	border-radius: 10px;
	color: var(--color-text);
}

/* Iframe de Stripe Elements (WooPayments) — sin esto colapsa. */
.payment_box iframe,
.wcpay-payment-element iframe,
.wcpay-upe-element iframe {
	min-height: 260px !important;
	width: 100% !important;
	border: 0 !important;
}

/* Contenedor donde WooPayments monta el formulario UPE */
.wcpay-payment-element,
.wcpay-upe-element {
	min-height: 280px;
	width: 100%;
	display: block;
}

/* Boton "Realizar pedido" con la presencia que merece */
#place_order {
	width: 100%;
	margin-top: 1rem;
	padding: 0.9rem 1.25rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
