/* ==========================================================
   KREABEL SLIDER - PIXEL PERFECT (AVEC PREFIXES K-)
   ========================================================== */

.kreabel-slider-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    background: #F9F9F9;
}

.kreabelSwiper {
    width: 100%;
    height: 580px;
}

/* On isole le slider pour ne pas casser les autres sur le site */
.kreabelSwiper .swiper-wrapper,
.kreabelSwiper .swiper-slide {
    height: 100%;
}

.kreabelSwiper .swiper-slide {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    background: #efefef;
}

/* ==========================================================
   BACKGROUND / IMAGE
   ========================================================== */

.k-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.k-slide-bg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slide ambiance */
.k-is-visual-slide .k-slide-bg {
    object-fit: cover;
    object-position: center center;
}

/* Slide produit */
.k-is-product-slide .k-slide-bg {
    object-fit: contain;
    object-position: right bottom;
    background: #efefef;
}

/* ==========================================================
   OVERLAY
   ========================================================== */

.k-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.k-is-visual-slide .k-slide-overlay {
    background: linear-gradient(90deg, rgba(0,0,0,.40) 0%, rgba(0,0,0,.18) 28%, rgba(0,0,0,0) 60%);
}

.k-is-product-slide .k-slide-overlay {
    background: transparent;
}

/* ==========================================================
   LOGO
   ========================================================== */

.k-logo {
    position: absolute;
    top: 60px;
    right: 86px;
    z-index: 6;
    width: 227px !important;
    height: 53px !important;
	min-width: 227px !important;
    object-fit: contain;
}

/* ==========================================================
   CONTENT
   ========================================================== */

.k-slide-content {
    position: absolute;
    z-index: 5;
    top: var(--pos-t, 54px);
    left: var(--pos-l, 56px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 620px;
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s ease, transform .65s ease;
}

.kreabelSwiper .swiper-slide-active .k-slide-content {
    opacity: 1;
    transform: translateY(0);
}

/* Slide 1 ambiance */
.k-is-visual-slide .k-slide-content {
    top: 56px;
    left: 56px;
    max-width: 540px;
    justify-content: flex-start;
}

/* Slide 2 produit */
.k-is-product-slide .k-slide-content {
    top: 62px;
    left: 102px;
    max-width: 278px;
}

.k-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    margin: 0 0 62px 0;
    border-radius: 999px;
    background: var(--badge-bg, #000);
    color: var(--badge-t, #fff);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    box-sizing: border-box;
}

.k-title {
    margin: 0;
    color: var(--title-c, #000);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.k-title p {
    margin: 0;
}

/* Titre slide ambiance */
.k-is-visual-slide .k-title {
	width: 278px;
	font-family: 'Raleway';
	font-style: normal;
	font-weight: 700;
	font-size: 44px;
	line-height: 42px;
	color: var(--title-c, #000) !important;
}

/* Titre slide produit */
.k-is-product-slide .k-title {
    width: 278px;
	font-family: 'Raleway';
	font-style: normal;
	font-weight: 700;
	font-size: 44px;
	line-height: 42px;
	color: #000000;
}

.k-sub {
    margin: 8px 0 0 0;
    color: var(--sub-c, #000);
    font-weight: 400;
    letter-spacing: -0.03em;
}

/* Sous-titre slide ambiance */
.k-is-visual-slide .k-sub {
    font-size: 40px;
    line-height: 15px;
    color: var(--sub-c, #000);
    margin-top: 8px;
}

/* Sous-titre slide produit */
.k-is-product-slide .k-sub {
    font-size: 22px;
    line-height: 1.2;
    color: #000;
    margin-top: 10px;
}

/* ==========================================================
   PRIX
   ========================================================== */

.k-prices {
    display: flex;
    align-items: baseline;
    gap: 0;
    margin: 28px 0 30px;
}

.k-p-now {
    color: var(--title-c, #000);
    font-family: Raleway;
    font-size: 44px;
    font-style: normal;
    font-weight: 700;
    line-height: 15px;
}

.k-p-old {
    margin-left: 8px;
    color: rgba(0,0,0,.72);
    font-size: clamp(18px, 1.35vw, 28px);
    line-height: 1;
    font-weight: 400;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

/* ==========================================================
   BOUTON
   ========================================================== */

.k-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 18px;
	width: 223px;
	height: 55px;
	min-width: 180px;
    border-radius: 20px;
    background: var(--btn-bg, #2d80df);
    color: var(--btn-t, #fff);
    text-decoration: none;
    box-sizing: border-box;
	text-align: center;
    font-family: Raleway;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    transition: transform .2s ease, filter .2s ease;
}

.k-btn:hover {
    color: var(--btn-t, #fff);
    filter: brightness(.96);
    transform: translateY(-1px);
}

.k-btn-icon {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
}

/* ==========================================================
   GROS DISCOUNT
   ========================================================== */

.k-giant-discount {
    margin-top: 22px;
    color: var(--disc-t, #fff);
    font-size: clamp(82px, 8vw, 146px);
    line-height: .9;
    font-weight: 800;
    letter-spacing: -0.07em;
}

/* ==========================================================
   LAYER PRODUCT
   ========================================================== */

.k-layer-wrapper {
    position: absolute;
    right: 0;
    top: 40px;
    z-index: 4;
    width: 85%;
	min-width: unset !important;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    opacity: 0;
    transform: translateX(0px);
    transition: opacity .75s ease .15s, transform .75s ease .15s;
}

.kreabelSwiper .swiper-slide-active .k-layer-wrapper {
    opacity: 1;
    transform: translateX(0);
}

.k-layer-img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: right bottom;
}

/* ==========================================================
   PAGINATION
   ========================================================== */

.kreabel-pagination.swiper-pagination {
    position: absolute;
    left: 50% !important;
    bottom: 34px !important;
    transform: translateX(-50%);
    z-index: 8;
    width: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kreabel-slider-container .kreabel-pagination .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    margin: 0 7px !important;
    opacity: 1;
    background: #cfcfcf;
    border-radius: 999px;
    transition: all .25s ease;
}

.kreabel-slider-container .kreabel-pagination .swiper-pagination-bullet-active {
    width: 58px;
    background: #2d80df;
}

/* ==========================================================
   NAV NEXT
   ========================================================== */

.kreabel-nav-next {
    position: absolute;
    right: 34px;
    bottom: 34px;
    z-index: 9;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease;
}

.kreabel-nav-next:hover {
    transform: translateY(-1px);
}

.kreabel-nav-next svg {
    width: 28px;
    height: 28px;
}

.k-is-visual-slide .kreabel-nav-next,
.k-is-visual-slide ~ .kreabel-nav-next {
    display: flex;
}

/* ==========================================================
   MACARON ROND (Slide Produit)
   ========================================================== */
.k-circle-discount {
    position: absolute;
    bottom: 30px;
    left: -40px;
    z-index: 10;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-color: var(--disc-bg, #FFFB00);
    color: var(--disc-t, #000000);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -2px;
    transform: rotate(-10deg);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

@media (max-width: 991px) {
    .k-circle-discount {
        width: 110px;
        height: 110px;
        font-size: 32px;
        left: -10px;
        bottom: 20px;
    }
}

/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 991px) {
    .kreabelSwiper {
        height: 520px;
    }

    .k-logo {
        top: 24px;
        right: 24px;
        height: 34px;
    }

    .k-is-visual-slide .k-slide-content,
    .k-is-product-slide .k-slide-content {
        top: 26px;
        left: 24px;
        max-width: calc(100% - 48px);
    }

    .k-is-visual-slide .k-title {
        font-size: 42px;
        line-height: .98;
        max-width: 85%;
    }

    .k-is-visual-slide .k-sub {
        font-size: 24px;
    }

    .k-is-product-slide .k-title {
        font-size: 38px;
        max-width: 280px;
    }

    .k-badge {
        min-height: 44px;
        padding: 0 22px;
        font-size: 15px;
        margin-bottom: 24px;
    }

    .k-prices {
        margin: 20px 0 20px;
    }

    .k-p-now {
        font-size: 46px;
    }

    .k-p-old {
        font-size: 22px;
    }

    .k-btn {
        min-width: 240px;
        height: 58px;
        font-size: 19px;
        border-radius: 18px;
        padding: 0 20px 0 24px;
    }

    .k-layer-wrapper {
        width: 68%;
        height: 62%;
    }

    .kreabel-nav-next {
        width: 54px;
        height: 54px;
        right: 24px;
        bottom: 24px;
        border-radius: 16px;
    }

    .kreabel-pagination.swiper-pagination {
        bottom: 26px !important;
    }

    .kreabel-slider-container .kreabel-pagination .swiper-pagination-bullet-active {
        width: 44px;
    }
}

@media (max-width: 767px) {
	.k-btn span{width: 163px;
    text-align: center;}
	.k-btn svg{    width: 20px;
    height: 22px;}
    .kreabel-slider-container,
    .kreabelSwiper .swiper-slide {
        border-radius: 22px;
    }

    .kreabelSwiper {
        height: 439px;
    }

    .k-is-visual-slide .k-slide-bg {
        object-position: center center;
    }

    .k-is-visual-slide .k-slide-overlay {
        background: linear-gradient(180deg, rgba(0,0,0,.20) 0%, rgba(0,0,0,.42) 55%, rgba(0,0,0,.12) 100%);
    }

    .k-is-visual-slide .k-slide-content,
    .k-is-product-slide .k-slide-content {
        top: 22px;
        left: 20px;
        max-width: calc(100% - 34px);
		width: 100%;
		height: 100%;
    }

    .k-logo {
        top: 18px;
        right: 18px;
        height: 28px;
    }

    .k-badge {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		padding: 0px;
		gap: 10px;
		min-width: 180px;
		height: 31px;
		border-radius: 23px;
		font-family: 'Raleway';
		font-style: normal;
		font-weight: 700;
		font-size: 13px;
		line-height: 27px;
		text-align: center;
		justify-content: center;
    }

    .k-is-visual-slide .k-title,
	.k-is-visual-slide .k-title p{
		color: var(--title-c, #000) !important;
        font-size: 34px;
		width: 221px;
		font-family: 'Raleway';
		font-style: normal;
		font-weight: 700;
		font-size: 24px;
		line-height: 24px;     
    }
	
	.k-is-visual-slide .k-title,
	.k-prices{
		 margin-left: 22px;
	}

    .k-is-visual-slide .k-sub {
		width: 215px;
		font-family: 'Raleway';
		font-style: normal;
		font-weight: 400;
		font-size: 20px;
		line-height: 23px;
        margin-top: 10px;
		margin-left: 22px;
    }

    .k-is-product-slide .k-title {
        font-size: 32px;
        max-width: 220px;
    }

    .k-prices {
        margin: 18px 0 18px;
        flex-wrap: wrap;
        gap: 6px;
    }

    .k-p-now {
        font-size: 34px;
    }

    .k-p-old {
        font-size: 18px;
        margin-left: 0;
    }

    .k-btn {
        min-width: 210px;
        height: 52px;
        font-size: 17px;
        border-radius: 16px;
        gap: 12px;
    }

    .k-giant-discount {
        margin-top: 18px;
        font-size: 74px;
    }

    .k-layer-wrapper {
        width: 100%;
        height: 42%;
        right: 0;
        justify-content: center;
    }

    .k-layer-img {
        max-width: 92%;
        max-height: 100%;
        object-position: center bottom;
    }

    .kreabel-nav-next {
        right: 13px;
        bottom: 18px;
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .kreabel-pagination.swiper-pagination {
        bottom: 22px !important;
    }

    .kreabel-slider-container .kreabel-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 5px !important;
    }

    .kreabel-slider-container .kreabel-pagination .swiper-pagination-bullet-active {
        width: 34px;
    }
	/* ==========================================================
   CORRECTIONS MOBILE STRICTES
   ========================================================== */

    .k-logo {
        top: 31px !important;
        right: 17px !important;
        width: 91px !important;
        min-width: 0 !important;
        height: 20px !important;
    }

    .k-slide-content .k-btn {
        position:absolute;
        bottom: 70px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 183px;
        height: 49px;
        border-radius: 15px;
        font-family: 'Raleway';
        font-style: normal;
        font-weight: 700;
        font-size: 13px;
        line-height: 15px;
        text-align: center;
    }

    .k-circle-discount {
        position: absolute;
        bottom: 30px;
        right: 15px;
        left: auto;
        width: 120px;
        height: 120px;
        border-radius: 50%;
        background-color: var(--disc-bg, #FFFB00);
        color: var(--disc-t, #000000);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 38px;
        font-weight: 900;
        line-height: 1;
        transform: rotate(-8deg);
        z-index: 20;
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }

    .k-circle-discount span {
        font-size: 14px;
        font-weight: 700;
        display: block;
        margin-bottom: -2px;
    }

    .k-giant-discount {
        position: absolute;
        bottom: 134px;
        right: 73px;
        width: 86px;
        height: 86px;
        border-radius: 50%;
        background-color: var(--disc-bg, #FFFB00); 
        color: var(--disc-t, #000000); 
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 0;
        z-index: 20;
		font-family: 'Raleway';
		font-style: normal;
		font-weight: 700;
		font-size: 90px;
		line-height: 27px;
		text-align: center;
		transform: rotate(-0.68deg);
		letter-spacing: -8px;
		padding-bottom: 6px;
    }

	.k-is-visual-slide .k-giant-discount {
		font-size: 40px !important;
		line-height: 1;
		letter-spacing: -4px;
	}

    .k-giant-discount b {
		font-family: 'Raleway';
		font-style: normal;
		font-weight: 700;
		font-size: 10px;
		text-align: center;
		letter-spacing: normal;
		transform: rotate(-0.68deg);
        display: block;
    }

	/* ==========================================================
   MACARON ROND MOBILE (Slide Produit Uniquement)
   ========================================================== */
    .k-circle-discount-mobile {
        position: absolute;
        bottom: 25%;
        right: 5%;
        width: 130px;
        height: 130px;
        border-radius: 50%;
        background-color: var(--disc-bg, #FFFB00); 
        color: var(--disc-t, #000000); 
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 42px;
        font-weight: 900;
        line-height: 1;
        letter-spacing: -1px;
        transform: rotate(-8deg);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        z-index: 20;
    }

    .k-circle-discount-mobile span {
        font-size: 15px;
        font-weight: 700;
        display: block;
        margin-bottom: -2px;
        letter-spacing: normal;
    }

    .kreabel-slider-container .kreabel-pagination .swiper-pagination-bullet {
        background: #cfcfcf !important;
        opacity: 1 !important;
        width: 10px !important;
        height: 10px !important;
        margin: 0 6px !important;
        border: none !important;
        box-shadow: none !important;
    }

    .kreabel-slider-container .kreabel-pagination .swiper-pagination-bullet-active {
        width: 34px !important;
        background: #2d80df !important;
        border-radius: 8px !important;
    }
}