:root{
    --font-family: "KlinicSlabLight", cursive;
}


.breadcrumb {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #a7d30c;
}

.container2 {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    display: flex;
    gap: 20px;
    padding-top: 100px;
}

/* Thumbnails */
.thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 70px;
}

.thumb-container {
    width: 60px;
    height: 60px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb.active {
    border: 2px solid #ffffff;
}

/* Product Main */
.product-main {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.product-image {
    position: relative;
    max-width: 500px;
}

.main-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--background-marron);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
}

/* Product Info */
.product-info {
    display: flex;
    flex-direction: column;
    /*  gap: 20px; */
}

h1 {
    font-family: var(--font-family);
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.price-info {
    margin: 15px 0;
}

.price-before {
    color: #666;
    font-size: 14px;
}

.price-before span{
    color: #ff0000ad;
}

.strikethrough {
    text-decoration: line-through;
}

.price-current {
    font-family: var(--font-family);
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-top: 5px;
}

.product-details p{
    font-family: var(--font-family);
    font-size: 20px;
    color: #666;
    text-align: justify;
}

p.sec-text.ms-auto.me-auto{
    text-align: center;
    font-size: 15px;
}


.vendor-link {
    color: var(--background-verde);
    text-decoration: none;
}

.vendor-link:hover {
    text-decoration: underline;
}

/* Color Selection */
.color-selection h2 {
    font-size: 16px;
    margin-bottom: 10px;
}

.color-options {
    display: flex;
    gap: 10px;
}

.color-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #ddd;
    cursor: pointer;
}

.color-btn.blue {
    background-color: #4169e1;
}

.color-btn.selected {
    border-color: #0066cc;
}

/* Buttons */
.add-to-cart {
    background-color: var(--background-marron);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
}

.add-to-cart:hover {
    background-color: var(--background-verde);
}

.add-favorites-btn {
    background-color: white;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    color: #333;
    margin-top: 10px;
    width: 100%;
}

.add-favorites-btn:hover {
    background-color: #f5f5f5;
}

.heart-icon {
    color: var(--background-verde);
    width: 20px;
    height: 20px;
}

/* Related Products */
.related-products {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.related-products h2 {
    font-size: 24px;
    margin-bottom: 10px;
    font-family: var(--font-family);
}

.subtitle {
    font-family: var(--font-family);
    color: #666;
    margin-bottom: 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.product-card {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}

.discount-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--background-marron);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
}

.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    color: #e31837;
    cursor: pointer;
}

.product-card h3 {
    font-family: var(--font-family);
    font-size: 14px;
    margin-bottom: 10px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.quantity-selector label {
    font-size: 16px;
    margin-right: 10px;
    color: #333;
    font-family: var(--font-family);
}

.quantity-wrapper {
    font-family: var(--font-family);
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 2px;
}

.quantity-wrapper input {
    width: 60px;
    height: 35px;
    padding: 5px;
    text-align: center;
    font-size: 16px;
    border: none;
    outline: none;
    -moz-appearance: textfield;
    -webkit-appearance: none;
}

.quantity-wrapper button {
    width: 30px;
    height: 30px;
    font-size: 20px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s;
}

.quantity-wrapper button:hover {
    background-color: #e0e0e0;
}

.quantity-wrapper button:focus {
    outline: none;
}

/* Flechas de los botones */
.decrease {
    font-size: 18px;
}

.increase {
    font-size: 18px;
}

.strikethrough {
    color: #ff0000ad;
}



/* Responsive Design */
@media (max-width: 968px) {
    .product-main {
        grid-template-columns: 1fr;
    }

    .product-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {

    .thumbnails {
        /*   flex-direction: row;
        width: 100%; */
        overflow-x: auto;
        padding: 10px 0;
    }

    .thumb-container {
        flex-shrink: 0;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-info {
        margin-top: 30px;
    }

    .price-info {
        margin: -10px 0;
    }

    .price-current {
        margin-top: -10px;
    }

    .strikethrough {
        color: #ff0000ad;
    }

}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}