.toast_main {
    visibility: hidden;
    min-width: 280px;
    background-color: #102a43;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 16px;
    position: fixed;
    z-index: 1000;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.toast_main.show {
    visibility: visible;
    animation: fadeInOut 3s forwards;
}

@keyframes fadeInOut {
    0% {
        bottom: 0;
        opacity: 0;
    }

    20% {
        bottom: 30px;
        opacity: 1;
    }

    80% {
        bottom: 30px;
        opacity: 1;
    }

    100% {
        bottom: 0;
        opacity: 0;
    }
}

.product-image-thumbnail-thin img {

    display: block;

    width: auto;

    max-width: 76px;

    height: 76px;

    margin-left: auto;

    margin-right: auto;

    border-radius: .2rem;

}

.right_feautured_img img {
    width: 100% !important;
}

.product-image-basket img {
    width: 60px;
    height: 50px;
}

.product-image-basket-large img {
    width: 30px;
    height: 30px;
}


.table-cart tr .product-column {
    width: 50%;
}

.table-cart tr .price-col {
    width: 15%;
}

.table-cart tr .qty-col {
    width: 15%;
}

.table-cart tr .total-col {
    width: 15%;
}

.table-cart tr .action-col {
    width: 5%;
}

.selection-container {
    padding: 70px 20px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.selector-brand {
    max-width: 760px;
    margin: 0 auto 34px;
    color: #fff;
    text-shadow: 0 2px 18px rgba(4, 18, 31, 0.32);
}

.selector-brand img {
    width: 180px;
    max-width: 62vw;
    margin-bottom: 18px;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.24));
}

.selector-brand span {
    display: inline-block;
    color: #dff4ff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.selector-brand h1 {
    margin: 0;
    color: #fff;
    font-size: 46px;
    line-height: 1.15;
    letter-spacing: 0;
}

.card_mains-wrapper {
    display: flex;
    flex-direction: row;
    /* Компьютер дээр хэвтээ */
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card_main-image {
    height: 300px;
    background-size: cover;
    background-position: center;
}

.card_main-content {
    padding: 22px;
    background: white;
}

.card_main {
    width: 350px;
    background: rgba(255, 255, 255, 0.82);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(15px);
    /* Арын видеог зөөлөн бүрзүүлнэ */
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(223, 244, 255, 0.52);
    /* Нарийн шилэн ирмэг */
    box-shadow: 0 18px 45px rgba(7, 29, 47, 0.24);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}



.card_main-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.card_main:hover .card_main-image {
    transform: scale(1.08);
}


.card_main-content h3 {
    margin: 0 0 10px 0;
    color: #102a43;
    font-size: 2rem;
    position: relative;
    /* Энэ маш чухал! */
    display: inline-block;
    transition: color 0.3s ease;
}

.card_main-content h3::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    /* Зураасны зузаан */
    bottom: -5px;
    left: 0;
    background-color: #25a96a;
    transition: width 0.3s ease-in-out;
}

.card_main:hover .card_main-content h3 {
    color: #1f7fd1;
}

.card_main:hover .card_main-content h3::after {
    width: 100%;
}

/* Тайлбар текст дээрх эффект */
.card_main-content p {
    margin: 0;
    color: #50677d;
    transition: transform 0.3s ease;
    font-size: 1.3em;
}

/* Хулгана очих үед: Тайлбар текст зөөлөн тодорно */
.card_main:hover .card_main-content p {
    color: #102a43;
    transform: translateX(5px);
    /* Баруун тийш ялимгүй шилжих эффект */
}


.card_main:nth-child(1) {
    animation-delay: 0.2s;
}

.card_main:nth-child(2) {
    animation-delay: 0.4s;
}

.card_main:nth-child(3) {
    animation-delay: 0.6s;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Бүх зүйлийн ард гаргана */
    overflow: hidden;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Видеог дэлгэцэнд дүүргэж харуулна */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Хөнгөн gradient: дээрээс доошоо ууссан хар өнгө */
    background: linear-gradient(180deg, rgba(4, 18, 31, 0.28) 0%, rgba(4, 18, 31, 0.64) 100%);
}


@media (max-width: 768px) {
    .selection-container {
        padding: 30px 15px;
    }

    .selector-brand h1 {
        font-size: 32px;
    }

    .card_mains-wrapper {
        flex-direction: column;
        /* Босоо болгоно */
        align-items: center;
    }

    .card_main {
        width: 100%;
        /* Утасны дэлгэцийг дүүргэнэ */
        max-width: 380px;
        /* Хэт өргөн болохоос сэргийлнэ */
    }

    .card_main-image {
        height: 250px;
        /* Утсан дээр зураг арай намхан байвал тохиромжтой */
    }
}
