/* ======================================== */
/* === 1. IMPORT CZCIONKI === */
/* ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* ======================================== */
/* === 2. STYLE BELKI MENU === */
/* ======================================== */
.mmm-navbar-wrapper {
    width: 100%;
    display: flex;
    justify-content: center; 
    font-family: 'Poppins', sans-serif;
}

.mmm-navbar {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    position: relative; 
}

.mmm-nav-item {
    position: relative; 
}

.mmm-nav-item > a {
    display: block;
    padding: 18px 15px;
    text-decoration: none;
    color: #333; 
    font-weight: 600; 
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.mmm-nav-item:hover > a {
    color: #f09151; 
}

/* ======================================== */
/* === 3. STYLE DROPDOWN === */
/* ======================================== */

.mmm-dropdown {
    position: static; 
}

.mmm-dropdown-content {
    margin-top: 7px;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 1300px; 
    background-color: #ffffff; 
    border-radius: 0 0 20px 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
    border-top: 3px solid #f09151; 
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.mmm-dropdown:hover .mmm-dropdown-content {
    visibility: visible;
    opacity: 1;
}

/* ======================================== */
/* === 4. SIATKA 3+1 (DOPRACOWANE) === */
/* ======================================== */

.mmm-wrapper {
    position: relative;
    padding: 20px; 
    box-sizing: border-box;
    width: 100%;
}

/* Główna siatka (kategorie + kolumna promo) */
.mmm-main-grid-with-promo {
    display: grid;
    grid-template-columns: 3fr 1fr; 
    gap: 15px; 
    align-items: start; 
    max-width: 1300px; 
    margin: 0 auto;
}

/* Kontener na główne kategorie (lewa strona) */
.mmm-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px; 
    min-width: 0;
}

/* Kontener na całą prawą kolumnę (promo + dodatkowe kategorie) */
.mmm-promo-column {
    display: flex;
    flex-direction: column;
    gap: 15px; 
    min-width: 0; 
}


/* ======================================== */
/* === 5. KARTY (KOMPAKTOWE) === */
/* ======================================== */
.mmm-card {
    background-color: #fafafa; 
    border: 1px solid #eeeeee; 
    border-radius: 18px; 
    padding: 18px; 
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    box-shadow: none; 
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    width: 100%; 
}

.mmm-card:hover {
    background-color: #ffffff; 
    border-color: #f09151; 
    transform: translateY(-3px); 
}

.mmm-card h3 {
    font-size: 16px; 
    color: #000; 
    margin-top: 0;
    margin-bottom: 12px; 
    padding-bottom: 0; 
    border-bottom: none; 
}

/* LINK W NAGŁÓWKU */
.mmm-card h3 a {
    font-size: 16px;
    text-decoration: none;
     font-weight: 700 !important;
    color: inherit;
    transition: opacity 0.2s ease;
}
.mmm-card h3 a:hover {
    opacity: 0.8;
}

.mmm-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mmm-card li {
    margin-bottom: 6px; 
}

.mmm-card a {
    text-decoration: none;
    color: #333;
    font-size: 13px; 
    font-weight: 400;
    transition: color 0.2s ease;
    text-transform: none; 
}

.mmm-card a:hover {
    color: #f09151; 
}


/* ======================================== */
/* === 6. KARUZELA PRODUKTÓW === */
/* ======================================== */

.mmm-promo-block {
    background-color: #fafafa;
    border-radius: 18px;
    overflow: hidden; 
    padding: 18px; 
    box-sizing: border-box;
    min-height: auto; 
}

/*
 * JEDYNA DODANA RZECZ W STOSUNKU DO TWOJEGO KODU
 */
.mmm-promo-header {
    font-size: 16px; 
    font-weight: 700 !important; /* Dopasowane do Twojego stylu .mmm-card h3 a */
    color: #000; /* Dopasowane do Twojego stylu .mmm-card h3 */
    margin-top: 0;
    margin-bottom: 15px; /* Odstęp od karuzeli */
    padding-bottom: 0;
    border-bottom: none;
}
/*
 * KONIEC DODANEJ RZECZY
 */


.mmm-product-slider {
    width: 100%;
    height: 100%;
}
.mmm-promo-product {
    text-align: center;
}
.mmm-promo-product a {
    text-decoration: none;
    color: #333;
    display: block;
}
.mmm-promo-product img {
    width: auto !important;
    max-height: 180px !important; 
    object-fit: cover; 
    border-radius: 16px;
    margin-bottom: 15px;
}
.mmm-promo-title {
    font-size: 14px; 
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mmm-promo-price {
    font-size: 15px; 
    font-weight: 600;
    color: #f09151; 
    margin-bottom: 15px;
}
.mmm-promo-price ins {
    text-decoration: none;
    background: none;
}
.mmm-promo-price del {
    font-size: 12px; 
    font-weight: 400;
    color: #999;
    margin-right: 5px;
}
.mmm-promo-link {
    font-size: 13px; 
    font-weight: 600;
    color: #333;
    display: inline-block;
    transition: color 0.2s ease;
}
.mmm-promo-product a:hover .mmm-promo-link {
    color: #f09151;
}

/* ======================================== */
/* === 7. STYLE Paginacji Swipera === */
/* ======================================== */

.mmm-product-slider .swiper-pagination {
    position: relative; 
    bottom: 0;
    margin-top: 15px; 
}

.mmm-product-slider .swiper-pagination-bullet {
    width: 7px; 
    height: 7px;
    background-color: #ccc;
    opacity: 1;
    transition: background-color 0.2s ease;
}

.mmm-product-slider .swiper-pagination-bullet-active {
    background-color: #f09151;
}

/* ======================================== */
/* === 8. NOWE KATEGORIE POD PROMO === */
/* ======================================== */
.mmm-aside-categories {
    display: flex;
    flex-direction: column;
    gap: 15px; 
}