:root {
  --smc-black: #070809;
  --smc-black-soft: #0d0f11;
  --smc-panel: #121518;
  --smc-panel-2: #171b1f;
  --smc-white: #f7f7f2;
  --smc-muted: #a6adb2;
  --smc-line: rgba(255, 255, 255, 0.13);
  --smc-lime: #c8ff2e;
  --smc-lime-dark: #8fb900;
  --smc-cyan: #2fdcf4;
  --smc-danger: #ff5b63;
  --smc-radius: 18px;
  --smc-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --smc-heading: "Barlow Condensed", Impact, sans-serif;
  --smc-body: "Inter", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  background: var(--smc-black);
}

body,
button,
input,
select,
textarea {
  font-family: var(--smc-body);
}

body {
  background: var(--smc-black);
  color: var(--smc-white);
  font-size: 16px;
  line-height: 1.7;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(circle at 90% 8%, rgba(47, 220, 244, 0.07), transparent 24%), radial-gradient(circle at 15% 65%, rgba(200, 255, 46, 0.05), transparent 23%);
  content: "";
  pointer-events: none;
}

::selection {
  background: var(--smc-lime);
  color: var(--smc-black);
}

a {
  color: var(--smc-white);
  text-decoration-color: rgba(200, 255, 46, 0.45);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--smc-lime);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--smc-cyan);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--smc-white);
  font-family: var(--smc-heading);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

h1 { font-size: clamp(3.35rem, 8vw, 7.8rem); }
h2 { font-size: clamp(2.55rem, 5vw, 4.8rem); }
h3 { font-size: clamp(1.45rem, 2.5vw, 2rem); }

p { color: var(--smc-muted); }

.col-full {
  width: min(100% - 40px, 1480px);
  max-width: none;
  margin-right: auto;
  margin-left: auto;
  padding: 0;
}

.site-content {
  outline: none;
}

/* Storefront adds generous page/header spacing; keep the catalogue close to navigation. */
.site-content .entry-header,
.site-content .woocommerce-products-header { padding: 0 0 16px; margin-bottom: 0; }
.site-content .hentry { margin-bottom: 28px; }
body.home .storefront-breadcrumb { display: none; }

.smc-shop-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.smc-shop-category-grid .smc-category-card { min-height: 280px; }
.smc-category-card .smc-category-card__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; z-index: 0; }
.smc-shop-category-grid .smc-category-card:focus-visible { outline: 3px solid var(--smc-lime); outline-offset: 4px; }
@media (max-width: 1000px) { .smc-shop-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .smc-shop-category-grid { grid-template-columns: 1fr; } .smc-shop-category-grid .smc-category-card { min-height: 220px; } }

.site-main {
  margin-bottom: 0;
}

.content-area,
.right-sidebar .content-area,
.left-sidebar .content-area {
  width: 100%;
  margin-right: 0;
}

.smc-announcement {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--smc-lime);
  color: var(--smc-black);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.smc-announcement .col-full {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 18px;
}

.smc-announcement .col-full > * {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

/*
 * Storefront uses generated table elements to clear floated .col-full
 * containers. They become real flex/grid items in the custom layouts and
 * displace the visible content, so suppress them only where layout is owned
 * by this child theme.
 */
.smc-announcement .col-full::before,
.smc-announcement .col-full::after,
.site-header > .col-full::before,
.site-header > .col-full::after,
.smc-hero__content::before,
.smc-hero__content::after,
body .site-main ul.products::before,
body .site-main ul.products::after,
.smc-membership-band > .col-full::before,
.smc-membership-band > .col-full::after,
.smc-split::before,
.smc-split::after,
.smc-cta .col-full::before,
.smc-cta .col-full::after {
  display: none !important;
  content: none !important;
}

.smc-announcement a {
  margin-left: 10px;
  border-bottom: 1px solid currentColor;
  color: var(--smc-black);
}

.site-header {
  position: relative;
  z-index: 20;
  margin-bottom: 0 !important;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--smc-line);
  background: rgba(7, 8, 9, 0.96);
  color: var(--smc-white);
}

.site-header > .col-full {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(350px, 1fr) auto;
  align-items: center;
  min-height: 104px;
  gap: 24px;
}

.site-header .site-branding {
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
}

.custom-logo-link img,
.site-branding img {
  width: auto;
  max-width: 300px;
  max-height: 76px;
  object-fit: contain;
}

.site-title a,
.site-description {
  color: var(--smc-white);
}

.smc-header-navigation {
  min-width: 0;
  justify-self: center;
}

.smc-header-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.6vw, 52px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.smc-header-menu li {
  margin: 0;
}

.smc-header-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  color: var(--smc-white);
  font-family: var(--smc-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.smc-header-menu a:hover,
.smc-header-menu .current-menu-item > a,
.smc-header-menu .current-menu-ancestor > a {
  color: var(--smc-lime);
}

.smc-menu-toggle {
  display: none;
}

.smc-header-actions {
  display: flex;
  float: none;
  align-items: center;
  gap: 12px;
  justify-self: end;
  margin: 0;
}

.smc-header-actions a,
.smc-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid var(--smc-line);
  border-radius: 999px;
  background: transparent;
  color: var(--smc-white);
  font-family: var(--smc-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1;
  text-transform: uppercase;
}

.smc-search-toggle {
  width: 44px;
  padding: 0;
}

.smc-search-icon {
  position: relative;
  display: block;
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.smc-search-icon::after {
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
  transform-origin: left center;
}

.smc-header-actions a:hover,
.smc-search-toggle:hover {
  border-color: var(--smc-lime);
  color: var(--smc-lime);
}

.smc-cart span {
  display: inline-grid;
  width: 23px;
  height: 23px;
  margin-left: 8px;
  place-items: center;
  border-radius: 50%;
  background: var(--smc-lime);
  color: var(--smc-black);
}

.smc-search-panel {
  clear: both;
  grid-column: 1 / -1;
  width: 100%;
  padding: 0 0 22px;
}

.smc-search-panel form {
  display: flex;
  max-width: 720px;
  margin-left: auto;
}

.smc-search-panel input[type="search"] {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--smc-line);
  background: var(--smc-panel);
  color: var(--smc-white);
}

.smc-search-panel button {
  min-width: 120px;
}

.smc-eyebrow {
  margin: 0 0 14px;
  color: var(--smc-lime);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.smc-hero {
  position: relative;
  overflow: hidden;
  min-height: min(850px, calc(100vh - 110px));
  border-bottom: 1px solid var(--smc-line);
  background: #000;
}

.smc-hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, rgba(7, 8, 9, 1) 0%, rgba(7, 8, 9, 0.96) 36%, rgba(7, 8, 9, 0.18) 70%, rgba(7, 8, 9, 0.18) 100%);
  content: "";
  z-index: 1;
}

.smc-hero::after {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 90px 90px;
  content: "";
  opacity: 0.4;
  z-index: 1;
}

.smc-hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(520px, 1.25fr);
  align-items: center;
  min-height: min(850px, calc(100vh - 110px));
}

.smc-hero__copy {
  position: relative;
  z-index: 3;
  padding: 38px 0 48px;
}

.smc-hero h1 {
  max-width: 810px;
  margin: 0 0 24px;
}

.smc-hero h1 em {
  color: var(--smc-lime);
  font-style: italic;
}

.smc-hero__copy > p:not(.smc-eyebrow) {
  max-width: 630px;
  margin-bottom: 30px;
  color: #cbd0d3;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.smc-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.widget a.button,
.added_to_cart {
  padding: 14px 24px;
  border: 1px solid var(--smc-white);
  border-radius: 999px;
  background: transparent;
  color: var(--smc-white);
  font-family: var(--smc-heading);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.065em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.button:hover,
.widget a.button:hover,
.added_to_cart:hover {
  border-color: var(--smc-lime);
  background: var(--smc-lime);
  color: var(--smc-black);
  transform: translateY(-2px);
}

.button.alt,
button.alt,
input[type="button"].alt,
input[type="reset"].alt,
input[type="submit"].alt,
.widget-area .widget a.button.alt {
  border-color: var(--smc-lime);
  background: var(--smc-lime);
  color: var(--smc-black);
}

.button.alt:hover,
button.alt:hover,
input[type="button"].alt:hover,
input[type="reset"].alt:hover,
input[type="submit"].alt:hover {
  border-color: var(--smc-white);
  background: var(--smc-white);
  color: var(--smc-black);
}

.smc-text-link {
  font-weight: 700;
  text-decoration: none;
}

.smc-hero__proof {
  display: flex;
  gap: 25px;
  margin: 42px 0 0;
  padding: 0;
  color: #cbd0d3;
  font-size: 0.82rem;
  font-weight: 600;
  list-style: none;
}

.smc-hero__proof li::before {
  margin-right: 8px;
  color: var(--smc-lime);
  content: "✓";
}

.smc-hero__visual {
  position: absolute;
  /* The hero sits inside a capped container, not the full viewport. */
  inset: 0;
}

.smc-hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
}

.smc-hero__badge {
  position: absolute;
  right: 8%;
  bottom: 11%;
  display: grid;
  width: 138px;
  height: 138px;
  place-content: center;
  border: 1px solid rgba(200,255,46,.55);
  border-radius: 50%;
  background: rgba(7, 8, 9, 0.84);
  box-shadow: 0 0 50px rgba(200,255,46,.12);
  text-align: center;
  backdrop-filter: blur(12px);
}

.smc-hero__badge strong {
  color: var(--smc-lime);
  font-family: var(--smc-heading);
  font-size: 2.35rem;
  line-height: 1;
}

.smc-hero__badge span {
  max-width: 90px;
  font-size: .72rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.smc-section {
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(36px, 5vw, 64px);
}

.smc-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 50px;
}

.smc-heading h2 {
  margin: 0;
}

.smc-heading > a {
  flex: none;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--smc-lime);
  font-size: .83rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

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

.smc-category-card {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 230px;
  padding: 32px;
  flex-direction: column;
  justify-content: end;
  border: 1px solid var(--smc-line);
  border-radius: var(--smc-radius);
  background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012)), var(--smc-panel);
  color: var(--smc-white);
  text-decoration: none;
  transition: border-color 200ms ease, transform 200ms ease;
}

.smc-category-card::after {
  position: absolute;
  top: -30%;
  right: -12%;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  background: repeating-linear-gradient(120deg, transparent 0 12px, rgba(200,255,46,.07) 12px 14px);
  content: "";
  transition: transform 300ms ease;
}

.smc-category-card:hover {
  border-color: var(--smc-lime);
  color: var(--smc-white);
  transform: translateY(-5px);
}

.smc-category-card:hover::after { transform: scale(1.12) rotate(8deg); }
.smc-category-card > * { position: relative; z-index: 1; }
.smc-category-card > span { position: absolute; top: 26px; left: 30px; color: var(--smc-lime); font-family: var(--smc-heading); font-weight: 700; }
.smc-category-card strong { max-width: 310px; font-family: var(--smc-heading); font-size: 2.2rem; line-height: .95; text-transform: uppercase; }
.smc-category-card small { margin-top: 12px; color: var(--smc-muted); }
.smc-category-card--large { grid-row: span 2; min-height: 476px; background: linear-gradient(0deg, rgba(7,8,9,.35), rgba(7,8,9,.1)), url('../images/smc-patterns.webp') center/cover; }
.smc-category-card--large::after { display: none; }
.smc-category-card--large strong { font-size: clamp(2.8rem, 4vw, 4.2rem); }
.smc-category-card--large small { color: var(--smc-white); }

.smc-product-section {
  border-top: 1px solid var(--smc-line);
  border-bottom: 1px solid var(--smc-line);
  background: var(--smc-black-soft);
}

ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  justify-items: stretch;
  gap: 26px 18px;
  margin: 0;
}

/* Match the space below Storefront's top toolbar at the end of each product grid. */
.site-main ul.products + .storefront-sorting,
.site-main ul.products + .woocommerce-pagination {
  margin-top: 2.617924em;
}

body .site-main ul.products li.product,
body .site-main ul.products.columns-3 li.product,
body .site-main ul.products.columns-4 li.product,
body .site-main ul.products.columns-5 li.product {
  float: none !important;
  clear: none !important;
  width: 100% !important;
  min-width: 0;
  max-width: none;
  margin: 0 !important;
  padding-bottom: 20px;
  border: 1px solid var(--smc-line);
  border-radius: 16px;
  background: var(--smc-panel);
  box-sizing: border-box;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease;
}

body .site-main ul.products li.product .woocommerce-loop-product__title,
body .site-main ul.products li.product h2,
body .site-main ul.products li.product .price {
  overflow-wrap: normal;
  word-break: normal;
}

ul.products li.product:hover {
  border-color: rgba(200,255,46,.55);
  transform: translateY(-5px);
}

ul.products li.product img {
  width: 100%;
  aspect-ratio: 4/5;
  margin: 0 0 20px;
  border-radius: 15px 15px 0 0;
  background: #fff;
  object-fit: contain;
  object-position: center;
}

ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2,
ul.products li.product .price,
ul.products li.product .button,
ul.products li.product .added_to_cart {
  margin-right: 20px;
  margin-left: 20px;
}

ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2 {
  min-height: 2em;
  color: var(--smc-white);
  font-size: 1.55rem;
}

ul.products li.product .price {
  color: var(--smc-lime);
  font-size: .92rem;
  font-weight: 700;
}

ul.products li.product .button {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 16px;
  font-size: .75rem;
}

.onsale {
  border-color: var(--smc-lime);
  color: var(--smc-lime);
}

.smc-membership-band {
  padding: clamp(36px, 5vw, 64px) 0;
  background: linear-gradient(120deg, #c8ff2e 0%, #a7e700 100%);
  color: var(--smc-black);
}

.smc-membership-band > .col-full {
  display: grid;
  grid-template-columns: minmax(280px, .42fr) minmax(760px, 1.58fr);
  gap: clamp(36px, 4vw, 70px);
  align-items: start;
}

.smc-membership-band__intro,
.smc-pricing {
  min-width: 0;
}

.smc-membership-band h2,
.smc-membership-band p,
.smc-membership-band .smc-eyebrow { color: var(--smc-black); }
.smc-membership-band h2 { margin-bottom: 24px; }

.smc-pricing-toggle {
  display: inline-flex;
  margin-bottom: 25px;
  padding: 4px;
  border: 1px solid rgba(7,8,9,.25);
  border-radius: 999px;
}

.smc-pricing-toggle button {
  min-width: 100px;
  padding: 9px 15px;
  border: 0;
  color: var(--smc-black);
  font-size: .73rem;
}

.smc-pricing-toggle button[aria-pressed="true"] {
  background: var(--smc-black);
  color: var(--smc-white);
}

.smc-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.smc-plan {
  display: flex;
  min-height: 485px;
  padding: 28px;
  flex-direction: column;
  border: 1px solid rgba(7,8,9,.22);
  border-radius: var(--smc-radius);
  background: rgba(255,255,255,.28);
  color: var(--smc-black);
}

.smc-plan--featured {
  background: var(--smc-black);
  color: var(--smc-white);
  transform: translateY(-12px);
  box-shadow: 0 28px 55px rgba(31, 41, 0, .22);
}

.smc-plan h3 { margin: 0; color: inherit; font-size: 2rem; }
.smc-plan__price { margin: 18px 0 5px; color: inherit !important; font-family: var(--smc-heading); font-size: 3.35rem; font-weight: 800; line-height: 1; }
.smc-plan__price small { font-family: var(--smc-body); font-size: .72rem; font-weight: 500; }
.smc-plan ul { margin: 24px 0 30px; padding: 0; list-style: none; }
.smc-plan li { position: relative; margin: 10px 0; padding-left: 23px; font-size: .83rem; line-height: 1.45; }
.smc-plan li::before { position: absolute; left: 0; color: currentColor; content: "✓"; font-weight: 800; }
.smc-plan .button { margin-top: auto; border-color: currentColor; color: inherit; text-align: center; }
.smc-plan:not(.smc-plan--featured) .button:hover { background: var(--smc-black); color: var(--smc-white); }
.smc-plan--featured .button { border-color: var(--smc-lime); background: var(--smc-lime); color: var(--smc-black); }
.smc-lifetime { grid-column: 1 / -1; display: flex; margin-top: 12px; padding: 22px 26px; align-items: center; justify-content: space-between; gap: 25px; border: 1px solid rgba(7,8,9,.25); border-radius: 14px; }
.smc-lifetime p { margin: 0; }

.smc-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  align-items: center;
  gap: clamp(45px, 8vw, 120px);
}

.smc-split__visual { position: relative; }
.smc-split__visual::before { position: absolute; z-index: -1; inset: -12px 12% 12px -12px; border: 1px solid var(--smc-lime); border-radius: var(--smc-radius); content: ""; }
.smc-split__visual img { display: block; width: 100%; border-radius: var(--smc-radius); box-shadow: var(--smc-shadow); }
.smc-split__copy h2 { margin: 0 0 25px; }
.smc-split__copy p:not(.smc-eyebrow) { max-width: 520px; margin-bottom: 30px; font-size: 1.07rem; }

.smc-news { border-top: 1px solid var(--smc-line); }
.smc-news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.smc-news-grid article { padding-bottom: 25px; border-bottom: 1px solid var(--smc-line); }
.smc-news__image { display: block; overflow: hidden; margin-bottom: 22px; border-radius: 14px; background: var(--smc-panel); aspect-ratio: 4/3; }
.smc-news__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.smc-news__image:hover img { transform: scale(1.035); }
.smc-news__meta { margin: 0 0 10px; color: var(--smc-lime); font-size: .73rem; font-weight: 700; text-transform: uppercase; }
.smc-news h3 { margin: 0 0 12px; }

/* Página de noticias: barra editorial, categorías y dos columnas. */
.smc-news-banner {
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--smc-line);
  border-left: 5px solid var(--smc-lime);
  border-radius: var(--smc-radius);
  background: linear-gradient(115deg, var(--smc-panel-2), var(--smc-black-soft));
}
.smc-news-banner h1 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: 1.05;
  text-transform: none;
}
.smc-news-banner > p:last-child { margin-bottom: 0; }
.smc-news-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 40px; }
.smc-news-filters a {
  display: inline-flex;
  min-height: 46px;
  padding: 8px 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--smc-line);
  border-radius: 999px;
  background: var(--smc-panel);
  color: var(--smc-white);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.smc-news-filters a:hover { border-color: var(--smc-lime); color: var(--smc-lime); }
.smc-news-filters a[aria-current="page"] { border-color: var(--smc-lime); background: var(--smc-lime); color: var(--smc-black); }
.smc-news-archive .smc-news-card { min-width: 0; margin: 0; }
.smc-news-card__title { margin: 0 0 16px; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.12; text-transform: none; overflow-wrap: anywhere; }
.smc-news-card__title a { text-decoration: none; }
.smc-news-card__more { font-weight: 700; color: var(--smc-lime); }
.smc-news-empty { padding: 40px 24px; border: 1px dashed var(--smc-line); border-radius: var(--smc-radius); text-align: center; }
.smc-news-empty h2 { font-size: 2rem; text-transform: none; }
.smc-news-archive .pagination { margin-top: 40px; }
.smc-news-archive .pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.smc-news-archive .pagination .page-numbers { min-width: 44px; padding: 8px 14px; border: 1px solid var(--smc-line); border-radius: 8px; text-align: center; }
.smc-news-archive .pagination .current { background: var(--smc-lime); color: var(--smc-black); }
.smc-news h3 a { text-decoration: none; }
.smc-news article > p:last-child { margin: 0; }

.smc-cta { overflow: hidden; padding: 48px 0; background: var(--smc-panel); }
.smc-cta .col-full { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.smc-cta h2 { max-width: 900px; margin: 0; }

.site-footer {
  padding: 85px 0 28px;
  border-top: 1px solid var(--smc-line);
  background: #030404;
  color: var(--smc-white);
}

.smc-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: clamp(30px, 5vw, 80px); }
.smc-footer-grid img { width: 260px; height: auto; margin-bottom: 20px; }
.smc-footer-grid p { max-width: 430px; font-size: .88rem; }
.smc-footer-grid h2 { margin: 10px 0 20px; font-size: 1.2rem; }
.smc-footer-grid a { display: block; margin: 9px 0; color: var(--smc-muted); font-size: .86rem; text-decoration: none; }
.smc-footer-grid a:hover { color: var(--smc-lime); }
.smc-copyright { margin: 60px 0 0; padding-top: 24px; border-top: 1px solid var(--smc-line); font-size: .75rem; }
.site-footer .smc-copyright a:not(.button):not(.components-button) { color: inherit; font: inherit; text-decoration: underline; }
.smc-newsletter { display: flex; }
.smc-newsletter input { min-width: 0; border-color: var(--smc-line); background: var(--smc-panel); color: var(--smc-white); }
.smc-newsletter button { padding-right: 15px; padding-left: 15px; border-radius: 0 999px 999px 0; }

.woocommerce-breadcrumb,
.storefront-breadcrumb { margin: 0; padding: 12px 0; color: var(--smc-muted); font-size: .78rem; }
.woocommerce-breadcrumb a { color: var(--smc-white); }
.page-template-default .site-main,
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.single-product .site-main,
.woocommerce-cart .site-main,
.woocommerce-checkout .site-main,
.woocommerce-account .site-main,
.blog .site-main,
.single-post .site-main { padding-top: 12px; padding-bottom: 48px; }
.entry-title,
.page-title,
.woocommerce-products-header__title { margin-bottom: 20px; }

input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea,
.input-text {
  padding: 13px 15px;
  border: 1px solid var(--smc-line);
  border-radius: 8px;
  background: var(--smc-panel);
  box-shadow: none;
  color: var(--smc-white);
  caret-color: var(--smc-white);
  color-scheme: dark;
}

/* Storefront gives focused fields a light background; keep every state dark. */
input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
.input-text:focus {
  background-color: var(--smc-panel);
  color: var(--smc-white);
}

input::placeholder,
textarea::placeholder { color: var(--smc-muted); opacity: 1; }

/* Browsers protect autofill backgrounds. Paint beneath the text, not over it. */
input:is(:autofill, :-webkit-autofill),
textarea:is(:autofill, :-webkit-autofill),
select:is(:autofill, :-webkit-autofill) {
  box-shadow: 0 0 0 1000px var(--smc-panel) inset;
  -webkit-text-fill-color: var(--smc-white);
  caret-color: var(--smc-white);
}

select {
  min-height: 48px;
  padding: 8px 35px 8px 12px;
  border: 1px solid var(--smc-line);
  border-radius: 8px;
  background: var(--smc-panel);
  color: var(--smc-white);
  color-scheme: dark;
}

/* WooCommerce replaces country/state selects with SelectWoo (Select2 markup). */
:is(.woocommerce-cart, .woocommerce-checkout) .select2-container--default .select2-selection--single {
  min-height: 50px;
  border: 1px solid var(--smc-line);
  border-radius: 8px;
  background: var(--smc-panel);
  color: var(--smc-white);
}
:is(.woocommerce-cart, .woocommerce-checkout) .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 11px 34px 11px 15px;
  color: var(--smc-white);
  line-height: 26px;
}
:is(.woocommerce-cart, .woocommerce-checkout) .select2-container--default .select2-selection__placeholder { color: var(--smc-muted); }
:is(.woocommerce-cart, .woocommerce-checkout) .select2-container--default .select2-selection--single .select2-selection__arrow { height: 48px; right: 8px; }
:is(.woocommerce-cart, .woocommerce-checkout) .select2-container--default .select2-selection--single .select2-selection__arrow b { border-top-color: var(--smc-muted); }
:is(.woocommerce-cart, .woocommerce-checkout) .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b { border-top-color: transparent; border-bottom-color: var(--smc-muted); }
:is(.woocommerce-cart, .woocommerce-checkout) .select2-container .select2-selection--single:focus {
  outline: 3px solid var(--smc-cyan);
  outline-offset: 3px;
}
:is(.woocommerce-cart, .woocommerce-checkout) .select2-dropdown {
  border-color: #525a60;
  background: var(--smc-panel);
  color: var(--smc-white);
}
:is(.woocommerce-cart, .woocommerce-checkout) .select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #525a60;
  background: var(--smc-panel-2);
  color: var(--smc-white);
}
:is(.woocommerce-cart, .woocommerce-checkout) .select2-container--default .select2-results__option[data-selected="true"],
:is(.woocommerce-cart, .woocommerce-checkout) .select2-container--default .select2-results__option[aria-selected="true"] {
  background: var(--smc-panel-2);
  color: var(--smc-white);
}
:is(.woocommerce-cart, .woocommerce-checkout) .select2-container--default .select2-results__option--highlighted[data-selected],
:is(.woocommerce-cart, .woocommerce-checkout) .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: var(--smc-lime);
  color: var(--smc-black);
}
:is(.woocommerce-cart, .woocommerce-checkout) .select2-container--default .select2-results__option[aria-disabled="true"] { color: var(--smc-muted); }
:is(.woocommerce-cart, .woocommerce-checkout) .form-row.woocommerce-invalid .select2-selection--single { border: 2px solid var(--smc-danger); }

table:not(.has-background) th,
table:not(.has-background) tbody td,
table:not(.has-background) tfoot td,
table:not(.has-background) tbody tr:nth-child(2n) td { background: var(--smc-panel); }
table th, table td { border-color: var(--smc-line); }

/* Override Storefront's light action-row border and alternating table cells. */
.woocommerce-cart table.cart td.actions {
  padding: 20px;
  border-top: 1px solid var(--smc-line);
  background: var(--smc-panel);
  color: var(--smc-white);
}
.woocommerce-cart table.cart td.product-remove { border-top-color: var(--smc-black); }
.woocommerce-cart table.cart .coupon { border-color: var(--smc-line); }
.woocommerce-cart .cart_totals table.shop_table .order-total th,
.woocommerce-cart .cart_totals table.shop_table .order-total td {
  background: var(--smc-panel-2);
  color: var(--smc-white);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments { border-radius: 10px; background: var(--smc-panel-2); color: var(--smc-white); }
.woocommerce-message { border-left: 5px solid var(--smc-lime); }
.woocommerce-info { border-left: 5px solid var(--smc-cyan); }
.woocommerce-error { border-left: 5px solid var(--smc-danger); }

.single-product div.product .summary .price { color: var(--smc-lime); font-size: 1.4rem; }
.single-product div.product .woocommerce-product-gallery img { width: 100%; height: auto; border-radius: var(--smc-radius); object-fit: contain; }
.woocommerce-tabs ul.tabs li.active a { color: var(--smc-lime); }
.woocommerce-tabs .panel { color: var(--smc-muted); }
.woocommerce-checkout-review-order,
.woocommerce-order-pay .order_details,
.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content { padding: 24px; border: 1px solid var(--smc-line); border-radius: 14px; background: var(--smc-panel); }

/* Outrank Storefront's generated ID rules, including payment hover states. */
.woocommerce-checkout #order_review,
.woocommerce-checkout #payment {
  background: var(--smc-panel);
  color: var(--smc-white);
}
.woocommerce-checkout #order_review .shop_table .order-total th,
.woocommerce-checkout #order_review .shop_table .order-total td { background: var(--smc-panel-2); color: var(--smc-white); }
.woocommerce-checkout #payment .payment_methods > li:not(.woocommerce-notice),
.woocommerce-checkout #payment .payment_methods > li:not(.woocommerce-notice):hover {
  background: var(--smc-panel-2);
  color: var(--smc-white);
}
.woocommerce-checkout #payment .payment_methods > li .payment_box,
.woocommerce-checkout #payment .place-order,
.woocommerce-checkout #payment fieldset,
.woocommerce-checkout #payment fieldset legend,
.woocommerce-checkout #payment .woocommerce-terms-and-conditions {
  background: var(--smc-panel);
  color: var(--smc-white);
}
.woocommerce-checkout #payment .payment_box::before { border-bottom-color: var(--smc-panel); }
.woocommerce-checkout #payment .payment_methods > li > label { color: var(--smc-white); }
.woocommerce-checkout #payment .payment_methods li input[type="radio"]:first-child:checked + label::before { color: var(--smc-lime); }
.woocommerce-checkout #payment .payment_box p,
.woocommerce-checkout #payment .woocommerce-privacy-policy-text p { color: var(--smc-muted); }
.woocommerce-checkout #payment .woocommerce-privacy-policy-text a,
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-link { color: var(--smc-lime); }

/* PayPal copies this text color into its independently styled, light iframe. */
.woocommerce-checkout #payment .payment_method_ppcp-credit-card-gateway .input-text,
.woocommerce-checkout #payment .payment_method_ppcp-credit-card-gateway .input-text:focus,
.woocommerce-checkout #payment .ppcp-sdk-v6-card-field {
  background: #fff;
  color: #172027;
  -webkit-text-fill-color: #172027;
  caret-color: #172027;
  color-scheme: light;
  box-shadow: none;
}
.woocommerce-checkout #payment .payment_method_ppcp-credit-card-gateway .input-text::placeholder {
  color: #52616a;
  -webkit-text-fill-color: #52616a;
}
/* The configured Pay Later message also owns its text inside an iframe. */
:is(.woocommerce-cart, .woocommerce-checkout) .ppcp-messages:not(:empty) {
  padding: 8px 12px;
  border-radius: 8px;
  background: #fff;
  color: #172027;
  color-scheme: light;
}

.woocommerce-MyAccount-navigation ul { margin: 0; }
.woocommerce-MyAccount-navigation-link a { color: var(--smc-white); }
.woocommerce-MyAccount-navigation-link.is-active a { color: var(--smc-lime); }

.smc-library-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 35px 0; }
.smc-library-card { overflow: hidden; border: 1px solid var(--smc-line); border-radius: 15px; background: var(--smc-panel); }
.smc-library-card img { width: 100%; aspect-ratio: 4/5; background: #fff; object-fit: contain; object-position: center; }
.smc-library-card__body { padding: 22px; }
.smc-library-card h3 { margin: 0 0 8px; font-size: 1.55rem; }
.smc-library-card p { font-size: .86rem; }
.smc-library-card .button { padding: 10px 16px; font-size: .75rem; }
.smc-membership-status { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 25px 0; }
.smc-stat { padding: 20px; border: 1px solid var(--smc-line); border-radius: 12px; background: var(--smc-panel-2); }
.smc-stat strong { display: block; color: var(--smc-lime); font-family: var(--smc-heading); font-size: 2.1rem; }
.smc-stat span { color: var(--smc-muted); font-size: .76rem; text-transform: uppercase; }

@media (max-width: 1180px) {
  .site-header > .col-full { grid-template-columns: minmax(220px, 270px) minmax(330px, 1fr) auto; gap: 18px; }
  .smc-header-menu { gap: 20px; }
  .smc-header-menu a { font-size: .92rem; }
  .smc-header-actions { gap: 8px; }
  .smc-header-actions a, .smc-search-toggle { padding: 0 12px; }
  .smc-search-toggle { padding: 0; }
  .smc-membership-band > .col-full { grid-template-columns: 1fr; }
  .smc-membership-band__intro { max-width: 780px; }
}

@media (max-width: 1080px) {
  .smc-hero, .smc-hero__content { min-height: 0; }
  .smc-hero__content { grid-template-columns: minmax(0, 1fr); }
  .smc-hero__copy { max-width: 720px; padding: 28px 0 12px; }
  .smc-hero__visual { position: relative; inset: auto; overflow: hidden; opacity: 1; }
  /* Recorta únicamente el espacio negro lateral del banner en pantallas pequeñas. */
  .smc-hero__visual img { width: 160%; max-width: none; height: auto; margin-left: -60%; }
  .smc-pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .smc-footer-grid { grid-template-columns: 1.3fr repeat(2, 1fr); }
  .smc-footer-grid > div:last-child { grid-column: 2 / -1; }
  ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .site-header > .col-full {
    grid-template-columns: minmax(180px, 1fr) auto auto;
    min-height: 92px;
  }
  .site-header .site-branding { grid-column: 1; }
  .smc-menu-toggle {
    display: inline-grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border-color: var(--smc-line);
  }
  .smc-menu-toggle__icon { display: grid; width: 18px; gap: 4px; }
  .smc-menu-toggle__icon span { display: block; height: 2px; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
  .smc-menu-toggle[aria-expanded="true"] .smc-menu-toggle__icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .smc-menu-toggle[aria-expanded="true"] .smc-menu-toggle__icon span:nth-child(2) { opacity: 0; }
  .smc-menu-toggle[aria-expanded="true"] .smc-menu-toggle__icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .smc-header-navigation {
    grid-column: 1 / -1;
    width: 100%;
    justify-self: stretch;
    padding: 0 0 18px;
  }
  .smc-menu-ready .smc-header-navigation { display: none; }
  .smc-menu-ready .smc-header-navigation.is-open { display: block; }
  .smc-header-menu { align-items: stretch; flex-direction: column; gap: 0; border-top: 1px solid var(--smc-line); }
  .smc-header-menu a { width: 100%; min-height: 48px; border-bottom: 1px solid var(--smc-line); }
  .smc-header-actions { grid-column: 3; }
}

@media (max-width: 767px) {
  .col-full { width: min(100% - 28px, 1480px); }
  .site-footer { padding-bottom: calc(28px + 4.235801032em); }
  .smc-announcement .col-full { justify-content: space-between; }
  .smc-announcement span:nth-child(2),
  .smc-announcement span:nth-child(3) { display: none; }
  .site-header > .col-full { grid-template-columns: minmax(145px, 1fr) auto auto; min-height: 78px; gap: 8px; }
  .site-header .site-branding { width: auto; min-width: 0; margin: 0; }
  .custom-logo-link img, .site-branding img { max-width: 180px; max-height: 60px; }
  .smc-header-actions { margin: 0; }
  .smc-account { display: none !important; }
  .smc-header-actions a, .smc-search-toggle { min-height: 38px; padding: 0 10px; font-size: .7rem; }
  .smc-search-toggle { padding: 0; }
  .smc-menu-toggle { width: 38px; height: 38px; }
  .smc-hero::before { background: linear-gradient(180deg, rgba(7,8,9,.95) 0%, rgba(7,8,9,.8) 65%, rgba(7,8,9,.55) 100%); }
  .smc-hero h1 { font-size: clamp(3.3rem, 16vw, 5.2rem); }
  .smc-hero__badge { right: 7%; bottom: 6%; width: 100px; height: 100px; }
  .smc-hero__badge strong { font-size: 1.7rem; }
  .smc-hero__proof { display: grid; gap: 7px; }
  .smc-heading { align-items: start; flex-direction: column; margin-bottom: 34px; }
  .smc-category-grid { grid-template-columns: 1fr; }
  .smc-category-card--large { min-height: 380px; grid-row: auto; }
  .smc-category-card { min-height: 190px; }
  ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  ul.products li.product .woocommerce-loop-product__title, ul.products li.product h2 { font-size: 1.25rem; }
  ul.products li.product .woocommerce-loop-product__title, ul.products li.product h2, ul.products li.product .price, ul.products li.product .button, ul.products li.product .added_to_cart { margin-right: 13px; margin-left: 13px; }
  .smc-pricing-grid { grid-template-columns: 1fr; }
  .smc-plan--featured { transform: none; }
  .smc-lifetime { align-items: start; flex-direction: column; }
  .smc-split { grid-template-columns: 1fr; }
  .smc-news-grid { grid-template-columns: 1fr; }
  .smc-news-filters { gap: 8px; margin-bottom: 28px; }
  .smc-news-filters a { flex: 1 1 calc(50% - 8px); padding-right: 12px; padding-left: 12px; }
  .smc-cta .col-full { align-items: start; flex-direction: column; }
  .smc-footer-grid { grid-template-columns: 1fr 1fr; }
  .smc-footer-grid > div:first-child, .smc-footer-grid > div:last-child { grid-column: 1 / -1; }
  .smc-library-grid { grid-template-columns: 1fr; }
  .smc-membership-status { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 460px) {
  .smc-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  ul.products { grid-template-columns: 1fr; }
  .smc-footer-grid { grid-template-columns: 1fr; }
  .smc-footer-grid > div { grid-column: 1 !important; }
  .smc-membership-status { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
