﻿

.detail-pro-a {
    background: linear-gradient(180deg, rgb(228 233 231) 0%, rgb(203 221 214) 100%);
}

    .detail-pro-a .grid.wide {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem;
    }

.detail-pro-a-contanier .detail-pro-a-top {
    display: flex;
    align-items: center;
    padding: 4rem 0;
    gap: 3rem;
}

.detail-pro-a-top .detail-pra {
    flex: 1;
    text-align: left;
}

.detail-pra .pra-title h3 {
    font-size: 2.625rem; /* 42px */
    font-weight: 700;
    color: rgba(32, 32, 32, 0.8);
    margin: 0;
    font-family: 'interB';
}

.detail-pra .pra-descript {
    font-size: 0.9375rem; /* 15px */
    color: #525252;
    line-height: 1.6;
    margin-top: 2rem;
}

.detail-pro-a-top .img-pra {
    flex: 1;
}

    .detail-pro-a-top .img-pra img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        object-fit: cover;
    }

.detail-pro-a-top-down {
    padding: 4rem 0;
}

    .detail-pro-a-top-down .pro-a-title h4 {
        font-size: 25px;
        font-weight: 600;
        color: #58BA92;
        margin-bottom: 1rem;
        text-align: center;
        font-family: 'interR';
    }

    .detail-pro-a-top-down .pro-a h3 {
        font-size: 2rem;
        font-weight: 700;
        color: rgba(32, 32, 32, 0.8);
        text-align: center;
        margin-bottom: 2rem;
        font-family: 'interB';
    }

.detail-pro-a-steps {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
}

.detail-pro-a-steps-items {
    flex: 1;
    padding: 0;
}

.detail-pro-a-step .pro-a-lists {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pro-a-lists .pro-a-item {
    cursor: pointer;
    transition: background-color 0.3s, opacity 0.3s;
    opacity: 0.5;
    padding: 1rem;
    border-radius: 8px;
}

    .pro-a-lists .pro-a-item.active {
        opacity: 1;
        background-color: #f5f5f5;
    }

    .pro-a-lists .pro-a-item:hover {
        background-color: #f0f0f0;
    }

.pro-a-item .pro-a-er {
    position: relative;
    padding-left: 3rem;
}

.pro-a-er::before {
    content: "\f570";
    position: absolute;
    font-family: FontAwesome;
    color: #131fbe;
    font-size: 0.9375rem;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: rgba(53, 120, 229, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pro-a-item .a-item-title h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.pro-a-item .a-item-descript {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
}

.detail-pro-a-steps .image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

    .detail-pro-a-steps .image-container.active {
        opacity: 1;
        transform: scale(1);
    }

.image-container img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.detail-pro-a-mid {
    padding: 2rem 0;
}

    .detail-pro-a-mid .pro-a-title h4 {
        font-size: 25px;
        font-weight: 600;
        color: #58BA92;
        margin-bottom: 1rem;
        text-align: center;
        font-family: 'interR';
    }

    .detail-pro-a-mid .pro-a h3 {
        font-size: 2rem;
        font-weight: 700;
        color: rgba(32, 32, 32, 0.8);
        text-align: center;
        margin-bottom: 2rem;
        font-family: 'interB';
    }

.pro-a-mid-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.25rem;
    row-gap: 1.25rem;
}

    .pro-a-mid-list .mid-item {
        padding: 1.5rem;
        background: #ffffff;
        border-radius: 8px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        transition: filter 0.3s ease;
    }

    .pro-a-mid-list:hover .mid-item {
        filter: blur(2px);
    }

    .pro-a-mid-list .mid-item:hover {
        filter: none;
    }

.mid-item .mid-item-content {
    display: flex;
    align-items: center;
}

.mid-item .mid-item-icon {
    width: 2.5rem;
    height: 47px;
    border-radius: 50%;
    background: rgba(0, 255, 163, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
}

.mid-item-icon .mid-item-squred img {
    width: 60%;
    height: auto;
}

.mid-item .mid-item-detail .mid-item-title h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.mid-item .mid-item-detail .mid-item-descript {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.5;
    margin-top: 0.5rem;
}

.detail-pro-a-bottom {
    padding: 2rem 0;
}

    .detail-pro-a-bottom .pro-a-title h3 {
        font-size: 25px;
        font-weight: 700;
        color: #58BA92;
        text-align: center;
        margin-bottom: 1rem;
        font-family: 'interR';
    }

    .detail-pro-a-bottom .pro-a {
        font-size: 2rem;
        color: rgba(32, 32, 32, 0.8);
        text-align: center;
        margin-bottom: 2rem;
        font-family: 'interB';
    }

.detail-pro-menu-items .pro-menu-item {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1.25rem;
    row-gap: 2rem;
    margin: 2rem 0;
}

.pro-menu-item .menu-item {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    text-align: center;
}

.menu-item .menu-item-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #45A987;
    margin-bottom: 1rem;
    position: relative;
}

    .menu-item .menu-item-icon span {
        position: absolute;
        font-weight: bold;
        font-size: 22px;
    }

.menu-item .menu-item-title h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0.5rem 0;
    font-family: barM;
}

.menu-item .menu-item-accout {
    font-size: 0.875rem;
    color: #9ca3af;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-family: 'barM';
}

.menu-item .menu-item-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.menu-item .menu-item-detail {
    display: flex;
    /* flex-direction: column; */
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.menu-item-detail .text-sm {
    flex: 1;
}

.menu-item-detail .menu-item-detail {
    display: flex;
    align-items: center;
    /* gap: 0.5rem; */
    font-size: 0.875rem;
    color: #4a4a4a;
    max-width: 100%;
    font-family: 'barM';
    text-align: left;
}

.menu-item-detail svg {
    color: #10b981;
}

.menu-item .bmenu-item-button {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    background: #016B5C;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: 'barM';
}



/* Responsive Design */

/* Tablet (≤1023px) */
@media (max-width: 1023px) {
    .detail-pro-a {
        padding: 1.5rem 0;
    }

    .mid-item .mid-item-icon {
        width: 56px;
    }

    .detail-pro-a .grid.wide {
        padding: 0 1.5rem;
    }

    .detail-pro-a-top {
        flex-direction: column;
        padding: 2rem 0;
        gap: 2rem;
    }

    .detail-pra .pra-title h3 {
        font-size: 2.2rem;
    }

    .detail-pra .pra-descript {
        font-size: 0.9rem;
        margin-top: 1.5rem;
    }

    .detail-pro-a-top-down {
        padding: 2rem 0;
    }

        .detail-pro-a-top-down .pro-a-title h4 {
            font-size: 1.3rem;
        }

        .detail-pro-a-top-down .pro-a h3 {
            font-size: 1.8rem;
        }

    .detail-pro-a-steps {
        flex-direction: column;
        padding: 1.5rem 0;
    }

    .detail-pro-a-steps-items {
        padding: 0;
    }

    .pro-a-lists .pro-a-item {
        padding: 0.8rem;
    }

    .pro-a-item .a-item-title h3 {
        font-size: 1.1rem;
    }

    .pro-a-item .a-item-descript {
        font-size: 0.9rem;
    }

    .image-container img {
        max-width: 400px;
    }

    .pro-a-mid-list {
        grid-template-columns: 1fr;
        margin: 0px;
    }

        .pro-a-mid-list .mid-item {
            padding: 1rem;
        }

    .mid-item .mid-item-title h3 {
        font-size: 1.1rem;
    }

    .mid-item .mid-item-descript {
        font-size: 0.9rem;
    }

    .pro-menu-item {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 1rem;
        row-gap: 1.5rem;
        margin: 1.5rem 0;
    }

    .menu-item .menu-item-title h3 {
        font-size: 1.3rem;
    }

    .menu-item .menu-item-price {
        font-size: 1rem;
    }
}

/* Mobile (≤480px) */
@media (max-width: 480px) {
    .detail-pro-a {
        padding: 1rem 0;
    }

    .mid-item .mid-item-icon {
        width: 72px;
    }

    .detail-pro-a .grid.wide {
        padding: 0 1rem;
    }

    .detail-pro-a-top {
        padding: 1rem 0;
        gap: 1rem;
    }

    .detail-pra .pra-title h3 {
        font-size: 1.8rem;
    }

    .detail-pra .pra-descript {
        font-size: 0.875rem;
        margin-top: 1rem;
    }

    .detail-pro-a-top-down {
        padding: 1rem 0;
    }

        .detail-pro-a-top-down .pro-a-title h4 {
            font-size: 1.2rem;
        }

        .detail-pro-a-top-down .pro-a h3 {
            font-size: 1.5rem;
        }

    .detail-pro-a-steps-items {
        padding: 0;
    }

    .pro-a-item .a-item-title h3 {
        font-size: 1rem;
    }

    .pro-a-item .a-item-descript {
        font-size: 0.875rem;
    }

    .image-container img {
        max-width: 300px;
    }

    .pro-a-mid-list {
        margin: 1rem 0;
    }

    .pro-menu-item {
        /* grid-template-columns: 1fr; */
        /* row-gap: 1rem; */
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .menu-item .menu-item-title h3 {
        font-size: 1.2rem;
    }

    .menu-item .menu-item-accout {
        font-size: 0.8rem;
    }

    .menu-item .menu-item-price {
        font-size: 0.9rem;
    }

    .menu-item .bmenu-item-button {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}
