body {
  background: #0b0b0d;
  color: #f8f9fa;
}

.hero {
  min-height: 76vh;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.38)),
    url('../assets/hover.jpg') center/cover no-repeat;
}

.logo-mark {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.glass {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.08);
}

.product-card {
  border-radius: 1rem;
  overflow: hidden;
}

.product-image {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #111;
}

.qty-pill {
  min-width: 42px;
  padding: .375rem .75rem;
  text-align: center;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}

.summary-card {
  position: sticky;
  top: 1rem;
}

.section-title {
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .85rem;
  color: #adb5bd;
}

a.text-white:hover {
  opacity: 0.75;
  transition: 0.3s;
}

.top-info-bar {
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  position: relative;
}

.top-info-bar::before,
.top-info-bar::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.top-info-bar::before {
  left: 0;
  background: linear-gradient(to right, #000, transparent);
}

.top-info-bar::after {
  right: 0;
  background: linear-gradient(to left, #000, transparent);
}

.top-info-track {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  min-width: max-content;
  padding: 12px 0;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  animation: scrollSmooth 35s linear infinite;
}

.top-info-bar:hover .top-info-track {
  animation-play-state: paused;
}

.top-info-track span {
  display: inline-block;
  flex-shrink: 0;
}

@keyframes scrollSmooth {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #eaeaea; /* color similar al de tu imagen */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader img {
  width: 120px;
  opacity: 0;
  animation: fadeInLogo 1.2s ease forwards;
}

@keyframes fadeInLogo {
  to {
    opacity: 1;
  }
}

/* ocultar */
#preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.product-card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.product-page-bg {
  background: #f4f4f2;
  color: #111;
}

.product-gallery-main {
  background: #efefef;
  border: 1px solid #ddd;
  overflow: hidden;
}

.product-gallery-main img {
  width: 100%;
  height: auto;
  display: block;
}

.thumb-btn {
  border: 1px solid #ddd;
  background: #f7f7f7;
  padding: 0;
  overflow: hidden;
  transition: all 0.25s ease;
}

.thumb-btn img {
  display: block;
  width: 100%;
  height: auto;
}

.thumb-btn.active,
.thumb-btn:hover {
  border: 2px solid #111;
}

.product-detail-panel {
  padding: 1rem 0.75rem;
}

.product-title-detail {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #111;
}

.product-price-detail {
  font-size: 2rem;
  color: #222;
  font-weight: 400;
}

.detail-label {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #555;
  font-weight: 700;
}

.size-btn {
  min-width: 58px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid #999;
  background: #fff;
  color: #111;
  transition: all 0.25s ease;
}

.size-btn.active {
  background: #111;
  color: #fff;
  border-color: #111;
}

.shipping-box {
  border: 1px solid #cfcfcf;
  border-radius: 0.6rem;
  padding: 1rem;
  background: #f8f8f8;
  color: #333;
}

.payment-badge {
  padding: 0.35rem 0.85rem;
  border: 1px solid #d2d2d2;
  border-radius: 0.35rem;
  background: #fff;
  color: #111;
  font-size: 0.9rem;
  font-weight: 700;
}

.accordion-item {
  border-left: 0;
  border-right: 0;
  border-top: 1px solid #ddd;
  border-bottom: 0;
  background: transparent;
}

.accordion-button {
  background: transparent;
  color: #111;
  font-size: 1.15rem;
  box-shadow: none !important;
  padding-left: 0;
  padding-right: 0;
}

.accordion-button:not(.collapsed) {
  background: transparent;
  color: #111;
}

.accordion-body {
  padding-left: 0;
  color: #444;
}

@media (max-width: 991.98px) {
  .product-title-detail {
    font-size: 2.4rem;
  }

  .product-price-detail {
    font-size: 1.6rem;
  }
}
.editorial-section {
  position: relative;
  width: 100%;
}

.editorial-overlay {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
}

/* IMAGEN */
.editorial-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CAPA OSCURA PARA LEGIBILIDAD */
.editorial-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
}

/* CONTENIDO ENCIMA */
.editorial-content {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  z-index: 2;
  color: #fff;
}

.editorial-text {
  max-width: 500px;
}

/* TEXTO */
.editorial-tag {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
}

.editorial-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  margin: 1rem 0;
  line-height: 1.1;
}

.editorial-desc {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 2rem;
}

/* BOTÓN */
.editorial-btn {
  border-radius: 0;
  padding: 12px 30px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .editorial-overlay {
    height: 70vh;
  }

  .editorial-content {
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }
}
.img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f0f0f0;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-box img {
  transition: transform 0.4s ease;
}

.img-box:hover img {
  transform: scale(1.05);
}
/* =========================
   RESPONSIVE GENERAL MOBILE
========================= */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .container,
  .container-fluid {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .logo-mark {
    width: 44px;
    height: 44px;
  }

  .navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .navbar-brand {
    font-size: 1rem;
    gap: 0.5rem !important;
  }

  .navbar .d-flex.gap-3 {
    gap: 0.75rem !important;
  }

  .navbar .bi {
    font-size: 1.2rem !important;
  }

  /* barra informativa */
  .top-info-content {
    font-size: 0.72rem;
    padding: 10px 24px;
    letter-spacing: 0.08em;
  }

  /* hero */
  .hero {
    min-height: 68vh !important;
    background-position: center center;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero .container {
    text-align: center;
  }

  .hero .col-lg-7 {
    width: 100%;
  }

  .hero h1,
  .hero .display-3 {
    font-size: 2.1rem !important;
    line-height: 1.05;
    margin-bottom: 1rem !important;
  }

  .hero .d-flex.flex-wrap.gap-3 {
    justify-content: center;
    gap: 0.75rem !important;
  }

  .hero .btn {
    width: 100%;
    max-width: 280px;
    font-size: 1rem;
    padding: 12px 18px;
  }

  /* títulos */
  .display-6 {
    font-size: 1.8rem !important;
  }

  /* cards producto index */
  .product-card-hover {
    border-radius: 16px;
  }

  .product-image {
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }

  .card-body {
    padding: 1rem;
  }

  .card-title {
    font-size: 1rem;
  }

  /* sección editorial overlay */
  .editorial-overlay {
    height: 62vh;
  }

  .editorial-content {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 32px);
    text-align: center;
  }

  .editorial-text {
    max-width: 100%;
  }

  .editorial-title {
    font-size: 2rem !important;
    line-height: 1.05;
  }

  .editorial-desc {
    font-size: 0.95rem;
  }

  .editorial-btn {
    width: 100%;
    max-width: 260px;
  }

  /* footer */
  footer .d-flex {
    gap: 1rem !important;
  }

  footer .small {
    font-size: 0.8rem;
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* =========================
   PRODUCTO.HTML RESPONSIVE
========================= */
@media (max-width: 768px) {
  .product-page-bg .navbar-brand {
    font-size: 1rem;
  }

  .product-page-bg .logo-mark {
    width: 42px;
    height: 42px;
  }

  .product-gallery-main {
    border-radius: 14px;
  }

  .product-gallery-main img {
    border-radius: 14px;
  }

  .product-detail-panel {
    padding: 0.5rem 0 0 0;
  }

  .product-title-detail {
    font-size: 2rem !important;
    line-height: 1.05;
    margin-bottom: 0.75rem !important;
  }

  .product-price-detail {
    font-size: 1.5rem !important;
    margin-bottom: 1.2rem !important;
  }

  .detail-label {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .size-btn {
    min-width: 52px;
    height: 40px;
    font-size: 0.95rem;
  }

  .shipping-box {
    padding: 0.9rem;
    font-size: 0.92rem;
  }

  .shipping-box strong {
    display: block;
    margin-bottom: 0.35rem;
  }

  .payment-badge {
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
  }

  .accordion-button {
    font-size: 1rem;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
  }

  .accordion-body {
    font-size: 0.92rem;
  }

  #thumbsContainer .col-6,
  #thumbsContainer .col-md-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .thumb-btn {
    border-radius: 12px;
  }

  .img-box {
    aspect-ratio: 1 / 1;
    border-radius: 12px;
  }

  .img-box img {
    border-radius: 12px;
  }

  .btn.w-100.py-3.fs-5 {
    font-size: 1rem !important;
    padding-top: 0.9rem !important;
    padding-bottom: 0.9rem !important;
  }
}

/* =========================
   EXTRA SMALL PHONES
========================= */
@media (max-width: 480px) {
  .hero h1,
  .hero .display-3 {
    font-size: 1.75rem !important;
  }

  .display-6 {
    font-size: 1.5rem !important;
  }

  .product-title-detail {
    font-size: 1.7rem !important;
  }

  .product-price-detail {
    font-size: 1.3rem !important;
  }

  .top-info-content {
    font-size: 0.68rem;
    padding: 9px 18px;
  }

  .editorial-title {
    font-size: 1.7rem !important;
  }

  .editorial-desc {
    font-size: 0.88rem;
  }
}

.luar-section {
  padding: 0;
  background: #0b0b0d;
}

.luar-full-width {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.luar-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.luar-text-overlay-video {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(25%);
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92), rgba(0,0,0,0.6) 50%, transparent);
  padding: 3rem 2rem 2rem;
  max-width: 600px;
  text-align: center;
}

.luar-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
  text-align: center;
}

.luar-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.25rem;
  line-height: 1.6;
  text-align: center;
}

.luar-btn {
  border-radius: 0;
  padding: 10px 24px;
  display: inline-block;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    opacity: 0;
    pointer-events: none;
    transition: .25s ease;
    z-index: 9998;
}

    .cart-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

.cart-drawer {
    position: fixed;
    top: 0;
    right: -430px;
    width: 420px;
    max-width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    transition: .28s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -18px 0 45px rgba(0, 0, 0, .22);
}

    .cart-drawer.active {
        right: 0;
    }

.cart-header {
    padding: 22px 24px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 22px;
    color: #111;
}

    .cart-brand img {
        width: 42px;
        height: 42px;
        object-fit: contain;
    }

.cart-close {
    border: none;
    background: #f1f3f5;
    color: #111;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

    .cart-close:hover {
        background: #111;
        color: #fff;
    }

.cart-guarantee {
    text-align: center;
    padding: 14px 18px;
    border-bottom: 1px solid #e9ecef;
    font-size: 15px;
    color: #111;
}

.cart-content {
    flex: 1;
    overflow-y: auto;
}

.cart-product {
    display: grid;
    grid-template-columns: 82px 1fr 34px;
    gap: 14px;
    padding: 24px;
    border-bottom: 1px solid #e9ecef;
    align-items: start;
}

    .cart-product img {
        width: 82px;
        height: 98px;
        object-fit: cover;
        border-radius: 10px;
        background: #f1f1f1;
    }

.cart-product-info h4 {
    font-size: 18px;
    font-weight: 900;
    margin: 0 0 4px;
    color: #111;
    text-transform: uppercase;
    line-height: 1.15;
}

.cart-product-info p {
    color: #777;
    margin: 0 0 6px;
    font-size: 14px;
}

.cart-product-info strong {
    display: block;
    font-size: 16px;
    color: #111;
    margin-bottom: 10px;
}

.cart-qty {
    display: inline-flex;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

    .cart-qty button {
        border: none;
        background: #fff;
        width: 34px;
        height: 30px;
        cursor: pointer;
        font-size: 16px;
    }

        .cart-qty button:hover {
            background: #f1f1f1;
        }

    .cart-qty span {
        width: 38px;
        height: 30px;
        display: grid;
        place-items: center;
        border-left: 1px solid #d6d6d6;
        border-right: 1px solid #d6d6d6;
        color: #111;
        font-weight: 700;
    }

.cart-remove {
    border: none;
    background: transparent;
    color: #777;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
}

    .cart-remove:hover {
        color: #b00020;
    }

.cart-empty {
    flex: 1;
    display: grid;
    place-items: center;
    color: #777;
    font-weight: 700;
    padding: 24px;
}

.cart-footer {
    padding: 20px 24px;
    border-top: 1px solid #e9ecef;
    background: #fff;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    color: #111;
    font-size: 17px;
}

    .cart-total-row strong {
        font-size: 20px;
    }

.cart-checkout {
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    padding: 16px;
    font-weight: 900;
    font-size: 16px;
    border-radius: 0;
    cursor: pointer;
}

    .cart-checkout:hover {
        background: #222;
    }

@media (max-width: 576px) {
    .cart-drawer {
        width: 100%;
        right: -100%;
    }

    .cart-product {
        grid-template-columns: 76px 1fr 30px;
        padding: 18px;
    }

        .cart-product img {
            width: 76px;
            height: 92px;
        }
}
.tw-footer {
    background: #050505;
    color: #fff;
    text-align: center;
    padding: 26px 16px;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: 14px;
}

.tw-footer-links {
    margin-top: 10px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

    .tw-footer-links a {
        color: rgba(255,255,255,.78);
        text-decoration: none;
    }

        .tw-footer-links a:hover {
            color: #fff;
            text-decoration: underline;
        }

.tw-footer {
    background: #050505;
    color: #fff;
    text-align: center;
    padding: 26px 16px;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: 14px;
}

.tw-footer-links {
    margin-top: 10px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

    .tw-footer-links a {
        color: rgba(255,255,255,.78);
        text-decoration: none;
    }

        .tw-footer-links a:hover {
            color: #fff;
            text-decoration: underline;
        }
.summary-qty {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f1f1;
    border-radius: 999px;
    padding: 4px 8px;
    margin-top: 8px;
}

    .summary-qty button {
        width: 26px;
        height: 26px;
        border: none;
        border-radius: 50%;
        background: #111;
        color: #fff;
        font-weight: 800;
        line-height: 1;
    }

    .summary-qty span {
        min-width: 22px;
        text-align: center;
        font-weight: 800;
        color: #111;
    }

.summary-remove {
    border: none;
    background: transparent;
    color: #842029;
    font-size: 18px;
    padding: 0;
    margin-left: 8px;
}

.product-image-loading {
    opacity: 0;
}

.product-image-ready {
    opacity: 1;
    transition: opacity .18s ease;
}