/* PRODUCT PAGE STYLES */

.product {
    min-height: calc(100vh - 120px);
    padding: 40px 20px;
}

.breadcrumb {
    max-width: 1200px;
    margin: 0 auto 40px;
    font-size: 14px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #FB2F61;
}

.product-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    animation: fadeInUp 0.6s ease;
    align-items: stretch;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* GALLERY */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-media {
    width: 100%;
    aspect-ratio: 5/6;
    background: #ffffff0d;
    border: 1px solid #ffffff1a;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image,
#main-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-thumb {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.video-thumb svg {
    width: 40%;
    height: 40%;
    filter: drop-shadow(0 0 10px #FB2F61);
}

.thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
}

.thumbnail {
    width: 100%;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.thumbnail:hover {
    border-color: #FB2F61;
    transform: scale(1.05);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail.active {
    border-color: #FB2F61;
    box-shadow: 0 0 20px #FB2F614d;
}

/* INFO SECTION */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.product-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.category {
    font-size: 12px;
    text-transform: uppercase;
    color: #FB2F61;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.product-description h3,
.product-characteristics h3,
.product-authors h3 {
    font-size: 14px;
    text-transform: uppercase;
    color: #FB2F61;
    margin: 0 0 15px 0;
    letter-spacing: 1px;
}

.product-description p {
    color: #ccc;
    line-height: 1.6;
    font-size: 14px;
}

/* CHARACTERISTICS */
.product-characteristics ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.product-characteristics li {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 12px;
    background: #00d4ff0d;
    border-left: 2px solid #FB2F61;
    border-radius: 4px;
}

.char-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
}

.char-value {
    font-size: 14px;
    color: #fff;
    font-weight: 600;
}

/* AUTHORS */
.product-authors ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-authors li {
    color: #ccc;
    font-size: 14px;
    padding-left: 10px;
    position: relative;
}

.product-authors li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #FB2F61;
    border-radius: 50%;
}

/* BUTTONS */
.product-actions {
    display: flex;
    gap: 15px;
}

.btn {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #FB2F61 0%, #C11293 100%);
    color: #000;
    box-shadow: 0 0 20px #FB2F614d;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 30px #FB2F6180;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid #FB2F6180;
    min-width: 60px;
    padding: 15px;
}

.btn-secondary:hover {
    background: #FB2F611a;
    color: #FB2F61;
}

/* BACK LINK */
.product-back {
    margin-top: auto;
}

.back-link {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.back-link:hover {
    color: #FB2F61;
    transform: translateX(-5px);
}

/* ===== MOBILE RESPONSIVE ===== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .product {
        padding: 30px 15px;
    }

    .product-container {
        gap: 40px;
    }

    .product-title {
        font-size: 28px;
    }

    .main-media {
        max-height: 500px;
    }

    .product-info {
        gap: 25px;
    }
}

/* Mobile (max-width 767px) */
@media (max-width: 767px) {
    .product {
        padding: 20px 12px;
        min-height: auto;
    }

    .breadcrumb {
        font-size: 12px;
        margin-bottom: 20px;
        gap: 5px;
        flex-wrap: wrap;
    }

    .breadcrumb span {
        display: none;
    }

    .breadcrumb a {
        font-size: 12px;
    }

    .product-container {
        grid-template-columns: 1fr;
        gap: 30px;
        align-items: auto;
    }

    /* GALLERY */
    .product-gallery {
        gap: 15px;
    }

    .main-media {
        aspect-ratio: 5/6;
        border-radius: 8px;
    }

    .thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 8px;
    }

    .thumbnail {
        border-radius: 6px;
    }

    /* INFO */
    .product-info {
        padding: 15px;
        gap: 20px;
        background: rgba(255, 255, 255, 0.02);
    }

    .product-header {
        padding-bottom: 15px;
    }

    .category {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .product-title {
        font-size: 20px;
    }

    .product-description h3,
    .product-characteristics h3,
    .product-authors h3 {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .product-description p {
        font-size: 13px;
        line-height: 1.5;
    }

    /* CHARACTERISTICS */
    .product-characteristics ul {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .product-characteristics li {
        padding: 10px;
        gap: 4px;
    }

    .char-label {
        font-size: 11px;
    }

    .char-value {
        font-size: 13px;
    }

    /* AUTHORS */
    .product-authors ul {
        gap: 6px;
    }

    .product-authors li {
        font-size: 13px;
        padding-left: 8px;
    }

    /* BUTTONS */
    .product-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        padding: 12px 15px;
        font-size: 12px;
        letter-spacing: 0.5px;
    }

    .btn::before {
        width: 0;
        height: 0;
    }

    .btn:hover::before {
        width: 150px;
        height: 150px;
    }

    .btn-secondary {
        width: 100%;
        min-width: auto;
        padding: 12px 15px;
    }

    .back-link {
        font-size: 12px;
    }
}
