/* ==============================================
   MARCK BRAND PAGE
   ============================================== */

/* ── Hero Text Block ─────────────────────── */
.mk_hero_text_block {
    width: 100%;
    background: #fff;
    padding: 40px 0;
}
.mk_hero_text_block_inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 25px;
    text-align: center;
}
.mk_hero_text_block_inner h1 {
    font-size: 42px;
    font-weight: 800;
    color: #2d2d2d;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.mk_hero_text_block_inner p {
    font-size: 16px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 14px;
}
.mk_hero_cta {
    display: inline-block;
    text-decoration: none;
    background: #8cc63f;
    color: #fff;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(140, 198, 63, 0.3);
}
.mk_hero_cta:hover {
    background: #7ab82a;
    box-shadow: 0 8px 25px rgba(140, 198, 63, 0.45);
    transform: translateY(-2px);
}

/* ── Gamme / Range Section ──────────────── */
.mk_gamme {
    width: 100%;
    padding: 60px 0;
    background: #fff;
}
.mk_gamme_inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 25px;
}
.mk_gamme_title {
    text-align: center;
    color: #2d2d2d;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.mk_gamme_title::after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background: #8cc63f;
    margin: 10px auto 0;
    border-radius: 2px;
}
.mk_gamme_desc {
    text-align: center;
    color: #777;
    font-size: 15px;
    max-width: 650px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
}
.mk_gamme_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.mk_gamme_card {
    display: block;
    text-decoration: none;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}
.mk_gamme_card:hover {
    border-color: #8cc63f;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}
.mk_gamme_card_img {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.mk_gamme_card_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mk_gamme_card_label {
    padding: 16px 14px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #2d2d2d;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}
.mk_gamme_card:hover .mk_gamme_card_label {
    color: #7ab82a;
}

/* ── Products Section ───────────────────── */
.mk_products {
    width: 100%;
    padding: 60px 0;
    background: #fafcf9;
}
.mk_products_inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 25px;
}
.mk_products_title {
    text-align: center;
    color: #2d2d2d;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.mk_products_title::after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background: #8cc63f;
    margin: 10px auto 0;
    border-radius: 2px;
}
.mk_products_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ── Product Card ───────────────────────── */
.mk_product_card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.mk_product_card:hover {
    border-color: #8cc63f;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}
.mk_product_badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mk_badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.4;
}
.mk_badge_bestseller {
    background: #fff3cd;
    color: #856404;
}
.mk_badge_new {
    background: #d4edda;
    color: #155724;
}
.mk_badge_oos {
    background: #f8d7da;
    color: #721c24;
}
.mk_badge_pack {
    background: #cce5ff;
    color: #004085;
}
.mk_product_img {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    background: #fafcfa;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.mk_product_img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}
.mk_product_card:hover .mk_product_img img {
    transform: scale(1.05);
}
.mk_product_name {
    font-size: 14px;
    font-weight: 600;
    color: #2d2d2d;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 60px;
}
.mk_product_name a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}
.mk_product_name a:hover {
    color: #7ab82a;
}
.mk_product_price {
    font-size: 18px;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 6px;
}
.mk_currency {
    font-size: 14px;
    font-weight: 600;
    color: #555;
}
.mk_product_oos {
    font-size: 12px;
    color: #e74c3c;
    font-weight: 600;
    margin-bottom: 8px;
}
.mk_product_btn {
    display: inline-block;
    text-decoration: none;
    background: #8cc63f;
    color: #fff;
    padding: 10px 34px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.mk_product_btn:hover {
    background: #7ab82a;
    color: #fff;
}
.mk_product_btn.mk_btn_oos {
    background: #bbb;
    cursor: default;
}
.mk_product_btn.mk_btn_oos:hover {
    background: #999;
}

/* ── Back to Top ────────────────────────── */
.mk_back_to_top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #8cc63f;
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.35s ease;
    box-shadow: 0 4px 15px rgba(140, 198, 63, 0.35);
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mk_back_to_top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.mk_back_to_top:hover {
    background: #7ab82a;
    transform: translateY(-3px);
}

/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 1200px) {
    .mk_products_grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
}

@media (max-width: 992px) {
    .mk_hero_text_block_inner h1 {
        font-size: 34px;
    }
    .mk_hero_text_block {
        padding: 30px 0;
    }
    .mk_gamme_grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mk_products_grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
}

@media (max-width: 768px) {
    .mk_hero_text_block_inner h1 {
        font-size: 28px;
    }
    .mk_hero_text_block_inner p {
        font-size: 14px;
    }
    .mk_hero_text_block {
        padding: 25px 0;
    }
    .mk_gamme {
        padding: 40px 0;
    }
    .mk_gamme_title,
    .mk_products_title {
        font-size: 26px;
    }
    .mk_products_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .mk_product_name {
        font-size: 13px;
        min-height: 52px;
    }
    .mk_product_price {
        font-size: 16px;
    }
    .mk_product_btn {
        padding: 8px 24px;
        font-size: 13px;
    }
    .mk_hero_cta {
        padding: 12px 28px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .mk_hero_text_block_inner {
        padding: 0 15px;
    }
    .mk_hero_text_block_inner h1 {
        font-size: 24px;
        letter-spacing: 1px;
    }
    .mk_hero_text_block {
        padding: 20px 0;
    }
    .mk_hero_cta {
        padding: 12px 26px;
        font-size: 13px;
    }
    .mk_gamme_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .mk_gamme_card_label {
        font-size: 13px;
        padding: 12px 10px;
    }
    .mk_gamme_title,
    .mk_products_title {
        font-size: 22px;
    }
    .mk_products_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .mk_product_card {
        padding: 10px;
    }
    .mk_product_name {
        font-size: 12px;
        min-height: 46px;
    }
    .mk_product_price {
        font-size: 15px;
    }
    .mk_currency {
        font-size: 12px;
    }
    .mk_badge {
        font-size: 10px;
        padding: 3px 7px;
    }
    .mk_back_to_top {
        width: 38px;
        height: 38px;
        bottom: 20px;
        right: 20px;
        font-size: 16px;
    }
}
