/**
 * Theme Name: Blocksy Child
 * Description: Hybrid Labs — v5.0 E-Commerce Storefront System (Alternating Dark Navy & Crisp Off-White Sections, Light Product Cards w/ Pure White Image Box, Store Dropdown + Search, Custom Modern Cart)
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 * Version: 5.0.0
 */

/* ==========================================================================
   1. DESIGN TOKENS — BALANCED DARK NAVY + CRISP OFF-WHITE E-COMMERCE PALETTE
   ========================================================================== */
:root {
  /* Dark surfaces */
  --hl-dark: #080c14;
  --hl-dark-deep: #04070d;
  --hl-dark-card: #0f1624;
  --hl-navy: #0f2347;
  --hl-navy-btn: #0b162c;
  --hl-navy-btn-hover: #173263;

  /* Light surfaces (almost-white / crisp alabaster) */
  --hl-light: #f4f6fa;
  --hl-white: #ffffff;
  --hl-light-border: #e2e8f0;
  --hl-light-border-hover: #94a3b8;

  /* Typography */
  --hl-ink: #0b111e;          /* Primary text on light sections & light cards */
  --hl-ink-muted: #475569;    /* Secondary text on light sections */
  --hl-ink-soft: #64748b;
  --hl-on-dark: #f8fafc;      /* Primary text on dark sections */
  --hl-on-dark-dim: #94a3b8;  /* Secondary text on dark sections */
  --hl-blue-accent: #6eb0f2;  /* Brand sky-blue accent matching Hybrid DNA logo */
  --hl-blue-strong: #1d4ed8;

  --hl-dark-line: rgba(148, 178, 224, 0.16);
  --hl-dark-line-strong: rgba(148, 178, 224, 0.34);

  --hl-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --hl-serif: 'Fraunces', Georgia, serif;

  /* Blocksy Global Overrides (keeps shop page canvas dark while cards go light) */
  --theme-palette-color-1: #6eb0f2;
  --theme-palette-color-2: #1d4ed8;
  --theme-palette-color-3: #94a3b8;
  --theme-palette-color-4: #f8fafc;
  --theme-palette-color-5: rgba(148, 178, 224, 0.16);
  --theme-palette-color-6: #0f1624;
  --theme-palette-color-7: #080c14;
  --theme-palette-color-8: #04070d;
  --theme-text-color: #cbd5e1;
  --theme-headings-color: #f8fafc;
  --theme-link-initial-color: #f8fafc;
  --theme-link-hover-color: #6eb0f2;
  --theme-border-color: rgba(148, 178, 224, 0.18);
  --theme-button-text-initial-color: #ffffff;
  --theme-button-text-hover-color: #ffffff;
  --theme-button-background-initial-color: #0b162c;
  --theme-button-background-hover-color: #173263;
  --theme-button-border-radius: 8px;
  --theme-font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background-color: var(--hl-dark); font-size: 16px; }
body {
  background-color: var(--hl-dark) !important;
  color: var(--hl-on-dark) !important;
  font-family: var(--hl-sans) !important;
  font-size: 14.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: 64px;
}

header#header,
footer#footer {
  display: none !important;
}

.hl-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 1024px) {
  .hl-wrap { padding: 0 32px; }
}

.hl-display {
  font-family: var(--hl-sans) !important;
  font-weight: 700 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.02 !important;
  text-transform: uppercase;
  margin: 0;
}
.hl-script {
  font-family: var(--hl-serif) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  text-transform: none !important;
}

/* ==========================================================================
   2. STICKY NAVBAR WITH "TIENDA ▾" DROPDOWN + LIVE PRODUCT SEARCH BAR
   ========================================================================== */
.hl-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9990;
  background: rgba(4, 7, 13, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hl-dark-line);
}
body.admin-bar .hl-navbar { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .hl-navbar { top: 46px; }
}

.hl-nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hl-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  flex-shrink: 0;
}
.hl-brand-logo {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

.hl-nav-center {
  display: none;
  align-items: center;
  gap: 26px;
}
@media (min-width: 900px) {
  .hl-nav-center { display: flex; }
}

.hl-nav-item {
  font-size: 13px;
  font-weight: 500;
  color: #cbd5e1 !important;
  text-decoration: none !important;
  padding: 6px 2px;
  transition: color 0.2s ease;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--hl-sans);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.hl-nav-item:hover { color: #ffffff !important; }

/* Tienda Dropdown */
.hl-dropdown-wrap {
  position: relative;
}
.hl-dropdown-caret {
  transition: transform 0.22s ease;
}
.hl-dropdown-wrap.is-open .hl-dropdown-caret {
  transform: rotate(180deg);
}
.hl-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -12px;
  width: 260px;
  background: #ffffff;
  color: var(--hl-ink);
  border: 1px solid var(--hl-light-border);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.35);
  padding: 8px;
  display: none;
  z-index: 9999;
}
.hl-dropdown-wrap.is-open .hl-dropdown-menu {
  display: block;
}
.hl-drop-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none !important;
  color: var(--hl-ink) !important;
  transition: background 0.18s ease;
}
.hl-drop-link:hover {
  background: #f1f5f9;
}
.hl-drop-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--hl-ink);
  display: block;
}
.hl-drop-sub {
  font-size: 11px;
  color: var(--hl-ink-soft);
  display: block;
}
.hl-drop-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 6px 4px;
}
.hl-drop-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--hl-navy-btn);
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s ease;
}
.hl-drop-all:hover {
  background: var(--hl-navy-btn-hover);
}

/* Navbar Search + Actions */
.hl-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hl-nav-search {
  display: none;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--hl-dark-line);
  border-radius: 9999px;
  padding: 0 12px;
  height: 36px;
  width: 215px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
@media (min-width: 768px) {
  .hl-nav-search { display: flex; }
}
.hl-nav-search:focus-within {
  background: rgba(255, 255, 255, 0.13);
  border-color: var(--hl-blue-accent);
}
.hl-nav-search input[type="search"] {
  background: transparent !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 12.5px !important;
  width: 100% !important;
  padding: 0 6px 0 0 !important;
  min-height: 0 !important;
  height: 32px !important;
}
.hl-nav-search input[type="search"]::placeholder {
  color: #94a3b8;
}
.hl-nav-search button {
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  color: #cbd5e1 !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.hl-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  border: 1px solid var(--hl-dark-line-strong);
  background: transparent;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.2s ease;
}
.hl-icon-btn:hover {
  background: var(--hl-navy);
  border-color: var(--hl-blue-accent);
}

.hl-cart-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-radius: 9999px;
  background: #ffffff;
  color: var(--hl-ink) !important;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.hl-cart-pill:hover {
  background: var(--hl-blue-accent);
  color: var(--hl-dark-deep) !important;
}
.hl-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 9999px;
  background: var(--hl-navy-btn);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}

.hl-burger { display: inline-flex; }
@media (min-width: 900px) { .hl-burger { display: none; } }

/* Mobile Drawer */
.hl-mobile-drawer {
  display: none;
  background: #060a12;
  border-bottom: 1px solid var(--hl-dark-line);
  padding: 16px 20px 22px;
}
.hl-mobile-drawer.is-open { display: block; }
.hl-mobile-search {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--hl-dark-line);
  border-radius: 8px;
  padding: 0 12px;
  height: 40px;
  margin-bottom: 12px;
}
.hl-mobile-search input {
  background: transparent !important;
  border: 0 !important;
  outline: none !important;
  color: #ffffff !important;
  font-size: 13.5px !important;
  width: 100%;
}
.hl-mobile-search button {
  background: none !important;
  border: 0 !important;
  color: #cbd5e1 !important;
}
.hl-mob-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  font-size: 14px;
  font-weight: 500;
  color: #f8fafc !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(148, 178, 224, 0.1);
}
.hl-mob-sublist {
  padding: 6px 0 8px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid rgba(148, 178, 224, 0.1);
}
.hl-mob-sublist a {
  font-size: 13px;
  color: #94a3b8 !important;
  text-decoration: none !important;
  display: flex;
  justify-content: space-between;
}
.hl-mob-sublist a:hover { color: #ffffff !important; }

/* ==========================================================================
   3. HOMEPAGE — SPECIALIZED E-COMMERCE STOREFRONT (ALTERNATING DARK & LIGHT)
   ========================================================================== */
body.home .entry-header,
body.home .hero-section { display: none !important; }
body.home main#main,
body.home .ct-container,
body.home .ct-container-full,
body.home .entry-content,
body.home .entry-content > *,
body.home .is-layout-constrained > *,
body.home article.page,
.hl-store-home {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Promo Top Strip */
.hl-promo-bar {
  background: linear-gradient(90deg, #0b1933 0%, #132c57 50%, #0b1933 100%);
  border-bottom: 1px solid var(--hl-dark-line);
  padding: 8px 16px;
  text-align: center;
  font-size: 12px;
  color: #e2e8f0;
}
.hl-promo-bar strong {
  color: #ffffff;
  background: rgba(255,255,255,0.14);
  padding: 2px 7px;
  border-radius: 4px;
  margin: 0 3px;
  letter-spacing: 0.06em;
}

/* SECTION 1 (DARK): E-Commerce Split Hero */
.hl-hero-store {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% 30%, rgba(23, 55, 110, 0.45) 0%, var(--hl-dark) 62%);
  padding: 44px 0 56px;
}
@media (min-width: 1024px) {
  .hl-hero-store { padding: 56px 0 68px; }
}
.hl-hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 960px) {
  .hl-hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: 44px;
  }
}
.hl-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hl-blue-accent);
  margin-bottom: 14px;
}
.hl-hero-title {
  font-size: clamp(2.1rem, 4.8vw, 3.6rem) !important;
  color: #ffffff !important;
}
.hl-hero-title .hl-script {
  color: var(--hl-blue-accent) !important;
  font-size: clamp(1.9rem, 4.2vw, 3.2rem) !important;
}
.hl-hero-lead {
  margin: 16px 0 0;
  max-width: 510px;
  font-size: 15px;
  color: var(--hl-on-dark-dim);
  line-height: 1.6;
}

/* Hero Search Box */
.hl-hero-search {
  margin-top: 24px;
  max-width: 490px;
  display: flex;
  background: #ffffff;
  border-radius: 10px;
  padding: 5px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.hl-hero-search input[type="search"] {
  flex: 1;
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  color: var(--hl-ink) !important;
  padding: 8px 14px !important;
  font-size: 13.5px !important;
  min-height: 38px !important;
}
.hl-hero-search input[type="search"]::placeholder {
  color: #64748b;
}
.hl-hero-search button {
  background: var(--hl-navy-btn) !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 7px !important;
  padding: 0 18px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease;
}
.hl-hero-search button:hover {
  background: var(--hl-navy-btn-hover) !important;
}

.hl-hero-badges {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12.5px;
  color: #cbd5e1;
}
.hl-hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Hero Featured Spotlight Product Card (Light Card w/ Pure White Image Box!) */
.hl-hero-showcase {
  background: var(--hl-light);
  color: var(--hl-ink);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  max-width: 390px;
  width: 100%;
  justify-self: center;
}
.hl-hero-showcase-img {
  background: #ffffff;
  border-radius: 12px;
  height: 220px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid #e2e8f0;
}
.hl-hero-showcase-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.hl-showcase-pill {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--hl-navy-btn);
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
}
.hl-hero-showcase-body {
  padding: 14px 4px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hl-hero-showcase-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--hl-ink);
  margin: 0;
}
.hl-hero-showcase-price {
  font-size: 17px;
  font-weight: 700;
  color: var(--hl-navy);
  margin-top: 2px;
}

/* ==========================================================================
   4. LIGHT & DARK ALTERNATING SECTIONS + UNIVERSAL LIGHT PRODUCT CARDS
   ========================================================================== */
.hl-sec-light {
  background: var(--hl-light);
  color: var(--hl-ink);
  padding: 56px 0;
}
.hl-sec-white {
  background: var(--hl-white);
  color: var(--hl-ink);
  padding: 56px 0;
  border-top: 1px solid var(--hl-light-border);
  border-bottom: 1px solid var(--hl-light-border);
}
.hl-sec-dark {
  background: var(--hl-dark);
  color: var(--hl-on-dark);
  padding: 52px 0;
}
@media (min-width: 1024px) {
  .hl-sec-light, .hl-sec-white { padding: 72px 0; }
  .hl-sec-dark { padding: 64px 0; }
}

.hl-sec-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
@media (min-width: 768px) {
  .hl-sec-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 34px;
  }
}
.hl-kicker-light {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hl-blue-strong);
}
.hl-h2-light {
  font-size: clamp(1.6rem, 3vw, 2.25rem) !important;
  color: var(--hl-ink) !important;
  margin-top: 4px !important;
}
.hl-h2-light .hl-script {
  color: var(--hl-navy) !important;
}

/* SECTION 2 (OFF-WHITE): 3 Clean Store Category Cards */
.hl-cat3-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 768px) {
  .hl-cat3-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
.hl-cat3-card {
  background: #ffffff;
  border: 1px solid var(--hl-light-border);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none !important;
  color: var(--hl-ink) !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.hl-cat3-card:hover {
  transform: translateY(-3px);
  border-color: var(--hl-light-border-hover);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}
.hl-cat3-imgbox {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  height: 175px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.hl-cat3-imgbox img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}
.hl-cat3-card:hover .hl-cat3-imgbox img {
  transform: scale(1.05);
}
.hl-cat3-count {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hl-blue-strong);
}
.hl-cat3-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--hl-ink);
  margin: 4px 0 6px;
}
.hl-cat3-desc {
  font-size: 13px;
  color: var(--hl-ink-muted);
  margin: 0 0 14px;
  line-height: 1.5;
}
.hl-cat3-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--hl-navy);
}

/* SECTION 3 (CRISP WHITE): Interactive Storefront Tabs + Compact Light Cards */
.hl-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}
.hl-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hl-tab-btn {
  padding: 7px 15px;
  border-radius: 9999px;
  border: 1px solid var(--hl-light-border);
  background: var(--hl-light);
  color: var(--hl-ink-muted);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}
.hl-tab-btn:hover {
  border-color: #cbd5e1;
  color: var(--hl-ink);
}
.hl-tab-btn.is-active {
  background: var(--hl-navy-btn);
  border-color: var(--hl-navy-btn);
  color: #ffffff;
}

/* Compact 5-Column Product Grid (Light Cards + Pure White Image Box) */
.hl-prod-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 640px) {
  .hl-prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}
@media (min-width: 900px) {
  .hl-prod-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1100px) {
  .hl-prod-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
}

.hl-prod-card {
  background: var(--hl-light);
  border: 1px solid var(--hl-light-border);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.hl-prod-card:hover {
  transform: translateY(-3px);
  border-color: var(--hl-light-border-hover);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}
.hl-prod-card.is-hidden {
  display: none !important;
}

/* EXACT PURE WHITE IMAGE CONTAINER FOR PNGs/WebPs */
.hl-prod-imgbox {
  position: relative;
  height: 150px;
  background: #ffffff !important;
  border-radius: 8px;
  border: 1px solid #edf2f7;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none !important;
}
.hl-prod-imgbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: 100%;
  object-fit: contain !important;
  transition: transform 0.35s ease;
}
.hl-prod-card:hover .hl-prod-imgbox img {
  transform: scale(1.05);
}
.hl-prod-cat-pill {
  position: absolute;
  top: 7px; left: 7px;
  background: #f1f5f9;
  color: #334155;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 9999px;
}

.hl-prod-body {
  padding: 10px 4px 2px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  justify-content: space-between;
}
.hl-prod-title {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--hl-ink) !important;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 33px;
}
.hl-prod-title a {
  color: var(--hl-ink) !important;
  text-decoration: none !important;
}
.hl-prod-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.hl-prod-price {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--hl-ink);
}
.hl-btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 11px;
  border-radius: 7px;
  background: var(--hl-navy-btn);
  color: #ffffff !important;
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.18s ease;
  white-space: nowrap;
}
.hl-btn-buy:hover {
  background: var(--hl-navy-btn-hover);
}

/* SECTION 4 (DARK): E-Commerce Trust Bar + Coupon Banner */
.hl-trust4-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .hl-trust4-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hl-trust4-grid { grid-template-columns: repeat(4, 1fr); } }
.hl-trust-box {
  background: var(--hl-dark-card);
  border: 1px solid var(--hl-dark-line);
  border-radius: 12px;
  padding: 20px;
}
.hl-trust-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #ffffff;
  margin: 10px 0 4px;
}
.hl-trust-txt {
  font-size: 12.5px;
  color: var(--hl-on-dark-dim);
  margin: 0;
  line-height: 1.5;
}

.hl-coupon-strip {
  margin-top: 24px;
  background: linear-gradient(90deg, #0f2347 0%, #163363 100%);
  border: 1px solid var(--hl-dark-line-strong);
  border-radius: 14px;
  padding: 22px 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.hl-coupon-code-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--hl-ink);
  border: 0;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* SECTION 5 (OFF-WHITE): Wholesale / Distributors Banner */
.hl-wholesale-card {
  background: #ffffff;
  border: 1px solid var(--hl-light-border);
  border-radius: 16px;
  padding: 28px;
  display: grid;
  gap: 24px;
  align-items: center;
}
@media (min-width: 860px) {
  .hl-wholesale-card {
    grid-template-columns: 7fr 5fr;
    padding: 36px 40px;
  }
}
.hl-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  background: var(--hl-navy-btn);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s ease;
}
.hl-btn-primary:hover { background: var(--hl-navy-btn-hover); }
.hl-btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: var(--hl-ink) !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s ease;
}
.hl-btn-outline-dark:hover { background: #f1f5f9; }

/* ==========================================================================
   5. TIENDA (/products/ & CATEGORIES): DARK BG + SEARCH BAR + LIGHT CARDS W/ WHITE IMAGE BOX
   ========================================================================== */
.hero-section[data-type="type-1"],
.hero-section[data-type="type-2"] {
  padding: 24px 0 14px !important;
  min-height: auto !important;
}
.hero-section .page-title {
  font-size: clamp(1.5rem, 2.6vw, 2rem) !important;
}

/* Injected Shop Search + Category Filter Toolbar */
.hl-shop-toolbar {
  background: var(--hl-dark-card);
  border: 1px solid var(--hl-dark-line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 768px) {
  .hl-shop-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.hl-shop-search {
  display: flex;
  flex: 1;
  max-width: 420px;
  background: #ffffff;
  border-radius: 8px;
  padding: 3px;
}
.hl-shop-search input[type="search"] {
  flex: 1;
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  color: var(--hl-ink) !important;
  padding: 6px 12px !important;
  font-size: 13px !important;
  min-height: 32px !important;
}
.hl-shop-search button {
  background: var(--hl-navy-btn) !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 6px !important;
  padding: 0 14px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  cursor: pointer;
}
.hl-shop-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hl-shop-cat-pill {
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  color: #cbd5e1 !important;
  border: 1px solid var(--hl-dark-line);
  text-decoration: none !important;
  transition: all 0.18s ease;
}
.hl-shop-cat-pill:hover,
.hl-shop-cat-pill.is-current {
  background: #ffffff;
  color: var(--hl-ink) !important;
  border-color: #ffffff;
  font-weight: 600;
}

/* WooCommerce Catalog Grid: Dark Page Canvas + Light Cards + Pure White Image Box */
.woocommerce ul.products,
ul.products,
.products {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}
@media (min-width: 700px) {
  .woocommerce ul.products,
  ul.products,
  .products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}
@media (min-width: 1024px) {
  .woocommerce ul.products,
  ul.products,
  .products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

/* Light Card on Dark Shop Background */
.woocommerce ul.products li.product,
.products .product {
  width: 100% !important;
  margin: 0 !important;
  background: var(--hl-light) !important;
  color: var(--hl-ink) !important;
  border: 1px solid #dbe3ee !important;
  border-radius: 12px !important;
  padding: 11px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.woocommerce ul.products li.product:hover,
.products .product:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4) !important;
}

/* EXACT PURE WHITE IMAGE AREA ON SHOP CARDS */
.products .product figure,
.products .product .ct-media-container {
  height: 155px !important;
  max-height: 155px !important;
  aspect-ratio: auto !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 10px !important;
  margin-bottom: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.products .product figure img,
.products .product .ct-media-container img,
.woocommerce ul.products li.product a img {
  width: auto !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 135px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  background: #ffffff !important;
}

/* Dark Crisp Text inside Light Shop Cards */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.products .product .woocommerce-loop-product__title,
.products .product h2,
.products .product h2 a {
  color: var(--hl-ink) !important;
  font-family: var(--hl-sans) !important;
  font-size: 12.5px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
  margin: 2px 0 4px !important;
}
.products .product .entry-meta,
.products .product .entry-meta a {
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  color: var(--hl-blue-strong) !important;
}
.woocommerce ul.products li.product .price,
.products .product .price,
.products .product .price span {
  color: var(--hl-ink) !important;
  font-family: var(--hl-sans) !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  margin: 4px 0 8px !important;
}

/* Deep Navy Action Button inside Light Shop Cards */
.products .product .ct-woo-card-actions .button,
.products .product .ct-woo-card-actions .added_to_cart,
.woocommerce ul.products li.product .button {
  background-color: var(--hl-navy-btn) !important;
  color: #ffffff !important;
  border: 1px solid var(--hl-navy-btn) !important;
  min-height: 34px !important;
  height: 34px !important;
  padding: 0 12px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  width: 100% !important;
}
.products .product .ct-woo-card-actions .button:hover,
.woocommerce ul.products li.product .button:hover {
  background-color: var(--hl-navy-btn-hover) !important;
  border-color: var(--hl-navy-btn-hover) !important;
  color: #ffffff !important;
}

/* Shop Sidebar Cleanup */
aside#sidebar .ct-widget {
  background: var(--hl-dark-card);
  border: 1px solid var(--hl-dark-line);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 16px;
}
aside#sidebar .widget-title,
aside#sidebar h2,
aside#sidebar h3 {
  font-size: 12px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--hl-blue-accent) !important;
  margin-bottom: 12px !important;
}
aside#sidebar .product_list_widget li img {
  background: #ffffff !important;
  border-radius: 6px;
  padding: 3px;
}

/* Single Product Page: White Image Stage */
.single-product .woocommerce-product-gallery,
.single-product .ct-product-view {
  background: #ffffff !important;
  border-radius: 14px !important;
  padding: 20px !important;
}

/* ==========================================================================
   6. COMPLETELY REDESIGNED CART (/cart-2/) — CLEAN 2-COLUMN CARDS, ZERO OVERLAP
   ========================================================================== */
body.woocommerce-cart .entry-header,
body.woocommerce-cart .hero-section {
  display: none !important;
}
body.woocommerce-cart .ct-container,
body.woocommerce-cart .entry-content {
  max-width: 1180px !important;
  width: 100% !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.hl-cart-wrap {
  padding: 36px 0 64px;
}
.hl-cart-steps {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--hl-on-dark-dim);
  margin-bottom: 10px;
}
.hl-cart-steps .is-active {
  color: var(--hl-blue-accent);
}
.hl-cart-heading {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 24px;
}

.hl-cart-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
@media (min-width: 960px) {
  .hl-cart-layout {
    grid-template-columns: 7fr 4fr;
    gap: 28px;
  }
}

/* Individual Light Item Cards in Cart */
.hl-cart-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hl-cart-item-card {
  background: var(--hl-light);
  color: var(--hl-ink);
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  align-items: center;
}
@media (min-width: 640px) {
  .hl-cart-item-card {
    grid-template-columns: 84px 1fr auto auto auto;
    gap: 20px;
    padding: 20px 24px;
  }
}
.hl-cart-thumb {
  width: 76px;
  height: 76px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .hl-cart-thumb { width: 84px; height: 84px; }
}
.hl-cart-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.hl-cart-item-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--hl-ink) !important;
  text-decoration: none !important;
  display: block;
  margin-bottom: 4px;
}
.hl-cart-item-unit {
  font-size: 12.5px;
  color: var(--hl-ink-muted);
}

/* Clean Stepper */
.hl-qty-box {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  height: 36px;
  overflow: hidden;
}
.hl-qty-btn {
  width: 32px;
  height: 34px;
  background: transparent !important;
  border: 0 !important;
  color: var(--hl-ink) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer;
  padding: 0 !important;
  min-height: 0 !important;
}
.hl-qty-btn:hover { background: #f1f5f9 !important; }
.hl-qty-input {
  width: 38px !important;
  height: 34px !important;
  min-height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--hl-ink) !important;
  text-align: center !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  padding: 0 !important;
  -moz-appearance: textfield;
}
.hl-qty-input::-webkit-outer-spin-button,
.hl-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.hl-cart-item-sub {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--hl-ink);
  min-width: 82px;
  text-align: right;
}
.hl-cart-remove {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: all 0.18s ease;
}
.hl-cart-remove:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626 !important;
}

.hl-cart-actions-bar {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hl-btn-update {
  background: rgba(255,255,255,0.1) !important;
  color: #ffffff !important;
  border: 1px solid var(--hl-dark-line-strong) !important;
  border-radius: 8px !important;
  padding: 9px 18px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  cursor: pointer;
}
.hl-btn-update:hover {
  background: rgba(255,255,255,0.18) !important;
}

/* Right Sticky Summary Card (Light Crisp Card w/ Generous Padding!) */
.hl-cart-summary {
  background: #ffffff;
  color: var(--hl-ink);
  border-radius: 16px;
  padding: 24px 26px;
  border: 1px solid #dbe3ee;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
@media (min-width: 960px) {
  .hl-cart-summary { position: sticky; top: 88px; }
}
.hl-summary-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--hl-ink);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.hl-coupon-box {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
}
.hl-coupon-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--hl-ink-muted);
  margin-bottom: 8px;
}
.hl-coupon-row {
  display: flex;
  gap: 8px;
}
.hl-coupon-row input {
  flex: 1;
  min-width: 0;
  height: 38px !important;
  min-height: 38px !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 0 12px !important;
  color: var(--hl-ink) !important;
  font-size: 13px !important;
}
.hl-coupon-row button {
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 16px !important;
  background: var(--hl-navy-btn) !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 8px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  cursor: pointer;
  flex-shrink: 0;
}
.hl-coupon-row button:hover {
  background: var(--hl-navy-btn-hover) !important;
}

.hl-sum-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: var(--hl-ink-muted);
  margin-bottom: 10px;
}
.hl-sum-row strong { color: var(--hl-ink); }
.hl-sum-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid #e2e8f0;
  font-size: 17px;
  font-weight: 700;
  color: var(--hl-ink);
}
.hl-checkout-btn {
  margin-top: 18px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  border-radius: 10px;
  background: var(--hl-navy-btn) !important;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.2s ease;
}
.hl-checkout-btn:hover {
  background: var(--hl-navy-btn-hover) !important;
}
.hl-sum-trust {
  margin-top: 14px;
  text-align: center;
  font-size: 11.5px;
  color: var(--hl-ink-soft);
}

/* Checkout & Notices Spacious Padding */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
  background: var(--hl-dark-card) !important;
  color: #ffffff !important;
  border: 1px solid var(--hl-dark-line-strong) !important;
  border-radius: 10px !important;
  padding: 14px 18px !important;
  margin-bottom: 18px !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table,
.woocommerce-checkout #payment {
  background: var(--hl-dark-card) !important;
  border: 1px solid var(--hl-dark-line) !important;
  border-radius: 12px !important;
  padding: 20px !important;
}

/* ==========================================================================
   7. STORE FOOTER (DARK)
   ========================================================================== */
.hl-footer {
  background: var(--hl-dark-deep);
  border-top: 1px solid var(--hl-dark-line);
  padding: 46px 0 28px;
  color: var(--hl-on-dark-dim);
}
.hl-footer-grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 768px) {
  .hl-footer-grid { grid-template-columns: 5fr 3fr 4fr; gap: 32px; }
}
.hl-ft-logo { height: 42px; width: auto; display: block; }
.hl-ft-title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hl-blue-accent);
  margin: 0 0 12px;
}
.hl-ft-links {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hl-ft-links a {
  font-size: 13.5px;
  color: var(--hl-on-dark-dim) !important;
  text-decoration: none !important;
}
.hl-ft-links a:hover { color: #ffffff !important; }
.hl-ft-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--hl-dark-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}