﻿/* bread crum */
/* Breadcrumb Container */
.breadcrumb-nav {
    margin: 1rem 0 1.5rem 0;
    font-size: 0.9rem;
    background-color: unset;
    z-index:auto;
}

/* Breadcrumb List */
.breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

    /* Breadcrumb Items */
    .breadcrumb li {
        color: #555;
        font-weight: 500;
    }

    /* Breadcrumb Links */
    .breadcrumb a {
        color: #0a5db3;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .breadcrumb a:hover {
            color: #063f7a;
            text-decoration: underline;
        }

    /* Separator */
    .breadcrumb li::after {
        content: "›";
        margin-left: 0.4rem;
        color: #999;
    }

    /* Remove separator from last item */
    .breadcrumb li:last-child::after {
        content: "";
    }

    /* Current Page */
    .breadcrumb li[aria-current="page"] {
        color: #222;
        font-weight: 600;
    }

/** product detail **/
.product-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

@media (min-width: 992px) {
    .product-layout {
        flex-direction: row;
        align-items: flex-start;
    }

    .product-left {
        flex: 1;
    }

    .product-right {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
}

.product-image img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.product-price {
    font-size: 1.6rem;
    font-weight: 600;
    color: #0a7a2f;
}

.product-note {
    font-size: 0.9rem;
    color: #777;
}

.product-actions {
    margin-top: 1rem;
}

.addToCartForm {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-width: 300px;
}

    .addToCartForm input[type="number"] {
        padding: 0.4rem;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

.addToCartButton {
    background: #0a7a2f;
    color: white;
    padding: 1.2rem 1rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}

.product-description, .product-details {
    margin-top: 2rem;
}

    .product-details dl {
        display: grid;
        grid-template-columns: 150px 1fr;
        row-gap: 0.6rem;
    }

    .product-details dt {
        font-weight: 600;
        color: #444;
    }

    .product-details dd {
        margin: 0;
        color: #222;
    }

 
