/* -------------------------------------------------------
    BASE GENERAL
------------------------------------------------------- */

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #0d0f1a;
    color: white;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 800;
}

img {
    max-width: 100%;
    display: block;
}

/* -------------------------------------------------------
    NAVBAR
------------------------------------------------------- */

.hop-navbar {
    background: #0d0f1a;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 60px;
}

.nav-links a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.nav-links a:hover,
.nav-links .active {
    color: #ffc928;
}

/* -------------------------------------------------------
    HERO SECTION
------------------------------------------------------- */

.hero-3d {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

#shader-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: absolute;
    z-index: 10;
    top: 53%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.hero-title {
    font-size: 3.8rem;
    text-transform: uppercase;
    margin: 0;
}

.hero-title span {
    color: #ffc928;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin: 10px 0 25px;
    opacity: .85;
}

.hero-mockup {
    margin: 0 auto 20px;
    width: 420px;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
    100% { transform: translateY(0); }
}

.btn-hero {
    padding: 14px 32px;
    background: #FF3B30;
    border-radius: 6px;
    display: inline-block;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    transition: .3s;
}

.btn-hero:hover {
    background: #d93128;
}

@media(max-width: 768px) {
    .hero-title { font-size: 2.4rem; }
    .hero-mockup { width: 280px; }
}

/* -------------------------------------------------------
    PRODUCT SECTION
------------------------------------------------------- */

.section-light {
    background: white;
    color: #0d0f1a;
    padding: 80px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.product-price {
    font-size: 2rem;
    font-weight: 800;
    margin: 5px 0 20px;
}

.product-price .envio {
    font-size: 1rem;
    font-weight: 400;
    opacity: .7;
}

.product-color {
    margin-bottom: 25px;
}

.product-sizes h4 {
    font-weight: 700;
}

.sizes {
    margin: 12px 0 20px;
}

.size-btn {
    padding: 10px 18px;
    border: 2px solid #0d0f1a;
    background: transparent;
    border-radius: 6px;
    margin-right: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: .25s;
}

.size-btn:hover {
    background: #0d0f1a;
    color: white;
}

.btn-size-guide {
    padding: 10px 20px;
    background: #ffc928;
    color: #0d0f1a;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    border: none;
}

.btn-buy {
    display: inline-block;
    padding: 15px 32px;
    background: #FF3B30;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    margin-top: 20px;
    transition: .3s;
}

.btn-buy:hover {
    background: #d93128;
}

.pickup {
    opacity: .8;
    margin-top: 20px;
}

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

    .size-btn {
        margin-bottom: 8px;
    }
}

/* -------------------------------------------------------
    GALLERY
------------------------------------------------------- */

.section-dark {
    background: #0d0f1a;
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.gallery-grid img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform .4s, box-shadow .4s;
}

.gallery-grid img:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(255,201,40,0.25);
}

/* -------------------------------------------------------
    DETAILS
------------------------------------------------------- */

.detail-section {
    padding: 80px 0;
    background: white;
    color: #0d0f1a;
}

.section-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 2rem;
}

.detail-list {
    max-width: 700px;
    margin: auto;
    list-style: none;
    padding: 0;
    font-size: 1.2rem;
}

.detail-list li {
    margin-bottom: 12px;
}

/* -------------------------------------------------------
    FOOTER
------------------------------------------------------- */

.hop-footer {
    background: #0d0f1a;
    padding: 80px 0 40px;
}

.footer-inner {
    text-align: center;
}

.footer-logo {
    margin: 0 auto 30px;
    height: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.footer-col h4,
.footer-col a {
    text-align: center;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
}

.footer-col a:hover {
    color: #ffc928;
}

/* -------------------------------------------------------
    MODAL GUÍA DE TALLAS
------------------------------------------------------- */

.size-modal {
    display: none;
    position: fixed;
    inset: 0;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(4px);
    z-index: 99999;
    padding: 20px;
}

.size-modal-content {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 30px;
    max-width: 480px;
    width: 90%;
    border-radius: 14px;
    text-align: center;
    animation: sizeModalAppear .3s ease;
}

@keyframes sizeModalAppear {
    from { opacity: 0; transform: scale(.92); }
    to   { opacity: 1; transform: scale(1); }
}

.close-modal {
    float: right;
    font-size: 28px;
    cursor: pointer;
}

.size-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.size-table th,
.size-table td {
    padding: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.modal-note {
    opacity: .7;
    font-size: .9rem;
    margin-top: 15px;
}
