.product-detail {
    padding: 30px 0 50px;
}

.breadcrumbs {
    padding: 15px 0;
    background: #E1F5FE;
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: #0288D1;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: #FFD700;
}

.breadcrumbs .separator {
    margin: 0 10px;
    color: #29B6F6;
}

.breadcrumbs .current {
    color: #333;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.main-image {
    position: relative;
    background: #E1F5FE;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 3px solid #29B6F6;
}

.main-image img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    display: block;
}

.product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.badge-new, .badge-offer {
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.badge-new {
    background: #29B6F6;
    color: white;
}

.badge-offer {
    background: #FFD700;
    color: #333;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border: 2px solid #B3E5FC;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    overflow: hidden;
}

.thumbnail.active, .thumbnail:hover {
    border-color: #FFD700;
}

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

.product-info h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #0288D1;
}

.product-code {
    font-size: 0.85rem;
    color: #29B6F6;
    margin-bottom: 15px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.stars {
    color: #FFD700;
    font-size: 0.9rem;
}

.product-rating span {
    font-size: 0.85rem;
    color: #666;
}

.product-price-large {
    margin-bottom: 15px;
}

.price-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
}

.old-price-large {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
}

.discount-tag {
    background: #FFD700;
    color: #333;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.new-price-large {
    font-size: 2rem;
    font-weight: 700;
    color: #0288D1;
}

.installment-info {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
    padding: 10px;
    background: #E1F5FE;
    border-radius: 10px;
    border: 2px solid #29B6F6;
}

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

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

.option-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0;
    width: 120px;
}

.quantity-selector input {
    width: 50px;
    text-align: center;
    padding: 10px;
    border: 2px solid #29B6F6;
    font-size: 1rem;
    background: #E1F5FE;
    -moz-appearance: textfield;
}

.quantity-selector input::-webkit-outer-spin-button,
.quantity-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-btn {
    width: 35px;
    height: 40px;
    border: 2px solid #29B6F6;
    background: #E1F5FE;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.qty-btn:hover {
    background: #29B6F6;
    color: white;
    border-color: #29B6F6;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.btn-add-cart, .btn-buy-now {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-add-cart {
    background: linear-gradient(135deg, #29B6F6 0%, #0288D1 100%);
    color: white;
}

.btn-add-cart:hover {
    background: #FFD700;
    color: #333;
    transform: translateY(-2px);
}

.btn-buy-now {
    background: #FFD700;
    color: #333;
}

.btn-buy-now:hover {
    background: #FFC107;
    transform: translateY(-2px);
}

.shipping-calc {
    background: #E1F5FE;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 25px;
    border: 2px solid #29B6F6;
}

.shipping-calc h4 {
    font-size: 1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0288D1;
}

.shipping-calc h4 i {
    color: #29B6F6;
}

.cep-input {
    display: flex;
    gap: 10px;
}

.cep-input input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #29B6F6;
    border-radius: 8px;
    font-size: 0.95rem;
    background: white;
}

.cep-input input:focus {
    outline: none;
    border-color: #0288D1;
}

.cep-input button {
    padding: 12px 20px;
    background: #29B6F6;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.cep-input button:hover {
    background: #FFD700;
    color: #333;
}

.product-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #555;
}

.benefit-item i {
    color: #29B6F6;
    font-size: 1rem;
}

.product-tabs {
    margin-top: 40px;
}

.tabs-header {
    display: flex;
    border-bottom: 2px solid #29B6F6;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 15px 30px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #FFD700;
    transform: scaleX(0);
    transition: transform 0.3s;
}

.tab-btn.active, .tab-btn:hover {
    color: #0288D1;
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s;
}

.tab-panel.active {
    display: block;
}

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

.tab-panel h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #0288D1;
}

.tab-panel p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
}

.tab-panel ul {
    margin: 15px 0;
    padding-left: 20px;
}

.tab-panel ul li {
    margin-bottom: 10px;
    color: #555;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 2px solid #E1F5FE;
}

.specs-table th {
    text-align: left;
    padding: 12px;
    background: #E1F5FE;
    font-weight: 600;
    width: 200px;
    color: #0288D1;
}

.specs-table td {
    padding: 12px;
    color: #555;
}

.reviews-summary {
    background: #E1F5FE;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 2px solid #29B6F6;
}

.overall-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: #0288D1;
}

.overall-rating .stars {
    font-size: 1.2rem;
    margin: 10px 0;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    background: #E1F5FE;
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #29B6F6;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.review-date {
    font-size: 0.85rem;
    color: #666;
}

.review-stars {
    color: #FFD700;
    margin-bottom: 10px;
}

.related-products {
    padding: 50px 0;
    background: #E1F5FE;
}

@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-gallery {
        position: static;
    }
    
    .main-image img {
        height: 350px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .tabs-header {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .product-detail {
        padding: 20px 0 40px;
    }
    
    .breadcrumbs {
        font-size: 0.85rem;
        padding: 10px 0;
    }
}

@media (max-width: 480px) {
    .thumbnail-list {
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start;
    }
    
    .thumbnail {
        min-width: 70px;
        height: 70px;
    }
    
    .product-info h1 {
        font-size: 1.2rem;
    }
    
    .new-price-large {
        font-size: 1.5rem;
    }
    
    .product-code {
        font-size: 0.75rem;
    }
    
    .installment-info {
        font-size: 0.85rem;
        padding: 8px;
    }
    
    .product-benefits {
        flex-direction: column;
        gap: 10px;
    }
    
    .benefit-item {
        font-size: 0.8rem;
    }
    
    .cep-input {
        flex-direction: column;
    }
    
    .cep-input button {
        width: 100%;
    }
    
    .tab-btn {
        padding: 8px 10px;
        font-size: 0.8rem;
    }
    
    .specs-table th {
        width: 120px;
        font-size: 0.85rem;
    }
    
    .specs-table td {
        font-size: 0.85rem;
    }
    
    .btn-add-cart, .btn-buy-now {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}