/*
 * Aqui puedes sobrescribir cualquier estilo del tema.
 * Este archivo se carga despues de style.css.
 */

/* Ejemplo: */
/*
.site-title {
  letter-spacing: 1px;
}
*/

/* Header: logo por media library y menu a la derecha */
.site-header-inner {
  justify-content: space-between;
}

.site-navigation {
  margin-left: auto;
}

.site-menu {
  justify-content: flex-end;
}

@media (max-width: 860px) {
  .site-navigation {
    margin-left: 0;
  }

  .site-menu {
    justify-content: center;
  }
}

/* Footer */
.site-footer {
  margin-top: 28px;
  border-top: 1px solid var(--border-color);
  background: linear-gradient(120deg, var(--terciary-color), var(--background-main));
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.site-footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-footer-policy {
  color: var(--primary-color);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.site-footer-policy:hover {
  color: var(--navbar-active-item);
}

.site-footer-bottom-image-wrap {
  width: 100%;
}

.site-footer-bottom-image {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/*
 * WooCommerce Shop
 * - Centrado y ancho maximo de 1280px en pantallas grandes
 * - Sidebar oculto
 * - Selector de orden estilizado
 */

body.post-type-archive-product .site-container,
body.post-type-archive-product .content-area,
body.post-type-archive-product .woocommerce,
body.tax-product_cat .site-container,
body.tax-product_cat .content-area,
body.tax-product_cat .woocommerce,
body.tax-product_tag .site-container,
body.tax-product_tag .content-area,
body.tax-product_tag .woocommerce {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

body.post-type-archive-product #primary,
body.tax-product_cat #primary,
body.tax-product_tag #primary,
body.post-type-archive-product .site-main,
body.tax-product_cat .site-main,
body.tax-product_tag .site-main {
  float: none;
  width: 100%;
}

body.post-type-archive-product #secondary,
body.tax-product_cat #secondary,
body.tax-product_tag #secondary,
body.post-type-archive-product .widget-area,
body.tax-product_cat .widget-area,
body.tax-product_tag .widget-area {
  display: none !important;
}

body.post-type-archive-product .woocommerce-ordering,
body.tax-product_cat .woocommerce-ordering,
body.tax-product_tag .woocommerce-ordering {
  margin: 0 0 24px;
}

body.post-type-archive-product .woocommerce-breadcrumb,
body.tax-product_cat .woocommerce-breadcrumb,
body.tax-product_tag .woocommerce-breadcrumb {
  margin-top: 14px;
  margin-bottom: 14px;
}

body.post-type-archive-product .woocommerce-ordering select.orderby,
body.tax-product_cat .woocommerce-ordering select.orderby,
body.tax-product_tag .woocommerce-ordering select.orderby {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  min-width: 240px;
  padding: 11px 42px 11px 14px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background-color: var(--background-secondary);
  background-image: linear-gradient(45deg, transparent 50%, var(--navbar-active-item) 50%), linear-gradient(135deg, var(--navbar-active-item) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

body.post-type-archive-product .woocommerce-ordering select.orderby:hover,
body.tax-product_cat .woocommerce-ordering select.orderby:hover,
body.tax-product_tag .woocommerce-ordering select.orderby:hover {
  border-color: var(--navbar-active-item);
}

body.post-type-archive-product .woocommerce-ordering select.orderby:focus,
body.tax-product_cat .woocommerce-ordering select.orderby:focus,
body.tax-product_tag .woocommerce-ordering select.orderby:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: var(--focus-ring);
}

body.post-type-archive-product ul.products,
body.tax-product_cat ul.products,
body.tax-product_tag ul.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.post-type-archive-product ul.products::before,
body.post-type-archive-product ul.products::after,
body.tax-product_cat ul.products::before,
body.tax-product_cat ul.products::after,
body.tax-product_tag ul.products::before,
body.tax-product_tag ul.products::after {
  display: none;
}

body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.product,
body.tax-product_tag ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
}

body.post-type-archive-product ul.products li.product.post-123,
body.tax-product_cat ul.products li.product.post-123,
body.tax-product_tag ul.products li.product.post-123 {
  /* Reemplaza 123 por el ID real del producto para personalizar una tarjeta concreta. */
  border-color: var(--navbar-active-item);
  box-shadow: 0 0 0 1px rgba(243, 183, 0, 0.25), 0 12px 24px rgba(0, 0, 0, 0.18);
}

body.post-type-archive-product ul.products li.product.product--custom-61,
body.tax-product_cat ul.products li.product.product--custom-61,
body.tax-product_tag ul.products li.product.product--custom-61 {
  background: transparent;
}

body.post-type-archive-product .product-card-custom,
body.tax-product_cat .product-card-custom,
body.tax-product_tag .product-card-custom {
  height: 100%;
  background: linear-gradient(136deg, #09191e 0%, #0d0400 50%);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.post-type-archive-product .product-card-custom__label,
body.tax-product_cat .product-card-custom__label,
body.tax-product_tag .product-card-custom__label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-color);
}

body.post-type-archive-product .product-card-custom__media img,
body.tax-product_cat .product-card-custom__media img,
body.tax-product_tag .product-card-custom__media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

body.post-type-archive-product .product-card-custom__title,
body.tax-product_cat .product-card-custom__title,
body.tax-product_tag .product-card-custom__title {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.2;
}

body.post-type-archive-product .product-card-custom__title a,
body.tax-product_cat .product-card-custom__title a,
body.tax-product_tag .product-card-custom__title a {
  color: var(--primary-color);
  text-decoration: none;
}

body.post-type-archive-product .product-card-custom__price,
body.tax-product_cat .product-card-custom__price,
body.tax-product_tag .product-card-custom__price {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary-color);
}

body.post-type-archive-product .product-card-custom__price .woocommerce-Price-currencySymbol,
body.tax-product_cat .product-card-custom__price .woocommerce-Price-currencySymbol,
body.tax-product_tag .product-card-custom__price .woocommerce-Price-currencySymbol {
  font-size: 1.1rem;
  vertical-align: super;
}

body.post-type-archive-product .product-card-custom__suffix,
body.tax-product_cat .product-card-custom__suffix,
body.tax-product_tag .product-card-custom__suffix {
  margin: 4px 0 0;
  font-size: 0.84rem;
  color: var(--accent-color);
  
}

body.post-type-archive-product .product-card-custom__perks,
body.tax-product_cat .product-card-custom__perks,
body.tax-product_tag .product-card-custom__perks {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

body.post-type-archive-product .product-card-custom__perks li,
body.tax-product_cat .product-card-custom__perks li,
body.tax-product_tag .product-card-custom__perks li {
  color: #d9e3e7;
  font-size: 0.84rem;
  line-height: 1.45;
  display: flex;
  gap: 8px;
}

body.post-type-archive-product .product-card-custom__perks li::before,
body.tax-product_cat .product-card-custom__perks li::before,
body.tax-product_tag .product-card-custom__perks li::before {
  content: "✓";
  color: var(--accent-color);
  font-weight: 800;
  flex-shrink: 0;
}

body.post-type-archive-product .product-card-custom__footer,
body.tax-product_cat .product-card-custom__footer,
body.tax-product_tag .product-card-custom__footer {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

body.post-type-archive-product .product-card-custom__outline,
body.tax-product_cat .product-card-custom__outline,
body.tax-product_tag .product-card-custom__outline {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid var(--accent-color);
  color: var(--primary-color);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

body.post-type-archive-product .product-card-custom__outline:hover,
body.tax-product_cat .product-card-custom__outline:hover,
body.tax-product_tag .product-card-custom__outline:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--primary-color);
}

body.post-type-archive-product .product-card-custom__dates,
body.tax-product_cat .product-card-custom__dates,
body.tax-product_tag .product-card-custom__dates {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px 12px;
}

body.post-type-archive-product .product-card-custom__dates-label,
body.tax-product_cat .product-card-custom__dates-label,
body.tax-product_tag .product-card-custom__dates-label {
  margin: 0 0 5px;
  color: var(--muted-color);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.post-type-archive-product .product-card-custom__dates p,
body.tax-product_cat .product-card-custom__dates p,
body.tax-product_tag .product-card-custom__dates p {
  margin: 0;
  font-size: 0.8rem;
  color: #d9e3e7;
}

body.post-type-archive-product .product-card-custom--featured,
body.tax-product_cat .product-card-custom--featured,
body.tax-product_tag .product-card-custom--featured {
  background: linear-gradient(136deg, #09191e 0%, #0d0400 50%);
  border: 2px solid var(--accent-color);
  position: relative;
}

body.post-type-archive-product .product-card-custom__badge,
body.tax-product_cat .product-card-custom__badge,
body.tax-product_tag .product-card-custom__badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 0 0 6px 6px;
  z-index: 2;
}

body.post-type-archive-product ul.products li.product .button,
body.post-type-archive-product ul.products li.product a.button,
body.post-type-archive-product ul.products li.product .add_to_cart_button,
body.tax-product_cat ul.products li.product .button,
body.tax-product_cat ul.products li.product a.button,
body.tax-product_cat ul.products li.product .add_to_cart_button,
body.tax-product_tag ul.products li.product .button,
body.tax-product_tag ul.products li.product a.button,
body.tax-product_tag ul.products li.product .add_to_cart_button {
  display: inline-block;
  width: 100%;
  background: var(--accent-color);
  color: var(--primary-color);
  border: 1px solid var(--accent-color);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
}

body.post-type-archive-product ul.products li.product .button:hover,
body.post-type-archive-product ul.products li.product a.button:hover,
body.post-type-archive-product ul.products li.product .add_to_cart_button:hover,
body.tax-product_cat ul.products li.product .button:hover,
body.tax-product_cat ul.products li.product a.button:hover,
body.tax-product_cat ul.products li.product .add_to_cart_button:hover,
body.tax-product_tag ul.products li.product .button:hover,
body.tax-product_tag ul.products li.product a.button:hover,
body.tax-product_tag ul.products li.product .add_to_cart_button:hover {
  background: #d94400;
  border-color: #d94400;
  transform: translateY(-1px);
}

@media (max-width: 768px) {

  body.post-type-archive-product .woocommerce-ordering,
  body.tax-product_cat .woocommerce-ordering,
  body.tax-product_tag .woocommerce-ordering {
    width: 100%;
  }

  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products {
    grid-template-columns: 1fr;
  }

  body.post-type-archive-product .woocommerce-ordering select.orderby,
  body.tax-product_cat .woocommerce-ordering select.orderby,
  body.tax-product_tag .woocommerce-ordering select.orderby {
    width: 100%;
    min-width: 0;
  }
}

/*
 * WooCommerce Single Product
 * - Vista de detalle mas cuidada
 * - Ancho maximo de 1280px centrado
 */

body.single-product .site-container,
body.single-product .content-area,
body.single-product .woocommerce,
body.single-product div.product {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

body.single-product #primary,
body.single-product .site-main {
  float: none;
  width: 100%;
}

body.single-product #secondary,
body.single-product .widget-area {
  display: none !important;
}

body.single-product div.product {
  background: linear-gradient(140deg, rgba(13, 34, 44, 0.62), rgba(9, 24, 31, 0.96));
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.3);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

body.single-product div.product .woocommerce-product-gallery,
body.single-product div.product .summary {
  float: none !important;
  width: 100% !important;
  margin-bottom: 0;
}

body.single-product div.product .summary.entry-summary {
  margin: 0;
}

body.single-product .woocommerce-product-gallery__wrapper {
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  background: var(--background-secondary);
}

body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  opacity: 0.78;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img:hover {
  opacity: 1;
  border-color: var(--navbar-active-item);
  transform: translateY(-1px);
}

body.single-product div.product .product_title {
  color: var(--primary-color);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
  margin-bottom: 10px;
}

body.single-product div.product p.price,
body.single-product div.product span.price {
  color: var(--navbar-active-item);
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 800;
  margin: 0 0 14px;
}

body.single-product div.product .woocommerce-product-details__short-description,
body.single-product div.product .woocommerce-product-details__short-description p {
  color: var(--muted-color);
  line-height: 1.7;
}

body.single-product div.product form.cart {
  margin-top: 18px;
  padding: 14px;
  background: rgba(17, 20, 24, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

body.single-product .quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  background: var(--background-main);
}

body.single-product .quantity .qty {
  background: transparent;
  color: var(--primary-color);
  border: 0;
  border-radius: 0;
  padding: 12px 16px;
  min-height: 44px;
  min-width: 80px;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
}

body.single-product .quantity .qty:focus {
  outline: none;
  background: rgba(242, 75, 0, 0.08);
}

body.single-product .quantity button.plus,
body.single-product .quantity button.minus {
  background: var(--background-secondary);
  color: var(--navbar-active-item);
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-weight: 800;
  font-size: 1.1rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

body.single-product .quantity button.plus:hover,
body.single-product .quantity button.minus:hover {
  background: var(--navbar-active-item);
  color: var(--background-main);
}

body.single-product .single_add_to_cart_button.button {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--accent-color);
  background: var(--accent-color);
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
}

body.single-product .single_add_to_cart_button.button:hover {
  background: #d94400;
  border-color: #d94400;
  transform: translateY(-1px);
}

body.single-product .product_meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  color: var(--muted-color);
}

body.single-product .product_meta a {
  color: var(--navbar-active-item);
}

body.single-product .product_meta a:hover {
  color: var(--accent-color);
}

body.single-product .woocommerce-tabs {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
}

body.single-product .woocommerce-breadcrumb {
  margin-top: 14px;
  margin-bottom: 16px;
}

body.single-product .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

body.single-product .woocommerce-tabs ul.tabs li {
  margin: 0;
  border: 1px solid var(--border-color);
  background: var(--background-secondary);
  border-radius: 10px;
  transition: all 0.25s ease;
  list-style-type: none;
}

body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after {
  display: none;
}

body.single-product .woocommerce-tabs ul.tabs li a {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 12px 18px;
  display: block;
  text-decoration: none;
  transition: color 0.2s ease;
}

body.single-product .woocommerce-tabs ul.tabs li:hover {
  border-color: var(--navbar-active-item);
  background: rgba(243, 183, 0, 0.08);
}

body.single-product .woocommerce-tabs ul.tabs li:hover a {
  color: var(--navbar-active-item);
}

body.single-product .woocommerce-tabs ul.tabs li.active {
  border-color: rgba(242, 75, 0, 0.6);
  background: linear-gradient(120deg, rgba(243, 183, 0, 0.25), rgba(242, 75, 0, 0.18));
  box-shadow: 0 4px 12px rgba(242, 75, 0, 0.15);
}

body.single-product .woocommerce-tabs ul.tabs li.active a {
  color: var(--navbar-active-item);
}

body.single-product .woocommerce-tabs .panel {
  background: var(--background-secondary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 22px;
  color: var(--muted-color);
  line-height: 1.7;
}

/* Tarjetas personalizadas dentro del tab de descripcion (single product) */
body.single-product .woocommerce-tabs .panel .product-card-custom {
  background: linear-gradient(136deg, #09191e 0%, #0d0400 50%);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

body.single-product .woocommerce-tabs .panel .product-card-custom--featured {
  border: 2px solid var(--accent-color);
  position: relative;
}

body.single-product .woocommerce-tabs .panel .product-card-custom__badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 0 0 6px 6px;
  z-index: 2;
}

body.single-product .woocommerce-tabs .panel .product-card-custom__label,
body.single-product .woocommerce-tabs .panel .product-card-custom__dates-label {
  color: var(--muted-color);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
}

body.single-product .woocommerce-tabs .panel .product-card-custom__title {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

body.single-product .woocommerce-tabs .panel .product-card-custom__title a {
  color: var(--primary-color);
  text-decoration: none;
}

body.single-product .woocommerce-tabs .panel .product-card-custom__price {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1;
}

body.single-product .woocommerce-tabs .panel .product-card-custom__suffix {
  margin: 4px 0 0;
  color: var(--accent-color);
  font-size: 0.9rem;
}

body.single-product .woocommerce-tabs .panel .product-card-custom__perks {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

body.single-product .woocommerce-tabs .panel .product-card-custom__perks li {
  color: #d9e3e7;
  display: flex;
  gap: 8px;
  line-height: 1.45;
}

body.single-product .woocommerce-tabs .panel .product-card-custom__perks li::before {
  content: "✓";
  color: var(--accent-color);
  font-weight: 800;
}

body.single-product .woocommerce-tabs .panel .product-card-custom__footer {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

body.single-product .woocommerce-tabs .panel .product-card-custom__outline {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid var(--accent-color);
  color: var(--primary-color);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

body.single-product .woocommerce-tabs .panel .product-card-custom__dates {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px 12px;
}

body.single-product .woocommerce-tabs .panel .product-card-custom__dates p {
  margin: 0;
  color: #d9e3e7;
}

/* Valoraciones */
body.single-product #reviews {
  color: var(--muted-color);
}

body.single-product #reviews #comments {
  margin-bottom: 20px;
}

body.single-product #reviews #comments h2,
body.single-product #reviews #review_form_wrapper .comment-reply-title {
  margin: 0 0 14px;
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 800;
}

body.single-product #reviews #comments ol.commentlist {
  margin: 0;
  padding: 0;
}

body.single-product #reviews #comments ol.commentlist li {
  margin: 0 0 12px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--background-secondary);
  padding: 14px;
}

body.single-product #reviews #comments ol.commentlist li .comment_container img.avatar {
  width: 54px;
  height: 54px;
  border: 2px solid var(--border-color);
  border-radius: 999px;
  padding: 0;
  background: var(--background-main);
}

body.single-product #reviews #comments ol.commentlist li .comment-text {
  margin-left: 74px;
  border: 0;
  padding: 0;
}

body.single-product #reviews #comments ol.commentlist li .meta {
  margin-bottom: 8px;
}

body.single-product #reviews #comments ol.commentlist li .meta .woocommerce-review__author {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
}

body.single-product #reviews #comments ol.commentlist li .meta .woocommerce-review__dash,
body.single-product #reviews #comments ol.commentlist li .meta .woocommerce-review__published-date {
  color: var(--muted-color);
}

body.single-product #reviews #comments ol.commentlist li .description p {
  color: var(--muted-color);
  line-height: 1.7;
}

body.single-product #reviews #comments .star-rating,
body.single-product #reviews #comments p.stars,
body.single-product #review_form #respond p.stars {
  color: var(--navbar-active-item);
}

body.single-product #review_form_wrapper {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

body.single-product #review_form #respond {
  background: var(--background-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 16px;
}

body.single-product #review_form #respond p {
  margin-bottom: 12px;
}

body.single-product #review_form #respond label {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
}

body.single-product #review_form #respond input[type="text"],
body.single-product #review_form #respond input[type="email"],
body.single-product #review_form #respond textarea {
  width: 100%;
  background: var(--background-main);
  color: var(--primary-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px 12px;
}

body.single-product #review_form #respond input[type="text"]:focus,
body.single-product #review_form #respond input[type="email"]:focus,
body.single-product #review_form #respond textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: var(--focus-ring);
}

body.single-product #review_form #respond .form-submit input.submit {
  border: 1px solid var(--accent-color);
  border-radius: 9px;
  background: var(--accent-color);
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 800;
  padding: 10px 16px;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
}

body.single-product #review_form #respond .form-submit input.submit:hover {
  background: #d94400;
  border-color: #d94400;
  transform: translateY(-1px);
}

body.single-product #reviews .woocommerce-noreviews,
body.single-product #reviews .woocommerce-Reviews-title {
  color: var(--muted-color);
}

body.single-product section.related.products {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
}

body.single-product section.related.products>h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--primary-color);
}

body.single-product section.related.products ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

body.single-product section.related.products ul.products li.product {
  background: var(--background-light-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  width: 100%;
  padding: 14px;
  transition: all 0.2s ease;
}

body.single-product section.related.products ul.products li.product:hover {
  border-color: var(--navbar-active-item);
  box-shadow: 0 8px 20px rgba(243, 183, 0, 0.15);
}

body.single-product section.related.products ul.products li.product .button,
body.single-product section.related.products ul.products li.product a.button,
body.single-product section.related.products ul.products li.product .add_to_cart_button {
  width: 100%;
  background: var(--accent-color);
  color: var(--primary-color);
  border: 1px solid var(--accent-color);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
}

body.single-product section.related.products ul.products li.product .button:hover,
body.single-product section.related.products ul.products li.product a.button:hover,
body.single-product section.related.products ul.products li.product .add_to_cart_button:hover {
  background: #d94400;
  border-color: #d94400;
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  body.single-product div.product {
    padding: 18px;
    border-radius: 14px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  body.single-product div.product .woocommerce-product-gallery,
  body.single-product div.product .summary {
    width: 100%;
    float: none;
    margin-right: 0;
  }

  body.single-product div.product .woocommerce-product-gallery {
    margin-bottom: 16px;
  }

  body.single-product #reviews #comments ol.commentlist li .comment-text {
    margin-left: 0;
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  body.single-product .woocommerce-tabs ul.tabs {
    gap: 10px;
  }

  body.single-product .woocommerce-tabs ul.tabs li {
    width: auto;
    border-radius: 8px;
  }

  body.single-product .woocommerce-tabs ul.tabs li a {
    padding: 10px 14px;
    font-size: 0.95rem;
  }

  body.single-product .woocommerce-tabs .panel {
    padding: 16px;
    border-radius: 10px;
  }
}


.woocommerce div.product .woocommerce-tabs .panel {
  margin: 0 0 2em;
  padding: 30px;
}

/* WooCommerce notices (producto anadido al carrito) */
.woocommerce .woocommerce-message,
.woocommerce-page .woocommerce-message {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 20px;
  padding: 14px 14px 14px 16px;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-color);
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(13, 34, 44, 0.78), rgba(9, 24, 31, 0.92));
  color: var(--primary-color);
  line-height: 1.45;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
      padding-left: 50px;
}

.woocommerce .woocommerce-message::before,
.woocommerce-page .woocommerce-message::before {
  color: var(--navbar-active-item);
  margin-right: 4px;
}

.woocommerce .woocommerce-message a,
.woocommerce-page .woocommerce-message a {
  color: var(--navbar-active-item);
  font-weight: 700;
}

.woocommerce .woocommerce-message .button.wc-forward,
.woocommerce-page .woocommerce-message .button.wc-forward {
  margin-left: auto;
  border: 1px solid var(--accent-color);
  border-radius: 8px;
  background: var(--accent-color);
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 8px 14px;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.woocommerce .woocommerce-message .button.wc-forward:hover,
.woocommerce-page .woocommerce-message .button.wc-forward:hover {
  background: #d94400;
  border-color: #d94400;
  color: var(--primary-color);
  transform: translateY(-1px);
}

.woocommerce .woocommerce-message .button.wc-forward:focus-visible,
.woocommerce-page .woocommerce-message .button.wc-forward:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

@media (max-width: 768px) {

  .woocommerce .woocommerce-message .button.wc-forward,
  .woocommerce-page .woocommerce-message .button.wc-forward {
    width: 100%;
    margin-left: 0;
    text-align: center;
  }
}

/*
 * WooCommerce Cart (/cart)
 * Diseño integrado con la identidad del tema.
 */

body.woocommerce-cart .site-container,
body.woocommerce-cart .content-area,
body.woocommerce-cart .woocommerce {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

body.woocommerce-cart #primary,
body.woocommerce-cart .site-main {
  float: none;
  width: 100%;
}

body.woocommerce-cart #secondary,
body.woocommerce-cart .widget-area {
  display: none !important;
}

/* Tabla de productos */
body.woocommerce-cart .woocommerce-cart-form {
  margin-bottom: 28px;
}

body.woocommerce-cart table.shop_table {
  width: 100%;
  border-collapse: collapse;
  background: var(--background-secondary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
}

body.woocommerce-cart table.shop_table thead {
  background: var(--background-highlight);
}

body.woocommerce-cart table.shop_table thead th {
  padding: 14px 16px;
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-color);
}

body.woocommerce-cart table.shop_table tbody tr {
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s ease;
}

body.woocommerce-cart table.shop_table tbody tr:last-child {
  border-bottom: 0;
}

body.woocommerce-cart table.shop_table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

body.woocommerce-cart table.shop_table tbody td {
  padding: 16px;
  color: var(--muted-color);
  vertical-align: middle;
}

body.woocommerce-cart table.shop_table td.product-name a {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
}

body.woocommerce-cart table.shop_table td.product-name a:hover {
  color: var(--navbar-active-item);
}

body.woocommerce-cart table.shop_table td.product-price,
body.woocommerce-cart table.shop_table td.product-subtotal {
  color: var(--navbar-active-item);
  font-family: var(--font-heading);
  font-weight: 800;
}

body.woocommerce-cart table.shop_table td.product-thumbnail img {
  border-radius: 8px;
  border: 1px solid var(--border-color);
  width: 68px;
  height: 68px;
  object-fit: cover;
}

/* Botón eliminar producto */
body.woocommerce-cart table.shop_table td.product-remove a.remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 2, 124, 0.12);
  border: 1px solid rgba(255, 2, 124, 0.35);
  color: var(--error-color) !important;
  font-size: 1.1rem;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

body.woocommerce-cart table.shop_table td.product-remove a.remove:hover {
  background: rgba(255, 2, 124, 0.28);
  transform: scale(1.1);
}

/* Cantidad en el carrito */
body.woocommerce-cart table.shop_table .quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background: var(--background-main);
}

body.woocommerce-cart table.shop_table .quantity .qty {
  background: transparent;
  color: var(--primary-color);
  border: 0;
  padding: 8px 10px;
  min-height: 38px;
  min-width: 54px;
  text-align: center;
  font-weight: 600;
}

body.woocommerce-cart table.shop_table .quantity .qty:focus {
  outline: none;
  background: rgba(242, 75, 0, 0.08);
}

/* Cupón y botones de la tabla */
body.woocommerce-cart .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--background-secondary);
  border-top: 1px solid var(--border-color);
}

body.woocommerce-cart .actions .coupon {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
}

body.woocommerce-cart .actions .coupon input#coupon_code {
  background: var(--background-main);
  color: var(--primary-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 9px 12px;
  min-height: 40px;
  min-width: 200px;
  font-family: var(--font-body);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.woocommerce-cart .actions .coupon input#coupon_code:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: var(--focus-ring);
}

body.woocommerce-cart .actions .coupon input#coupon_code::placeholder {
  color: var(--muted-color);
}

body.woocommerce-cart .actions .coupon .button,
body.woocommerce-cart .actions button[name="apply_coupon"] {
  background: var(--background-highlight);
  color: var(--primary-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 9px 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

body.woocommerce-cart .actions .coupon .button:hover,
body.woocommerce-cart .actions button[name="apply_coupon"]:hover {
  border-color: var(--navbar-active-item);
  background: rgba(243, 183, 0, 0.1);
}

body.woocommerce-cart .actions button[name="update_cart"] {
  background: transparent;
  color: var(--muted-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 9px 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

body.woocommerce-cart .actions button[name="update_cart"]:hover {
  border-color: var(--navbar-active-item);
  color: var(--navbar-active-item);
}

/* Resumen del carrito (totales) */
body.woocommerce-cart .cart-collaterals {
  margin-top: 8px;
}

body.woocommerce-cart .cart_totals {
  float: none;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  background: linear-gradient(140deg, rgba(13, 34, 44, 0.7), rgba(9, 24, 31, 0.95));
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

body.woocommerce-cart .cart_totals h2 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

body.woocommerce-cart .cart_totals table.shop_table {
  border: 0;
  background: transparent;
  border-radius: 0;
}

body.woocommerce-cart .cart_totals table.shop_table th,
body.woocommerce-cart .cart_totals table.shop_table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--muted-color);
}

body.woocommerce-cart .cart_totals table.shop_table th {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
}

body.woocommerce-cart .cart_totals table.shop_table .order-total th,
body.woocommerce-cart .cart_totals table.shop_table .order-total td {
  color: var(--navbar-active-item);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  border-bottom: 0;
}

/* Botón de proceder al pago */
body.woocommerce-cart .wc-proceed-to-checkout {
  margin-top: 16px;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  display: block;
  width: 100%;
  background: var(--accent-color);
  color: var(--primary-color) !important;
  border: 1px solid var(--accent-color);
  border-radius: 10px;
  padding: 14px 16px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
  background: #d94400;
  border-color: #d94400;
  transform: translateY(-1px);
}

/* WooCommerce Blocks: boton finalizar compra */
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained,
body.woocommerce-cart .wc-block-components-button.contained {
  background: var(--accent-color) !important;
  color: var(--primary-color) !important;
  border: 1px solid var(--accent-color) !important;
  border-radius: 10px;
  min-height: 46px;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
}

body.woocommerce-cart .wc-block-cart__submit-button:hover,
body.woocommerce-cart .wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained:hover,
body.woocommerce-cart .wc-block-components-button.contained:hover {
  background: #d94400 !important;
  border-color: #d94400 !important;
  color: var(--primary-color) !important;
  transform: translateY(-1px);
}

body.woocommerce-cart .wc-block-cart__submit-button:focus,
body.woocommerce-cart .wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained:focus,
body.woocommerce-cart .wc-block-components-button.contained:focus {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* WooCommerce Blocks: formulario de cupon en carrito */
body.woocommerce-cart .wc-block-components-totals-coupon {
  margin-top: 14px;
}

body.woocommerce-cart .wc-block-components-totals-coupon__form {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  flex-wrap: wrap;
}

body.woocommerce-cart .wc-block-components-totals-coupon__input {
  flex: 1 1 240px;
}

body.woocommerce-cart .wc-block-components-text-input input,
body.woocommerce-cart #wc-block-components-totals-coupon__input-coupon {
  background: var(--background-main);
  color: var(--primary-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  min-height: 44px;
  padding: 14px 12px 10px;
  font-family: var(--font-body);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

body.woocommerce-cart .wc-block-components-text-input label {
  color: var(--muted-color);
  font-family: var(--font-body);
}

body.woocommerce-cart .wc-block-components-text-input input:focus,
body.woocommerce-cart #wc-block-components-totals-coupon__input-coupon:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: var(--focus-ring);
}

body.woocommerce-cart .wc-block-components-totals-coupon__button {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--accent-color) !important;
  background: var(--accent-color) !important;
  color: var(--primary-color) !important;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.02em;
}

body.woocommerce-cart .wc-block-components-totals-coupon__button:hover {
  background: #d94400 !important;
  border-color: #d94400 !important;
}

body.woocommerce-cart .wc-block-components-totals-coupon__button:disabled,
body.woocommerce-cart .wc-block-components-totals-coupon__button[aria-disabled="true"] {
  background: var(--background-highlight) !important;
  border-color: var(--border-color) !important;
  color: var(--muted-color) !important;
  opacity: 1;
}

/* Checkout bloques: panel de cupon */
body.woocommerce-checkout .wc-block-components-totals-coupon.wc-block-components-panel {
  background: var(--background-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
}

body.woocommerce-checkout .wc-block-components-panel__button {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 12px 14px;
  background: var(--background-main);
  border-bottom: 1px solid var(--border-color);
}

body.woocommerce-checkout .wc-block-components-panel__button-icon,
body.woocommerce-checkout .wc-block-components-panel__button svg {
  fill: var(--navbar-active-item);
  color: var(--navbar-active-item);
}

body.woocommerce-checkout .wc-block-components-panel__content {
  padding: 12px 14px;
  background: var(--background-secondary);
}

body.woocommerce-checkout .wc-block-components-totals-coupon__form {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  flex-wrap: wrap;
}

body.woocommerce-checkout .wc-block-components-totals-coupon__input {
  flex: 1 1 240px;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout #wc-block-components-totals-coupon__input-coupon {
  background: var(--background-main);
  color: var(--primary-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  min-height: 44px;
  padding: 14px 12px 10px;
  font-family: var(--font-body);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

body.woocommerce-checkout .wc-block-components-text-input label {
  color: var(--muted-color);
  font-family: var(--font-body);
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout #wc-block-components-totals-coupon__input-coupon:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: var(--focus-ring);
}

body.woocommerce-checkout .wc-block-components-totals-coupon__button {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--accent-color) !important;
  background: var(--accent-color) !important;
  color: var(--primary-color) !important;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.02em;
}

body.woocommerce-checkout .wc-block-components-totals-coupon__button:hover {
  background: #d94400 !important;
  border-color: #d94400 !important;
}

body.woocommerce-checkout .wc-block-components-totals-coupon__button:disabled,
body.woocommerce-checkout .wc-block-components-totals-coupon__button[aria-disabled="true"] {
  background: var(--background-highlight) !important;
  border-color: var(--border-color) !important;
  color: var(--muted-color) !important;
  opacity: 1;
}

/* Checkout bloques: boton realizar pedido */
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained {
  width: 100%;
  min-height: 46px;
  border-radius: 10px;
  border: 1px solid var(--accent-color) !important;
  background: var(--accent-color) !important;
  color: var(--primary-color) !important;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout .wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained:hover {
  background: #d94400 !important;
  border-color: #d94400 !important;
  color: var(--primary-color) !important;
  transform: translateY(-1px);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:focus,
body.woocommerce-checkout .wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained:focus {
  outline: none;
  box-shadow: var(--focus-ring);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:disabled,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button[aria-disabled="true"] {
  background: var(--background-highlight) !important;
  border-color: var(--border-color) !important;
  color: var(--muted-color) !important;
  opacity: 1;
  transform: none;
}

@media (max-width: 768px) {
  body.woocommerce-cart .wc-block-components-totals-coupon__form {
    flex-direction: column;
    align-items: stretch;
  }

  body.woocommerce-cart .wc-block-components-totals-coupon__button {
    width: 100%;
  }

  body.woocommerce-checkout .wc-block-components-totals-coupon__form {
    flex-direction: column;
    align-items: stretch;
  }

  body.woocommerce-checkout .wc-block-components-totals-coupon__button {
    width: 100%;
  }
}

/* WooCommerce Blocks + AWCDP: asegurar contraste en totales de deposito */
body.woocommerce-cart .wc-block-components-order-meta,
body.woocommerce-checkout .wc-block-components-order-meta,
body.woocommerce-cart .wc-block-awcdp-totals,
body.woocommerce-checkout .wc-block-awcdp-totals {
  color: var(--primary-color);
}

body.woocommerce-cart .wc-block-awcdp-totals.wc-block-components-totals-wrapper,
body.woocommerce-checkout .wc-block-awcdp-totals.wc-block-components-totals-wrapper {
  background: var(--background-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px 12px;
}

body.woocommerce-cart .wc-block-awcdp-totals .wc-block-components-totals-item,
body.woocommerce-checkout .wc-block-awcdp-totals .wc-block-components-totals-item {
  color: var(--primary-color);
  border-bottom-color: var(--border-color);
}

body.woocommerce-cart .wc-block-awcdp-totals .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-awcdp-totals .wc-block-components-totals-item__label {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
}

body.woocommerce-cart .wc-block-awcdp-totals .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-awcdp-totals .wc-block-components-totals-item__value,
body.woocommerce-cart .wc-block-awcdp-totals .wc-block-components-formatted-money-amount,
body.woocommerce-checkout .wc-block-awcdp-totals .wc-block-components-formatted-money-amount {
  color: var(--navbar-active-item);
  font-family: var(--font-heading);
  font-weight: 800;
}

body.woocommerce-cart .wc-block-awcdp-totals .wc-block-components-totals-item__description,
body.woocommerce-checkout .wc-block-awcdp-totals .wc-block-components-totals-item__description {
  color: var(--muted-color);
}

/* Mensajes de cupón / info */
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error {
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-family: var(--font-body);
}

body.woocommerce-cart .woocommerce-message {
  background: rgba(197, 228, 31, 0.12);
  border-color: rgba(197, 228, 31, 0.45);
  color: var(--success-color);
}

body.woocommerce-cart .woocommerce-info {
  background: rgba(243, 183, 0, 0.1);
  border-color: rgba(243, 183, 0, 0.42);
  color: var(--warning-color);
}

body.woocommerce-cart .woocommerce-error {
  background: rgba(255, 2, 124, 0.13);
  border-color: rgba(255, 2, 124, 0.5);
  color: var(--error-color);
}

/*
 * WooCommerce Advanced Custom Deposits Plugin (awcdp)
 * Personalización al tema oscuro.
 */

.awcdp-deposits-wrapper {
  background: var(--background-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 18px;
  margin: 18px 0;
}

.awcdp-deposits-wrapper .awcdp-deposits-option .awcdp-radio input[type=radio]+.awcdp-radio-label {
    display: flex;
  align-items: center;
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease;
}

.awcdp-deposits-wrapper .awcdp-deposits-option {
  background: var(--background-secondary) !important;

}

.awcdp-deposits-option {
  display: grid;
  gap: 12px;
 }

.awcdp-radio {
  display: flex;
  align-items: flex-start;
  gap: 10px;
      flex-direction: column;
}

.awcdp-radio input[type="radio"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 3px;
  cursor: pointer;
  accent-color: var(--accent-color);
}

.awcdp-radio-label {
  display: flex;
  align-items: center;
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease;
}

.awcdp-radio-label:hover {
  color: var(--navbar-active-item);
}

.awcdp-deposits-description {
  color: var(--muted-color);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: 6px;
  padding-left: 28px;
  transition: all 0.3s ease;
}

.awcdp-deposits-description span {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
}

#awcdp-deposit-amount .woocommerce-Price-amount {
  color: var(--navbar-active-item);
}

#deposit-suffix {
  color: var(--muted-color);
}

@media (max-width: 768px) {
  .awcdp-deposits-wrapper {
    padding: 12px;
  }

  .awcdp-radio-label {
    font-size: 0.95rem;
  }

  .awcdp-deposits-description {
    font-size: 0.85rem;
  }
}

body.woocommerce-cart .woocommerce-message {
  background: rgba(197, 228, 31, 0.12);
  border-color: rgba(197, 228, 31, 0.45);
  color: var(--success-color);
}

body.woocommerce-cart .woocommerce-info {
  background: rgba(243, 183, 0, 0.1);
  border-color: rgba(243, 183, 0, 0.42);
  color: var(--warning-color);
}

body.woocommerce-cart .woocommerce-error {
  background: rgba(255, 2, 124, 0.13);
  border-color: rgba(255, 2, 124, 0.5);
  color: var(--error-color);
}

@media (max-width: 980px) {
  body.woocommerce-cart table.shop_table thead th.product-thumbnail {
    display: none;
  }

  body.woocommerce-cart table.shop_table td.product-thumbnail {
    display: none;
  }

  body.woocommerce-cart .cart_totals {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  body.woocommerce-cart table.shop_table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  body.woocommerce-cart .actions {
    flex-direction: column;
    align-items: stretch;
  }

  body.woocommerce-cart .actions .coupon {
    flex-direction: column;
  }

  body.woocommerce-cart .actions .coupon input#coupon_code {
    width: 100%;
    min-width: 0;
  }
}

/*
 * WooCommerce Checkout (/checkout)
 * Diseño integrado con la identidad del tema.
 */

body.woocommerce-checkout .site-container,
body.woocommerce-checkout .content-area,
body.woocommerce-checkout .woocommerce {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

body.woocommerce-checkout #primary,
body.woocommerce-checkout .site-main {
  float: none;
  width: 100%;
}

body.woocommerce-checkout #secondary,
body.woocommerce-checkout .widget-area {
  display: none !important;
}

body.woocommerce-checkout .woocommerce-breadcrumb {
  margin-top: 14px;
  margin-bottom: 16px;
}

body.woocommerce-checkout .woocommerce-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  gap: 22px;
  align-items: start;
}

body.woocommerce-checkout .woocommerce-checkout h3 {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
}

body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields {
  background: linear-gradient(140deg, rgba(13, 34, 44, 0.62), rgba(9, 24, 31, 0.96));
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 14px;
}

body.woocommerce-checkout .woocommerce-checkout .form-row {
  margin-bottom: 12px;
}

body.woocommerce-checkout .woocommerce-checkout label {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 6px;
}

body.woocommerce-checkout .woocommerce-checkout input.input-text,
body.woocommerce-checkout .woocommerce-checkout select,
body.woocommerce-checkout .woocommerce-checkout textarea {
  background: var(--background-main);
  color: var(--primary-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  min-height: 44px;
  padding: 10px 12px;
  font-family: var(--font-body);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.woocommerce-checkout .woocommerce-checkout textarea {
  min-height: 110px;
}

body.woocommerce-checkout .woocommerce-checkout input.input-text:focus,
body.woocommerce-checkout .woocommerce-checkout select:focus,
body.woocommerce-checkout .woocommerce-checkout textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: var(--focus-ring);
}

body.woocommerce-checkout #order_review_heading {
  background: linear-gradient(140deg, rgba(13, 34, 44, 0.7), rgba(9, 24, 31, 0.95));
  border: 1px solid var(--border-color);
  border-radius: 14px 14px 0 0;
  margin: 0;
  padding: 14px 16px;
}

body.woocommerce-checkout #order_review {
  background: linear-gradient(140deg, rgba(13, 34, 44, 0.7), rgba(9, 24, 31, 0.95));
  border: 1px solid var(--border-color);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  padding: 0 16px 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

body.woocommerce-checkout #order_review table.shop_table {
  border: 0;
  background: transparent;
  border-radius: 0;
  margin-bottom: 12px;
}

body.woocommerce-checkout #order_review table.shop_table th,
body.woocommerce-checkout #order_review table.shop_table td {
  border-bottom: 1px solid var(--border-color);
  padding: 11px 0;
  color: var(--muted-color);
}

body.woocommerce-checkout #order_review table.shop_table th {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
}

body.woocommerce-checkout #order_review .order-total th,
body.woocommerce-checkout #order_review .order-total td,
body.woocommerce-checkout #order_review .amount {
  color: var(--navbar-active-item);
  font-family: var(--font-heading);
  font-weight: 800;
}

body.woocommerce-checkout #payment {
  background: var(--background-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

body.woocommerce-checkout #payment ul.payment_methods {
  border-bottom: 1px solid var(--border-color);
  padding: 10px 14px;
}

body.woocommerce-checkout #payment ul.payment_methods li {
  color: var(--primary-color);
  margin-bottom: 8px;
}

body.woocommerce-checkout #payment div.payment_box {
  background: var(--background-main);
  color: var(--muted-color);
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

body.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: var(--background-main);
}

body.woocommerce-checkout #payment .place-order {
  padding: 14px;
}

body.woocommerce-checkout #payment #place_order,
body.woocommerce-checkout .woocommerce #payment #place_order {
  width: 100%;
  min-height: 46px;
  background: var(--accent-color);
  color: var(--primary-color);
  border: 1px solid var(--accent-color);
  border-radius: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
}

body.woocommerce-checkout #payment #place_order:hover,
body.woocommerce-checkout .woocommerce #payment #place_order:hover {
  background: #d94400;
  border-color: #d94400;
  transform: translateY(-1px);
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
body.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message {
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 12px 14px;
  margin-bottom: 14px;
}

body.woocommerce-checkout .woocommerce-info {
  background: rgba(243, 183, 0, 0.1);
  border-color: rgba(243, 183, 0, 0.42);
  color: var(--warning-color);
}

body.woocommerce-checkout .woocommerce-error {
  background: rgba(255, 2, 124, 0.13);
  border-color: rgba(255, 2, 124, 0.5);
  color: var(--error-color);
}

body.woocommerce-checkout .woocommerce-message {
  background: rgba(197, 228, 31, 0.12);
  border-color: rgba(197, 228, 31, 0.45);
  color: var(--success-color);
}

@media (max-width: 980px) {
  body.woocommerce-checkout .woocommerce-checkout {
    grid-template-columns: 1fr;
  }
}

.product_meta{
  display: none;
}

.wc-block-components-totals-item__label{
  color: var(--primary-color) !important;
  font-family: var(--font-heading);
  font-weight: 700;
}

body.woocommerce-cart .wc-block-awcdp-totals .wc-block-components-totals-item__label, body.woocommerce-checkout .wc-block-awcdp-totals .wc-block-components-totals-item__label {
    color: var(--primary-color) !important;
    font-family: var(--font-heading);
    font-weight: 700;
}

body.woocommerce-cart .wc-block-awcdp-totals .wc-block-components-totals-item__value, body.woocommerce-checkout .wc-block-awcdp-totals .wc-block-components-totals-item__value, body.woocommerce-cart .wc-block-awcdp-totals .wc-block-components-formatted-money-amount, body.woocommerce-checkout .wc-block-awcdp-totals .wc-block-components-formatted-money-amount {
    color: var(--navbar-active-item) !important;
    font-family: var(--font-heading);
    font-weight: 800;
}

/* WooCommerce Checkout Blocks: estilo general del formulario */
body.woocommerce-checkout .wc-block-checkout__form {
  display: grid;
  gap: 14px;
}

body.woocommerce-checkout .wc-block-components-express-payment,
body.woocommerce-checkout .wc-block-components-checkout-step,
body.woocommerce-checkout .wc-block-checkout__order-notes,
body.woocommerce-checkout .wc-block-checkout__terms,
body.woocommerce-checkout .wc-block-checkout__actions {
  background: linear-gradient(140deg, rgba(13, 34, 44, 0.62), rgba(9, 24, 31, 0.96));
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px;
}

body.woocommerce-checkout .wc-block-components-express-payment__title,
body.woocommerce-checkout .wc-block-components-checkout-step__title {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.02em;
}

body.woocommerce-checkout .wc-block-components-express-payment-continue-rule {
  color: var(--muted-color);
}

body.woocommerce-checkout .wc-block-components-checkout-step__content {
  margin-top: 10px;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-blocks-components-select__select,
body.woocommerce-checkout .wc-block-components-address-form input,
body.woocommerce-checkout .wc-block-components-address-form select,
body.woocommerce-checkout .wc-block-components-address-form textarea {
  background: var(--background-main) !important;
  color: var(--primary-color) !important;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  min-height: 44px;
}

body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-blocks-components-select__label,
body.woocommerce-checkout .wc-block-components-checkbox__label,
body.woocommerce-checkout .wc-block-components-address-card,
body.woocommerce-checkout .wc-block-components-address-card address,
body.woocommerce-checkout .wc-block-components-address-form__address_2-toggle {
  color: var(--primary-color);
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-blocks-components-select__select:focus,
body.woocommerce-checkout .wc-block-components-address-form input:focus,
body.woocommerce-checkout .wc-block-components-address-form select:focus,
body.woocommerce-checkout .wc-block-components-address-form textarea:focus {
  border-color: var(--accent-color);
  box-shadow: var(--focus-ring);
  outline: none;
}

body.woocommerce-checkout .wc-blocks-components-select__expand,
body.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button svg {
  fill: var(--navbar-active-item);
  color: var(--navbar-active-item);
}

body.woocommerce-checkout .wc-block-components-radio-control {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--background-secondary);
}

body.woocommerce-checkout .wc-block-components-radio-control__option {
  color: var(--primary-color);
}

body.woocommerce-checkout .wc-block-components-radio-control__input {
  accent-color: var(--accent-color);
}

body.woocommerce-checkout .wc-block-components-radio-control-accordion-content {
  background: var(--background-main);
  color: var(--muted-color);
  border-top: 1px solid var(--border-color);
}

body.woocommerce-checkout .wcstripe-payment-element,
body.woocommerce-checkout .StripeElement {
  background: var(--background-main);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 6px 8px;
}

body.woocommerce-checkout .wc-stripe-copy-test-number,
body.woocommerce-checkout .wc-stripe-copy-test-number span,
body.woocommerce-checkout .wc-block-components-radio-control-accordion-content a {
  color: var(--navbar-active-item);
}

body.woocommerce-checkout .wc-block-checkout__terms,
body.woocommerce-checkout .wc-block-checkout__terms .wc-block-components-checkbox__label,
body.woocommerce-checkout .wc-block-checkout__terms a {
  color: var(--muted-color);
}

body.woocommerce-checkout .wc-block-checkout__terms a:hover,
body.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button:hover {
  color: var(--navbar-active-item);
}

body.woocommerce-checkout .wc-block-checkout__actions_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

body.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button {
  color: var(--primary-color);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
}

@media (max-width: 768px) {
  body.woocommerce-checkout .wc-block-checkout__actions_row {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  body.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button {
    text-align: center;
  }
}


 
.wc-blocks-components-select .wc-blocks-components-select__container {
    background: var(--background-main) !important;
    border-radius: 4px;
    box-sizing: border-box;
    line-height: 0;
    position: relative;
    width: 100%;
}