/* ============================================================
   YENGLE — pages.css
   Page-specific styles: hero, sections, product detail, contact
   ============================================================ */

/* ─── Hero (index.html) ──────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #0A0A0F;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  opacity: 0.55;
}
/* Dark gradient only on left so text stays readable */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10,10,15,0.82) 0%,
    rgba(10,10,15,0.62) 40%,
    rgba(10,10,15,0.18) 70%,
    transparent 100%
  );
  z-index: 0;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  font-style: italic;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero__title span { color: inherit; }
.hero__subtitle {
  color: #B8C4D4;
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 768px) {
  .hero { text-align: center; align-items: flex-start; padding-top: 150px; }
  .hero::after {
    background: linear-gradient(180deg, rgba(10,10,15,0.58) 0%, rgba(10,10,15,0.78) 100%);
  }
  .hero__wrapper { padding-left: 0 !important; display: flex; justify-content: center; }
  .hero__content { max-width: 100%; padding: 0 20px; }
  .hero__ctas { justify-content: center; }
}

/* ─── Tagline Section ────────────────────────────────────── */
.tagline {
  background: #FFFFFF;
  border-top: 1px solid #E8ECF4;
  border-bottom: 1px solid #E8ECF4;
  text-align: center;
}
.tagline__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 18px;
  color: #0A0A0F;
}
.tagline__text {
  color: #6B7280;
  max-width: 700px;
  margin: 0 auto 12px;
  line-height: 1.7;
}
.tagline__sub { color: var(--color-primary-blue); font-weight: 600; }

/* ─── Xtronger Section ───────────────────────────────────── */
.xtronger-section { background: #000000; padding: 80px 0; }
.xtronger-header { text-align: center; margin-bottom: 48px; }
.xtronger-logo { max-height: 80px; margin: 0 auto 24px; }
.xtronger-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}
.xtronger-desc {
  color: var(--color-gray-light);
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.7;
}
.xtronger-badge {
  display: inline-block;
  background: rgba(26,26,255,0.15);
  border: 1px solid rgba(26,26,255,0.4);
  color: var(--color-primary-blue);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ─── Featured Products Section ──────────────────────────── */
.featured-section { background: #F4F6FA; }
.featured-section h2 { color: #0A0A0F; }
.featured-section .section-label { color: var(--color-primary-blue); }
.featured-section .section-label::before { background: var(--color-primary-blue); }
.featured-section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) {
  .featured-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .featured-section__header { flex-direction: column; align-items: flex-start; }
}

/* ─── Experience Section ─────────────────────────────────── */
.experience-section {
  background: linear-gradient(180deg, rgba(0,0,59,0.3) 0%, transparent 100%);
}
.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.experience-text h2 { margin-bottom: 20px; }
.experience-text p {
  color: var(--color-gray-light);
  line-height: 1.7;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .experience-grid { grid-template-columns: 1fr; }
}

/* ─── Product Detail Page ────────────────────────────────── */
.product-detail { padding-top: 90px; padding-bottom: 80px; }
.product-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.product-gallery__main {
  background: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.product-gallery__main img {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
}
.product-gallery__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.product-gallery__thumb {
  width: 70px;
  height: 70px;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  overflow: hidden;
  padding: 4px;
  transition: border-color var(--transition);
}
.product-gallery__thumb.active { border-color: var(--color-primary-blue); }
.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-info__title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
.product-info__price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-primary-blue);
  margin-bottom: 16px;
}
.product-info__stock--in {
  color: var(--color-whatsapp);
  font-size: 14px;
  font-weight: 600;
}
.product-info__stock--out {
  color: var(--color-accent-red);
  font-size: 14px;
  font-weight: 600;
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.specs-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 14px;
}
.specs-table td:first-child {
  color: var(--color-gray-mid);
  width: 40%;
}
.product-info__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
@media (max-width: 768px) {
  .product-detail__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ─── Shop Hero (tienda.html) ───────────────────────────── */
.shop-hero {
  position: relative;
  min-height: 441px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 60px;
  background: #05050f;
}
.shop-hero__bg {
  position: absolute;
  inset: 0;
  background: url('../images/bg-tienda.png') center center / cover no-repeat;
  transform: scale(1.05);
}
.shop-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(4,8,20,0.65) 0%,
    rgba(4,8,20,0.52) 50%,
    rgba(4,8,20,0.28) 100%
  );
}
.shop-hero__content {
  position: relative;
  z-index: 1;
}
.shop-hero__label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
  animation: labelPulse 2.8s ease-in-out infinite;
}
@keyframes labelPulse {
  0%, 100% {
    text-shadow: 0 0 8px rgba(255,255,255,0.6), 0 0 20px rgba(255,255,255,0.2);
    box-shadow: 0 0 8px rgba(255,255,255,0.15), inset 0 0 8px rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.4);
  }
  50% {
    text-shadow: 0 0 14px rgba(255,255,255,1), 0 0 30px rgba(255,255,255,0.5);
    box-shadow: 0 0 18px rgba(255,255,255,0.35), inset 0 0 14px rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.85);
  }
}
.shop-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 16px;
  color: white;
}
.shop-hero__title span { color: #1A1AFF; }
.shop-hero__desc {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.shop-hero__breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.shop-hero__breadcrumb a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.shop-hero__breadcrumb a:hover { color: white; }
@media (max-width: 768px) {
  .shop-hero { min-height: 400px; padding-top: 70px; padding-bottom: 80px; }
  .shop-hero__desc { display: none; }
  .shop-hero__title { font-size: 3rem; white-space: nowrap; }
}

/* ─── Contact / About Page ───────────────────────────────── */
.about-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0;
}
.value-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}
.value-card:hover {
  transform: translateY(-3px);
  border-color: rgba(26,26,255,0.3);
}
.value-card__icon { font-size: 2.2rem; margin-bottom: 14px; }
.value-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.value-card__desc {
  color: var(--color-gray-mid);
  font-size: 13px;
  line-height: 1.5;
}
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 40px 0;
}
.mv-card {
  background: var(--color-card-bg);
  border-left: 3px solid var(--color-primary-blue);
  padding: 28px 28px 28px 28px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.mv-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--color-primary-blue);
}
.mv-card p {
  color: var(--color-gray-light);
  font-size: 15px;
  line-height: 1.7;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 14px;
}
.contact-info-item__icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-info-item__label {
  font-size: 12px;
  color: var(--color-gray-mid);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.contact-info-item__value { font-weight: 600; }
.contact-form {
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 14px;
  color: var(--color-gray-light);
  margin-bottom: 6px;
}
.form-input,
.form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  outline: none;
  transition: border-color var(--transition);
}
.form-input:focus,
.form-textarea:focus { border-color: var(--color-primary-blue); }
.form-input::placeholder,
.form-textarea::placeholder { color: var(--color-gray-mid); }
.form-textarea {
  min-height: 130px;
  resize: vertical;
  font-family: var(--font-body);
}
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 40px;
  height: 380px;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 1000px) {
  .about-values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .mission-vision { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .about-values { grid-template-columns: 1fr 1fr; gap: 12px; }
  .contact-form { padding: 24px; }
}

/* ─── Producto Detalle ───────────────────────────────────── */
.pd-breadcrumb {
  padding: 100px 0 20px;
  font-size: 13px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pd-breadcrumb a { color: #444; text-decoration: none; transition: color .2s; }
.pd-breadcrumb a:hover { color: #1A1AFF; }
.pd-breadcrumb span { color: #666; }

.pd-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 16px;
  align-items: start;
  padding: 32px 40px 80px;
}
@media (max-width: 600px) {
  .pd-grid { padding: 16px 0 48px; }
  .pd-breadcrumb { padding: 90px 0 12px; font-size: 12px; }

}

/* Galería — columna izquierda: imagen + detalles debajo */
.pd-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Detalles debajo de la imagen */
.pd-gallery__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pd-gallery__main {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e6ef;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  transition: transform .4s ease;
}
.pd-gallery__main:hover img { transform: scale(1.04); }
.pd-gallery__main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 65%, rgba(0,0,0,0.04) 100%);
  pointer-events: none;
}
.pd-gallery__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(26,26,255,0.15);
  border: 1px solid rgba(26,26,255,0.35);
  color: #6666ff;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  z-index: 2;
}
.pd-gallery__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.pd-gallery__thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  border: 1.5px solid #dde1ec;
  background: #ffffff;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.pd-gallery__thumb:hover { border-color: rgba(26,26,255,0.5); }
.pd-gallery__thumb.active { border-color: #1A1AFF; }

/* Video del producto — integrado como una miniatura más de la galería */
.pd-gallery__video { position: absolute; inset: 0; z-index: 1; }
.pd-gallery__video iframe { width: 100%; height: 100%; border: 0; }
.pd-gallery__thumb--video { position: relative; background: #0a0f1e; }
.pd-gallery__thumb--video img { padding: 0; opacity: .6; }
.pd-gallery__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  pointer-events: none;
}

/* Info */
.pd-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #ffffff;
  border: 1px solid #e2e6ef;
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.pd-info__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.pd-info__brand-badge {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1A1AFF;
  background: rgba(26,26,255,0.1);
  border: 1px solid rgba(26,26,255,0.3);
  padding: 4px 14px;
  border-radius: 4px;
}
.pd-info__category {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #555;
  background: #eef0f5;
  border: 1px solid #d8dce8;
  padding: 4px 12px;
  border-radius: 4px;
}
.pd-info__name {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #0d0d20;
  margin-bottom: 20px;
}
.pd-info__price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.pd-info__price {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: #1A1AFF;
  letter-spacing: 1px;
}
.pd-info__price-old {
  font-size: 1.3rem;
  font-weight: 500;
  color: #9aa1b5;
  text-decoration: line-through;
}
.pd-badge-oferta {
  display: inline-block;
  background: #e11d48;
  color: white;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.pd-info__price-label {
  font-size: 13px;
  color: #1a1a2e;
  font-family: var(--font-heading);
  letter-spacing: 1px;
  flex-basis: 100%;
}
.pd-info__stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 6px;
  margin-bottom: 24px;
  width: fit-content;
}
.pd-info__stock--in {
  color: #22c55e;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
}
.pd-info__stock--out {
  color: #ef4444;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
}
.pd-info__divider {
  height: 1px;
  background: #e2e6ef;
  margin: 20px 0;
}
.pd-info__desc {
  font-family: 'Barlow', sans-serif;
  color: #1a1a2e;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

/* Specs */
.pd-specs {
  background: #ffffff;
  border: 1px solid #e2e6ef;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.pd-specs__title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0d0d20;
  padding: 12px 18px;
  background: #f7f8fc;
  border-bottom: 1px solid #e2e6ef;
}
.pd-specs table { width: 100%; border-collapse: collapse; }
.pd-specs td {
  padding: 11px 18px;
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #f0f2f7;
}
.pd-specs tr:last-child td { border-bottom: none; }
.pd-specs td:first-child { color: #555e7a; width: 40%; font-weight: 400; }
.pd-specs td:last-child { color: #1a1a2e; font-weight: 600; }

/* Acciones */
.pd-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pd-btn-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #1A1AFF;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 16px 24px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.pd-btn-cart:hover { background: #2d2dff; transform: translateY(-1px); }
.pd-btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.pd-btn-wa:hover { background: #1ebe5c; transform: translateY(-1px); }
.pd-btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pd-btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: none;
  color: #475569;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 13px 18px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.pd-btn-outline:hover { border-color: #1A1AFF; color: #1A1AFF; }

/* Recomendación de uso */
.pd-recomendacion {
  background: #f0f4ff;
  border: 1px solid #c7d2fe;
  border-left: 4px solid #1A1AFF;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 20px;
}
.pd-recomendacion__title {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1A1AFF;
  margin-bottom: 6px;
}
.pd-recomendacion__text {
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #1a1a2e;
  line-height: 1.7;
  letter-spacing: 0.02em;
  margin: 0;
}

/* Compatibilidad — integrada como fila en la tabla de specs */

/* Ficha técnica */
.pd-btn-ficha {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #444;
  background: #f7f8fc;
  border: 1px solid #d8dce8;
  border-radius: 8px;
  padding: 9px 16px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s, color .2s;
  margin-bottom: 20px;
  width: 100%;
  justify-content: center;
}
.pd-btn-ficha:hover { border-color: #1A1AFF; color: #1A1AFF; }

/* Selector de presentaciones */
.pd-presentaciones {
  margin-bottom: 18px;
}
.pd-presentaciones__title {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1a1a2e;
  margin-bottom: 10px;
}
.pd-presentaciones__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pd-pres-btn {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #555;
  background: #fff;
  border: 1.5px solid #d8dce8;
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.pd-pres-btn.active {
  border-color: #1A1AFF;
  color: #1A1AFF;
  background: rgba(26,26,255,0.05);
}
.pd-pres-btn:hover:not(.active) { border-color: #aab; }

/* Productos relacionados */
.pd-related { padding-bottom: 80px; }
.pd-related__title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 28px;
  color: #0d0d20;
}
.pd-related__title span { color: #1A1AFF; }

/* Responsive — producto */
@media (max-width: 900px) {
  .pd-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 0 48px;
  }

  /* Disolver los wrappers de columna: sus hijos pasan a ser
     hijos directos del flex container para poder reordenarlos */
  .pd-col-left,
  .pd-col-right {
    display: contents;
  }

  /* ── Orden mobile: título → imagen → precio → botones → descripción → specs ── */
  .pdi-header          { order: 1; }
  .pd-gallery__main    { order: 2; }
  .pd-gallery__thumbs  { order: 3; }
  .pdi-price           { order: 4; }
  .pdi-actions         { order: 5; }
  .pdi-content         { order: 6; }
  .pd-gallery__details { order: 7; }

  /* ── Estilos de cada sección en mobile ── */
  .pdi-header {
    background: #fff;
    padding: 20px 16px 16px;
    border-bottom: 1px solid #e8eaf0;
  }
  .pdi-header .pd-info__name {
    font-size: 1.55rem;
    margin-bottom: 0;
  }
  .pdi-header .pd-info__brand {
    margin-bottom: 10px;
  }

  /* Ocultar el badge de marca duplicado sobre la imagen */
  .pd-gallery__badge {
    display: none;
  }

  .pd-gallery__main {
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    max-height: none;
    aspect-ratio: 1 / 1;
  }

  .pd-gallery__thumbs {
    background: #fff;
    padding: 10px 16px 12px;
    border-bottom: 1px solid #e8eaf0;
    margin-top: 0;
  }

  /* Precio más compacto en mobile */
  .pdi-price .pd-info__price {
    font-size: 1.8rem;
  }
  .pdi-price .pd-info__price-row {
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }
  .pdi-price .pd-info__price-label {
    font-size: 11px;
    line-height: 1.3;
  }

  .pdi-price {
    background: #fff;
    padding: 16px 16px 12px;
    border-bottom: 1px solid #e8eaf0;
  }
  .pdi-price .pd-info__stock {
    margin-bottom: 8px;
  }

  /* Botones: ancho completo sin desbordarse */
  .pdi-actions {
    background: #fff;
    padding: 14px 16px 16px;
    border-bottom: 1px solid #e8eaf0;
    box-sizing: border-box;
  }
  .pdi-actions .pd-actions {
    width: 100%;
    box-sizing: border-box;
  }
  .pdi-actions .pd-btn-cart,
  .pdi-actions .pd-btn-wa,
  .pdi-actions .pd-btn-outline {
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    padding: 14px 16px;
    letter-spacing: 1px;
  }

  .pdi-content {
    background: #fff;
    padding: 0 16px 16px;
  }
  .pdi-content .pd-info__divider {
    margin: 16px 0;
  }

  .pd-gallery__details {
    padding: 16px;
  }
  .pd-gallery__details .pd-specs {
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .pd-btn-row { grid-template-columns: 1fr; }
}

/* ─── Tablet Landscape: hero sube para no quedar tapado por el chrome del navegador ── */
@media (min-width: 769px) and (max-width: 1366px) and (orientation: landscape) and (pointer: coarse) {
  .hero {
    align-items: flex-start;
    padding-top: 110px;
  }
}

/* ─── Mobile Global Fixes ────────────────────────────────── */
@media (max-width: 768px) {
  /* Hero */
  .hero__title { font-size: clamp(2rem, 9vw, 3.5rem); }
  .hero__subtitle { font-size: 0.95rem; }
  .hero__ctas { flex-direction: column; align-items: center; gap: 12px; }
  .hero__ctas .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Sección experiencia */
  .experience-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Xtronger section */
  .xtronger-section { padding: 48px 0; }

  /* Sobre nosotros / contacto */
  .about-hero__title { font-size: clamp(2rem, 8vw, 3rem); }
}

@media (max-width: 480px) {
  /* Container padding reducido */
  .section { padding: 48px 0; }

  /* About stats: 2 columnas en vez de 4 */
  .about-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .about-stat__num { font-size: 2rem; }

  /* Tienda: ocultar texto de filtros en botones */
  .filter-bar__label { display: none; }

  /* Valores: 1 columna en móvil muy pequeño */
  .about-values { grid-template-columns: 1fr; }

  /* Formulario contacto */
  .contact-form { padding: 20px 16px; }

  /* Shop hero */
  .shop-hero { padding-top: 65px; padding-bottom: 32px; }
  .shop-hero__title { font-size: 3rem; white-space: nowrap; }

  /* Marcas carousel: asegura que no overflow */
  .brands-carousel { gap: 20px; }
  .brand-logo { max-height: 36px; }

  /* Stats bar: 1 columna en pantallas muy pequeñas */
  .stats-bar { padding: 36px 0; }

  /* Sección destacados: gap más pequeño */
  .featured-grid { gap: 10px; }

  /* Section padding reducido */
  .featured-section { padding: 48px 0; }
}

/* ─── Tablet Portrait ────────────────────────────────────────────────────── */
@media (min-width: 601px) and (max-width: 1024px) and (orientation: portrait) and (pointer: coarse) {
  .hero {
    min-height: 100dvh;
    align-items: center;
    padding-top: 70px;
    padding-bottom: 120px;
    text-align: center;
  }
  .hero::after {
    background: linear-gradient(180deg, rgba(10,10,15,0.56) 0%, rgba(10,10,15,0.75) 100%);
  }
  .hero__wrapper {
    display: flex;
    justify-content: center;
    padding-left: 0 !important;
  }
  .hero__content {
    max-width: 100%;
    padding: 0 32px;
  }
  .hero__title {
    font-size: clamp(3.2rem, 9vw, 5rem);
    margin-bottom: 28px;
  }
  .hero__subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
  }
  .hero__ctas {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }
  .hero__ctas .btn {
    width: 100%;
    max-width: 420px;
    justify-content: center;
    padding: 18px 32px;
    font-size: 1rem;
  }

  /* Xtronger carousel: tarjetas sin desbordar el contenedor */
  .xtronger-card-v2 {
    min-width: 100% !important;
    max-width: 100% !important;
  }
  .xtronger-carousel {
    padding-right: 0;
    overflow-x: auto;
  }
}
