/*
Theme Name:   Dualcomm Store
Theme URI:    https://dualcomm.ar
Author:       Dualcomm
Description:  Tienda WooCommerce de Dualcomm — diseño propio, responsive, con la identidad negro + amarillo de la marca.
Version:      1.2.0
Requires PHP: 8.0
License:      GPL v2 or later
Text Domain:  dualcomm-store
*/

/* ═══ Variables y base ═══════════════════════════════════════════════════ */

:root {
  --dc-black: #0c0c0f;
  --dc-dark: #16161b;
  --dc-yellow: #ffc400;
  --dc-yellow-soft: #ffd54d;
  --dc-bg: #f5f6f8;
  --dc-card: #ffffff;
  --dc-border: #e6e8ee;
  --dc-text: #17191f;
  --dc-muted: #6c7280;
  --dc-green: #1fb355;
  --dc-radius: 14px;
  --dc-shadow: 0 1px 2px rgba(12, 12, 15, .05), 0 8px 24px -12px rgba(12, 12, 15, .12);
  --dc-shadow-lg: 0 24px 48px -16px rgba(12, 12, 15, .22);
  --dc-font-head: 'Sora', system-ui, sans-serif;
  --dc-font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--dc-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dc-text);
  background: var(--dc-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--dc-font-head);
  line-height: 1.2;
  margin: 0 0 .5em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

.dc-container {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 20px;
}

.screen-reader-text {
  position: absolute !important;
  clip-path: inset(50%);
  width: 1px; height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  clip-path: none;
  width: auto; height: auto;
  position: fixed !important;
  top: 8px; left: 8px;
  z-index: 999;
  background: var(--dc-yellow);
  color: var(--dc-black);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
}

/* ═══ Topbar ═════════════════════════════════════════════════════════════ */

.dc-topbar {
  background: var(--dc-yellow);
  color: var(--dc-black);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 7px 0;
  letter-spacing: .01em;
}

/* ═══ Header ═════════════════════════════════════════════════════════════ */

.dc-header {
  background: var(--dc-black);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 90;
  transition: box-shadow .2s;
}
.dc-header.is-scrolled { box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .45); }

.dc-header-row {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-block: 14px;
}

.dc-header-logo img, .dc-logo img, .custom-logo { max-height: 40px; width: auto; }

.dc-menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  padding: 4px;
}

.dc-header-search { flex: 1; max-width: 560px; }

.dc-search {
  display: flex;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color .15s;
}
.dc-search:focus-within { border-color: var(--dc-yellow); }
.dc-search-input {
  flex: 1;
  border: 0;
  padding: 10px 18px;
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  color: var(--dc-text);
  background: transparent;
  min-width: 0;
}
.dc-search-btn {
  border: 0;
  background: var(--dc-yellow);
  color: var(--dc-black);
  padding: 0 18px;
  display: grid;
  place-items: center;
}
.dc-search-btn:hover { background: var(--dc-yellow-soft); }

.dc-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.dc-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 11.5px;
  color: #d7d9de;
  position: relative;
  transition: background .15s, color .15s;
}
.dc-action:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.dc-action svg { color: var(--dc-yellow); }
.dc-cart-count {
  position: absolute;
  top: 0;
  right: 6px;
  background: var(--dc-yellow);
  color: var(--dc-black);
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding-inline: 4px;
}

/* ═══ Nav de categorías ══════════════════════════════════════════════════ */

.dc-nav { background: var(--dc-dark); border-top: 1px solid rgba(255, 255, 255, .07); }
.dc-nav-row {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.dc-nav-row::-webkit-scrollbar { display: none; }
.dc-nav a {
  color: #c9ccd4;
  font-size: 13.5px;
  font-weight: 500;
  padding: 10px 13px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.dc-nav a:hover { color: var(--dc-yellow); border-bottom-color: var(--dc-yellow); }
.dc-nav a.dc-nav-allcats {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  margin-block: 5px;
  margin-right: 8px;
  padding: 5px 15px;
  color: #fff;
  font-weight: 600;
}
.dc-nav a.dc-nav-allcats:hover { border-color: var(--dc-yellow); color: var(--dc-yellow); }

.dc-mobile-search { display: none; padding-block: 10px; background: var(--dc-black); }

/* ═══ Botones ════════════════════════════════════════════════════════════ */

.dc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--dc-font-head);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 0;
  transition: transform .12s, box-shadow .15s, background .15s;
}
.dc-btn:active { transform: scale(.97); }
.dc-btn-primary {
  background: var(--dc-yellow);
  color: var(--dc-black);
  box-shadow: 0 8px 20px -8px rgba(255, 196, 0, .55);
}
.dc-btn-primary:hover { background: var(--dc-yellow-soft); }
.dc-btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
}
.dc-btn-ghost:hover { background: rgba(255, 255, 255, .16); }

/* ═══ Hero ═══════════════════════════════════════════════════════════════ */

.dc-hero {
  background:
    radial-gradient(700px 360px at 82% 30%, rgba(255, 196, 0, .14), transparent 60%),
    linear-gradient(160deg, #101014 0%, #17171d 55%, #101014 100%);
  color: #fff;
}
.dc-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 40px;
  padding-block: 72px;
}
.dc-hero-badge {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--dc-green);
  background: rgba(31, 179, 85, .12);
  border: 1px solid rgba(31, 179, 85, .35);
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.dc-hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.dc-hero p {
  color: #b9bcc5;
  font-size: 17px;
  max-width: 52ch;
  margin: 0 0 30px;
}
.dc-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.dc-hl { color: var(--dc-yellow); }

.dc-hero-art { position: relative; }
.dc-hero-scene {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  animation: dc-float 6s ease-in-out infinite;
}
.dc-hero-photo {
  width: 100%;
  max-width: 540px;
  height: auto;
  display: block;
  margin-inline: auto;
  animation: dc-float 6s ease-in-out infinite;
}
@keyframes dc-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ═══ Beneficios (tarjeta flotante sobre el borde del hero) ══════════════ */

.dc-benefits-card {
  color: var(--dc-text);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--dc-shadow-lg);
  padding: 24px 28px;
  position: relative;
  z-index: 2;
  transform: translateY(46px);
  margin-top: -18px;
}
.dc-hero { padding-bottom: 0; }
.dc-hero + * { padding-top: 96px !important; }
.dc-benefit {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 13.5px;
}
.dc-benefit svg { color: var(--dc-yellow); flex-shrink: 0; }
.dc-benefit strong { display: block; font-size: 14.5px; }
.dc-benefit span { color: var(--dc-muted); }

/* ═══ Secciones ══════════════════════════════════════════════════════════ */

.dc-section { padding-block: 56px; }
.dc-section-alt { background: #fff; }
.dc-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.dc-section-head h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -.01em;
  margin: 0;
}
.dc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--dc-text);
  border-bottom: 2px solid var(--dc-yellow);
  padding-bottom: 2px;
}
.dc-link:hover { color: var(--dc-muted); }

.dc-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--dc-text);
  background: #fff;
  border: 1px solid var(--dc-border);
  border-radius: 999px;
  padding: 9px 18px;
  transition: border-color .15s, box-shadow .15s;
  white-space: nowrap;
}
.dc-pill-link:hover { border-color: var(--dc-yellow); box-shadow: var(--dc-shadow); }

/* ═══ Carousel "Recién llegados" ═════════════════════════════════════════ */

.dc-carousel .woocommerce ul.products,
.dc-carousel ul.products {
  display: flex !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  gap: 16px;
  padding-bottom: 4px;
}
.dc-carousel ul.products::-webkit-scrollbar { display: none; }
.dc-carousel ul.products li.product {
  flex: 0 0 calc(25% - 12px);
  scroll-snap-align: start;
}
.dc-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.dc-carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: #d6d9e0;
  transition: background .15s, width .15s;
}
.dc-carousel-dots button.is-active { background: var(--dc-yellow); width: 22px; }

/* ═══ Categorías (portada) ═══════════════════════════════════════════════ */

.dc-cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}
.dc-cat-card {
  background: var(--dc-card);
  border: 1px solid var(--dc-border);
  border-radius: var(--dc-radius);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.dc-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--dc-shadow-lg);
  border-color: var(--dc-yellow);
}
.dc-cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #fff7dd;
  color: #b8860b;
  margin-bottom: 10px;
}
.dc-cat-name { font-family: var(--dc-font-head); font-weight: 700; font-size: 15.5px; }
.dc-cat-count { font-size: 12.5px; color: var(--dc-muted); }

/* ═══ Grilla de productos (WooCommerce) ══════════════════════════════════ */

.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }

.woocommerce ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  background: var(--dc-card);
  border: 1px solid var(--dc-border);
  border-radius: var(--dc-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .15s, box-shadow .18s, border-color .15s;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-3px);
  box-shadow: var(--dc-shadow-lg);
  border-color: #d8dbe3;
}

.woocommerce ul.products li.product > a { display: flex; flex-direction: column; flex: 1; }

.dc-card-media {
  aspect-ratio: 1;
  background: #fafbfc;
  border-bottom: 1px solid var(--dc-border);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.dc-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  transition: transform .25s;
}
.woocommerce ul.products li.product:hover .dc-card-media img { transform: scale(1.045); }
.dc-card-placeholder {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: #f0f1f5;
  color: #aab0bd;
}

.dc-card-cat {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #b8860b;
  padding: 12px 16px 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--dc-font-body);
  font-size: 13.8px;
  font-weight: 600;
  line-height: 1.45;
  padding: 4px 16px 0;
  color: var(--dc-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
}

.woocommerce ul.products li.product .price {
  padding: 8px 16px 2px;
  margin-top: auto !important;
  color: var(--dc-black) !important;
  font-family: var(--dc-font-head);
  font-size: 19px !important;
  font-weight: 800;
}
.woocommerce ul.products li.product .price del { color: var(--dc-muted); font-size: 13px; font-weight: 500; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart {
  margin: 12px 16px 16px;
  background: var(--dc-black);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13.5px;
  padding: 11px 14px;
  text-align: center;
  transition: background .15s;
}
.woocommerce ul.products li.product .button:hover { background: #2a2a32; }
.woocommerce ul.products li.product .added_to_cart { background: var(--dc-green); }

/* Sale flash */
.woocommerce span.onsale {
  background: var(--dc-yellow) !important;
  color: var(--dc-black) !important;
  font-weight: 700;
  border-radius: 8px;
  padding: 4px 10px;
  line-height: 1.4;
  min-width: 0;
  min-height: 0;
  top: 10px;
  left: 10px;
}

/* Sin stock */
.woocommerce ul.products li.product.outofstock .dc-card-media { opacity: .55; }
.woocommerce ul.products li.product.outofstock::after {
  content: 'Sin stock';
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--dc-dark);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}
.woocommerce ul.products li.product { position: relative; }

/* ═══ Toolbar de la tienda (orden + resultado) ═══════════════════════════ */

.dc-shop { padding-block: 34px 56px; }
.dc-shop .woocommerce-products-header h1,
.dc-shop h1.page-title {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 18px;
}
.woocommerce-result-count { color: var(--dc-muted); font-size: 14px; margin-bottom: 18px; }
.woocommerce-ordering { margin-bottom: 18px; }
.woocommerce-ordering select {
  border: 1px solid var(--dc-border);
  background: #fff;
  border-radius: 10px;
  padding: 9px 13px;
  font-family: inherit;
  font-size: 14px;
}

/* Paginación */
.woocommerce nav.woocommerce-pagination ul {
  border: 0;
  display: flex;
  gap: 6px;
  justify-content: center;
}
.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
  overflow: visible;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  min-width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--dc-border);
  background: #fff;
  font-weight: 600;
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: var(--dc-black);
  color: #fff;
  border-color: var(--dc-black);
}

/* ═══ Producto individual ════════════════════════════════════════════════ */

.woocommerce .woocommerce-breadcrumb { font-size: 13px; color: var(--dc-muted); margin-bottom: 22px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--dc-muted); }

.woocommerce div.product { background: transparent; }

.woocommerce div.product div.images {
  background: #fff;
  border: 1px solid var(--dc-border);
  border-radius: var(--dc-radius);
  padding: 20px;
}
.woocommerce div.product div.images img { object-fit: contain; }

.woocommerce div.product .product_title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.25;
}

.woocommerce div.product p.price {
  font-family: var(--dc-font-head);
  font-size: 32px !important;
  font-weight: 800;
  color: var(--dc-black) !important;
  margin: 14px 0 6px;
}

.woocommerce div.product .stock.in-stock {
  color: var(--dc-green);
  font-weight: 600;
  font-size: 14px;
}
.woocommerce div.product .stock.out-of-stock { color: #d33; font-weight: 600; }

.woocommerce div.product form.cart { margin: 22px 0; display: flex; gap: 12px; flex-wrap: wrap; }
.woocommerce div.product form.cart div.quantity .qty {
  height: 50px;
  border: 1px solid var(--dc-border);
  border-radius: 12px;
  font-size: 16px;
  width: 74px;
}
.woocommerce div.product form.cart .button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: var(--dc-yellow);
  color: var(--dc-black);
  font-family: var(--dc-font-head);
  font-weight: 700;
  font-size: 15.5px;
  border-radius: 12px;
  padding: 15px 30px;
  transition: background .15s;
}
.woocommerce div.product form.cart .button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: var(--dc-yellow-soft);
  color: var(--dc-black);
}

.dc-stock-badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin: 4px 0 0;
}
.dc-stock-in { color: var(--dc-green); background: rgba(31, 179, 85, .1); }
.dc-stock-out { color: #c33; background: rgba(204, 51, 51, .08); }

.dc-btn-wa-product {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 22px;
  border-radius: 12px;
  margin-bottom: 18px;
  transition: filter .15s;
}
.dc-btn-wa-product:hover { filter: brightness(1.07); color: #fff; }

.woocommerce div.product .product_meta {
  font-size: 13px;
  color: var(--dc-muted);
  border-top: 1px solid var(--dc-border);
  padding-top: 14px;
}
.woocommerce div.product .product_meta a { color: var(--dc-text); font-weight: 600; }

/* Tabs */
.woocommerce div.product .woocommerce-tabs { margin-top: 40px; }
.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  margin: 0 0 -1px;
  border-bottom: 1px solid var(--dc-border);
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after { border: 0; background: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: none;
  border: 0;
  border-radius: 0;
  margin: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-weight: 600;
  color: var(--dc-muted);
  padding: 12px 18px;
  border-bottom: 2px solid transparent;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--dc-black);
  border-bottom-color: var(--dc-yellow);
}
.woocommerce div.product .woocommerce-tabs .panel {
  background: #fff;
  border: 1px solid var(--dc-border);
  border-radius: 0 0 var(--dc-radius) var(--dc-radius);
  padding: 24px;
}

/* Relacionados */
.woocommerce div.product .related.products,
.woocommerce div.product .upsells.products { margin-top: 48px; }
.woocommerce div.product .related.products > h2,
.woocommerce div.product .upsells.products > h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
}

/* ═══ Carrito / Checkout / Cuenta ════════════════════════════════════════ */

.woocommerce table.shop_table {
  border: 1px solid var(--dc-border);
  border-radius: var(--dc-radius);
  border-collapse: separate;
  background: #fff;
  overflow: hidden;
}
.woocommerce table.shop_table th { background: #fafbfc; font-weight: 700; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: var(--dc-border) !important; }

.woocommerce .cart_totals, .woocommerce-checkout #order_review {
  background: #fff;
  border: 1px solid var(--dc-border);
  border-radius: var(--dc-radius);
  padding: 20px;
}
.woocommerce-checkout #order_review_heading { margin-top: 24px; }

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border: 1px solid var(--dc-border);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  outline: 2px solid var(--dc-yellow);
  border-color: var(--dc-yellow);
}

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--dc-black);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  padding: 12px 22px;
  transition: background .15s;
}
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: #2a2a32;
  color: #fff;
}

.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--dc-border);
  border-top: 3px solid var(--dc-yellow);
}
.woocommerce-message::before { color: var(--dc-green); }
.woocommerce-info::before { color: var(--dc-yellow); }

/* Carrito / checkout en bloques (Woo Blocks) */
.wc-block-components-button:not(.is-link) {
  background: var(--dc-yellow) !important;
  color: var(--dc-black) !important;
  border-radius: 12px !important;
  font-family: var(--dc-font-head);
  font-weight: 700 !important;
  transition: background .15s;
}
.wc-block-components-button:not(.is-link):hover { background: var(--dc-yellow-soft) !important; }
.wp-block-woocommerce-cart .wc-block-cart,
.wp-block-woocommerce-checkout { font-family: var(--dc-font-body); }
.wc-block-components-product-name { font-weight: 600; color: var(--dc-text); }
.wc-block-components-quantity-selector { border-radius: 10px; }

/* Mi cuenta */
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  background: #fff;
  border: 1px solid var(--dc-border);
  border-radius: var(--dc-radius);
  overflow: hidden;
}
.woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 12px 18px;
  border-bottom: 1px solid var(--dc-border);
  font-weight: 500;
}
.woocommerce-MyAccount-navigation li:last-child a { border-bottom: 0; }
.woocommerce-MyAccount-navigation li.is-active a {
  background: var(--dc-black);
  color: #fff;
}

/* ═══ CTA banner (portada) ═══════════════════════════════════════════════ */

.dc-cta-banner {
  background:
    radial-gradient(500px 260px at 12% 50%, rgba(255, 196, 0, .12), transparent 60%),
    var(--dc-black);
  color: #fff;
  padding-block: 46px;
}
.dc-cta-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.dc-cta-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(255, 196, 0, .14);
  color: var(--dc-yellow);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.dc-cta-copy { flex: 1; min-width: 260px; }
.dc-cta-copy h2 { font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; margin-bottom: 6px; }
.dc-cta-copy p { color: #b9bcc5; margin: 0; max-width: 60ch; }

/* ═══ Contenido genérico / blog ══════════════════════════════════════════ */

.dc-content { padding-block: 44px 64px; }
.dc-page-title { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.dc-article { background: #fff; border: 1px solid var(--dc-border); border-radius: var(--dc-radius); padding: 30px; margin-bottom: 20px; }
.dc-404 { text-align: center; padding-block: 90px; }
.dc-404 h1 { font-size: 32px; }

/* ═══ Footer ═════════════════════════════════════════════════════════════ */

.dc-footer { background: var(--dc-black); color: #b9bcc5; margin-top: 0; }
.dc-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 36px;
  padding-block: 52px;
}
.dc-footer-logo { max-height: 36px; width: auto; margin-bottom: 16px; }
.dc-footer-brand p { font-size: 14px; max-width: 40ch; }
.dc-footer h4 {
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 14px;
}
.dc-footer ul { list-style: none; margin: 0; padding: 0; }
.dc-footer ul li { margin-bottom: 9px; font-size: 14px; }
.dc-footer ul a:hover { color: var(--dc-yellow); }
.dc-footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.dc-footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #d7d9de;
  transition: background .15s, color .15s, border-color .15s;
}
.dc-footer-social a:hover { background: var(--dc-yellow); border-color: var(--dc-yellow); color: var(--dc-black); }
.dc-footer-contact li { display: flex; align-items: center; gap: 9px; }
.dc-footer-contact svg { color: var(--dc-yellow); flex-shrink: 0; }
.dc-footer-contact li a { display: inline-flex; align-items: center; gap: 9px; }

.dc-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding-block: 18px;
  font-size: 13px;
}
.dc-footer-bottom .dc-container {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ═══ WhatsApp flotante ══════════════════════════════════════════════════ */

.dc-wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 95;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6);
  transition: transform .15s;
}
.dc-wa-float:hover { transform: scale(1.08); }

/* ═══ Responsive ═════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
  .dc-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .dc-hero-inner { grid-template-columns: 1fr; padding-block: 44px 10px; gap: 8px; }
  .dc-hero-art { max-width: 480px; margin-inline: auto; }
  .dc-benefits-card { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 20px; }
  .dc-carousel ul.products li.product { flex: 0 0 calc(50% - 8px); }
}

@media (max-width: 720px) {
  .dc-menu-toggle { display: block; }
  .dc-header-search { display: none; }
  .dc-mobile-search { display: block; }
  .dc-header-row { gap: 12px; }
  .dc-action-label { display: none; }
  .dc-action { padding: 6px 8px; }

  .dc-nav { display: none; }
  .dc-nav.is-open { display: block; }
  .dc-nav-row { flex-direction: column; gap: 0; }
  .dc-nav a { border-bottom: 1px solid rgba(255, 255, 255, .06); padding: 13px 4px; }

  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 13px; }
  .woocommerce ul.products li.product .price { font-size: 17px !important; }

  .dc-section { padding-block: 40px; }
  .dc-cats-grid { grid-template-columns: repeat(2, 1fr); }

  .woocommerce div.product div.images,
  .woocommerce div.product div.summary { width: 100% !important; float: none !important; }

  .dc-footer-grid { grid-template-columns: 1fr; gap: 28px; padding-block: 40px; }
}

@media (max-width: 400px) {
  .dc-cats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dc-benefits-card { grid-template-columns: 1fr 1fr; }
  .dc-carousel ul.products li.product { flex: 0 0 72%; }
}
