/* The Vape Club showcase 1.1.1 */
:root {
  --tvc-showcase-ink: #10110e;
  --tvc-showcase-yellow: #ffd32c;
  --tvc-showcase-paper: #efefe8;
  --tvc-showcase-line: #d8d8cf;
  --tvc-home-section-space: clamp(1.65rem, 2.4vw, 2rem);
}

body#index {
  overflow-x: hidden;
}

/* Header del concept: buscador protagonista y navegación en una línea propia. */
@media (min-width: 768px) {
  body.tvc-showcase-ready #header .tvc-header-grid {
    min-height: 150px;
    grid-template-columns: 210px minmax(0, 1fr);
    grid-template-areas:
      "brand tools"
      "nav nav";
    gap: 0 2rem;
    padding-top: .9rem;
    padding-bottom: .65rem;
  }

  body.tvc-showcase-ready #header .tvc-desktop-brand {
    grid-area: brand;
    width: 198px;
    height: 82px;
  }

  body.tvc-showcase-ready #header .tvc-header-grid > #_desktop_logo {
    grid-area: brand;
    align-self: center;
  }

  body.tvc-showcase-ready #header .tvc-header-grid > .tvc-desktop-nav-wrap {
    width: 100%;
    grid-area: nav;
  }

  body.tvc-showcase-ready #header .tvc-header-tools {
    width: 100%;
    max-width: none;
    grid-area: tools;
    grid-template-columns: minmax(360px, 1fr) auto;
    justify-self: stretch;
    gap: .75rem;
    margin: 0;
  }

  body.tvc-showcase-ready #header .tvc-search-slot,
  body.tvc-showcase-ready #header #_desktop_search_widget,
  body.tvc-showcase-ready #header .tvc-search-slot .search-widgets,
  body.tvc-showcase-ready #header .tvc-search-slot .search-widgets form {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    float: none !important;
  }

  body.tvc-showcase-ready #header .tvc-search-slot .search-widgets input[type="text"] {
    width: 100% !important;
    max-width: none !important;
  }

  body.tvc-showcase-ready #header .tvc-primary-nav {
    grid-area: nav;
    justify-content: flex-start;
    gap: clamp(1rem, 2.1vw, 2.4rem);
    min-width: 0;
    padding-top: .25rem;
    border-top: 1px solid #30312c;
  }

  body.tvc-showcase-ready #header .tvc-primary-nav a {
    padding: .9rem 0 .7rem;
    font-size: 10px;
    letter-spacing: .08em;
  }

  body.tvc-showcase-ready #header .tvc-search-slot .search-widget form input[type="text"],
  body.tvc-showcase-ready #header .tvc-search-slot .search-widgets form input[type="text"] {
    height: 52px;
    padding-left: 1.15rem;
    border-color: #4a4c44;
    background: #1a1b17;
    font-size: 13px;
  }

  body.tvc-showcase-ready #header .tvc-commerce-link {
    height: 52px;
    min-width: 64px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  body.tvc-showcase-ready #header .tvc-header-grid {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 0 1rem;
  }

  body.tvc-showcase-ready #header .tvc-desktop-brand {
    width: 162px;
    height: 76px;
  }

  body.tvc-showcase-ready #header .tvc-primary-nav {
    justify-content: space-between;
    gap: .5rem;
  }

  body.tvc-showcase-ready #header .tvc-primary-nav a {
    font-size: 8px;
  }
}

/* Las cuatro puertas siguen siendo muy visuales, pero ya no dominan la portada. */
@media (min-width: 1200px) {
  body#index .tvc-category-shell .tvc-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body#index .tvc-category-card {
    min-height: 245px;
  }

  body#index .tvc-category-copy {
    width: 72%;
  }

  body#index .tvc-category-copy strong,
  body#index .tvc-category-consumables .tvc-category-copy strong {
    font-size: clamp(1.55rem, 2vw, 2.15rem);
  }

  body#index .tvc-category-copy small {
    font-size: .68rem;
  }
}

body#index .tvc-category-gateway {
  padding-top: clamp(1.7rem, 3vw, 2.8rem);
}

body#index .tvc-category-shell .tvc-section-intro {
  margin-bottom: 1.15rem;
  padding-bottom: 1.1rem;
}

body#index .tvc-category-shell .tvc-section-intro h2 {
  font-size: clamp(2.5rem, 3.5vw, 3.8rem);
}

/* Bloques editoriales configurables. */
.tvc-home-showcase {
  display: none;
  color: var(--tvc-showcase-ink);
  background: var(--tvc-showcase-paper);
}

body.tvc-showcase-ready .tvc-home-showcase {
  display: block;
}

/* Compensa únicamente el gap nativo anterior al módulo de portada. */
body#index .tvc-home-showcase {
  margin-top: -1.5rem;
}

.tvc-mobile-search-bar {
  display: none;
}

.tvc-showcase-editorial,
.tvc-manual-products {
  padding: var(--tvc-home-section-space) 0;
}

body#index .tvc-instagram-section {
  margin-top: 0 !important;
}

body#index .tvc-category-gateway,
body#index .tvc-instagram-section {
  padding-top: var(--tvc-home-section-space) !important;
}

.tvc-showcase-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.tvc-showcase-heading p {
  margin: 0 0 .5rem;
  color: #74766e;
  font-size: clamp(.84rem, .9vw, .95rem);
  font-weight: 900;
  letter-spacing: .16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.tvc-showcase-heading h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(2.35rem, 3.8vw, 4rem);
  font-weight: 950;
  letter-spacing: -.05em;
  line-height: .92;
  text-transform: uppercase;
}

.tvc-campaign-grid {
  min-height: 530px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.tvc-campaign-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(115deg, rgba(9,10,8,.45), rgba(9,10,8,.16)),
    var(--tvc-campaign-image, none),
    #11130f;
  background-position: center;
  background-size: cover;
  color: #fff;
  isolation: isolate;
}

.tvc-campaign-card::before,
.tvc-campaign-card::after {
  display: none;
  content: none;
}

.tvc-campaign-card::before {
  right: -11%;
  bottom: -28%;
  width: 47%;
  aspect-ratio: 1;
  border: 3px solid var(--tvc-showcase-yellow);
}

.tvc-campaign-card::after {
  right: 10%;
  bottom: 10%;
  width: 16%;
  aspect-ratio: 1;
  background: var(--tvc-showcase-yellow);
}

.tvc-campaign-card-1 {
  grid-row: 1 / 3;
  background:
    linear-gradient(100deg, rgba(9,10,8,.52) 0%, rgba(9,10,8,.28) 48%, rgba(9,10,8,.08) 100%),
    var(--tvc-campaign-image, none),
    #11130f;
  background-position: center;
  background-size: cover;
}

.tvc-campaign-card-2 {
  background:
    linear-gradient(120deg, rgba(255,211,44,.38), rgba(255,211,44,.20)),
    var(--tvc-campaign-image, none),
    var(--tvc-showcase-yellow);
  color: var(--tvc-showcase-ink);
}

.tvc-campaign-card-2::before {
  border-color: var(--tvc-showcase-ink);
}

.tvc-campaign-card-2::after {
  background: var(--tvc-showcase-ink);
}

/* Longfills: reuse the four flavour-family icons without decorative rings. */
body#category.category-id-282 #subcategories .subcategory-image::after {
  display: none !important;
  content: none !important;
}

body#category #subcategories .subcategory-image a[href$="/283-longfills-tabacos"]::before {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20120%20120%22%20fill%3D%22none%22%20stroke%3D%22%23ffd32c%22%20stroke-width%3D%225%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M91%2025C61%2025%2037%2041%2028%2070c18%206%2036%202%2049-11%2011-11%2015-24%2014-34zM30%2088c13-23%2029-38%2050-51M45%2070c8%201%2016%200%2024-4M55%2054c0-7%201-13%204-19%22%2F%3E%3C%2Fsvg%3E");
}

body#category #subcategories .subcategory-image a[href$="/284-longfills-dulces-y-postres"]::before {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20120%20120%22%20fill%3D%22none%22%20stroke%3D%22%23ffd32c%22%20stroke-width%3D%225%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M33%2053h54l-7%2043H40zM39%2053c-1-14%208-25%2021-25s22%2011%2021%2025M48%2032c2-8%208-13%2016-13M47%2069v13M60%2066v18M73%2069v13%22%2F%3E%3C%2Fsvg%3E");
}

body#category #subcategories .subcategory-image a[href$="/285-longfills-frutales"]::before {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20120%20120%22%20fill%3D%22none%22%20stroke%3D%22%23ffd32c%22%20stroke-width%3D%225%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M60%2031c8-12%2018-14%2028-11-3%2011-11%2018-24%2018M59%2037c-17%200-31%2013-31%2031s14%2031%2031%2031%2031-13%2031-31-14-31-31-31zM44%2057c-4%204-6%209-6%2015M61%2037c0-8-3-14-9-18%22%2F%3E%3C%2Fsvg%3E");
}

body#category #subcategories .subcategory-image a[href$="/286-longfills-con-fresquito"]::before {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20120%20120%22%20fill%3D%22none%22%20stroke%3D%22%23ffd32c%22%20stroke-width%3D%225%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M60%2018v84M24%2039l72%2042M24%2081l72-42M60%2018l-8%2010M60%2018l8%2010M60%20102l-8-10M60%20102l8-10M24%2039l13%201M24%2039l5%2012M96%2081l-13-1M96%2081l-5-12M24%2081l13-1M24%2081l5-12M96%2039l-13%201M96%2039l-5%2012%22%2F%3E%3C%2Fsvg%3E");
}

/* Product listings: fluid grid and fully visible PLA combination matrix. */
body#category #js-product-list .products {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin-right: -8px;
  margin-left: -8px;
}

body#category #js-product-list .products > .product {
  width: 25%;
  flex: 0 0 25%;
  max-width: 25%;
  padding-right: 8px;
  padding-left: 8px;
}

body#category #js-product-list .product-miniature,
body#category #js-product-list .thumbnail-container {
  width: 100%;
  max-width: 252px;
}

body#category #js-product-list .product-miniature {
  margin-right: auto;
  margin-left: auto;
}

body#category #js-product-list .thumbnail-container:has(.pla_matrix_show),
body#category #js-product-list .product-miniature:has(.pla_matrix_show),
body#category #js-product-list .product:has(.pla_matrix_show) {
  z-index: 80;
  overflow: visible !important;
}

body#category #js-product-list .pla_matrix_dropdown {
  width: 100%;
}

body#category #js-product-list .pla_matrix_dropdown_block {
  width: 100%;
}

body#category #js-product-list .pla_matrix.pla_matrix_show {
  z-index: 90;
  width: 100% !important;
  min-width: 242px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(17, 19, 15, .22);
}

@media (min-width: 1440px) {
  body#category #js-product-list .products > .product {
    width: 20%;
    flex-basis: 20%;
    max-width: 20%;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  body#category #js-product-list .products > .product {
    width: 33.3333%;
    flex-basis: 33.3333%;
    max-width: 33.3333%;
  }
}

@media (max-width: 767px) {
  body#category #js-product-list .products {
    margin-right: -4px;
    margin-left: -4px;
  }

  body#category #js-product-list .products > .product {
    width: 50%;
    flex-basis: 50%;
    max-width: 50%;
    padding-right: 4px;
    padding-left: 4px;
  }

  body#category #js-product-list .thumbnail-container,
  body#category #js-product-list .product-miniature {
    min-width: 0;
  }

  body#category #js-product-list .thumbnail-container img {
    max-width: 100%;
    height: auto;
  }

  body#category #js-product-list .pla_matrix.pla_matrix_show {
    width: min(280px, calc(100vw - 20px)) !important;
  }

  body#category #js-product-list .products > .product:nth-child(2n) .pla_matrix.pla_matrix_show {
    right: 0;
    left: auto;
  }
}

/*
 * 2.0.46 - Retícula común y acciones de producto alineadas.
 * Las ventajas comparten los límites laterales de la pasarela de categorías.
 */
@media (min-width: 768px) {
  body#index .tvc-home-showcase > .tvc-benefits .tvc-benefits-grid {
    width: min(calc(100% - clamp(1.5rem, 4vw, 4rem)), 1640px) !important;
    max-width: 1640px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: clamp(.75rem, 1.2vw, 1.15rem) !important;
    padding-left: clamp(.75rem, 1.2vw, 1.15rem) !important;
  }
}

body#index .tvc-manual-products-grid > .tvc-manual-product {
  display: flex;
  flex-direction: column;
}

body#index .tvc-manual-product-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

body#index .tvc-manual-product-copy strong {
  margin-top: auto;
}

/*
 * 2.0.44 - Reversión del tratamiento flotante de ventajas en escritorio.
 * Conserva su nueva posición, pero recupera una retícula alineada y estable.
 */
@media (min-width: 768px) {
  body#index .tvc-home-showcase > .tvc-benefits {
    width: 100%;
    margin: 0 !important;
    padding: clamp(2.05rem, 4vw, 3.5rem) 0 0 !important;
    background: #efefe8 !important;
  }

  body#index .tvc-home-showcase > .tvc-benefits .tvc-benefits-grid {
    filter: none;
  }

  body#index .tvc-home-showcase > .tvc-benefits .tvc-benefits-grid > div,
  body#index .tvc-home-showcase > .tvc-benefits .tvc-benefits-grid > div:nth-child(even) {
    border: 1px solid #d8d9d1 !important;
    transform: none;
  }

  body#index .tvc-home-showcase > .tvc-benefits .tvc-benefits-grid > div:hover,
  body#index .tvc-home-showcase > .tvc-benefits .tvc-benefits-grid > div:nth-child(even):hover {
    transform: translateY(-4px);
  }

  body#index .tvc-home-showcase > .tvc-benefits + .tvc-showcase-editorial {
    padding-top: var(--tvc-home-section-space) !important;
  }
}

.tvc-campaign-content {
  position: absolute;
  z-index: 2;
  right: clamp(1.4rem, 3vw, 3rem);
  bottom: clamp(1.4rem, 3vw, 3rem);
  left: clamp(1.4rem, 3vw, 3rem);
  max-width: 650px;
}

.tvc-campaign-content p {
  margin: 0 0 .75rem;
  color: var(--tvc-showcase-yellow);
  font-size: clamp(.84rem, .9vw, .96rem);
  font-weight: 900;
  letter-spacing: .16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.tvc-campaign-card-2 .tvc-campaign-content p {
  color: var(--tvc-showcase-ink);
}

.tvc-campaign-content h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(2.15rem, 4vw, 4.4rem);
  font-weight: 950;
  letter-spacing: -.055em;
  line-height: .9;
  text-transform: uppercase;
}

.tvc-campaign-card:not(.tvc-campaign-card-1) .tvc-campaign-content h3 {
  font-size: clamp(1.6rem, 2.2vw, 2.55rem);
}

.tvc-instagram-section h2 {
  font-size: clamp(2.5rem, 4.3vw, 4.5rem);
  line-height: .94;
}

.tvc-campaign-content > span {
  max-width: 520px;
  display: block;
  margin-top: 1rem;
  color: rgba(255,255,255,.76);
  font-size: clamp(.94rem, 1vw, 1.04rem);
  line-height: 1.5;
}

.tvc-campaign-card-2 .tvc-campaign-content > span {
  color: rgba(17,18,15,.72);
}

.tvc-campaign-content a {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1.15rem;
  padding-bottom: .35rem;
  border-bottom: 2px solid var(--tvc-showcase-yellow);
  color: inherit;
  font-size: clamp(.82rem, .82vw, .92rem);
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.tvc-campaign-card-2 .tvc-campaign-content a {
  border-color: var(--tvc-showcase-ink);
}

.tvc-campaign-content a:hover {
  color: inherit;
  text-decoration: none;
}

.tvc-campaign-content a b {
  transition: transform .2s ease;
}

.tvc-campaign-content a:hover b {
  transform: translateX(4px);
}

.tvc-manual-products.is-dark {
  background: #11130f;
  color: #fff;
}

.tvc-manual-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.tvc-manual-product {
  min-width: 0;
  border: 1px solid var(--tvc-showcase-line);
  background: #fff;
  color: var(--tvc-showcase-ink);
}

.is-dark .tvc-manual-product {
  border-color: #30322c;
  background: #191a16;
  color: #fff;
}

.tvc-manual-product-image {
  min-height: 240px;
  display: grid;
  overflow: hidden;
  background: #f7f7f2;
  place-items: center;
}

.is-dark .tvc-manual-product-image {
  background: #20211d;
}

.tvc-manual-product-image img {
  width: 100%;
  height: 240px;
  padding: 1rem;
  object-fit: contain;
  transition: transform .25s ease;
}

.tvc-manual-product:hover .tvc-manual-product-image img {
  transform: scale(1.035);
}

.tvc-manual-product-image span {
  color: #d2d3cb;
  font-size: 3rem;
  font-weight: 950;
  letter-spacing: -.08em;
}

.tvc-manual-product-copy {
  padding: 1.15rem;
}

.tvc-manual-product-copy h3 {
  min-height: 2.8em;
  margin: 0 0 .65rem;
  font-size: .92rem;
  line-height: 1.4;
}

.tvc-manual-product-copy h3 a {
  color: inherit;
}

.tvc-manual-product-copy strong {
  display: block;
  color: inherit;
  font-size: 1.15rem;
}

.tvc-manual-product-link {
  display: inline-block;
  margin-top: .8rem;
  color: #8b6e00;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.is-dark .tvc-manual-product-link {
  color: var(--tvc-showcase-yellow);
}

/* Instagram: conserva el módulo y elimina ruido visual del propio feed. */
.tvc-instagram-section .ybc_instagram_social {
  display: none !important;
}

.tvc-instagram-section .ybc_instagram_hook {
  margin: 0 !important;
}

@media (max-width: 991px) {
  .tvc-campaign-grid {
    min-height: 0;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .tvc-campaign-card-1 {
    min-height: 430px;
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .tvc-manual-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body#index .tvc-home-showcase {
    margin-top: -1rem;
  }

  body.tvc-showcase-ready #header .tvc-main-header {
    min-height: 0;
    padding: .7rem 1rem .8rem;
    background: #0f110e;
  }

  body.tvc-showcase-ready #header .tvc-mobile-search-bar {
    width: min(100%, 680px);
    display: block;
    margin: 0 auto;
  }

  body.tvc-showcase-ready #header .tvc-mobile-search-bar .search-widget,
  body.tvc-showcase-ready #header .tvc-mobile-search-bar form {
    position: relative;
    width: 100%;
    float: none;
  }

  body.tvc-showcase-ready #header .tvc-mobile-search-bar input[type="text"] {
    width: 100%;
    height: 46px;
    padding: 0 3.6rem 0 1rem;
    border: 0;
    border-radius: 0;
    background: #f4f4ef;
    color: #11130f;
    font-size: .9rem;
  }

  body.tvc-showcase-ready #header .tvc-mobile-search-bar form button {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 46px;
    border: 0;
    background: var(--tvc-showcase-yellow);
    color: #11130f;
  }

  .tvc-showcase-editorial,
  .tvc-manual-products {
    padding: .85rem 0 0;
  }

  .tvc-showcase-heading {
    display: block;
  }

  .tvc-showcase-heading h2 {
    font-size: clamp(2.1rem, 9vw, 2.8rem);
    line-height: .94;
  }

  .tvc-campaign-grid {
    display: block;
  }

  .tvc-campaign-card,
  .tvc-campaign-card-1 {
    min-height: 330px;
    margin-bottom: .8rem;
  }

  .tvc-campaign-card:not(.tvc-campaign-card-1) {
    min-height: 260px;
  }

  .tvc-campaign-content h3 {
    font-size: clamp(2.15rem, 10vw, 3.15rem);
    line-height: .92;
  }

  .tvc-campaign-card:not(.tvc-campaign-card-1) .tvc-campaign-content h3 {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
  }

  .tvc-instagram-section h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: .96;
  }

  .tvc-campaign-content > span {
    max-width: 88%;
    font-size: .85rem;
  }

  .tvc-manual-products-grid {
    display: grid;
    grid-auto-columns: minmax(76vw, 1fr);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: .6rem;
    scroll-snap-type: x mandatory;
  }

  .tvc-manual-product {
    scroll-snap-align: start;
  }

  .tvc-manual-product-image,
  .tvc-manual-product-image img {
    min-height: 220px;
    height: 220px;
  }
}

/* Ritmo vertical: cada sección aporta una sola separación superior. */
.tvc-showcase-editorial,
.tvc-manual-products {
  padding-bottom: 0 !important;
}

/* Las cuatro familias se explican por sí mismas: sin marco editorial visible. */
body#index .tvc-category-shell {
  position: relative;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body#index .tvc-category-shell .tvc-section-intro {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

/* Elimina el sobrante bajo las cuatro ventajas antes de Instagram. */
body#index .tvc-benefits-grid {
  min-height: 0 !important;
  height: auto !important;
  row-gap: 0 !important;
}

/* Feed integrado sobre el fondo oscuro, conservando su visor de imágenes. */
.tvc-instagram-section .tvc-instagram-feed .ybc_instagram {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.tvc-instagram-section .tvc-instagram-feed .ybc_ins_images {
  position: relative !important;
  background: transparent !important;
}

/*
 * La foto completa funciona como disparador del visor también en pantallas
 * táctiles: no depende de un control que solo aparecía al pasar el ratón.
 */
.tvc-instagram-section .ybc_instagram_fancy {
  position: absolute !important;
  inset: 0 !important;
  z-index: 4 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.tvc-instagram-section .ybc_instagram_fancy .ybc_ins_grab_it_button {
  display: none !important;
}

/* Ajuste 2026-08-08: títulos a la derecha en escritorio y ritmo uniforme antes de Guía. */
@media (min-width: 768px) {
  body#index .tvc-showcase-heading {
    align-items: flex-end;
    flex-direction: column;
    gap: 0.5rem;
  }

  body#index .tvc-showcase-heading h2,
  body#index .tvc-showcase-heading p {
    text-align: right;
  }

  body#index .tvc-showcase-heading p {
    margin: 0;
  }
}

body#index .tvc-benefits + .tvc-guide-home {
  padding-top: var(--tvc-home-section-space) !important;
}

/*
 * 2.0.26 - Primera intervención de dirección de arte de portada.
 * Los neutros se asignan por función: descubrimiento, editorial, comercial,
 * descanso y conversión. El amarillo continúa reservado a los acentos.
 */
body#index .tvc-category-gateway {
  background: #f6f5f0;
}

body#index .tvc-showcase-editorial,
body#index .tvc-guide-home {
  background: #efefe8;
}

body#index .tvc-manual-products:not(.is-dark) {
  background: #e8e7de;
}

@media (min-width: 768px) {
  body#index .tvc-manual-products:not(.is-dark) {
    padding-top: 3rem;
    background: linear-gradient(
      to bottom,
      #efefe8 0,
      #efefe8 1.5rem,
      #e8e7de 1.5rem,
      #e8e7de 100%
    );
  }

  body#index .tvc-guide-home {
    padding-bottom: 2rem !important;
  }
}

body#index .tvc-manual-products:not(.is-dark) .tvc-manual-product {
  box-shadow: 0 12px 28px rgba(17, 19, 15, .09), 0 2px 6px rgba(17, 19, 15, .05);
}

body#index .tvc-benefits,
body#index .tvc-store-home {
  background: #f6f5f0;
}

@media (max-width: 767.98px) {
  body#index .tvc-benefits {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  body#index .tvc-benefits .tvc-benefits-grid {
    gap: .65rem !important;
  }

  body#index .tvc-benefits .tvc-benefits-grid > div {
    padding-top: .85rem !important;
    padding-bottom: .85rem !important;
  }

  body#index .tvc-benefits + .tvc-guide-home {
    padding-top: 1.5rem !important;
  }

  body#index .tvc-guide-home {
    padding-bottom: 1.75rem !important;
  }

  body#index .tvc-guide-home-grid {
    gap: 1rem !important;
    margin-top: .75rem !important;
  }

  body#index .tvc-store-home__main {
    display: flex;
    flex-direction: column;
  }

  body#index .tvc-store-home__info {
    order: -1;
  }

  body#index .tvc-store-home__map,
  body#index .tvc-store-home__map iframe {
    min-height: 230px;
    height: 230px;
  }
}
/* En pantallas táctiles el fundido cruzado solapaba durante medio segundo
 * los titulares de dos diapositivas. El cambio de slide es inmediato. */
@media (max-width: 767.98px) {
  body#index .tvc-module-hero .tvc-photo-slide {
    transition: none !important;
  }
}

/*
 * 2.0.43 - Más profundidad sin alterar la estructura visual de la portada.
 * Las ventajas enlazan el acceso por categorías con el bloque editorial.
 */
body#index .tvc-home-showcase > .tvc-benefits {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 2rem), 1320px);
  margin: -1.5rem auto 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

body#index .tvc-home-showcase > .tvc-benefits .tvc-benefits-grid {
  filter: drop-shadow(0 18px 24px rgba(17, 19, 15, .12));
}

body#index .tvc-home-showcase > .tvc-benefits .tvc-benefits-grid > div {
  border-top: 3px solid #ffd32c !important;
}

body#index .tvc-home-showcase > .tvc-benefits .tvc-benefits-grid > div:nth-child(even) {
  transform: translateY(.45rem);
}

body#index .tvc-home-showcase > .tvc-benefits .tvc-benefits-grid > div:hover {
  transform: translateY(-4px);
}

body#index .tvc-home-showcase > .tvc-benefits .tvc-benefits-grid > div:nth-child(even):hover {
  transform: translateY(calc(.45rem - 4px));
}

body#index .tvc-home-showcase > .tvc-benefits + .tvc-showcase-editorial {
  padding-top: clamp(4rem, 6vw, 5.25rem) !important;
}

body#index .tvc-manual-products:not(.is-dark) .tvc-manual-product-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: .68rem .9rem;
  background: #ffd32c;
  color: #11130f;
  font-size: .72rem;
  line-height: 1;
}

body#index .tvc-manual-products:not(.is-dark) .tvc-manual-product-link:hover,
body#index .tvc-manual-products:not(.is-dark) .tvc-manual-product-link:focus-visible {
  background: #11130f;
  color: #fff;
}

@media (max-width: 767px) {
  body#index .tvc-home-showcase > .tvc-benefits {
    width: 100%;
    margin: 0 !important;
    padding: 1.5rem 0 !important;
    background: #f6f5f0 !important;
  }

  body#index .tvc-home-showcase > .tvc-benefits .tvc-benefits-grid {
    filter: none;
  }

  body#index .tvc-home-showcase > .tvc-benefits .tvc-benefits-grid > div,
  body#index .tvc-home-showcase > .tvc-benefits .tvc-benefits-grid > div:nth-child(even),
  body#index .tvc-home-showcase > .tvc-benefits .tvc-benefits-grid > div:hover,
  body#index .tvc-home-showcase > .tvc-benefits .tvc-benefits-grid > div:nth-child(even):hover {
    transform: none;
  }

  body#index .tvc-home-showcase > .tvc-benefits + .tvc-showcase-editorial {
    padding-top: 1.5rem !important;
  }
}

/*
 * 2.0.47 - Panel editorial grafito para Destacados del Club.
 * Mantiene la composición y reserva el amarillo para las acciones existentes.
 */
body#index .tvc-showcase-editorial > .container {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 3.6vw, 3.5rem) clamp(1rem, 3vw, 3rem) clamp(1rem, 2vw, 1.75rem);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 2px;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, .055), transparent 34%),
    linear-gradient(145deg, #171914 0%, #11130f 55%, #0b0d0a 100%);
  box-shadow: 0 24px 56px rgba(17, 19, 15, .14);
  color: #fff;
}

body#index .tvc-showcase-editorial .tvc-showcase-heading h2 {
  color: #fff;
}

body#index .tvc-showcase-editorial .tvc-showcase-heading p {
  color: rgba(255, 255, 255, .64);
}

@media (max-width: 767px) {
  body#index .tvc-showcase-editorial > .container {
    padding: 1.5rem 1rem 1rem;
    box-shadow: 0 16px 34px rgba(17, 19, 15, .12);
  }
}

/*
 * 2.0.48 - El grafito ocupa todo el ancho; el contenido mantiene su retícula.
 */
body#index .tvc-showcase-editorial {
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background:
    radial-gradient(circle at 22% 0%, rgba(255, 255, 255, .055), transparent 34%),
    linear-gradient(145deg, #171914 0%, #11130f 55%, #0b0d0a 100%) !important;
  box-shadow: 0 20px 50px rgba(17, 19, 15, .12);
  color: #fff;
}

body#index .tvc-home-showcase > .tvc-benefits + .tvc-showcase-editorial {
  padding-top: 0 !important;
}

body#index .tvc-showcase-editorial > .container {
  overflow: visible;
  padding: clamp(2.6rem, 4vw, 4rem) clamp(1rem, 3vw, 3rem) clamp(1rem, 2vw, 1.75rem);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 767px) {
  body#index .tvc-showcase-editorial > .container {
    padding: 2rem 1rem 1rem;
  }
}

/*
 * 2.0.49 - Aire entre las cuatro ventajas y el panel grafito.
 * El margen se limita a escritorio; móvil ya conserva su banda de descanso.
 */
@media (min-width: 768px) {
  body#index .tvc-home-showcase > .tvc-benefits {
    margin-bottom: clamp(2.25rem, 3vw, 3rem) !important;
  }
}
