/* PC Gamer 1 — ficha producto estilo Cyber Day (hero) */
body.gf-pc-page-v3 {
  background: #fff;
  font-family: "Inter", system-ui, sans-serif;
}

body.gf-pc-page-v3 main.gf-section {
  padding-top: 18px;
}

body.gf-pc-page-v3 .gf-breadcrumb {
  font-size: 13px;
  color: #64748b;
}

body.gf-pc-page-v3 .gf-breadcrumb a {
  color: #64748b;
  text-decoration: none;
}

body.gf-pc-page-v3 .gf-breadcrumb a:hover {
  color: #0f172a;
}

/* —— Galería izquierda —— */
.gf-pc-v3-gallery__main {
  position: relative;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.gf-pc-v3-gallery__main .gf-main-image-wrap {
  border-radius: 0;
  border: 0;
}

.gf-pc-v3-gallery__main .gf-main-image {
  border: 0;
  border-radius: 0;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
}

.gf-pc-v3-gallery__main .gf-main-image-wrap:hover .gf-main-image {
  transform: none;
}

.gf-pc-v3-ribbon {
  position: absolute;
  top: 18px;
  left: -42px;
  z-index: 5;
  width: 170px;
  padding: 7px 0;
  background: #e60000;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  transform: rotate(-45deg);
  box-shadow: 0 4px 12px rgba(230, 0, 0, 0.35);
  pointer-events: none;
}

.gf-pc-v3-ribbon strong {
  font-weight: 900;
}

.gf-pc-v3-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.gf-pc-v3-thumb {
  width: 72px;
  height: 72px;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  object-fit: cover;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gf-pc-v3-thumb:hover {
  border-color: #cbd5e1;
}

.gf-pc-v3-thumb.active {
  border-color: #e60000;
  box-shadow: 0 0 0 1px #e60000;
}

.gf-pc-v3-trust {
  margin-top: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 18px 20px;
  background: #fff;
}

.gf-pc-v3-trust__title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0 0 14px;
  color: #0f172a;
}

.gf-pc-v3-trust__grid {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.gf-pc-v3-trust__list {
  flex: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gf-pc-v3-trust__list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  font-size: 13px;
  color: #334155;
  line-height: 1.35;
}

.gf-pc-v3-trust__list li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e60000;
  color: #fff;
  font-size: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 16px;
  text-align: center;
}

.gf-pc-v3-trust__badge {
  flex-shrink: 0;
  width: 130px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  line-height: 0;
  align-self: flex-start;
  margin-top: -10px;
}

.gf-pc-v3-trust__badge-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 130px;
  margin: 0 auto;
}

/* —— Panel derecho —— */
.gf-pc-v3-info {
  padding-left: 8px;
}

.gf-pc-v3-title-banner {
  margin: -22px 0 12px -8px;
  line-height: 0;
}

.gf-pc-v3-title-banner__img {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
}

.gf-pc-v3-promo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  color: #e60000;
  letter-spacing: 0.03em;
}

.gf-pc-v3-promo i {
  font-size: 14px;
}

.gf-pc-v3-promo span {
  font-weight: 700;
}

.gf-pc-v3-info .gf-pc-v3-title,
.gf-pc-v3-info #gf-product-title {
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #0f172a;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.gf-pc-v3-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  color: #475569;
}

.gf-pc-v3-rating__stars {
  color: #f59e0b;
  letter-spacing: 1px;
  font-size: 14px;
}

.gf-pc-v3-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #16a34a;
}

.gf-pc-v3-stock i {
  font-size: 15px;
}

.gf-pc-v3-pricing {
  margin-bottom: 16px;
}

.gf-pc-v3-price-normal {
  margin: 0 0 6px;
  font-size: 13px;
  color: #64748b;
}

.gf-pc-v3-price-normal s {
  color: #94a3b8;
}

.gf-pc-v3-price-row {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 8px;
}

.gf-pc-v3-price-block {
  flex: 1 1 auto;
  min-width: 180px;
}

.gf-pc-v3-price-label {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 2px;
}

.gf-pc-v3-price-main,
.gf-pc-v3-info #gf-price-main {
  font-size: clamp(2rem, 4vw, 2.65rem);
  font-weight: 900;
  line-height: 1;
  color: #e60000 !important;
  letter-spacing: -0.02em;
}

.gf-pc-v3-savings {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  padding: 10px 16px;
  border: 2px solid #e60000;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  color: #e60000;
  white-space: nowrap;
  background: #fff;
  margin-bottom: 4px;
}

.gf-pc-v3-installments {
  margin: 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}

.gf-pc-v3-installments img,
.gf-pc-v3-installments__logo {
  height: 52px;
  width: auto;
  vertical-align: middle;
  margin-left: 4px;
  object-fit: contain;
}

.gf-pc-v3-perf {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px 16px 12px;
  margin-bottom: 16px;
  background: #fff;
  overflow: visible;
}

.gf-pc-v3-perf__title {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #0f172a;
}

.gf-pc-v3-perf__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  text-align: center;
}

.gf-pc-v3-perf__grid > div {
  min-width: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gf-pc-v3-perf__game {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 8px;
  width: 100%;
  height: 80px;
  min-height: 80px;
  max-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.gf-pc-v3-perf__logo {
  display: block;
  max-width: 100%;
  height: 72px;
  width: auto;
  object-fit: contain;
  object-position: center center;
  margin: 0 auto;
}

.gf-pc-v3-perf__logo--valorant {
  width: 100%;
  height: auto;
  max-height: 72px;
  max-width: 100%;
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 2px 5px rgba(255, 70, 85, 0.45));
}

.gf-pc-v3-perf__item--valorant .gf-pc-v3-perf__game,
.gf-pc-v3-perf__item--gtav .gf-pc-v3-perf__game,
.gf-pc-v3-perf__item--cs2 .gf-pc-v3-perf__game {
  height: 80px;
  min-height: 80px;
  max-height: 80px;
  padding: 0;
}

.gf-pc-v3-perf__game.gf-pc-v3-perf__game--cs2 {
  width: 100%;
  height: 80px;
  min-height: 80px;
  max-height: 80px;
  flex-shrink: 0;
  padding: 0;
  margin: 0 auto 8px;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.gf-pc-v3-perf__logo--cs2 {
  display: block;
  width: 72px;
  height: 72px;
  max-width: none;
  margin: 0 auto;
  object-fit: cover;
  object-position: center center;
  border-radius: 50%;
}

.gf-pc-v3-perf__logo--gtav {
  width: 100%;
  height: auto;
  max-height: 72px;
  max-width: 100%;
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.18));
}

.gf-pc-v3-perf__fps {
  width: 100%;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 900;
  color: #e60000;
  line-height: 1.1;
}

.gf-pc-v3-perf__setting {
  font-size: 11px;
  color: #94a3b8;
}

.gf-pc-v3-features {
  margin-bottom: 8px;
  line-height: 0;
}

.gf-pc-v3-features-banner {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
}

/* —— Botones de compra (fila como en mockup) —— */
.gf-pc-v3-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.gf-pc-v3-actions__row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.gf-pc-v3-qty {
  display: inline-flex;
  align-items: stretch;
  flex-shrink: 0;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #eceff3;
  overflow: hidden;
  min-height: 56px;
}

.gf-pc-v3-qty button {
  width: 34px;
  min-width: 34px;
  border: 0;
  background: transparent;
  color: #1f2937;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  transition: background 0.12s ease;
}

.gf-pc-v3-qty button:hover {
  background: rgba(0, 0, 0, 0.06);
}

.gf-pc-v3-qty input {
  width: 38px;
  min-width: 38px;
  border: 0;
  border-left: 1px solid #d1d5db;
  border-right: 1px solid #d1d5db;
  background: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  color: #111827;
  padding: 0;
}

body.gf-pc-page-v3 .gf-pc-v3-btn-buy,
body.gf-pc-page-v3 .gf-pc-v3-btn-cart,
body.gf-pc-page-v3 .gf-pc-v3-btn-wa {
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  text-transform: uppercase;
  font-family: "Inter", system-ui, sans-serif;
}

body.gf-pc-page-v3 .gf-pc-v3-btn-buy {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: linear-gradient(
    135deg,
    #ff4d4d 0%,
    #ff0000 38%,
    #d40000 72%,
    #ff1a1a 100%
  );
  background-size: 220% 220%;
  color: #fff;
  min-height: 56px;
  cursor: pointer;
  filter: drop-shadow(0 10px 22px rgba(255, 0, 0, 0.42));
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.22s ease,
    border-color 0.22s ease;
  animation:
    gf-pc-v3-btn-buy-pulse 1.8s ease-in-out infinite,
    gf-pc-v3-btn-buy-gradient 2.6s ease infinite;
}

body.gf-pc-page-v3 .gf-pc-v3-btn-buy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(255, 255, 255, 0.35) 0%,
    transparent 55%
  );
  pointer-events: none;
  animation: gf-pc-v3-btn-buy-glow-top 2s ease-in-out infinite;
}

body.gf-pc-page-v3 .gf-pc-v3-btn-buy::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.15) 42%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(255, 255, 255, 0.15) 58%,
    transparent 70%
  );
  transform: translateX(-160%) skewX(-14deg);
  pointer-events: none;
  animation: gf-pc-v3-btn-buy-shine 2s ease-in-out infinite;
}

body.gf-pc-page-v3 .gf-pc-v3-btn-buy > * {
  position: relative;
  z-index: 1;
}

@keyframes gf-pc-v3-btn-buy-gradient {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes gf-pc-v3-btn-buy-pulse {
  0%,
  100% {
    transform: scale(1) translateY(0);
    box-shadow:
      0 8px 22px rgba(255, 0, 0, 0.45),
      0 0 0 0 rgba(255, 0, 0, 0.55),
      inset 0 1px 0 rgba(255, 255, 255, 0.35);
  }
  50% {
    transform: scale(1.045) translateY(-2px);
    box-shadow:
      0 16px 38px rgba(255, 0, 0, 0.62),
      0 0 0 12px rgba(255, 0, 0, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.5);
  }
}

@keyframes gf-pc-v3-btn-buy-glow-top {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

@keyframes gf-pc-v3-btn-buy-shine {
  0%,
  55% {
    transform: translateX(-160%) skewX(-14deg);
  }
  100% {
    transform: translateX(160%) skewX(-14deg);
  }
}

body.gf-pc-page-v3 .gf-pc-v3-btn-buy:hover,
body.gf-pc-page-v3 .gf-pc-v3-btn-buy:focus {
  background: linear-gradient(135deg, #ff6666 0%, #e60000 50%, #b80000 100%);
  color: #fff;
  outline: none;
  transform: scale(1.06) translateY(-2px);
  animation: none;
  filter: drop-shadow(0 16px 32px rgba(255, 0, 0, 0.55));
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow:
    0 18px 40px rgba(255, 0, 0, 0.55),
    0 0 0 5px rgba(255, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

body.gf-pc-page-v3 .gf-pc-v3-btn-buy:active {
  transform: scale(0.97) translateY(1px);
  filter: drop-shadow(0 6px 14px rgba(255, 0, 0, 0.35));
  box-shadow:
    0 6px 14px rgba(255, 0, 0, 0.35),
    inset 0 2px 6px rgba(0, 0, 0, 0.18);
}

body.gf-pc-page-v3 .gf-pc-v3-btn-buy:hover .gf-pc-v3-btn-buy__icon i,
body.gf-pc-page-v3 .gf-pc-v3-btn-buy:focus .gf-pc-v3-btn-buy__icon i {
  animation: gf-pc-v3-btn-buy-cart-bounce 0.5s ease;
}

@keyframes gf-pc-v3-btn-buy-cart-bounce {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  35% {
    transform: translateY(-5px) scale(1.15) rotate(-8deg);
  }
  65% {
    transform: translateY(1px) scale(0.95) rotate(4deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.gf-pc-page-v3 .gf-pc-v3-btn-buy {
    animation: none;
    filter: none;
    background: #ff0000;
  }

  body.gf-pc-page-v3 .gf-pc-v3-btn-buy::before,
  body.gf-pc-page-v3 .gf-pc-v3-btn-buy::after {
    animation: none;
    display: none;
  }

  body.gf-pc-page-v3 .gf-pc-v3-btn-buy:hover,
  body.gf-pc-page-v3 .gf-pc-v3-btn-buy:focus {
    transform: none;
    filter: none;
  }

  body.gf-pc-page-v3 .gf-pc-v3-btn-buy__icon i {
    animation: none !important;
  }
}

.gf-pc-v3-btn-buy__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
}

.gf-pc-v3-btn-buy__icon i {
  font-size: 22px;
  color: #fff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
  animation: gf-pc-v3-btn-buy-cart-idle 2.2s ease-in-out infinite;
}

@keyframes gf-pc-v3-btn-buy-cart-idle {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1.08) rotate(-6deg);
  }
  75% {
    transform: scale(1.08) rotate(6deg);
  }
}

.gf-pc-v3-btn-buy__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  text-align: left;
}

.gf-pc-v3-btn-buy__main {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.25),
    0 0 14px rgba(255, 255, 255, 0.35);
}

.gf-pc-v3-btn-buy__sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  opacity: 0.95;
  margin-top: 2px;
}

.gf-pc-v3-btn-cart {
  flex: 0 0 132px;
  width: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 10px;
  border: 0;
  border-radius: 4px;
  background: #ffcc00;
  color: #000;
  min-height: 56px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.gf-pc-v3-btn-cart:hover,
.gf-pc-v3-btn-cart:focus {
  background: #f0bd00;
  color: #000;
  outline: none;
}

.gf-pc-v3-btn-cart i {
  font-size: 20px;
  color: #000;
}

.gf-pc-v3-btn-cart span {
  display: block;
  max-width: 100%;
}

.gf-pc-v3-btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 0;
  border-radius: 4px;
  background: #1a9e4a;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  transition: background 0.15s ease;
}

.gf-pc-v3-btn-wa:hover,
.gf-pc-v3-btn-wa:focus {
  background: #15803d;
  color: #fff;
  text-decoration: none !important;
}

.gf-pc-v3-btn-wa i {
  font-size: 22px;
}

body.gf-pc-page-v3 .gf-pc-v3-hide-legacy {
  display: none !important;
}

.gf-pc-v3-title-banner--mobile {
  margin: 0 0 14px;
}

.gf-pc-v3-title-banner--mobile .gf-pc-v3-title-banner__img {
  max-width: 100%;
}

@media (max-width: 991.98px) {
  .gf-pc-v3-info {
    padding-left: 0;
    margin-top: 8px;
  }

  .gf-pc-v3-trust__grid {
    flex-direction: column;
  }

  .gf-pc-v3-trust__badge {
    width: 100%;
    max-width: 200px;
  }

  .gf-pc-v3-perf__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .gf-pc-v3-price-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .gf-pc-v3-actions__row {
    flex-wrap: wrap;
  }

  .gf-pc-v3-btn-buy {
    flex: 1 1 calc(100% - 120px);
    min-width: calc(100% - 120px);
  }

  .gf-pc-v3-btn-cart {
    flex: 1 1 100%;
    width: 100%;
    flex-direction: row;
    gap: 10px;
    min-height: 48px;
  }
}
