/* ============================================================
 * Lost Tape Club — Mejoras 2026 (deploy-001)
 * Bloque de confianza, badge collector, related products
 * ============================================================ */

/* ============ Home hero fotografico ============ */

.ltc-home-hero {
  position: relative;
  min-height: clamp(340px, 36vw, 455px);
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(8,8,8,.98) 0%, rgba(8,8,8,.92) 29%, rgba(8,8,8,.56) 52%, rgba(8,8,8,.12) 100%),
    linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.16) 62%, rgba(0,0,0,.58) 100%),
    url("/wp-content/uploads/2026/06/lost-tape-home-hero-c-1920x864.jpg");
  background-position: center;
  background-size: cover;
  margin-top: 0;
  border-bottom: 1px solid rgba(0,0,0,.35);
  border-top: 1px solid #242424;
}

.home .wrap.contentclass {
  padding-top: 0;
}

.ltc-home-hero__inner {
  width: min(1260px, calc(100% - 48px));
  min-height: inherit;
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding: 36px 0 42px;
}

.ltc-home-hero__copy {
  width: min(740px, 100%);
}

.ltc-home-hero__eyebrow {
  margin: 0 0 16px;
  color: #ffd35a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.ltc-home-hero h1 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.ltc-home-hero__lead {
  max-width: 620px;
  margin: 0 0 26px;
  color: rgba(255,255,255,.92);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.45;
}

.ltc-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ltc-home-hero__button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #0b0b0b;
  background: #ffd35a;
  border-radius: 5px;
  font-weight: 800;
  text-decoration: none;
}

.ltc-home-hero__button:hover,
.ltc-home-hero__button:focus {
  color: #0b0b0b;
  text-decoration: none;
}

.ltc-home-hero__button--secondary {
  color: #fff;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.34);
}

.ltc-home-hero__button--secondary:hover,
.ltc-home-hero__button--secondary:focus {
  color: #fff;
}

@media (max-width: 900px) {
  .ltc-home-hero {
    min-height: 500px;
    background-image:
      linear-gradient(180deg, rgba(8,8,8,.9) 0%, rgba(8,8,8,.66) 42%, rgba(8,8,8,.28) 100%),
      url("/wp-content/uploads/2026/06/lost-tape-home-hero-c-mobile-900x1125.jpg");
    background-position: center top;
  }

  .ltc-home-hero__inner {
    align-items: flex-start;
    padding-top: 44px;
  }
}

@media (max-width: 560px) {
  .ltc-home-hero {
    min-height: 510px;
  }

  .ltc-home-hero__inner {
    width: min(100% - 28px, 1260px);
  }

  .ltc-home-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

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

/* ============ Producto individual ============ */

.ltc-product-back {
  max-width: 1180px;
  margin: 18px auto 12px;
  padding: 0 20px;
  text-align: left;
}

.ltc-product-back a {
  color: #9a6100;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .2px;
  text-decoration: none;
}

.ltc-product-back a:hover {
  color: #111;
  text-decoration: underline;
}

.single-product #content,
.single-product .contentclass {
  background: #fff;
}

.ltc-single-product-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.single-product .product-img-case {
  flex: 0 0 48%;
  margin-bottom: 24px;
}

.single-product .product-img-case,
.single-product .product-summary-case {
  min-width: 0;
}

.single-product .product-img-case .woocommerce-product-gallery,
.single-product .product-img-case .woocommerce-product-gallery__image {
  background: #f7f6f2;
  border: 1px solid #e5e2da;
  border-radius: 8px;
  overflow: hidden;
}

.single-product .product-img-case .woocommerce-product-gallery {
  max-width: 500px;
  margin: 0 auto;
}

.single-product .product-img-case img {
  display: block;
  width: 100%;
  height: auto;
}

.single-product .product-img-case .woocommerce-product-gallery__image img.wp-post-image {
  max-height: 620px;
  object-fit: contain;
}

.single-product .product-img-case .flex-control-thumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.single-product .product-img-case .flex-control-thumbs li {
  width: 58px;
  float: none;
}

.single-product .product-img-case .flex-control-thumbs img {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: cover;
  border: 1px solid #e5e2da;
  border-radius: 6px;
  opacity: .7;
  cursor: pointer;
}

.single-product .product-img-case .flex-control-thumbs img.flex-active,
.single-product .product-img-case .flex-control-thumbs img:hover {
  opacity: 1;
  border-color: #c7962d;
}

.single-product .product-summary-case .summary.entry-summary {
  max-width: 640px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e8e4da;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  text-align: left;
}

.single-product .product-summary-case .summary.entry-summary .product_title {
  margin: 0 0 14px;
  color: #1f1f1f;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
}

.single-product .product-summary-case .summary.entry-summary .price {
  margin: 14px 0 18px;
  padding-top: 16px;
  border-top: 1px solid #eee9df;
  color: #111;
  font-size: 26px;
  font-weight: 800;
  text-align: left;
}

.ltc-product-meta-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #666;
  font-size: 13px;
}

.ltc-product-meta-line span {
  color: #9a7a22;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.ltc-product-meta-line a {
  color: #222;
  font-weight: 800;
  text-decoration: none;
}

.ltc-product-meta-line a:hover {
  color: #9a6100;
  text-decoration: underline;
}

.single-product .product-summary-case .summary.entry-summary form.cart {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
}

.single-product .product-summary-case .summary.entry-summary .quantity {
  display: inline-flex;
  align-items: stretch;
  margin: 0;
  border: 1px solid #d8d3c7;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
}

.single-product .product-summary-case .summary.entry-summary .quantity input.qty,
.single-product .product-summary-case .summary.entry-summary .quantity .input-text.qty {
  width: 48px;
  min-height: 46px;
  border: 0;
  text-align: center;
  font-weight: 800;
}

.single-product .product-summary-case .summary.entry-summary .quantity .plus,
.single-product .product-summary-case .summary.entry-summary .quantity .minus {
  width: 26px;
  min-height: 23px;
  border: 0;
  border-left: 1px solid #d8d3c7;
  background: #f7f6f2;
  color: #333;
  font-size: 13px;
  line-height: 1;
}

.single-product .product-summary-case .summary.entry-summary .single_add_to_cart_button,
.single-product .product-summary-case .summary.entry-summary button.single_add_to_cart_button.button {
  min-height: 46px;
  padding: 0 28px;
  background: #111;
  border: 0;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.single-product .product-summary-case .summary.entry-summary .single_add_to_cart_button:hover,
.single-product .product-summary-case .summary.entry-summary button.single_add_to_cart_button.button:hover {
  background: #2a2a2a;
  color: #fff;
}

/* Tabs / CD info */
.single-product .woocommerce-tabs {
  max-width: 1180px;
  margin: 38px auto 0;
  padding: 0 20px;
}

.single-product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #e5e2da;
}

.single-product .woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.single-product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 11px 14px;
  color: #666;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .5px;
  text-decoration: none;
  text-transform: uppercase;
}

.single-product .woocommerce-tabs ul.tabs li.active a {
  color: #111;
  border-bottom: 3px solid #e8c46a;
}

.single-product .woocommerce-Tabs-panel {
  padding: 22px 0 0;
  color: #222;
  font-size: 14px;
  line-height: 1.55;
}

.single-product .woocommerce-Tabs-panel h2 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 800;
}

.single-product .woocommerce-Tabs-panel--description {
  max-height: 620px;
  overflow: auto;
  padding: 22px 20px 20px;
  background: #fafaf7;
  border: 1px solid #e5e2da;
  border-radius: 8px;
  white-space: pre-line;
}

/* Badge "Collector edition" arriba del título */
.ltc-collector-badge {
  display: inline-block;
  background: #1a1a1a;
  color: #e8c46a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 12px;
}

/* Bloque de confianza debajo del botón de compra */
.ltc-trust-block {
  margin-top: 18px;
  padding: 14px 16px;
  background: #fafaf7;
  border: 1px solid #e5e2da;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.9;
}

.ltc-trust-item {
  color: #2d2d2d;
  font-weight: 500;
}

.ltc-trust-contact {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #e5e2da;
  font-size: 13px;
  color: #666;
}

.ltc-trust-contact a {
  color: #b8860b;
  font-weight: 600;
  text-decoration: none;
}

.ltc-trust-contact a:hover {
  text-decoration: underline;
}

/* Related products — "You might also like" */
.related.products {
  max-width: 1180px;
  margin: 48px auto 0;
  padding: 30px 20px 0;
  border-top: 1px solid #e5e2da;
}

.related.products > h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: left;
}

/* ============ Cards de listado (categorías / búsqueda) ============ */

.post-type-archive-product #content,
.tax-product_cat #content,
.search-results #content {
  padding-top: 18px;
}

.ltc-archive-hero {
  max-width: 1180px;
  margin: 0 auto 20px;
  padding: 17px 22px 18px;
  background: #fafaf7;
  border: 1px solid #e8e4da;
  border-radius: 8px;
}

.ltc-archive-back {
  display: inline-block;
  margin-bottom: 10px;
  color: #9a6100;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.ltc-archive-back:hover {
  color: #111;
  text-decoration: underline;
}

.ltc-archive-kicker {
  margin: 0 0 5px;
  color: #9a7a22;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.ltc-archive-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.ltc-archive-heading .page-title {
  margin: 0;
  color: #222;
  font-size: 30px;
  font-weight: 850;
  line-height: 1.08;
}

.ltc-archive-tools {
  flex: 0 0 auto;
}

.ltc-archive-tools .woocommerce-ordering {
  margin: 0;
}

.ltc-archive-tools select {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #d9d3c7;
  border-radius: 6px;
  background: #fff;
  color: #222;
  font-size: 12px;
  font-weight: 700;
}

.ltc-archive-summary {
  margin-top: 6px;
  color: #666;
  font-size: 12px;
}

.ltc-archive-summary .woocommerce-result-count {
  float: none;
  margin: 0;
}

.ltc-category-intro {
  max-width: 860px;
  margin: 10px 0 0;
  color: #4a4a4a;
  font-size: 13px;
  line-height: 1.45;
}

.ltc-category-intro span {
  color: #8b6818;
  font-weight: 800;
}

.ltc-search-refine {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e8e4da;
}

.ltc-search-refine label {
  display: block;
  margin-bottom: 7px;
  color: #9a7a22;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.ltc-search-refine form > div {
  display: flex;
  gap: 8px;
  max-width: 680px;
}

.ltc-search-refine input[type="search"] {
  flex: 1;
  min-height: 44px;
  padding: 0 14px;
  background: #fff;
  border: 2px solid #111;
  border-radius: 8px;
  color: #111;
  font-size: 15px;
}

.ltc-search-refine button {
  min-height: 44px;
  padding: 0 18px;
  background: #111;
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.ltc-search-refine p {
  margin: 10px 0 0;
  color: #666;
  font-size: 13px;
  line-height: 1.5;
}

.ltc-search-refine a {
  color: #9a6100;
  font-weight: 800;
  text-decoration: none;
}

.ltc-search-refine a:hover {
  text-decoration: underline;
}

.ltc-category-seo-text {
  max-width: 1180px;
  margin: 36px auto 0;
  padding: 18px 20px;
  background: #fafaf7;
  border: 1px solid #e8e4da;
  border-radius: 8px;
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

.ltc-category-seo-text p {
  margin: 0;
}

.ltc-no-results {
  max-width: 760px;
  margin: 28px auto 60px;
  padding: 28px;
  background: #fafaf7;
  border: 1px solid #e8e4da;
  border-radius: 8px;
  text-align: center;
}

.ltc-no-results-kicker {
  margin: 0 0 8px;
  color: #9a7a22;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.ltc-no-results h2 {
  margin: 0;
  color: #222;
  font-size: 26px;
  font-weight: 850;
}

.ltc-no-results p {
  color: #666;
}

.ltc-no-results form {
  display: flex;
  gap: 8px;
  max-width: 620px;
  margin: 18px auto 0;
}

.ltc-no-results input[type="search"] {
  flex: 1;
  min-height: 44px;
  padding: 0 14px;
  border: 2px solid #111;
  border-radius: 8px;
}

.ltc-no-results button {
  min-height: 44px;
  padding: 0 18px;
  background: #111;
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.ltc-no-results-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.ltc-no-results-links a {
  color: #9a6100;
  font-weight: 800;
  text-decoration: none;
}

.ltc-no-results-links a:hover {
  text-decoration: underline;
}

.ltc-404-page {
  padding-top: 46px;
  padding-bottom: 70px;
}

.ltc-404-panel {
  max-width: 760px;
  margin: 0 auto;
  padding: 34px 30px;
  background: #fafaf7;
  border: 1px solid #e8e4da;
  border-radius: 8px;
  text-align: center;
}

.ltc-404-kicker {
  margin: 0 0 8px;
  color: #9a7a22;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.ltc-404-panel h1 {
  margin: 0;
  color: #222;
  font-size: 34px;
  font-weight: 850;
  line-height: 1.1;
}

.ltc-404-panel p {
  color: #666;
}

.ltc-404-panel form {
  display: flex;
  gap: 8px;
  max-width: 620px;
  margin: 20px auto 0;
}

.ltc-404-panel input[type="search"] {
  flex: 1;
  min-height: 46px;
  padding: 0 14px;
  background: #fff;
  border: 2px solid #111;
  border-radius: 8px;
}

.ltc-404-panel button {
  min-height: 46px;
  padding: 0 18px;
  background: #111;
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.ltc-404-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.ltc-404-links a {
  color: #9a6100;
  font-weight: 800;
  text-decoration: none;
}

.ltc-404-links a:hover {
  text-decoration: underline;
}

.ltc-contact-page {
  padding-top: 46px;
  padding-bottom: 70px;
}

.ltc-contact-panel {
  max-width: 860px;
  margin: 0 auto;
  padding: 34px 30px;
  background: #fafaf7;
  border: 1px solid #e8e4da;
  border-radius: 8px;
  text-align: center;
}

.ltc-contact-kicker {
  margin: 0 0 8px;
  color: #9a7a22;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.ltc-contact-panel h1 {
  margin: 0;
  color: #222;
  font-size: 34px;
  font-weight: 850;
  line-height: 1.1;
}

.ltc-contact-lead {
  max-width: 620px;
  margin: 12px auto 0;
  color: #666;
  font-size: 16px;
  line-height: 1.55;
}

.ltc-contact-email {
  display: inline-block;
  margin-top: 18px;
  color: #111;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.ltc-contact-email-text {
  display: inline-block;
  margin: 20px 0 0;
  color: #222;
  font-size: 17px;
  font-weight: 850;
  user-select: text;
}

.ltc-contact-email:hover {
  color: #9a6100;
  text-decoration: none;
}

.ltc-contact-guarantee {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 9px 14px;
  background: #fff7df;
  border: 1px solid #f0d36f;
  border-radius: 999px;
  color: #6c4a00;
  font-size: 14px;
  font-weight: 900;
}

.ltc-contact-mail-button {
  display: inline-block;
  margin-top: 18px;
  margin-left: 12px;
  padding: 13px 20px;
  background: #111;
  color: #fff;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
}

.ltc-contact-mail-button:hover {
  background: #2a2a2a;
  color: #fff;
  text-decoration: none;
}

.ltc-contact-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.ltc-contact-links a {
  color: #9a6100;
  font-weight: 800;
  text-decoration: none;
}

.ltc-contact-links a:hover {
  text-decoration: underline;
}

.ltc-contact-socials {
  justify-content: center;
  margin-top: 24px;
}

.ltc-contact-socials a {
  min-width: 136px;
  justify-content: center;
  padding: 12px 16px;
  background: #111;
  border-radius: 8px;
}

#containerfooter.ltc-site-footer {
  margin-top: 56px;
  background: #0f0f0f !important;
  border-top: 1px solid #282828;
  color: #fff;
}

.ltc-site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 18px 24px;
  text-align: center;
}

.ltc-site-footer__nav,
.ltc-social-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ltc-site-footer__nav {
  justify-content: center;
}

#containerfooter.ltc-site-footer .ltc-site-footer__nav a,
#containerfooter.ltc-site-footer .ltc-social-links a {
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
}

#containerfooter.ltc-site-footer .ltc-social-links {
  justify-content: center;
  gap: 16px;
}

#containerfooter.ltc-site-footer .ltc-social-links a {
  min-width: 132px;
  justify-content: center;
  padding: 11px 16px;
  background: #1b1b1b;
  border: 1px solid #333;
  border-radius: 8px;
}

.ltc-contact-socials a {
  color: #fff !important;
}

#containerfooter.ltc-site-footer .ltc-site-footer__nav a:hover,
#containerfooter.ltc-site-footer .ltc-social-links a:hover {
  color: #ffd456 !important;
  text-decoration: none;
}

.ltc-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ltc-social-links svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ltc-social-links a[aria-label="Facebook"] svg {
  fill: currentColor;
  stroke: none;
}

.ltc-site-footer__copy {
  margin: 0;
  color: #b7b7b7;
  font-size: 12px;
  text-align: center;
}

.ltc-site-footer__mail {
  margin: 4px 0 0;
  color: #d8d8d8;
  font-size: 13px;
  font-weight: 750;
  user-select: text;
}

.back-home-wrapper,
.category-intro,
.category-seo-text {
  display: none;
}

/* Ocultar restos de rating en cards */
ul.products .star-rating,
ul.products .grayed-out,
.products .product-rating-wrap {
  display: none !important;
}

/* Card: hover sutil */
#product_wrapper.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

#product_wrapper.products::before,
#product_wrapper.products::after {
  content: none !important;
  display: none !important;
}

#product_wrapper .kad_product {
  position: static !important;
  left: auto !important;
  top: auto !important;
  float: none !important;
  width: auto !important;
  padding: 8px;
  transform: none !important;
}

ul.products li.product,
.products .product_item,
#product_wrapper .product_item {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e8e4da;
}

ul.products li.product:hover,
#product_wrapper .product_item:hover,
.products .product_item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

#product_wrapper .product_img_link {
  display: block;
  position: relative;
  padding: 10px 10px 0;
  background: #f7f6f2;
  text-align: center;
}

#product_wrapper .product_img_link img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
  background: #f7f6f2;
  border-radius: 6px;
}

#product_wrapper .details_product_item {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 184px;
  padding: 13px 13px 14px;
}

#product_wrapper .product_details {
  flex: 1 1 auto;
}

#product_wrapper .product_excerpt {
  display: none !important;
}

/* Título: máximo 3 líneas para que las cards queden parejas */
ul.products li.product h3,
ul.products li.product .woocommerce-loop-product__title,
.products .product_item .product_details h5,
#product_wrapper .product_item .product_details h5 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  color: #1f1f1f;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  min-height: 53px;
  text-align: left;
  text-transform: none;
}

#product_wrapper .product_item_link {
  text-decoration: none;
}

#product_wrapper .product_item_link:hover h5 {
  color: #9a6100;
}

/* Precio destacado */
ul.products li.product .price,
.products .product_item .product_price,
#product_wrapper .product_price {
  display: block;
  margin-top: auto;
  margin-bottom: 10px;
  color: #1a1a1a;
  font-size: 17px;
  font-weight: 900;
  text-align: left;
}

#product_wrapper .kad_add_to_cart,
#product_wrapper a.button.kad_add_to_cart {
  display: block;
  width: 100%;
  min-height: 40px;
  padding: 11px 12px;
  background: #111;
  border: 0;
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .4px;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

#product_wrapper .kad_add_to_cart:hover,
#product_wrapper a.button.kad_add_to_cart:hover {
  background: #2a2a2a;
  color: #fff;
}

#product_wrapper .added_to_cart {
  display: block;
  margin-top: 7px;
  color: #9a6100;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

/* ============ Cart / checkout base ============ */

.woocommerce-cart #content,
.woocommerce-checkout #content {
  padding-top: 28px;
  background: #fff;
}

.woocommerce-cart .page-header,
.woocommerce-checkout .page-header {
  max-width: 1180px;
  margin: 0 auto 22px;
  padding: 0 20px;
  border: 0;
}

.woocommerce-cart .page-title,
.woocommerce-checkout .page-title {
  margin: 0;
  color: #222;
  font-size: 34px;
  font-weight: 850;
}

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.woocommerce-cart .shop_table {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8e4da;
  border-radius: 8px;
}

.woocommerce-cart .shop_table th {
  background: #fafaf7;
  color: #555;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.woocommerce-cart .shop_table td,
.woocommerce-cart .shop_table th {
  border-color: #eee9df;
}

.woocommerce-cart .product-name a {
  color: #1f1f1f;
  font-weight: 800;
  text-decoration: none;
}

.woocommerce-cart .product-name a:hover {
  color: #9a6100;
  text-decoration: underline;
}

.woocommerce-cart .product-thumbnail img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #f7f6f2;
  border: 1px solid #e8e4da;
  border-radius: 6px;
}

.woocommerce-cart .coupon input.input-text {
  min-height: 42px;
  border: 1px solid #d8d3c7;
  border-radius: 6px;
}

.woocommerce-cart .button,
.woocommerce-checkout .button,
.woocommerce-cart .checkout-button {
  border: 0 !important;
  border-radius: 6px !important;
  font-weight: 900 !important;
  text-transform: uppercase;
}

.woocommerce-cart .checkout-button,
.woocommerce-checkout #place_order {
  background: #111 !important;
  color: #fff !important;
}

.woocommerce-cart .checkout-button:hover,
.woocommerce-checkout #place_order:hover {
  background: #2a2a2a !important;
}

.woocommerce-cart .cart_totals {
  padding: 20px;
  background: #fafaf7;
  border: 1px solid #e8e4da;
  border-radius: 8px;
}

.woocommerce-cart .cart_totals h2 {
  margin-top: 0;
  color: #222;
  font-size: 22px;
  font-weight: 850;
}

/* Mobile */
@media (max-width: 991px) {
  #product_wrapper.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .single-product {
    overflow-x: hidden;
  }

  .single-product * {
    box-sizing: border-box;
  }

  .ltc-product-back {
    margin-top: 12px;
    padding: 0 16px;
    text-align: left;
  }

  .ltc-single-product-layout {
    padding: 0 16px 20px;
    display: block;
  }

  .single-product .product-img-case,
  .single-product .product-summary-case {
    float: none;
    width: 100% !important;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .single-product .product-img-case .woocommerce-product-gallery,
  .single-product .product-img-case .woocommerce-product-gallery__wrapper,
  .single-product .product-img-case .woocommerce-product-gallery__image {
    width: 100% !important;
    max-width: 100%;
  }

  .single-product .product-img-case .woocommerce-product-gallery__image img.wp-post-image {
    max-height: 520px;
    object-fit: contain;
  }

  .single-product .product-img-case .flex-control-thumbs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .single-product .product-img-case .flex-control-thumbs li,
  .single-product .product-img-case .flex-control-thumbs img {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
  }

  .single-product .product-summary-case .summary.entry-summary {
    float: none !important;
    width: 100%;
    max-width: 100%;
    padding: 18px;
    box-shadow: none;
    box-sizing: border-box;
  }

  .single-product .product-summary-case .summary.entry-summary .product_title {
    font-size: 23px;
    overflow-wrap: anywhere;
  }

  .single-product .woocommerce-product-details__short-description {
    overflow-wrap: anywhere;
  }

  .single-product .product-summary-case .summary.entry-summary .price {
    font-size: 22px;
  }

  .ltc-product-meta-line {
    display: block;
  }

  .ltc-product-meta-line span {
    display: block;
    margin-bottom: 3px;
  }

  .single-product .product-summary-case .summary.entry-summary .single_add_to_cart_button {
    width: 100%;
    margin-top: 10px;
  }

  .single-product .product-summary-case .summary.entry-summary form.cart {
    display: block;
  }

  .single-product .product-summary-case .summary.entry-summary .quantity {
    display: flex;
    width: 100%;
    margin: 0;
  }

  .single-product .product-summary-case .summary.entry-summary .quantity input,
  .single-product .product-summary-case .summary.entry-summary .quantity input.qty,
  .single-product .product-summary-case .summary.entry-summary .quantity .input-text.qty {
    flex: 1;
    width: auto !important;
    min-height: 42px;
  }

  .single-product .product-summary-case .summary.entry-summary .quantity .plus,
  .single-product .product-summary-case .summary.entry-summary .quantity .minus {
    width: 42px;
    min-height: 42px;
  }

  .ltc-trust-block {
    font-size: 13px;
  }

  .single-product .woocommerce-tabs {
    margin-top: 28px;
    padding: 0 16px;
  }

  .single-product .woocommerce-tabs ul.tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .single-product .woocommerce-tabs ul.tabs li a {
    white-space: nowrap;
  }

  .single-product .woocommerce-Tabs-panel--description {
    max-height: 420px;
    padding: 18px 16px;
  }

  .related.products {
    margin-top: 34px;
    padding: 24px 16px 0;
  }

  .related.products > h2 {
    font-size: 18px;
  }

  #product_wrapper .kad_product {
    padding: 6px;
  }

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

  #product_wrapper .product_img_link {
    padding: 7px 7px 0;
  }

  #product_wrapper .details_product_item {
    min-height: 168px;
    padding: 10px 10px 11px;
  }

  #product_wrapper .product_item .product_details h5 {
    font-size: 12px;
    line-height: 1.32;
    min-height: 48px;
  }

  #product_wrapper .product_price {
    margin: 9px 0 8px;
    font-size: 15px;
  }

  #product_wrapper .kad_add_to_cart,
  #product_wrapper a.button.kad_add_to_cart {
    min-height: 37px;
    padding: 10px 8px;
    font-size: 11px;
  }

  .woocommerce-cart .woocommerce,
  .woocommerce-checkout .woocommerce,
  .woocommerce-cart .page-header,
  .woocommerce-checkout .page-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .woocommerce-cart .page-title,
  .woocommerce-checkout .page-title {
    font-size: 26px;
  }

  .woocommerce-cart .product-thumbnail img {
    width: 58px;
    height: 58px;
  }

  .woocommerce-cart .cart_totals {
    padding: 16px;
  }

  .ltc-search-refine form > div {
    display: block;
  }

  .ltc-search-refine input[type="search"],
  .ltc-search-refine button {
    width: 100%;
  }

  .ltc-search-refine button {
    margin-top: 8px;
  }

  .ltc-no-results {
    margin-left: 16px;
    margin-right: 16px;
    padding: 22px 18px;
  }

  .ltc-no-results form {
    display: block;
  }

  .ltc-no-results input[type="search"],
  .ltc-no-results button {
    width: 100%;
  }

  .ltc-no-results button {
    margin-top: 8px;
  }

  .ltc-404-page {
    padding-top: 28px;
    padding-bottom: 46px;
  }

  .ltc-404-panel {
    margin-left: 16px;
    margin-right: 16px;
    padding: 26px 18px;
  }

  .ltc-404-panel h1 {
    font-size: 27px;
  }

  .ltc-404-panel form {
    display: block;
  }

  .ltc-404-panel input[type="search"],
  .ltc-404-panel button {
    width: 100%;
  }

  .ltc-404-panel button {
    margin-top: 8px;
  }

  .ltc-contact-page {
    padding-top: 28px;
    padding-bottom: 46px;
  }

  .ltc-contact-panel {
    margin-left: 16px;
    margin-right: 16px;
    padding: 26px 18px;
  }

  .ltc-contact-panel h1 {
    font-size: 27px;
  }

  .ltc-contact-email,
  .ltc-contact-mail-button {
    display: block;
    width: 100%;
    margin-left: 0;
  }

  .ltc-site-footer__inner {
    padding-top: 26px;
    padding-bottom: 22px;
    text-align: center;
  }

  .ltc-site-footer__nav,
  .ltc-social-links {
    justify-content: center;
  }
}

@media (max-width: 420px) {
  #product_wrapper.products {
    grid-template-columns: 1fr;
  }
}
