/* Single Product Template Styles */
.product-gallery {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.main-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.gallery-thumbnails img {
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-thumbnails img:hover {
    transform: scale(1.05);
}

.product-info {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.product-title-wrapper {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    text-align: center;
}

.product-title {
    font-size: 2.5rem;
    color: #333;
    margin: 0;
    font-weight: 600;
}

.product-price {
    font-size: 1.5rem;
    color: #e44d26;
    font-weight: 600;
}

.product-description {
    color: #666;
    line-height: 1.6;
}

.product-meta {
    border-top: 1px solid #eee;
    padding-top: 1rem;
    margin-top: 1rem;
}

.product-meta p {
    margin-bottom: 0.5rem;
    color: #666;
}

.product-meta strong {
    color: #333;
}

/* Quantity Input Styles */
.quantity-section {
    margin-bottom: 1rem;
}

.quantity-wrapper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.btn-quantity {
    background: #f8f9fa;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-quantity:hover {
    background: #e9ecef;
}

.btn-quantity:active {
    background: #dee2e6;
}

.qty-input {
    border: none;
    width: 80px;
    height: 40px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    outline: none;
    -moz-appearance: textfield;
}

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

.qty-input:focus {
    outline: none;
    box-shadow: none;
}

/* Product Tabs */
.product-tabs {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.nav-tabs {
    border-bottom: 1px solid #dee2e6;
    padding: 0 1rem;
}

.nav-tabs .nav-link {
    border: none;
    color: #666;
    padding: 1rem 1.5rem;
    font-weight: 500;
}

.nav-tabs .nav-link.active {
    color: #333;
    border-bottom: 2px solid #007bff;
    background: none;
}

.tab-content {
    padding: 2rem;
}

/* Related Products */
.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.tarjeta-producto {
    height: 500px;
    display: flex
;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.1rem;

    color: #333;
    width: 200px;
    margin: 0 auto;
}

.card-text {
    color: #e44d26;
    font-weight: 600;
    margin-bottom: 1rem;
    width: 150px;
    margin: 0 auto;
    padding: 15px 0px;
}

.btn-primary {
    background-color: #007bff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

form.cart.mb-3 {
    display: flex;
    align-items: center;
}

div#content {
    background: #F8F8F8;
}



/* Responsive Adjustments */
@media (max-width: 768px) {
    .product-gallery,
    .product-info {
        padding: 1rem;
    }

    .product-title {
        font-size: 2rem;
    }

    .product-price {
        font-size: 1.25rem;
    }

    .gallery-thumbnails .col-3 {
        padding: 0.25rem;
    }

   

    .product-title-wrapper {
        padding: 1.5rem;
    }
}