/* ==========================================================================
   GORILLA TEAM - CATALOG & 4-HOOK PRODUCT LANDINGS STYLES
   ========================================================================== */

:root {
    --gt-red: #e50914;
    --gt-red-dark: #b80710;
    --gt-gold: #ffb400;
    --gt-dark-bg: #0a0a0a;
    --gt-card-bg: #141414;
    --gt-card-border: #262626;
    --gt-text-light: #f5f5f5;
    --gt-text-muted: #a3a3a3;
    --gt-radius: 12px;
}

body.landing-body, body.bg-dark {
    background-color: var(--gt-dark-bg);
    color: var(--gt-text-light);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, .gt-logo {
    font-family: 'Oxanium', sans-serif;
    font-weight: 700;
}

.txtRojo { color: var(--gt-red); }
.txtGold { color: var(--gt-gold); }

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.gt-header, .landing-header {
    background-color: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gt-card-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.gt-nav-container, .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gt-logo {
    font-size: 1.6rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
}

.gt-nav-links {
    display: flex;
    gap: 25px;
}

.gt-nav-links a, .back-link {
    color: var(--gt-text-muted);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.gt-nav-links a:hover, .gt-nav-links a.active, .back-link:hover {
    color: var(--gt-red);
}

.btn-cta-nav {
    background-color: var(--gt-red);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.3s, transform 0.2s;
}

.btn-cta-nav:hover {
    background-color: var(--gt-red-dark);
    transform: translateY(-2px);
}

/* ==========================================================================
   CATALOG HERO & FILTERABLE TABLE
   ========================================================================== */
.gt-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.catalog-hero {
    padding: 50px 0 30px;
    background: radial-gradient(circle at top center, rgba(229, 9, 20, 0.15), transparent 70%);
}

.gt-badge-glow {
    background-color: rgba(229, 9, 20, 0.2);
    border: 1px solid var(--gt-red);
    color: var(--gt-red);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 2.8rem;
    margin: 20px 0 10px;
    text-transform: uppercase;
}

.hero-subtitle {
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--gt-text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.filter-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-input-group {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 15px;
    color: var(--gt-text-muted);
}

.search-input {
    width: 100%;
    padding: 14px 45px;
    background-color: var(--gt-card-bg);
    border: 1px solid var(--gt-card-border);
    border-radius: 30px;
    color: #fff;
    font-size: 1rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--gt-red);
}

.clear-search {
    position: absolute;
    right: 15px;
    color: var(--gt-text-muted);
    text-decoration: none;
}

.btn-search {
    background-color: var(--gt-red);
    color: #fff;
    border: none;
    padding: 0 28px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-search:hover {
    background-color: var(--gt-red-dark);
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.pill-item {
    padding: 8px 18px;
    background-color: var(--gt-card-bg);
    border: 1px solid var(--gt-card-border);
    border-radius: 20px;
    color: var(--gt-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
}

.pill-item:hover, .pill-item.active {
    background-color: var(--gt-red);
    border-color: var(--gt-red);
    color: #fff;
}

/* TABLE CARD */
.table-card-wrapper {
    background-color: var(--gt-card-bg);
    border: 1px solid var(--gt-card-border);
    border-radius: var(--gt-radius);
    padding: 25px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.table-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--gt-card-border);
    padding-bottom: 15px;
}

.table-header-info h2 {
    font-size: 1.4rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.count-badge {
    background-color: #262626;
    color: var(--gt-gold);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.table-responsive {
    overflow-x: auto;
}

.gt-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.gt-table th {
    padding: 14px;
    background-color: #1a1a1a;
    color: var(--gt-text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--gt-card-border);
}

.gt-table td {
    padding: 16px 14px;
    border-bottom: 1px solid var(--gt-card-border);
    vertical-align: middle;
}

.product-cell-flex {
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-thumb {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 8px;
    background-color: #000;
    border: 1px solid var(--gt-card-border);
    padding: 4px;
}

.mini-badge {
    background-color: var(--gt-gold);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.product-table-name {
    margin: 4px 0 2px;
    font-size: 1.1rem;
}

.product-table-name a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.product-table-name a:hover {
    color: var(--gt-red);
}

.product-table-sub {
    margin: 0;
    color: var(--gt-text-muted);
    font-size: 0.85rem;
    line-height: 1.3;
}

.category-tag {
    background-color: #222;
    color: var(--gt-text-muted);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}

.stars { color: var(--gt-gold); letter-spacing: 2px; }
.rating-num { font-weight: 700; margin-left: 5px; }
.reviews-count { color: var(--gt-text-muted); font-size: 0.8rem; }

.price-amount {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
}

.price-old {
    text-decoration: line-through;
    color: var(--gt-text-muted);
    font-size: 0.9rem;
    margin-left: 6px;
}

.variants-count {
    display: block;
    color: var(--gt-text-muted);
    font-size: 0.75rem;
    margin-top: 2px;
}

.actions-flex {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-ganchos {
    background-color: var(--gt-red);
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.3s;
}

.btn-ganchos:hover {
    background-color: var(--gt-red-dark);
}

.btn-wsp-sm {
    background-color: #25d366;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ==========================================================================
   LANDING PAGE INDIVIDUAL POR PRODUCTO (4 GANCHOS DE VENTAS)
   ========================================================================== */

/* GANCHO 1: HERO & PROMESA */
.gancho-1-hero {
    padding: 40px 0 60px;
    background: radial-gradient(ellipse at top right, rgba(229, 9, 20, 0.12), transparent 70%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: start;
}

.main-image-container {
    position: relative;
    background-color: var(--gt-card-bg);
    border: 1px solid var(--gt-card-border);
    border-radius: var(--gt-radius);
    padding: 20px;
    text-align: center;
}

.product-badge-flag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--gt-red);
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
}

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

.thumbnail-strip {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    justify-content: center;
}

.thumb-item {
    width: 70px;
    height: 70px;
    object-fit: contain;
    background-color: #000;
    border-radius: 8px;
    border: 2px solid var(--gt-card-border);
    cursor: pointer;
    transition: border-color 0.3s;
    padding: 4px;
}

.thumb-item.active, .thumb-item:hover {
    border-color: var(--gt-red);
}

.product-main-title {
    font-size: 2.5rem;
    margin: 10px 0;
    line-height: 1.1;
}

.hook-promise-box {
    background-color: rgba(229, 9, 20, 0.08);
    border-left: 4px solid var(--gt-red);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
}

.promise-headline {
    font-size: 1.25rem;
    margin: 0 0 6px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.promise-sub {
    margin: 0;
    color: var(--gt-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.variant-label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--gt-gold);
}

.variant-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 25px;
}

.variant-card {
    background-color: var(--gt-card-bg);
    border: 2px solid var(--gt-card-border);
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.variant-card:hover, .variant-card.selected {
    border-color: var(--gt-red);
    background-color: rgba(229, 9, 20, 0.1);
}

.v-name { font-size: 0.85rem; font-weight: 600; color: #fff; }
.v-price { font-size: 1.1rem; font-weight: 800; color: var(--gt-gold); margin-top: 4px; }
.v-old-price { font-size: 0.8rem; text-decoration: line-through; color: var(--gt-text-muted); }

.price-display-wrapper {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 10px;
}

.current-price { font-size: 2.5rem; font-weight: 800; color: #fff; }
.old-price { font-size: 1.3rem; text-decoration: line-through; color: var(--gt-text-muted); }
.shipping-tag { background-color: #1b3a24; color: #4ade80; padding: 4px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }

.stock-warning {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gt-gold);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.cta-buttons-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-cta-buy {
    background-color: var(--gt-red);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 4px 20px rgba(229, 9, 20, 0.4);
}

.btn-cta-buy:hover {
    background-color: var(--gt-red-dark);
    transform: translateY(-2px);
}

.btn-cta-wsp {
    background-color: #25d366;
    color: #fff;
    text-decoration: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
}

.btn-cta-wsp:hover {
    background-color: #1ebd59;
}

/* GANCHO 2: AGITACIÓN DEL DOLOR */
.gancho-2-pain {
    padding: 60px 0;
    background-color: #0d0d0d;
    border-top: 1px solid var(--gt-card-border);
    border-bottom: 1px solid var(--gt-card-border);
}

.section-title-box {
    margin-bottom: 40px;
}

.sub-badge {
    color: var(--gt-red);
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

.sub-badge-gold {
    color: var(--gt-gold);
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

.section-title {
    font-size: 2rem;
    margin: 10px 0;
}

.red-line-divider {
    width: 80px;
    height: 4px;
    background-color: var(--gt-red);
    margin: 15px auto 0;
}

.gold-line-divider {
    width: 80px;
    height: 4px;
    background-color: var(--gt-gold);
    margin: 15px auto 0;
}

.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.pain-card {
    background-color: var(--gt-card-bg);
    border: 1px solid var(--gt-card-border);
    border-radius: var(--gt-radius);
    padding: 22px;
    display: flex;
    gap: 15px;
}

.pain-icon-wrapper {
    background-color: rgba(229, 9, 20, 0.15);
    color: var(--gt-red);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pain-content h3 {
    margin: 0 0 6px;
    font-size: 1.1rem;
    color: #fff;
}

.pain-content p {
    margin: 0;
    color: var(--gt-text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* GANCHO 3: SOLUCIÓN & BENEFICIOS */
.gancho-3-solution {
    padding: 70px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.benefit-card {
    background-color: var(--gt-card-bg);
    border: 1px solid var(--gt-card-border);
    border-radius: var(--gt-radius);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--gt-gold);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 180, 0, 0.15);
    color: var(--gt-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.benefit-card p {
    color: var(--gt-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.nutrition-box {
    background-color: #111;
    border: 1px solid var(--gt-card-border);
    border-radius: var(--gt-radius);
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.nutrition-title {
    text-align: center;
    margin-top: 0;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.nutrition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.nutrition-item {
    background-color: var(--gt-card-bg);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--gt-card-border);
}

.n-val {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gt-gold);
}

.n-label {
    font-size: 0.85rem;
    color: var(--gt-text-muted);
}

.reviews-carousel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.review-card {
    background-color: var(--gt-card-bg);
    border: 1px solid var(--gt-card-border);
    padding: 20px;
    border-radius: var(--gt-radius);
}

.rev-stars { color: var(--gt-gold); margin-bottom: 10px; }
.rev-text { font-style: italic; color: #ddd; font-size: 0.95rem; line-height: 1.5; }
.rev-author { margin-top: 15px; font-size: 0.85rem; }
.verified-check { color: #4ade80; margin-left: 8px; font-weight: 600; }

/* GANCHO 4: URGENCIA & OFERTA */
.gancho-4-urgency {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.25) 0%, rgba(10, 10, 10, 1) 100%);
    border-top: 2px solid var(--gt-red);
}

.urgency-banner {
    max-width: 800px;
    margin: 0 auto;
}

.timer-wrapper {
    display: inline-block;
    background-color: #000;
    border: 1px solid var(--gt-red);
    padding: 12px 25px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.timer-label { font-weight: 700; color: var(--gt-gold); margin-right: 10px; }
.countdown-display { font-size: 1.4rem; font-weight: 800; display: inline-block; font-family: monospace; }

.urgency-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.guarantee-text {
    font-size: 1.1rem;
    color: var(--gt-text-muted);
    margin-bottom: 30px;
}

.btn-mega-cta {
    background-color: var(--gt-red);
    color: #fff;
    border: none;
    padding: 20px 40px;
    border-radius: 40px;
    font-size: 1.3rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.2s, background 0.3s;
    box-shadow: 0 6px 25px rgba(229, 9, 20, 0.6);
}

.btn-mega-cta:hover {
    background-color: var(--gt-red-dark);
    transform: scale(1.04);
}

.trust-icons {
    margin-top: 20px;
    color: var(--gt-text-muted);
    font-size: 0.9rem;
}

/* MODAL DE CHECKOUT */
.landing-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.landing-modal-overlay.active {
    display: flex;
}

.landing-modal-content {
    background-color: var(--gt-card-bg);
    border: 1px solid var(--gt-card-border);
    border-radius: var(--gt-radius);
    width: 100%;
    max-width: 500px;
    padding: 25px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gt-card-border);
    padding-bottom: 12px;
    margin-bottom: 15px;
}

.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
}

.order-summary-box {
    background-color: #1a1a1a;
    border-left: 3px solid var(--gt-red);
    padding: 12px 15px;
    font-size: 0.9rem;
    margin-bottom: 18px;
    border-radius: 4px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--gt-text-muted);
    margin-bottom: 6px;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: #0c0c0c;
    border: 1px solid var(--gt-card-border);
    border-radius: 6px;
    color: #fff;
    font-size: 0.95rem;
    box-sizing: border-box;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--gt-red);
}

.btn-submit-order {
    width: 100%;
    background-color: #25d366;
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 6px;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* STICKY MOBILE BAR */
.sticky-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background-color: rgba(20, 20, 20, 0.98);
    border-top: 1px solid var(--gt-card-border);
    padding: 12px 20px;
    z-index: 1500;
    justify-content: space-between;
    align-items: center;
}

.sticky-title { display: block; font-weight: 700; font-size: 0.9rem; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sticky-price { color: var(--gt-gold); font-weight: 800; font-size: 1.1rem; }
.btn-sticky-buy { background-color: var(--gt-red); color: #fff; border: none; padding: 10px 20px; border-radius: 20px; font-weight: 800; cursor: pointer; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; gap: 30px; }
    .hero-title { font-size: 2rem; }
    .product-main-title { font-size: 1.8rem; }
    .sticky-mobile-bar { display: flex; }
    .btn-mega-cta { width: 100%; font-size: 1.1rem; }
}
