@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//emktaba.com/wp-content/themes/theme/fonts/woodmart-font-2-400.woff2?v=8.2.7") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//emktaba.com/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//emktaba.com/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//emktaba.com/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//emktaba.com/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//emktaba.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//emktaba.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//emktaba.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//emktaba.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 600;
	--wd-text-color: #767676;
	--wd-text-font-size: 15px;
	--wd-title-font: "Lexend Deca", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 500;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Lexend Deca", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Lexend Deca", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Lexend Deca", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: capitalize;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Open Sans", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 13px;
	--wd-brd-radius: 10px;
	--wd-primary-color: rgb(130,36,227);
	--wd-alternative-color: rgb(130,36,227);
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-bgcolor: rgb(117,1,210);
	--btn-default-bgcolor-hover: rgb(117,1,210);
	--btn-default-color: rgb(117,1,210);
	--btn-default-color-hover: rgb(117,1,210);
	--btn-accented-bgcolor: rgb(117,1,210);
	--btn-accented-bgcolor-hover: rgb(117,1,210);
	--btn-transform: capitalize;
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	--wd-popup-width: 800px;
}
:is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: rgb(131,103,219);
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: rgb(55,38,89);
	background-image: none;
}
html .wd-nav-mobile > li > a {
	text-transform: capitalize;
}
html .post.wd-post:not(.blog-design-small) .wd-entities-title {
	font-size: 18px;
}
.page .wd-page-content {
	background-color: rgb(246,246,246);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) .wd-page-content {
	background-color: rgb(246,246,246);
	background-image: none;
}
.single-product .wd-page-content {
	background-color: rgb(246,246,246);
	background-image: none;
}
.woodmart-archive-blog .wd-page-content {
	background-color: rgb(246,246,246);
	background-image: none;
}
html .wd-buy-now-btn {
	background: rgb(107,163,49);
}
html .wd-buy-now-btn:hover {
	background: rgb(95,158,44);
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-bg: rgb(255,255,255);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1400px;
--wd-form-brd-radius: 5px;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
}

@media (min-width: 1400px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


<div class="emaktaba-thankyou-box">

    <div class="emaktaba-celebration-wrap">

        <span class="em-confetti c1"></span>
        <span class="em-confetti c2"></span>
        <span class="em-confetti c3"></span>
        <span class="em-confetti c4"></span>
        <span class="em-confetti c5"></span>
        <span class="em-confetti c6"></span>
        <span class="em-confetti c7"></span>
        <span class="em-confetti c8"></span>
        <span class="em-confetti c9"></span>
        <span class="em-confetti c10"></span>
        <span class="em-confetti c11"></span>
        <span class="em-confetti c12"></span>
        <span class="em-confetti c13"></span>
        <span class="em-confetti c14"></span>
        <span class="em-confetti c15"></span>
        <span class="em-confetti c16"></span>
        <span class="em-confetti c17"></span>
        <span class="em-confetti c18"></span>

        <div class="emaktaba-thankyou-icon">
            <svg viewBox="0 0 24 24" aria-hidden="true">
                <path d="M9.2 16.2 4.8 11.8 3.4 13.2 9.2 19 21 7.2 19.6 5.8Z"></path>
            </svg>
        </div>

    </div>

    <h1>Merci pour votre commande !</h1>

    <p class="emaktaba-thankyou-subtitle">
        Votre commande a bien été reçue et sera traitée dans les plus brefs délais.
    </p>

    <p class="emaktaba-thankyou-info">
        Vous recevrez prochainement une confirmation contenant les informations de votre commande.
    </p>

    <div class="emaktaba-thankyou-arrow">↓</div>

    <a class="emaktaba-thankyou-button" href="/boutique/">
        Continuer mes achats
    </a>

</div>

<style>

/* =========================================================
   EMAKTABA - THANK YOU PAGE COMPLETE DESIGN
========================================================= */

body.woocommerce-order-received {
    background: #f8f8fa;
}

body.woocommerce-order-received .main-page-wrapper,
body.woocommerce-order-received .site-content,
body.woocommerce-order-received .container,
body.woocommerce-order-received .woocommerce {
    width: 100%;
    max-width: 100%;
    background: transparent;
}

.emaktaba-thankyou-box,
.emaktaba-thankyou-box *,
.woocommerce-order,
.woocommerce-order * {
    box-sizing: border-box;
}


/* =========================================================
   THANK YOU BANNER CARD
========================================================= */

.emaktaba-thankyou-box {
    position: relative;
    width: calc(100% - 30px);
    max-width: 980px;
    margin: 32px auto 28px;
    padding: 45px 35px 40px;
    overflow: hidden;
    text-align: center;
    font-family: "Poppins", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(124, 58, 237, 0.07), transparent 30%),
        radial-gradient(circle at bottom right, rgba(184, 61, 221, 0.06), transparent 30%),
        #ffffff;
    border: 1px solid #e6dcf5;
    border-radius: 16px;
    box-shadow: 0 14px 38px rgba(63, 43, 92, 0.08);
}

.emaktaba-thankyou-box::before {
    content: "";
    position: absolute;
    top: -105px;
    left: -105px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.035);
    pointer-events: none;
}

.emaktaba-thankyou-box::after {
    content: "";
    position: absolute;
    right: -100px;
    bottom: -115px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(184, 61, 221, 0.035);
    pointer-events: none;
}


/* =========================================================
   CELEBRATION ICON + EXPLOSION EFFECT
========================================================= */

.emaktaba-celebration-wrap {
    position: relative;
    z-index: 3;
    width: 160px;
    height: 130px;
    margin: 0 auto 8px;
}

.emaktaba-thankyou-icon {
    position: absolute;
    top: 56%;
    left: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    background: #f2eaff;
    border-radius: 50%;
    box-shadow:
        0 10px 28px rgba(109, 40, 217, 0.16),
        0 0 0 10px rgba(124, 58, 237, 0.06);
    transform: translate(-50%, -50%);
    animation:
        emaktabaIconPop 0.85s ease both,
        emaktabaIconFloat 2.8s ease-in-out infinite 1s;
}

.emaktaba-thankyou-icon::before,
.emaktaba-thankyou-icon::after {
    content: "";
    position: absolute;
    inset: -8px;
    border: 2px solid rgba(124, 58, 237, 0.18);
    border-radius: 50%;
    animation: emaktabaRing 2.2s ease-out infinite;
}

.emaktaba-thankyou-icon::after {
    animation-delay: 1.1s;
}

.emaktaba-thankyou-icon svg {
    position: relative;
    z-index: 6;
    width: 32px;
    height: 32px;
    fill: #7c3aed;
}


/* =========================================================
   CONFETTI BURST BEHIND ICON
========================================================= */

.em-confetti {
    position: absolute;
    top: 56%;
    left: 50%;
    z-index: 2;
    display: block;
    opacity: 0;
    transform: translate(-50%, -50%);
    animation: emBurst 3s ease-out infinite;
}

.em-confetti::before {
    content: "";
    display: block;
}

/* curly ribbons */
.em-confetti.c1::before,
.em-confetti.c4::before,
.em-confetti.c7::before,
.em-confetti.c10::before,
.em-confetti.c13::before,
.em-confetti.c16::before {
    width: 24px;
    height: 12px;
    border: 3px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
}

/* small rectangle pieces */
.em-confetti.c2::before,
.em-confetti.c5::before,
.em-confetti.c8::before,
.em-confetti.c11::before,
.em-confetti.c14::before,
.em-confetti.c17::before {
    width: 7px;
    height: 16px;
    border-radius: 2px;
    background: currentColor;
}

/* little round / short pieces */
.em-confetti.c3::before,
.em-confetti.c6::before,
.em-confetti.c9::before,
.em-confetti.c12::before,
.em-confetti.c15::before,
.em-confetti.c18::before {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
}

.em-confetti.c1  { color:#8b5cf6; --x:-82px; --y:-58px; --r:140deg; --d:0s;    }
.em-confetti.c2  { color:#f59e0b; --x:-58px; --y:-78px; --r:310deg; --d:.08s; }
.em-confetti.c3  { color:#38bdf8; --x:-20px; --y:-86px; --r:210deg; --d:.16s; }
.em-confetti.c4  { color:#ec4899; --x:28px;  --y:-82px; --r:160deg; --d:.24s; }
.em-confetti.c5  { color:#22c55e; --x:63px;  --y:-68px; --r:290deg; --d:.32s; }
.em-confetti.c6  { color:#f97316; --x:88px;  --y:-34px; --r:120deg; --d:.40s; }
.em-confetti.c7  { color:#3b82f6; --x:95px;  --y:8px;   --r:250deg; --d:.48s; }
.em-confetti.c8  { color:#a855f7; --x:77px;  --y:48px;  --r:330deg; --d:.56s; }
.em-confetti.c9  { color:#eab308; --x:42px;  --y:80px;  --r:210deg; --d:.64s; }
.em-confetti.c10 { color:#06b6d4; --x:-4px;  --y:88px;  --r:145deg; --d:.72s; }
.em-confetti.c11 { color:#84cc16; --x:-46px; --y:80px;  --r:305deg; --d:.80s; }
.em-confetti.c12 { color:#ef4444; --x:-78px; --y:52px;  --r:220deg; --d:.88s; }
.em-confetti.c13 { color:#9333ea; --x:-98px; --y:12px;  --r:180deg; --d:.96s; }
.em-confetti.c14 { color:#f59e0b; --x:-86px; --y:-26px; --r:260deg; --d:1.04s;}
.em-confetti.c15 { color:#0ea5e9; --x:12px;  --y:-96px; --r:320deg; --d:1.12s;}
.em-confetti.c16 { color:#c026d3; --x:56px;  --y:-90px; --r:205deg; --d:1.20s;}
.em-confetti.c17 { color:#65a30d; --x:96px;  --y:26px;  --r:345deg; --d:1.28s;}
.em-confetti.c18 { color:#fb7185; --x:18px;  --y:96px;  --r:135deg; --d:1.36s;}

.em-confetti {
    animation-delay: var(--d);
}


/* =========================================================
   THANK YOU TEXT
========================================================= */

.emaktaba-thankyou-box h1 {
    position: relative;
    z-index: 3;
    margin: 0 0 12px;
    padding: 0;
    color: #30293a;
    font-family: "Poppins", sans-serif;
    font-size: 32px;
    line-height: 1.3;
    font-weight: 750;
}

.emaktaba-thankyou-subtitle {
    position: relative;
    z-index: 3;
    max-width: 720px;
    margin: 0 auto 8px;
    color: #514b58;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 500;
}

.emaktaba-thankyou-info {
    position: relative;
    z-index: 3;
    max-width: 690px;
    margin: 0 auto;
    color: #8c8692;
    font-size: 14px;
    line-height: 1.7;
}

.emaktaba-thankyou-arrow {
    position: relative;
    z-index: 3;
    margin: 16px 0 14px;
    color: #7c3aed;
    font-size: 29px;
    line-height: 1;
    font-weight: 700;
    animation: emaktabaArrowMove 1.6s ease-in-out infinite;
}


/* =========================================================
   CONTINUE SHOPPING BUTTON
========================================================= */

.emaktaba-thankyou-button {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 285px;
    min-height: 53px;
    padding: 14px 30px;
    overflow: hidden;
    color: #ffffff !important;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    text-decoration: none !important;
    background: linear-gradient(110deg, #6d28d9 0%, #8b2be2 55%, #b83ddd 100%);
    border: 0;
    border-radius: 9px;
    box-shadow: 0 10px 25px rgba(109, 40, 217, 0.22);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.emaktaba-thankyou-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -110%;
    width: 65%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    transform: skewX(-20deg);
    transition: left 0.65s ease;
}

.emaktaba-thankyou-button:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(109, 40, 217, 0.29);
}

.emaktaba-thankyou-button:hover::before {
    left: 150%;
}


/* =========================================================
   ELEMENTOR FULL WIDTH FIX
========================================================= */

body.woocommerce-order-received .elementor-section,
body.woocommerce-order-received .elementor-container,
body.woocommerce-order-received .elementor-widget-wrap,
body.woocommerce-order-received .elementor-widget-html,
body.woocommerce-order-received .elementor-widget-container {
    width: 100% !important;
    max-width: 100% !important;
}


/* =========================================================
   WOOCOMMERCE ORDER CONTAINER
========================================================= */

body.woocommerce-order-received .woocommerce-order {
    width: calc(100% - 30px);
    max-width: 980px;
    margin: 0 auto;
    padding: 0 0 60px;
    font-family: "Poppins", sans-serif;
}

body.woocommerce-order-received
.woocommerce-order
.woocommerce-thankyou-order-received {
    display: none !important;
}


/* =========================================================
   TOP ORDER INFORMATION
========================================================= */

body.woocommerce-order-received
.woocommerce-order
ul.order_details {
    display: grid !important;
    grid-template-columns:
        1.05fr
        1fr
        1.65fr
        0.9fr
        1.25fr;
    width: 100%;
    margin: 0 0 25px !important;
    padding: 0 !important;
    overflow: hidden;
    list-style: none !important;
    background: #ffffff;
    border: 1px solid #e7def2;
    border-radius: 15px;
    box-shadow: 0 12px 32px rgba(58, 39, 83, 0.065);
}

body.woocommerce-order-received
.woocommerce-order
ul.order_details::before,
body.woocommerce-order-received
.woocommerce-order
ul.order_details::after {
    display: none !important;
}

body.woocommerce-order-received
.woocommerce-order
ul.order_details li {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    float: none !important;
    width: auto !important;
    min-height: 125px;
    margin: 0 !important;
    padding: 21px 14px !important;
    color: #6e6874;
    text-align: center;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 500;
    text-transform: none;
    border: 0 !important;
    border-right: 1px solid #eae3f2 !important;
}

body.woocommerce-order-received
.woocommerce-order
ul.order_details li:last-child {
    border-right: 0 !important;
}

body.woocommerce-order-received
.woocommerce-order
ul.order_details li strong {
    display: block;
    margin-top: 8px;
    color: #2e2835;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 700;
    text-transform: none;
    overflow-wrap: anywhere;
}


/* =========================================================
   PAYMENT MESSAGE
========================================================= */

body.woocommerce-order-received
.woocommerce-order
> p:not(.woocommerce-thankyou-order-received) {
    margin: 0 0 24px;
    padding: 0 3px;
    color: #817b87;
    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   ORDER DETAILS CARD
========================================================= */

body.woocommerce-order-received
.woocommerce-order
.woocommerce-order-details {
    margin: 0 0 25px;
    padding: 34px 32px 25px;
    background: #ffffff;
    border: 1px solid #e7def2;
    border-radius: 15px;
    box-shadow: 0 12px 32px rgba(58, 39, 83, 0.065);
}

body.woocommerce-order-received
.woocommerce-order
.woocommerce-order-details__title {
    margin: 0 0 27px;
    padding: 0;
    color: #302a37;
    font-family: "Poppins", sans-serif;
    font-size: 24px;
    line-height: 1.35;
    font-weight: 700;
}


/* =========================================================
   ORDER TABLE
========================================================= */

body.woocommerce-order-received
.woocommerce-order
table.shop_table {
    width: 100%;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-collapse: collapse !important;
}

body.woocommerce-order-received
.woocommerce-order
table.shop_table thead th {
    padding: 14px 0 16px !important;
    color: #302a37;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
    text-transform: uppercase;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #e8e1ef !important;
}

body.woocommerce-order-received
.woocommerce-order
table.shop_table th:last-child,
body.woocommerce-order-received
.woocommerce-order
table.shop_table td:last-child {
    text-align: right;
}

body.woocommerce-order-received
.woocommerce-order
table.shop_table tbody td,
body.woocommerce-order-received
.woocommerce-order
table.shop_table tfoot th,
body.woocommerce-order-received
.woocommerce-order
table.shop_table tfoot td {
    padding: 17px 0 !important;
    color: #534d59;
    font-size: 13px;
    line-height: 1.65;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #ebe5f1 !important;
}

body.woocommerce-order-received
.woocommerce-order
table.shop_table tbody td.product-name {
    color: #312b38;
    font-size: 14px;
    font-weight: 600;
}

body.woocommerce-order-received
.woocommerce-order
table.shop_table tfoot th {
    color: #342e3a;
    font-size: 13px;
    font-weight: 700;
}

body.woocommerce-order-received
.woocommerce-order
table.shop_table .amount,
body.woocommerce-order-received
.woocommerce-order
table.shop_table .woocommerce-Price-amount {
    color: #7c3aed;
    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   CUSTOMER ADDRESSES CARD
========================================================= */

body.woocommerce-order-received
.woocommerce-order
.woocommerce-customer-details {
    margin: 0;
    padding: 26px;
    background: #ffffff;
    border: 1px solid #e7def2;
    border-radius: 15px;
    box-shadow: 0 12px 32px rgba(58, 39, 83, 0.065);
}

body.woocommerce-order-received
.woocommerce-order
.woocommerce-columns {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin: 0 !important;
}

body.woocommerce-order-received
.woocommerce-order
.woocommerce-column {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 27px 25px !important;
    background: #faf8ff;
    border: 1px solid #e3d5f7;
    border-radius: 12px;
}

body.woocommerce-order-received
.woocommerce-order
.woocommerce-column h2,
body.woocommerce-order-received
.woocommerce-order
.woocommerce-column h3 {
    margin: 0 0 18px;
    padding: 0;
    color: #302a37;
    font-family: "Poppins", sans-serif;
    font-size: 19px;
    line-height: 1.4;
    font-weight: 700;
}

body.woocommerce-order-received
.woocommerce-order
address {
    margin: 0;
    color: #67616d;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    line-height: 1.95;
    font-style: normal;
}

body.woocommerce-order-received
.woocommerce-order
address p {
    margin: 5px 0 0;
    color: #67616d;
    font-size: 14px;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes emaktabaIconPop {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3);
    }

    65% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.15);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes emaktabaIconFloat {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-4px);
    }
}

@keyframes emaktabaRing {
    0% {
        opacity: 0.6;
        transform: scale(0.7);
    }

    100% {
        opacity: 0;
        transform: scale(1.65);
    }
}

@keyframes emaktabaArrowMove {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

@keyframes emBurst {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.2) rotate(0deg);
    }

    10% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(15deg);
    }

    68% {
        opacity: 1;
        transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--r));
    }

    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y) + 10px)) rotate(calc(var(--r) + 40deg));
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    body.woocommerce-order-received
    .woocommerce-order
    ul.order_details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.woocommerce-order-received
    .woocommerce-order
    ul.order_details li {
        border-right: 1px solid #eae3f2 !important;
        border-bottom: 1px solid #eae3f2 !important;
    }

    body.woocommerce-order-received
    .woocommerce-order
    ul.order_details li:nth-child(2n) {
        border-right: 0 !important;
    }

    body.woocommerce-order-received
    .woocommerce-order
    ul.order_details li:last-child {
        grid-column: span 2;
        border-right: 0 !important;
        border-bottom: 0 !important;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .emaktaba-thankyou-box {
        width: calc(100% - 20px);
        margin: 20px auto 24px;
        padding: 34px 17px 30px;
        border-radius: 13px;
    }

    .emaktaba-celebration-wrap {
        width: 125px;
        height: 110px;
        margin-bottom: 6px;
    }

    .emaktaba-thankyou-icon {
        width: 62px;
        height: 62px;
    }

    .emaktaba-thankyou-icon svg {
        width: 28px;
        height: 28px;
    }

    .emaktaba-thankyou-box h1 {
        font-size: 24px;
    }

    .emaktaba-thankyou-subtitle {
        font-size: 14px;
    }

    .emaktaba-thankyou-info {
        font-size: 13px;
    }

    .emaktaba-thankyou-button {
        width: 100%;
        min-width: 0;
    }

    body.woocommerce-order-received
    .woocommerce-order {
        width: calc(100% - 20px);
        padding-bottom: 40px;
    }

    body.woocommerce-order-received
    .woocommerce-order
    ul.order_details {
        grid-template-columns: 1fr;
    }

    body.woocommerce-order-received
    .woocommerce-order
    ul.order_details li,
    body.woocommerce-order-received
    .woocommerce-order
    ul.order_details li:nth-child(2n),
    body.woocommerce-order-received
    .woocommerce-order
    ul.order_details li:last-child {
        grid-column: auto;
        min-height: auto;
        padding: 19px 14px !important;
        border-right: 0 !important;
        border-bottom: 1px solid #eae3f2 !important;
    }

    body.woocommerce-order-received
    .woocommerce-order
    ul.order_details li:last-child {
        border-bottom: 0 !important;
    }

    body.woocommerce-order-received
    .woocommerce-order
    .woocommerce-order-details {
        padding: 25px 18px 18px;
        border-radius: 13px;
    }

    body.woocommerce-order-received
    .woocommerce-order
    .woocommerce-order-details__title {
        font-size: 21px;
    }

    body.woocommerce-order-received
    .woocommerce-order
    .woocommerce-customer-details {
        padding: 17px;
        border-radius: 13px;
    }

    body.woocommerce-order-received
    .woocommerce-order
    .woocommerce-columns {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    body.woocommerce-order-received
    .woocommerce-order
    .woocommerce-column {
        padding: 22px 18px !important;
    }

    body.woocommerce-order-received
    .woocommerce-order
    .woocommerce-column h2,
    body.woocommerce-order-received
    .woocommerce-order
    .woocommerce-column h3 {
        font-size: 18px;
    }

    body.woocommerce-order-received
    .woocommerce-order
    address,
    body.woocommerce-order-received
    .woocommerce-order
    address p {
        font-size: 14px;
    }

    body.woocommerce-order-received
    .woocommerce-order
    table.shop_table thead th,
    body.woocommerce-order-received
    .woocommerce-order
    table.shop_table tbody td,
    body.woocommerce-order-received
    .woocommerce-order
    table.shop_table tfoot th,
    body.woocommerce-order-received
    .woocommerce-order
    table.shop_table tfoot td {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .emaktaba-thankyou-icon,
    .emaktaba-thankyou-icon::before,
    .emaktaba-thankyou-icon::after,
    .emaktaba-thankyou-arrow,
    .em-confetti {
        animation: none !important;
    }
}


/* Hide old WoodMart cart/checkout banner */
body.woocommerce-cart .wd-checkout-steps,
body.woocommerce-checkout .wd-checkout-steps,
body.woocommerce-cart .cart-checkout-nav,
body.woocommerce-checkout .cart-checkout-nav,
body.woocommerce-cart .checkout-steps,
body.woocommerce-checkout .checkout-steps,
body.woocommerce-cart .page-title,
body.woocommerce-checkout .page-title {
    display: none !important;
}


</style>

