/* ============================================================
 * Lost Tape Club — Header 2026 (deploy-002)
 * Logo + buscador prominente + cart, mobile-first
 * ============================================================ */

.ltc-topbar {
  background-color: #111;
  margin: 0;
  padding: 0;
}

.ltc-header {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 20px;
}

.ltc-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.ltc-logo img {
  height: 54px;
  width: auto;
}

/* Search */
.ltc-search {
  flex: 1;
  max-width: 560px;
  margin: 0 auto;
}

.ltc-search .dgwt-wcas-search-wrapp {
  max-width: 100%;
}

.ltc-search .dgwt-wcas-sf-wrapp {
  background: transparent;
}

.ltc-search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
  min-height: 54px;
  padding-left: 48px;
  padding-right: 18px;
  background: #f7f7f7;
  border: 2px solid #111 !important;
  border-radius: 999px;
  color: #111;
  font-size: 16px;
  box-shadow: none;
}

.ltc-search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus {
  background: #fff;
  border-color: #e8c46a !important;
  box-shadow: 0 0 0 3px rgba(232,196,106,.22);
}

.ltc-search .dgwt-wcas-search-submit {
  color: #111;
}

/* Search fallback */
.ltc-search form.ltc-search-fallback {
  display: flex;
  width: 100%;
}

.ltc-search form.ltc-search-fallback input[type="search"] {
  flex: 1;
  padding: 10px 14px;
  font-size: 15px;
  border: none;
  border-radius: 6px 0 0 6px;
}

.ltc-search form.ltc-search-fallback button {
  padding: 10px 16px;
  background: #e8c46a;
  color: #111;
  border: none;
  border-radius: 0 6px 6px 0;
  font-weight: 700;
  cursor: pointer;
}

.ltc-cart {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border: 1px solid #444;
  border-radius: 6px;
  transition: color .15s ease, border-color .15s ease;
}

.ltc-cart:hover {
  color: #e8c46a;
  border-color: #e8c46a;
  text-decoration: none;
}

.ltc-cart-icon {
  flex-shrink: 0;
  vertical-align: middle;
}

.ltc-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: #e8c46a;
  color: #111;
  font-size: 11px;
  font-weight: 800;
  border-radius: 10px;
  line-height: 1;
}

.ltc-cart--has-items {
  border-color: #555;
}

/* Navigation */
.ltc-nav {
  border-top: 1px solid #2a2a2a;
}

.ltc-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 9px 20px;
  flex-wrap: wrap;
}

.ltc-nav-inner a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.3px;
}

.ltc-nav-inner a:hover {
  color: #e8c46a;
}

.ltc-nav-inner a.ltc-nav-featured {
  color: #e8c46a;
  font-weight: 600;
}

/* Trust strip */
.ltc-trust-strip {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  background: #f8f6f1;
  border-bottom: 1px solid #e5e2da;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #2d2d2d;
}

/* Titulos de secciones home */
.ltc-featured-artists h2,
.ltc-product-strip h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}

.ltc-section-heading {
  text-align: center;
  margin-bottom: 18px;
}

.ltc-section-kicker {
  margin: 0 0 4px;
  color: #9a7a22;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.ltc-section-sub {
  max-width: 520px;
  margin: 0 auto;
  color: #666;
  font-size: 14px;
  line-height: 1.45;
}

.ltc-artist-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.ltc-artist-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 94px;
  padding: 18px 18px 15px;
  background: #111;
  border: 1px solid #222;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.ltc-artist-card:hover,
.ltc-artist-card:focus-visible {
  transform: translateY(-3px);
  border-color: #e8c46a;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  outline: 0;
  text-decoration: none;
}

.ltc-artist-name {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.ltc-artist-count {
  color: #e8c46a;
  font-size: 13px;
}

.ltc-artist-action {
  margin-top: auto;
  color: #cfcfcf;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2px;
  white-space: nowrap;
}

.ltc-artist-action::after {
  content: " ->";
  color: #e8c46a;
  font-weight: 900;
}

/* ============ Home sections (front-page.php) ============ */

.ltc-home-content {
  width: 100%;
}

.ltc-home-content::before {
  display: none;
}

.ltc-home-section {
  width: 100%;
}

.ltc-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Secciones home — márgenes verticales */
.ltc-product-strip.ltc-home-section,
.ltc-featured-artists.ltc-home-section,
.ltc-home-explore.ltc-home-section {
  margin: 34px auto 0;
}

/* Product strip */
.ltc-product-strip {
  text-align: center;
}

.ltc-product-strip .ltc-section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 18px;
}

.ltc-product-controls {
  display: inline-flex;
  gap: 8px;
  justify-self: end;
  margin-bottom: 16px;
}

.ltc-product-control {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111;
  border: 1px solid #111;
  border-radius: 5px;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.ltc-product-control:hover,
.ltc-product-control:focus {
  background: #2a2a2a;
  border-color: #2a2a2a;
}

.ltc-product-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 90px) / 6);
  grid-template-columns: none;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 3px 2px 16px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.ltc-product-row::-webkit-scrollbar {
  display: none;
}

.ltc-product-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  color: #1a1a1a;
  text-decoration: none;
  scroll-snap-align: start;
}

.ltc-product-card:hover {
  color: #000;
  text-decoration: none;
}

.ltc-product-cover {
  display: block;
  aspect-ratio: 1 / 1;
  background: #f5f3ee;
  border: 1px solid #e5e2da;
  border-radius: 7px;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.ltc-product-card:hover .ltc-product-cover {
  border-color: #b8860b;
  box-shadow: 0 6px 18px rgba(0,0,0,.11);
  transform: translateY(-2px);
}

.ltc-product-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ltc-product-title {
  display: -webkit-box;
  color: #262626;
  font-size: 14px;
  line-height: 1.25;
  overflow: hidden;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ltc-product-action {
  align-self: flex-start;
  color: #9a7a22;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .3px;
  text-transform: uppercase;
  white-space: nowrap;
}

.ltc-product-action::after {
  content: " ->";
}

/* A-Z browser */
.ltc-home-az {
  margin: 30px 0 0;
  border-top: 1px solid #e5e2da;
  padding-top: 18px;
  padding-bottom: 30px;
}

/* A-Z compact index */
.ltc-home-az .ltc-section-inner {
  max-width: 920px;
  padding: 0 20px;
}

.ltc-home-az p,
.ltc-home-az .entry-content p {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 4px;
}

.ltc-home-az h3,
.ltc-home-az .entry-content h3 {
  font-size: 19px;
  margin: 0 0 12px;
  text-align: center;
}

.ltc-home-az a {
  font-size: 13px;
}

.ltc-home-az .menu-cat {
  max-width: 920px;
  margin: 0 auto;
  padding: 12px;
  background: #f7f7f5;
  border: 1px solid #e5e2da;
  border-radius: 8px;
}

.ltc-home-az .nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
  border: 0;
}

.ltc-home-az .nav-tabs > li {
  margin: 0;
}

.ltc-home-az .nav-tabs > li > a {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  color: #17456d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.ltc-home-az .nav-tabs > li.active > a,
.ltc-home-az .nav-tabs > li.active > a:hover,
.ltc-home-az .nav-tabs > li.active > a:focus {
  background: #ef9000;
  border-color: #ef9000;
  color: #fff;
}

.ltc-home-az .tab-content {
  max-height: 280px;
  overflow: auto;
  padding: 14px 14px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
}

.ltc-home-az .tab-pane {
  display: none;
}

.ltc-home-az .tab-pane.active {
  display: block;
  column-width: 190px;
  column-gap: 34px;
}

.ltc-home-az .tab-pane p {
  break-inside: avoid;
  margin: 0 0 11px;
  line-height: 1.45;
}

.ltc-home-az .tab-pane a {
  display: inline;
  color: #222;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  padding: 2px 3px;
}

.ltc-home-az .tab-pane a:hover,
.ltc-home-az .tab-pane a:focus-visible {
  background: #faf3e3;
  color: #9a6100;
  outline: 0;
  text-decoration: none;
}

.ltc-az-count {
  color: #9a7a22;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

/* Browse callout */
.ltc-home-eyebrow {
  text-align: left;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #9a7a22;
  margin: 0 0 5px;
}

.ltc-browse-callout {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
  padding: 18px 20px;
  background: #f8f6f1;
  border: 1px solid #e2ddcf;
  border-radius: 8px;
}

.ltc-browse-callout h2 {
  margin: 0 0 4px;
  font-size: 22px;
  line-height: 1.15;
}

.ltc-browse-callout p:last-child {
  max-width: 620px;
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.4;
}

.ltc-browse-button,
.ltc-browse-secondary {
  white-space: nowrap;
  text-decoration: none;
}

.ltc-browse-button {
  padding: 12px 17px;
  background: #111;
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
}

.ltc-browse-button:hover {
  color: #fff;
  background: #262626;
  text-decoration: none;
}

.ltc-browse-secondary {
  color: #80650f;
  font-size: 13px;
  font-weight: 700;
}

.ltc-browse-secondary:hover {
  color: #111;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .ltc-product-strip .ltc-section-heading {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .ltc-product-controls {
    justify-self: center;
    margin-bottom: 8px;
  }

  .ltc-product-row {
    grid-auto-columns: 42%;
    -webkit-overflow-scrolling: touch;
  }

  .ltc-browse-callout {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .ltc-browse-button,
  .ltc-browse-secondary {
    text-align: center;
  }

  .ltc-home-az .tab-content {
    max-height: 240px;
  }
}

/* Hidden SEO text */
.ltc-seo-text {
  font-size: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  left: -9999px;
}

/* ============ Responsive ============ */
@media (max-width: 768px) {
  .ltc-header {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 14px 8px;
  }

  .ltc-logo img {
    height: 34px;
  }

  .ltc-cart {
    margin-left: auto;
    padding: 7px 9px;
  }

  .ltc-cart-label {
    display: none;
  }

  /* Buscador a ancho completo debajo del logo */
  .ltc-search {
    order: 3;
    flex-basis: 100%;
    max-width: 100%;
  }

  .ltc-search .dgwt-wcas-search-wrapp {
    min-width: 0;
  }

  .ltc-search .dgwt-wcas-search-input,
  .ltc-search input[type="search"] {
    font-size: 14px;
  }

  .ltc-search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
    min-height: 52px;
  }

  .ltc-nav-inner {
    gap: 16px;
    padding: 7px 12px;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .ltc-nav-inner::-webkit-scrollbar {
    display: none;
  }

  .ltc-nav-inner a {
    white-space: nowrap;
    font-size: 12px;
  }

  .ltc-trust-strip {
    display: none;
  }

  .ltc-product-strip.ltc-home-section {
    margin-top: 28px;
  }

  .ltc-product-strip h2 {
    font-size: 28px;
    line-height: 1.15;
  }

  .ltc-section-heading {
    margin-bottom: 14px;
  }

  .ltc-section-sub {
    max-width: 320px;
    font-size: 13px;
  }

  .ltc-artist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ltc-artist-card {
    min-height: 78px;
    padding: 14px 14px 12px;
  }

  .ltc-artist-name {
    font-size: 14px;
    line-height: 1.2;
  }

  .ltc-artist-count {
    font-size: 12px;
  }

  .ltc-artist-action {
    font-size: 11px;
  }
}

@media (max-width: 380px) {
  .ltc-artist-grid {
    grid-template-columns: 1fr;
  }

  .ltc-artist-card {
    min-height: 64px;
  }
}
