* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f6f4ef;
  color: #111111;
  font-family: 'Arial Narrow', Arial, Helvetica, sans-serif;
}

.top-line {
  min-height: 36px;
  background: #030303;
  border-bottom: 1px solid rgba(255,255,255,.12);
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  align-items: center;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  padding: 0 12px;
}

.mini {
  margin-right: 8px;
}

.nav {
  min-height: 104px;
  background: #030303;
  display: grid;
  grid-template-columns: 190px 1fr 88px;
  align-items: center;
  border-bottom: 1px solid #151515;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0,0,0,.16);
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 10px 12px 10px 26px;
}

.logo img {
  width: 126px;
  height: auto;
  max-height: 92px;
  object-fit: contain;
  display: block;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  height: 100%;
  flex-wrap: wrap;
}

.menu a {
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .4px;
  padding: 9px 2px;
  border-bottom: 2px solid transparent;
}

.menu a:hover,
.menu a[aria-current="page"] {
  color: #d3aa52;
  border-bottom-color: #d3aa52;
}

.icons {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 22px;
}

.search-trigger,
.cart-trigger {
  cursor: pointer;
  user-select: none;
}

.search-trigger:focus,
.cart-trigger:focus {
  outline: 2px solid #d3aa52;
  outline-offset: 4px;
  border-radius: 4px;
}

.cart {
  position: relative;
}

.cart em {
  position: absolute;
  right: -10px;
  top: -12px;
  background: #ffffff;
  color: #000000;
  border-radius: 50%;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
}

.search-panel,
.cart-panel {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.search-open .search-panel,
.cart-open .cart-panel {
  opacity: 1;
  pointer-events: auto;
}

.search-box,
.cart-drawer {
  background: #ffffff;
  color: #111111;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.search-box {
  width: min(720px, calc(100% - 36px));
  margin: 110px auto 0;
  border-radius: 8px;
  padding: 28px;
  position: relative;
}

.search-box label {
  display: block;
  font-size: 32px;
  font-weight: 1000;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.search-row input {
  min-width: 0;
  border: 2px solid #111111;
  border-radius: 7px;
  font-size: 20px;
  padding: 14px 16px;
}

.search-submit,
.search-close,
.cart-close,
.cart-clear,
.add-cart-btn {
  font-family: inherit;
  cursor: pointer;
}

.search-submit {
  background: #000000;
  color: #ffffff;
  border: 2px solid #000000;
  border-radius: 7px;
  padding: 0 24px;
  text-transform: uppercase;
  font-weight: 1000;
  font-size: 17px;
}

.search-box p {
  margin: 14px 0 0;
  color: #555555;
  font-size: 17px;
}

.search-close,
.cart-close {
  position: absolute;
  right: 16px;
  top: 14px;
  border: 0;
  background: transparent;
  color: #111111;
  font-size: 34px;
  line-height: 1;
}

.cart-drawer {
  width: min(420px, 100%);
  min-height: 100%;
  margin-left: auto;
  padding: 34px 26px;
  position: relative;
}

.cart-drawer h2 {
  margin: 0 42px 8px 0;
  font-size: 32px;
  text-transform: uppercase;
}

.cart-note,
.cart-empty {
  color: #555555;
  font-size: 17px;
  line-height: 1.35;
}

.cart-items {
  margin: 26px 0;
  display: grid;
  gap: 12px;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid #dddddd;
  border-radius: 8px;
  padding: 12px;
}

.cart-line span {
  font-size: 17px;
  font-weight: 900;
}

.cart-line button,
.cart-clear {
  border: 1px solid #cccccc;
  background: #ffffff;
  color: #111111;
  border-radius: 6px;
  padding: 8px 10px;
  font-weight: 900;
}

.cart-whatsapp,
.add-cart-btn {
  display: block;
  width: 100%;
  border: 2px solid #000000;
  border-radius: 7px;
  background: #000000;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 1000;
  padding: 13px 16px;
  font-size: 16px;
}

.cart-whatsapp.disabled {
  opacity: .4;
  pointer-events: none;
}

.cart-clear {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  text-transform: uppercase;
}

.add-cart-btn {
  margin-top: 8px;
}

.product-card .add-cart-btn {
  font-family: inherit;
}

.detail-add-cart {
  background: #ffffff;
  color: #000000;
  border-color: #000000;
}

.search-results-note {
  max-width: 1280px;
  margin: 0 auto 24px;
  background: #fffaf0;
  color: #111111;
  border: 1px solid #d3aa52;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 18px;
}

.search-results-note a {
  color: #000000;
  font-weight: 900;
  margin-left: 8px;
}

.hero {
  min-height: 520px;
  position: relative;
  background: #050505 url('assets/hero/hero-01-mejor-jugada.png') center center / cover no-repeat;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #111111;
  overflow: hidden;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #000000 0%, rgba(0,0,0,.88) 34%, rgba(0,0,0,.45) 64%, rgba(0,0,0,.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin-left: clamp(32px, 11vw, 190px);
  margin-top: 8px;
  transition: opacity .3s ease;
}

.hero h1 {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.02;
  margin: 0 0 16px;
  text-transform: uppercase;
  font-weight: 1000;
  letter-spacing: 1.3px;
  text-shadow: 0 2px 4px rgba(0,0,0,.7);
}

.hero p {
  font-size: 23px;
  line-height: 1.35;
  color: #f5f5f5;
  margin: 0 0 26px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  font-weight: 1000;
  font-size: 17px;
  padding: 14px 32px;
  border-radius: 5px;
  box-shadow: 0 12px 24px rgba(0,0,0,.22);
  transition: transform .18s ease, background .18s ease;
}

.cta:hover {
  background: #d3aa52;
  transform: translateY(-2px);
}

.dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.dots span {
  display: block;
  width: 17px;
  height: 17px;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

.dots .active {
  background: #ffffff;
}

.hero-full-art .hero-shade {
  display: none;
}

.hero-full-art .hero-content {
  opacity: 0;
  pointer-events: none;
}

.categories {
  background: #ffffff;
  color: #000000;
  text-align: center;
  padding: 46px 58px 56px;
}

.categories h2 {
  margin: 0 0 30px;
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.categories h2 span {
  display: inline-block;
  width: 100px;
  height: 1px;
  background: #777777;
}

.categories h2 b {
  font-size: 18px;
  margin-right: 2px;
}

.category-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
  max-width: 1500px;
  margin: 0 auto;
}

.category-card {
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  transition: .2s;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,.13);
}

.photo {
  height: 160px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.photo img {
  max-width: 100%;
  max-height: 138px;
  object-fit: contain;
}

.category-card strong {
  display: block;
  padding: 0 8px 20px;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 1000;
}

.all-products {
  display: inline-block;
  margin-top: 27px;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  padding: 16px 52px;
  border-radius: 5px;
  font-size: 17px;
  font-weight: 1000;
  letter-spacing: .4px;
}

.all-products:hover,
.product-card a:hover {
  background: #d3aa52;
  border-color: #d3aa52;
  color: #000000;
}

.home-highlights {
  background: #0a0a0a;
  color: #ffffff;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 1px;
}

.home-highlights div {
  background: #111111;
  padding: 28px 36px;
}

.home-highlights strong {
  display: block;
  color: #d3aa52;
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.home-highlights span {
  display: block;
  color: #f1f1f1;
  font-size: 18px;
  line-height: 1.4;
}

.featured-products {
  background: #f6f4ef;
  color: #111111;
  padding: 58px 48px 66px;
}

.section-heading {
  max-width: 1280px;
  margin: 0 auto 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 16px;
}

.section-heading span {
  color: #8a6b2d;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.section-heading h2 {
  grid-column: 1;
  font-size: 38px;
  line-height: 1.05;
  margin: 5px 0 0;
  text-transform: uppercase;
}

.section-heading > a {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: #000000;
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid #d3aa52;
  padding-bottom: 4px;
}

.featured-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mini-product {
  background: #ffffff;
  border: 1px solid #dedbd2;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.mini-product-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  padding: 20px;
  background: #ffffff;
  border-bottom: 1px solid #eeeeee;
}

.mini-product-photo img {
  width: 100%;
  max-height: 210px;
  object-fit: contain;
}

.mini-product div {
  padding: 22px;
}

.mini-product p {
  margin: 0 0 8px;
  color: #806431;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-product h3 {
  min-height: 58px;
  margin: 0 0 18px;
  font-size: 25px;
  line-height: 1.15;
  text-transform: uppercase;
}

.mini-product div a {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 1000;
  padding: 13px 18px;
  border-radius: 7px;
}

.mini-product div a:hover {
  background: #d3aa52;
  color: #000000;
}

.page-hero {
  background: #050505;
  color: #ffffff;
  text-align: center;
  padding: 70px 24px;
  border-bottom: 4px solid #d3aa52;
}

.page-hero h1 {
  font-size: 54px;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.page-hero p {
  font-size: 20px;
  margin: 0;
  color: #eeeeee;
}

.catalog-section {
  background: #ffffff;
  color: #000000;
  padding: 55px 48px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
}

.product-card {
  border: 1px solid #dddddd;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
  overflow: hidden;
}

.product-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  min-height: 250px;
  overflow: hidden;
}

.product-card > .product-img-wrap {
  height: 250px;
  padding: 18px;
  border-bottom: 1px solid #eeeeee;
}

.product-card > .product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  padding: 0;
}

.product-card > img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  background: #ffffff;
  padding: 18px;
}

.product-card div {
  padding: 22px;
}

.product-card h3 {
  font-size: 24px;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.product-card p {
  font-size: 17px;
  line-height: 1.35;
  color: #333333;
  min-height: 55px;
}

.product-card strong {
  display: inline-block;
  background: #000000;
  color: #ffffff;
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 22px;
  margin: 10px 0;
}

.product-card a {
  display: block;
  text-align: center;
  border: 2px solid #000000;
  color: #000000;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
  padding: 12px;
  border-radius: 7px;
  margin-top: 8px;
}

.photo.product-img-wrap {
  min-height: 160px;
  height: 160px;
  padding: 10px;
}

.product-img-wrap.missing-img::after {
  content: attr(data-fallback);
  display: grid;
  place-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
  min-height: 160px;
  border: 2px dashed #d8d8d8;
  border-radius: 10px;
  color: #555555;
  background: #fafafa;
  font-size: 16px;
  font-weight: 900;
  padding: 16px;
  line-height: 1.25;
}

.photo.product-img-wrap.missing-img::after {
  min-height: 120px;
  font-size: 15px;
}

.content-page {
  background: #ffffff;
  color: #000000;
  max-width: 950px;
  margin: 0 auto;
  padding: 60px 30px;
  font-size: 20px;
  line-height: 1.5;
}

.content-page h2 {
  text-transform: uppercase;
  font-size: 32px;
}

.contact-box {
  border: 1px solid #dddddd;
  margin-top: 45px;
  margin-bottom: 45px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
}

/* Footer limpio v1.1 */
.footer {
  background: #020202;
  color: #ffffff;
  display: grid;
  grid-template-columns: minmax(430px, 1.75fr) minmax(145px, .6fr) minmax(230px, .95fr) minmax(260px, 1fr) minmax(210px, .7fr);
  gap: 34px;
  padding: 42px clamp(44px, 5vw, 92px) 34px;
  border-top: 1px solid #1c1c1c;
}

.footer > * {
  min-width: 0;
}

.footer-brand {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.footer-brand-top {
  display: contents;
}

.footer-brand img {
  width: 130px;
  height: auto;
  max-height: 130px;
  object-fit: contain;
  display: block;
}

.footer-brand p {
  font-size: 18px;
  line-height: 1.35;
  margin: 0;
  color: #ffffff;
  max-width: 300px;
  font-weight: 700;
}

.footer h3 {
  font-size: 25px;
  text-transform: uppercase;
  margin: 0 0 14px;
  font-weight: 1000;
}

.footer a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  margin: 7px 0;
}

.footer a:hover {
  color: #d3aa52;
}

.footer p {
  font-size: 18px;
  margin: 10px 0;
  color: #ffffff;
  line-height: 1.25;
}

.footer-action {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social-actions {
  align-items: flex-start;
  flex-direction: column;
  gap: 0;
}

.footer-social-actions h3 {
  margin-bottom: 8px;
}

.footer-social-actions p {
  color: #dddddd;
  font-size: 17px;
  margin: 0 0 20px;
}

.footer-social-links {
  display: flex;
  gap: 14px;
}

.footer-action .footer-social-btn {
  border: 2px solid #1f1d1d;
  border-radius: 50%;
  width: 58px;
  height: 58px;
  max-width: none;
  padding: 0;
  text-align: center;
  text-transform: uppercase;
  font-weight: 1000;
  font-size: 17px;
  line-height: 1.18;
  letter-spacing: .4px;
  display: grid;
  place-items: center;
  margin: 0;
  overflow: hidden;
}

.footer-action .footer-social-btn.facebook,
.footer-action .footer-social-btn.instagram {
  background: #1f1d1d;
  border-color: #1f1d1d;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}

.footer-action .footer-social-btn svg {
  display: block;
  width: 34px;
  height: 34px;
  color: #ffffff;
}

.footer-action .facebook svg {
  fill: currentColor;
  stroke: none;
}

.footer-action .instagram svg {
  fill: none;
  stroke: currentColor;
}

.footer-action .instagram svg .instagram-dot {
  fill: currentColor;
  stroke: none;
}

.footer-action .footer-social-btn:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.copy {
  min-height: 52px;
  background: #000000;
  color: #ffffff;
  border-top: 1px solid #333333;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 46px;
  font-size: 17px;
  text-align: center;
  padding: 12px 20px;
}

.float-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #25D366;
  color: #ffffff;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 900;
  z-index: 99;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

/* Kill switch para asegurar que no queden redes sociales heredadas en footer */
.social,
.social-visible,
.footer-social,
.footer-social-link,
.footer-aprobado-redes,
.footer-test-social {
  display: none !important;
}

@media (max-width: 1200px) {
  .top-line {
    grid-template-columns: 1fr;
    height: auto;
    gap: 6px;
    padding: 10px;
  }

  .nav {
    grid-template-columns: 1fr;
    height: auto;
    padding: 12px;
  }

  .logo {
    padding-left: 0;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .logo img {
    width: 145px;
    max-height: 125px;
  }

  .menu {
    gap: 18px;
    padding: 8px 16px;
  }

  .icons {
    display: none;
  }

  .hero-content {
    margin-left: 42px;
  }

  .category-row {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .footer {
    grid-template-columns: 1fr 1fr;
  }

  .home-highlights {
    grid-template-columns: 1fr;
  }

  .featured-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .hero {
    height: auto;
    min-height: 470px;
    background-position: center right;
  }

  .hero-content {
    margin: 46px 22px 72px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 19px;
  }

  .cta {
    width: 100%;
    justify-content: center;
    padding-left: 18px;
    padding-right: 18px;
    text-align: center;
  }

  .category-row,
  .products-grid,
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .categories {
    padding: 34px 20px;
  }

  .categories h2 {
    font-size: 25px;
  }

  .categories h2 span {
    width: 38px;
  }

  .footer {
    grid-template-columns: 1fr;
    padding: 34px 26px;
    text-align: center;
  }

  .home-highlights div,
  .featured-products {
    padding-left: 22px;
    padding-right: 22px;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .section-heading > a {
    grid-column: auto;
    grid-row: auto;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .footer-brand {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-brand-top {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
  }

  .footer-brand img {
    margin: 0 auto;
    width: 150px;
    max-height: 135px;
  }

  .copy {
    gap: 18px;
    font-size: 15px;
    line-height: 1.35;
  }
}


/* v1.1: páginas individuales de producto */
.product-card-media {
  display: block;
  color: inherit;
  text-decoration: none;
  margin: 0;
}

.product-title-link {
  color: #000000;
  text-decoration: none;
}

.product-title-link:hover {
  color: #d3aa52;
}

.product-card .product-detail-link {
  background: #000000;
  color: #ffffff;
  border: 2px solid #000000;
  margin-top: 12px;
}

.product-card .product-detail-link:hover {
  background: #d3aa52;
  border-color: #d3aa52;
  color: #000000;
}

.product-detail-hero .breadcrumb {
  font-size: 16px;
  margin-bottom: 18px;
  color: #dddddd;
}

.product-detail-hero .breadcrumb a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid #d3aa52;
}

.product-detail-section {
  background: #ffffff;
  color: #000000;
  padding: 56px 48px;
}

.product-detail-layout {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 46px;
  align-items: start;
}

.product-gallery {
  background: #ffffff;
}

.product-main-photo {
  border: 1px solid #dddddd;
  border-radius: 14px;
  background: #ffffff;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.product-main-photo img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  display: block;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.thumb {
  min-height: 120px;
  border: 1px solid #dddddd;
  border-radius: 10px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  color: #777777;
  font-weight: 900;
  text-align: center;
}

.thumb.active {
  border: 2px solid #000000;
}

.thumb img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  display: block;
}

.thumb.placeholder {
  border-style: dashed;
  background: #fafafa;
  font-size: 14px;
}

.gallery-note {
  color: #555555;
  font-size: 15px;
  margin: 12px 0 0;
}

.product-info {
  padding: 8px 0;
}

.product-category {
  display: inline-block;
  background: #000000;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .4px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  margin-bottom: 18px;
}

.product-info h2 {
  font-size: 42px;
  line-height: 1.05;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.product-info p {
  color: #333333;
  font-size: 21px;
  line-height: 1.45;
  margin: 0 0 18px;
}

.product-detail-price {
  display: inline-block;
  background: #000000;
  color: #ffffff;
  border-radius: 8px;
  padding: 12px 22px;
  font-size: 27px;
  margin: 10px 0 18px;
}

.product-detail-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 10px 0 28px;
}

.product-detail-actions a {
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 1000;
  border-radius: 8px;
  padding: 14px 22px;
  font-size: 17px;
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  border: 2px solid #25D366;
}

.btn-back {
  background: #ffffff;
  color: #000000;
  border: 2px solid #000000;
}

.product-extra-info {
  border-top: 1px solid #dddddd;
  padding-top: 22px;
}

.product-extra-info h3 {
  font-size: 25px;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.product-extra-info ul {
  margin: 0;
  padding-left: 22px;
  color: #333333;
  font-size: 18px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .product-main-photo {
    min-height: 360px;
  }

  .product-info h2 {
    font-size: 34px;
  }
}

@media (max-width: 600px) {
  .product-detail-section {
    padding: 36px 22px;
  }

  .product-thumbs {
    grid-template-columns: 1fr;
  }

  .product-detail-actions {
    flex-direction: column;
  }

  .product-detail-actions a {
    text-align: center;
  }
}


/* v1.2: se eliminan las etiquetas negras de precio cuando solo dicen Consultar.
   Se mantienen precios reales como ₡27,000.00. */
.product-detail-price:empty {
  display: none;
}


/* v1.3: detalle de producto con presentación más profesional */
.detail-page-shell {
  background: #f5f5f5;
  color: #111111;
  padding: 34px 34px 60px;
}

.detail-breadcrumb {
  max-width: 1320px;
  margin: 0 auto 18px;
  font-size: 15px;
  color: #555555;
}

.detail-breadcrumb a {
  color: #000000;
  text-decoration: none;
  border-bottom: 1px solid #d3aa52;
}

.detail-layout-v2 {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr);
  gap: 34px;
  align-items: start;
}

.detail-gallery-column,
.detail-info-column {
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 10px;
  padding: 22px;
}

.detail-gallery-wrap {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  align-items: start;
}

.detail-thumbs-vertical {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-thumb {
  width: 62px;
  height: 62px;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  background: #ffffff;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-thumb.active {
  border: 2px solid #000000;
}

.placeholder-thumb {
  background: #fafafa;
  color: #999999;
  font-size: 24px;
  font-weight: 900;
  border-style: dashed;
}

.detail-main-visual {
  min-height: 470px;
  border: 1px solid #cfcfcf;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
}

.detail-main-visual img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  display: block;
}

.detail-short-description {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.45;
  color: #454545;
}

.detail-category-tag {
  display: inline-block;
  color: #000000;
  border: 1px solid #d3aa52;
  background: #fffaf0;
  padding: 6px 12px;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .5px;
  margin-bottom: 12px;
}

.detail-info-column h1 {
  font-size: 42px;
  line-height: 1.05;
  color: #0f0f0f;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.detail-meta {
  color: #666666;
  font-size: 16px;
  margin-bottom: 20px;
}

.detail-price {
  color: #000000;
  font-size: 32px;
  font-weight: 1000;
  margin: 0 0 18px;
}

.detail-price-note {
  color: #444444;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 18px;
}

.detail-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}

.detail-btn-primary,
.detail-btn-secondary {
  text-decoration: none;
  text-align: center;
  border-radius: 8px;
  padding: 15px 18px;
  font-size: 17px;
  text-transform: uppercase;
  font-weight: 1000;
}

.detail-btn-primary {
  background: #000000;
  color: #ffffff;
  border: 2px solid #000000;
}

.detail-btn-primary:hover {
  background: #d3aa52;
  border-color: #d3aa52;
  color: #000000;
}

.detail-btn-secondary {
  background: #ffffff;
  color: #000000;
  border: 2px solid #cccccc;
}

.detail-btn-secondary:hover {
  border-color: #000000;
}

.detail-accordion-group {
  border-top: 1px solid #dddddd;
}

.detail-accordion {
  border-bottom: 1px solid #dddddd;
}

.detail-accordion summary {
  list-style: none;
  cursor: pointer;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 900;
  color: #111111;
  padding: 18px 32px 18px 0;
  position: relative;
}

.detail-accordion summary::-webkit-details-marker {
  display: none;
}

.detail-accordion summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: #666666;
}

.detail-accordion[open] summary::after {
  content: "−";
}

.detail-accordion-content {
  padding: 0 0 18px;
  color: #444444;
  font-size: 17px;
  line-height: 1.5;
}

.detail-accordion-content p {
  margin: 0;
  color: #444444;
}

.detail-accordion-content ul {
  margin: 0;
  padding-left: 20px;
}

@media (max-width: 980px) {
  .detail-layout-v2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .detail-page-shell {
    padding: 20px 12px 40px;
  }

  .detail-gallery-wrap {
    grid-template-columns: 1fr;
  }

  .detail-thumbs-vertical {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .detail-main-visual {
    min-height: 320px;
  }

  .detail-info-column h1 {
    font-size: 32px;
  }

  .detail-accordion summary {
    font-size: 18px;
  }
}


/* v1.4: eliminar visualmente cualquier etiqueta de precio heredada */
.product-card strong,
.detail-price,
.detail-price-note {
  display: none !important;
}


/* v1.5: quitar marco negro alrededor de las fotos de producto */
.product-card-media,
.product-card-media:visited,
.product-card-media:hover,
.product-card-media:focus {
  border: 0 !important;
  outline: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.product-card-media .product-img-wrap {
  border: 0 !important;
  border-bottom: 1px solid #eeeeee !important;
}

.product-card-media img {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.product-card > a.product-card-media {
  display: block !important;
  text-align: initial !important;
  text-transform: none !important;
  font-weight: normal !important;
}


/* v1.6: quitar el marco negro de fotos en TODAS las páginas de productos */
.products-grid .product-card a.product-card-media,
.products-grid .product-card a.product-card-media:link,
.products-grid .product-card a.product-card-media:visited,
.products-grid .product-card a.product-card-media:hover,
.products-grid .product-card a.product-card-media:active,
.products-grid .product-card a.product-card-media:focus {
  display: block !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  color: inherit !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  text-align: initial !important;
  text-transform: none !important;
  font-weight: normal !important;
}

.products-grid .product-card a.product-card-media .product-img-wrap,
.products-grid .product-card .product-img-wrap {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: #ffffff !important;
}

.products-grid .product-card a.product-card-media .product-img-wrap img,
.products-grid .product-card .product-img-wrap img {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.products-grid .product-card > .product-img-wrap,
.products-grid .product-card > a.product-card-media > .product-img-wrap {
  border-bottom: 1px solid #eeeeee !important;
}


/* v1.7: corrección definitiva de marcos negros en fotos de productos.
   La imagen ya no hereda el estilo global de botón de .product-card a. */
.product-img-click {
  cursor: pointer;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.product-img-click:hover {
  background: #ffffff !important;
}

.product-card .product-img-wrap,
.product-card > .product-img-wrap,
.product-card .product-img-click,
.product-card > .product-img-click {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-bottom: 1px solid #eeeeee !important;
}

.product-card .product-img-wrap img,
.product-card .product-img-click img {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Mantener borde solo en botones reales, nunca en imagen */
.product-card a.product-card-media {
  border: none !important;
  display: contents !important;
}


/* ==========================================================
   PEÓN AL PASO - VERSIÓN 1.0 OFICIAL
   Base estable depurada.
   Incluye:
   - catálogo por categorías
   - páginas individuales de producto
   - detalle profesional de producto
   - fotos clickeables sin marcos negros
   - footer limpio sin redes sociales
   ========================================================== */


/* v1.2.3: mejoras de experiencia mobile */
@media (max-width: 900px) {
  .top-line {
    font-size: 13px;
    line-height: 1.25;
    gap: 4px;
    padding: 8px 10px;
  }

  .nav {
    grid-template-columns: 86px 1fr 72px;
    min-height: auto;
    padding: 8px 10px 10px;
    align-items: center;
  }

  .logo {
    justify-content: flex-start;
    padding: 0;
  }

  .logo img {
    width: 72px;
    max-height: 72px;
  }

  .icons {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    font-size: 24px;
  }

  .menu {
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding: 10px 0 2px;
    scrollbar-width: none;
  }

  .menu::-webkit-scrollbar {
    display: none;
  }

  .menu a {
    flex: 0 0 auto;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1;
    background: rgba(255,255,255,.04);
  }

  .menu a[aria-current="page"] {
    background: #d3aa52;
    border-color: #d3aa52;
    color: #000000;
  }

  .page-hero {
    padding: 46px 18px;
  }

  .page-hero h1 {
    font-size: 34px;
  }

  .page-hero p {
    font-size: 17px;
    line-height: 1.35;
  }

  .catalog-section {
    padding: 34px 16px;
  }

  .products-grid {
    gap: 18px;
  }

  .product-card {
    border-radius: 8px;
  }

  .product-card > .product-img-wrap {
    height: 215px;
    min-height: 215px;
    padding: 14px;
  }

  .product-card div {
    padding: 18px;
  }

  .product-card h3 {
    font-size: 21px;
  }

  .product-card p {
    min-height: 0;
    font-size: 16px;
  }

  .product-card a,
  .add-cart-btn {
    font-size: 14px;
    padding: 11px 12px;
  }

  .search-box {
    width: calc(100% - 24px);
    margin-top: 82px;
    padding: 22px 18px;
  }

  .search-box label,
  .cart-drawer h2 {
    font-size: 27px;
  }

  .search-row {
    grid-template-columns: 1fr;
  }

  .search-submit {
    min-height: 48px;
  }

  .cart-drawer {
    width: 100%;
    padding: 30px 18px;
  }

  .cart-line {
    grid-template-columns: 1fr;
  }

  .detail-layout-v2 {
    gap: 18px;
  }

  .detail-gallery-column,
  .detail-info-column {
    padding: 16px;
    border-radius: 8px;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: 390px;
    align-items: flex-end;
    background-position: center right;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.78) 42%, #000000 100%);
  }

  .hero-content {
    margin: 0 18px 66px;
    max-width: none;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.05;
    letter-spacing: .5px;
  }

  .hero p {
    font-size: 17px;
  }

  .dots {
    bottom: 22px;
  }

  .dots span {
    width: 13px;
    height: 13px;
  }

  .categories {
    padding: 32px 14px 38px;
  }

  .categories h2 {
    gap: 8px;
    font-size: 23px;
  }

  .category-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .photo.product-img-wrap {
    min-height: 128px;
    height: 128px;
  }

  .category-card strong {
    font-size: 16px;
    padding-bottom: 14px;
  }

  .all-products {
    width: 100%;
    padding: 14px 16px;
  }

  .home-highlights div {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .home-highlights strong {
    font-size: 19px;
  }

  .home-highlights span {
    font-size: 16px;
  }

  .featured-products {
    padding-top: 38px;
    padding-bottom: 44px;
  }

  .mini-product-photo {
    min-height: 205px;
  }

  .mini-product h3 {
    min-height: 0;
    font-size: 22px;
  }

  .footer {
    gap: 26px;
    padding: 32px 20px 28px;
  }

  .footer-brand {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 16px;
    text-align: left;
    justify-items: stretch;
  }

  .footer-brand-top {
    display: contents;
  }

  .footer-brand img {
    width: 86px;
    max-height: 92px;
    margin: 0;
  }

  .footer-brand p {
    font-size: 15px;
    line-height: 1.35;
    max-width: none;
  }

  .footer h3 {
    font-size: 21px;
    margin-bottom: 10px;
  }

  .footer a,
  .footer p {
    font-size: 16px;
  }

  .footer-social-actions {
    align-items: center;
  }

  .footer-social-actions p {
    margin-bottom: 14px;
    text-align: center;
  }

  .footer-action .footer-social-btn {
    width: 54px;
    height: 54px;
  }

  .copy {
    gap: 10px;
    padding: 12px 64px 12px 14px;
    font-size: 13px;
  }

  .float-wa {
    right: 12px;
    bottom: 12px;
    padding: 12px 15px;
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .top-line div:nth-child(2) {
    display: none;
  }

  .hero h1 {
    font-size: 29px;
  }

  .category-row {
    gap: 10px;
  }

  .photo.product-img-wrap {
    min-height: 116px;
    height: 116px;
  }

  .product-card > .product-img-wrap {
    height: 190px;
    min-height: 190px;
  }
}
