/* =========================
   PRODUCT PAGE
========================= */

.product-page {
    padding: 40px 80px;
    background: #f4f4f4;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 12px;
    margin-bottom: 30px;
    color: #777;
}

/* Product Top */
.product-top {
    display: flex;
    gap: 60px;
    margin-bottom: 60px;
}

/* Gallery */
.product-gallery {
    display: flex;
    gap: 20px;
}

.thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thumbs img {
    cursor: pointer;
    border: 1px solid #ddd;
}

.main-image img {
    width: 500px;
    background: #fff;
}

/* Info */
.product-info {
    flex: 1;
}

.badge {
    background: #000;
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
}

.product-info h1 {
    font-size: 24px;
    margin: 15px 0;
}

.brand {
    font-size: 13px;
    margin-bottom: 10px;
}

.short-desc {
    margin-bottom: 10px;
}

.availability {
    font-size: 13px;
    margin-bottom: 20px;
}

.product-info input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.price-box {
    margin-bottom: 20px;
}

.price {
    font-size: 22px;
    font-weight: bold;
}

.installments {
    display: block;
    font-size: 13px;
    margin-top: 5px;
}

.buy-btn {
    width: 100%;
    padding: 12px;
    background: #5aa73c;
    color: #fff;
    border: none;
    font-weight: bold;
    margin-bottom: 10px;
    cursor: pointer;
}

.whatsapp-btn {
    width: 100%;
    padding: 10px;
    background: #e6f4ea;
    border: 1px solid #5aa73c;
    cursor: pointer;
}

.frete {
    margin-top: 20px;
}

.frete-input {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.frete-input input {
    flex: 1;
}

.frete-input button {
    padding: 10px 15px;
}

/* Tabs */
.product-tabs {
    background: #fff;
    padding: 40px;
    margin-bottom: 60px;
}

.tab-header {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.tab {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.tab.active {
    border-bottom: 2px solid #000;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Related */
.related {
    margin-bottom: 60px;
}

.related h2 {
    text-align: center;
    margin-bottom: 40px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.related-card {
    background: #fff;
    padding: 15px;
    text-align: center;
}

.related-card img {
    width: 100%;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-top {
        flex-direction: column;
    }

    .main-image img {
        width: 100%;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-page {
        padding: 20px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}
