.modal-shtype {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.4s ease-out;
}

.shtype-modal-container-main {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content-shtype {
    background: linear-gradient(to bottom right, #ffffff, #f8f8f8);
    margin: auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    animation: slideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-content-shtype h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #333;
    font-weight: 600;
}

.modal-close-x {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #666;
    background: #f0f0f0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close-x:hover {
    background: #e0e0e0;
    color: #333;
    transform: rotate(90deg);
}

.modal.modal-closing {
    animation: fadeOut 0.3s ease-out;
}

.modal.modal-closing .modal-content-shtype {
    animation: slideOut 0.3s ease-in;
}

.offer-container {
    width: 100%;
    border: none;
    border-radius: 11px;
    margin-top: 30px;
    margin-bottom: 20px;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.offer-container:hover {
    transform: translateY(-5px);
}

.offer-container-content {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
}

.image-offer-text {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.image-offer-text > img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
}

.offer-text-container > h1 {
    font-size: 1.1rem;
    color: #2d3748;
    margin-bottom: 5px;
}

.offer-text-container > h2 {
    font-size: 0.95rem;
    color: #e53e3e;
    margin: 0;
}

.offer-container-content > button {
    min-width: 150px;
    width: 150px !important;
    background: linear-gradient(45deg, #e53e3e, #ef5350);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(229,62,62,0.2);
    cursor: pointer;
}

.offer-container-content > button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px -1px rgba(229,62,62,0.3);
    background: linear-gradient(45deg, #dc2626, #ef5350);
}

.category-title-seminar {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #18372F;
    position: relative;
    padding-bottom: 15px;
}

.category-title-seminar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #18372F;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        transform: translateY(30px) scale(0.95);
        opacity: 0;
    }
    to { 
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes slideOut {
    from { 
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    to { 
        transform: translateY(30px) scale(0.95);
        opacity: 0;
    }
}

/* ---------------------------------- */

.our-brands-container{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 50px;
    padding-top: 50px;
}
.our-brands-container > h1{
    font-size: 32px;
    font-weight: 700;

}

.our-brands-container > .brands-row{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 250px;
}

.our-brands-container > .brands-row > a{
    transition: all 0.3s ease;
    transform: scale(1);
}

.our-brands-container > .brands-row > a:hover{
    transform: scale(1.05);
}

/* --------------------------------------------- */

body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .products-row {
        flex-wrap: wrap;
    }
    
    .product-card {
        max-width: 100%;
        min-width: 100%;
    }
    .our-brands-container > .brands-row{
        gap: 150px;
    }
    .modal-content-shtype{
        width: 100%;
    }
    .modal-content-shtype {
        width: 90%;
        padding: 25px;
    }
    
    .offer-container-content {
        padding: 15px;
    }
    
    .image-offer-text {
        gap: 15px;
    }
    
    .offer-text-container > h1 {
        font-size: 1rem;
    }
    
    .offer-text-container > h2 {
        font-size: 0.85rem;
    }
}

@media (max-width: 900px) {
    .products-row {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding: 10px;
        gap: 15px;
        margin: 0 -15px;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .products-row::-webkit-scrollbar {
        display: none; 
    }
    
    .product-card {
        flex: 0 0 85%;
        min-width: 280px;
        max-width: 85%;
        scroll-snap-align: center;
        margin: 0;
    }
}

@media (max-width: 640px) {
    .modal-content-shtype {
        padding: 20px;
    }

    .offer-container-content {
        flex-direction: column;
        gap: 15px;
    }

    .image-offer-text {
        width: 100%;
    }

    .offer-container-content > button {
        width: 100%;
    }

    .modal-content-shtype h2 {
        font-size: 1.5rem;
    }
    .shtype-modal-container-main {
        padding: 10px;
    }
    
    .modal-content-shtype {
        padding: 20px 15px;
        width: 95%;
        border-radius: 15px;
    }

    .offer-container-content {
        flex-direction: column;
        gap: 15px;
        padding: 12px;
    }

    .image-offer-text {
        width: 100%;
        justify-content: flex-start;
    }
    
    .image-offer-text > img {
        width: 50px;
        height: 50px;
    }

    .offer-container-content > button {
        width: 100%;
        min-width: unset;
        padding: 10px 15px;
    }

    .modal-content-shtype h2 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .modal-close-x {
        width: 32px;
        height: 32px;
        font-size: 20px;
        right: 15px;
        top: 15px;
    }
}

@media (max-width: 480px) {
    .modal-content-shtype {
        padding: 15px 12px;
    }
    
    .offer-container {
        margin-top: 20px;
        margin-bottom: 15px;
    }
    
    .image-offer-text > img {
        width: 40px;
        height: 40px;
        border-radius: 8px;
    }
    
    .offer-text-container > h1 {
        font-size: 0.9rem;
    }
    
    .offer-text-container > h2 {
        font-size: 0.8rem;
    }
    
    .modal-content-shtype h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 1024px) {
    .modal-content-shtype {
        width: 95%;
        max-width: 650px;
    }
}