/* Desktop-only product presentation. Mobile is intentionally handled in makhtoum-mobile-polish.css. */
.makhtoum-header__desktop-nav {
    display: none;
}

@media (min-width: 783px) {
    body.single-product {
        background: #faf7ef;
    }

    body.single-product .makhtoum-header__utility {
        min-height: 36px;
        background: #10452f;
    }

    body.single-product .makhtoum-header__main {
        min-height: 104px;
        background: #fffdf9;
        border-bottom: 1px solid #e9e1d3;
        box-shadow: 0 5px 18px rgba(18, 66, 43, .05);
    }

    body.single-product .makhtoum-header__layout {
        display: grid;
        width: min(1540px, calc(100% - 48px)) !important;
        max-width: none !important;
        grid-template-columns: 160px minmax(440px, 1fr) auto;
        align-items: center;
        min-height: 104px;
        gap: 22px;
    }

    body.single-product .makhtoum-menu-toggle,
    body.single-product .makhtoum-header__quick-links,
    body.single-product .makhtoum-header__nav {
        display: none !important;
    }

    body.single-product .makhtoum-header__desktop-nav {
        display: flex;
        grid-column: 2;
        grid-row: 1;
        align-items: center;
        justify-content: center;
        gap: clamp(13px, 1.35vw, 25px);
        min-width: 0;
        padding-top: 47px;
        white-space: nowrap;
    }

    body.single-product .makhtoum-header__desktop-nav > a,
    body.single-product .makhtoum-desktop-categories > button {
        display: inline-flex;
        min-height: 36px;
        align-items: center;
        gap: 5px;
        padding: 0 2px;
        border: 0;
        border-bottom: 2px solid transparent;
        background: transparent;
        color: #173f2d;
        font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
        font-size: 13px;
        font-weight: 800;
        text-decoration: none;
    }

    body.single-product .makhtoum-header__desktop-nav > a:hover,
    body.single-product .makhtoum-header__desktop-nav > a:focus,
    body.single-product .makhtoum-header__desktop-nav > a[aria-current="page"],
    body.single-product .makhtoum-desktop-categories:hover > button,
    body.single-product .makhtoum-desktop-categories:focus-within > button {
        border-bottom-color: #c88d2a;
        color: #a56d16;
    }

    body.single-product .makhtoum-desktop-categories {
        position: relative;
        display: flex;
        align-items: center;
    }

    body.single-product .makhtoum-desktop-categories > button .mk-icon {
        width: 14px;
        height: 14px;
        transition: transform 180ms ease;
    }

    body.single-product .makhtoum-desktop-categories:hover > button .mk-icon,
    body.single-product .makhtoum-desktop-categories:focus-within > button .mk-icon {
        transform: rotate(180deg);
    }

    body.single-product .makhtoum-desktop-categories__panel {
        position: absolute;
        z-index: 80;
        top: calc(100% + 10px);
        right: 50%;
        display: grid;
        visibility: hidden;
        width: min(690px, 70vw);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        padding: 14px;
        border: 1px solid #e5dbc9;
        border-radius: 11px;
        background: rgba(255, 253, 249, .98);
        box-shadow: 0 20px 44px rgba(18, 66, 43, .16);
        opacity: 0;
        transform: translate(50%, 8px);
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    }

    body.single-product .makhtoum-desktop-categories:hover .makhtoum-desktop-categories__panel,
    body.single-product .makhtoum-desktop-categories:focus-within .makhtoum-desktop-categories__panel {
        visibility: visible;
        opacity: 1;
        transform: translate(50%, 0);
    }

    body.single-product .makhtoum-desktop-categories__panel a {
        display: grid;
        min-height: 56px;
        align-content: center;
        gap: 2px;
        padding: 8px 12px;
        border: 1px solid #eee6d9;
        border-radius: 7px;
        background: #fffaf1;
        color: #174932;
        text-decoration: none;
    }

    body.single-product .makhtoum-desktop-categories__panel a:hover,
    body.single-product .makhtoum-desktop-categories__panel a:focus,
    body.single-product .makhtoum-desktop-categories__panel a[aria-current="page"] {
        border-color: #d6b271;
        background: #f2f7f1;
    }

    body.single-product .makhtoum-desktop-categories__panel span {
        font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
        font-size: 13px;
        font-weight: 850;
    }

    body.single-product .makhtoum-desktop-categories__panel small {
        color: #9b6a1d;
        font-size: 10px;
        font-weight: 700;
    }

    body.single-product .makhtoum-header__brand {
        justify-self: start;
    }

    body.single-product .makhtoum-header__logo {
        width: 150px;
        max-height: 78px;
        object-fit: contain;
    }

    body.single-product .makhtoum-header__actions {
        display: grid;
        grid-template-columns: minmax(330px, 1fr) auto auto auto;
        grid-column: 2 / -1;
        grid-row: 1;
        align-items: center;
        gap: 13px;
        min-width: 0;
        padding-bottom: 42px;
    }

    body.single-product .makhtoum-header__actions .makhtoum-search {
        display: flex !important;
    }

    body.single-product .makhtoum-search {
        width: 100%;
        min-width: 0;
        height: 48px;
        border: 1px solid #e4d8c6;
        border-radius: 9px;
        background: #fffaf1;
    }

    body.single-product .makhtoum-search input {
        min-width: 0;
        color: #244e38;
    }

    body.single-product .makhtoum-search button {
        width: 56px;
        border-radius: 8px;
        background: #145236;
        color: #fff;
    }

    body.single-product .makhtoum-header__action {
        min-width: 58px;
        color: #184730;
    }

    body.single-product .makhtoum-header__action .mk-icon {
        width: 24px;
        height: 24px;
    }

    body.single-product #main-container {
        width: min(1540px, calc(100% - 48px)) !important;
        max-width: none !important;
        padding: 0 0 78px;
        background: #faf7ef;
    }

    body.single-product #main-container > .row,
    body.single-product #main-content,
    body.single-product #primary,
    body.single-product #main,
    body.single-product #content {
        width: 100% !important;
        max-width: none !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    body.single-product .woocommerce-breadcrumb {
        width: min(1440px, calc(100% - 56px));
        margin: 26px auto 18px;
        color: #5c7365;
        font-size: 13px;
    }

    body.single-product div.product {
        width: 100%;
        max-width: none;
        margin: 0 auto !important;
        padding: 30px !important;
        border: 1px solid #ebe4d8;
        border-radius: 18px;
        background: #fffdf9;
        box-shadow: 0 18px 44px rgba(18, 66, 43, .08);
    }

    body.single-product div.product > .row {
        display: grid !important;
        grid-template-columns: minmax(520px, 1.12fr) minmax(420px, .88fr);
        gap: 34px !important;
        align-items: start;
    }

    body.single-product div.product .image-mains {
        display: grid;
        min-width: 0;
        padding: 0 !important;
    }

    body.single-product div.product .woocommerce-product-gallery {
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 16px;
        overflow: visible;
        padding: 0;
        border: 0;
        border-radius: 14px;
        background: transparent;
    }

    body.single-product div.product .woocommerce-product-gallery:not(.woocommerce-product-gallery--with-images),
    body.single-product div.product .woocommerce-product-gallery--with-images:not(:has(.flex-control-thumbs)) {
        display: block;
        min-height: clamp(470px, 38vw, 610px);
        overflow: hidden;
        border-radius: 14px;
        background: #f4eee1;
    }

    body.single-product div.product .woocommerce-product-gallery--with-images:not(:has(.flex-control-thumbs)) .woocommerce-product-gallery__wrapper,
    body.single-product div.product .woocommerce-product-gallery--with-images:not(:has(.flex-control-thumbs)) .woocommerce-product-gallery__image,
    body.single-product div.product .woocommerce-product-gallery--with-images:not(:has(.flex-control-thumbs)) .woocommerce-product-gallery__image a {
        display: block;
        width: 100% !important;
        min-height: clamp(470px, 38vw, 610px) !important;
        height: clamp(470px, 38vw, 610px) !important;
    }

    body.single-product div.product .woocommerce-product-gallery--with-images:not(:has(.flex-control-thumbs)) .woocommerce-product-gallery__image img.wp-post-image {
        display: block;
        width: 100% !important;
        max-width: none !important;
        height: 100% !important;
        margin: 0 !important;
        padding: clamp(34px, 4vw, 64px) !important;
        background: #f4eee1;
        object-fit: contain !important;
    }

    body.single-product div.product .woocommerce-product-gallery .flex-viewport {
        grid-column: 2;
        grid-row: 1;
        height: clamp(470px, 38vw, 610px) !important;
        border-radius: 14px;
        background: #f4eee1;
    }

    body.single-product .woocommerce-product-gallery__wrapper,
    body.single-product .woocommerce-product-gallery__image {
        min-height: 0 !important;
        height: clamp(470px, 38vw, 610px) !important;
    }

    body.single-product .woocommerce-product-gallery__image img,
    body.single-product .woocommerce-product-gallery__image img.mk-visual-derivative--lifestyle,
    body.single-product .woocommerce-product-gallery__image img.mk-visual-derivative--detail {
        width: 100% !important;
        height: 100% !important;
        padding: 0 !important;
        background: #f4eee1;
        object-fit: contain !important;
        mix-blend-mode: normal;
    }

    body.single-product .woocommerce-product-gallery__image img.mk-visual-derivative--lifestyle,
    body.single-product .woocommerce-product-gallery__image img.mk-visual-derivative--detail {
        object-fit: cover !important;
    }

    body.single-product .flex-control-thumbs,
    body.single-product .flex-control-thumbs.slick-initialized {
        display: flex !important;
        grid-column: 1;
        grid-row: 1;
        flex-direction: column;
        gap: 12px;
        min-height: 0;
        margin: 0;
        padding: 0 !important;
    }

    body.single-product .flex-control-thumbs.slick-initialized .slick-list,
    body.single-product .flex-control-thumbs.slick-initialized .slick-track {
        width: 100% !important;
        height: auto !important;
        transform: none !important;
    }

    body.single-product .flex-control-thumbs.slick-initialized .slick-track {
        display: grid !important;
        gap: 12px;
    }

    body.single-product .flex-control-thumbs li,
    body.single-product .flex-control-thumbs.slick-initialized li {
        display: block !important;
        width: 88px !important;
        height: 92px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.single-product .flex-control-thumbs img {
        width: 88px !important;
        height: 92px !important;
        padding: 4px;
        border: 1px solid #e6d9c3;
        border-radius: 9px;
        background: #f7f2e8;
        object-fit: cover;
        opacity: .8;
    }

    body.single-product .flex-control-thumbs img.flex-active,
    body.single-product .flex-control-thumbs img:hover {
        border-color: #bd801b;
        box-shadow: 0 0 0 2px rgba(189, 128, 27, .15);
        opacity: 1;
    }

    body.single-product .flex-control-thumbs .slick-arrow {
        display: none !important;
    }

    body.single-product .woocommerce-product-gallery__trigger {
        top: 18px;
        right: 18px;
        z-index: 4;
        width: 48px;
        height: 48px;
        border: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, .94);
        box-shadow: 0 8px 22px rgba(20, 73, 49, .16);
    }

    body.single-product .image-mains > .mk-sale-countdown {
        display: grid;
        grid-template-columns: minmax(150px, 1fr) minmax(0, 1.5fr);
        align-items: center;
        gap: 18px;
        width: min(510px, calc(100% - 104px));
        margin: 22px 0 0 104px;
        padding: 16px 18px;
        border: 1px solid #e4bf79;
        border-radius: 11px;
        background: #fff9ed;
        box-shadow: none;
    }

    body.single-product .woocommerce-product-gallery--with-images:not(:has(.flex-control-thumbs)) + .mk-sale-countdown {
        margin-left: 0;
    }

    body.single-product .mk-sale-countdown__headline {
        color: #aa7119;
        font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
        font-size: 15px;
        font-weight: 800;
        line-height: 1.55;
        text-align: right;
    }

    body.single-product .mk-sale-countdown__label,
    body.single-product .mk-sale-countdown__cta {
        display: none;
    }

    body.single-product .mk-sale-countdown__units {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 7px;
        direction: ltr;
    }

    body.single-product .mk-sale-countdown__units span {
        padding: 8px 3px;
        border: 1px solid #e7d5b5;
        border-radius: 8px;
        background: #fffefa;
        color: #174932;
        text-align: center;
    }

    body.single-product .mk-sale-countdown__units b {
        display: block;
        color: #174932;
        font-size: 22px;
        line-height: 1;
        font-variant-numeric: tabular-nums;
    }

    body.single-product .mk-sale-countdown__units small {
        color: #786341;
        font-size: 10px;
        font-weight: 700;
    }

    body.single-product div.product > .row > .information {
        min-width: 0;
        padding: 14px 0 8px 34px !important;
        border-left: 1px solid #eee5d8;
        background: transparent;
    }

    body.single-product div.product .summary.entry-summary {
        position: static;
        max-width: none;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.single-product .summary .product_title {
        margin: 18px 0 13px !important;
        color: #174932;
        font-family: Georgia, "Noto Naskh Arabic", serif;
        font-size: clamp(34px, 3vw, 48px) !important;
        font-weight: 700;
        line-height: 1.2 !important;
        letter-spacing: 0;
        text-align: right;
    }

    body.single-product .summary .woocommerce-product-rating {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0 0 22px;
    }

    body.single-product .summary .star-rating,
    body.single-product .summary .woocommerce-review-link {
        color: #c6871c !important;
        font-size: 14px;
    }

    body.single-product .summary .mk-first-review-link {
        color: #61786a;
        font-size: 12px;
    }

    body.single-product .woocommerce-product-details__short-description {
        margin: 0 0 20px;
        padding: 18px 0 20px;
        border-top: 1px solid #e9e1d5;
        border-bottom: 1px solid #e9e1d5;
        color: #52675a;
        font-size: 15px;
        line-height: 1.85;
        text-align: right;
    }

    body.single-product .woocommerce-product-details__short-description p {
        margin: 0 0 8px;
    }

    body.single-product form.variations_form.cart {
        margin: 0 !important;
    }

    body.single-product form.variations_form .variations {
        width: 100%;
        margin: 0 0 14px;
    }

    body.single-product form.variations_form .variations th,
    body.single-product form.variations_form .variations td {
        padding: 0;
        text-align: right;
    }

    body.single-product form.variations_form .variations .label {
        display: block;
        margin-bottom: 7px;
        color: #174932;
        font-size: 15px;
        font-weight: 800;
    }

    body.single-product form.variations_form .variations select {
        width: 100%;
        height: 52px;
        padding: 0 16px;
        border: 1px solid #24583e;
        border-radius: 8px;
        background: #fff;
        color: #174932;
        font-size: 16px;
        font-weight: 700;
    }

    body.single-product form.variations_form .reset_variations {
        display: none !important;
    }

    body.single-product form.variations_form .single_variation_wrap {
        display: grid;
        gap: 14px;
    }

    body.single-product form.variations_form .woocommerce-variation:empty::before {
        display: block;
        padding: 4px 0;
        color: #758477;
        content: "اختر الحجم لإظهار الثمن";
        font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
        font-size: 12px;
        font-weight: 700;
        text-align: right;
    }

    body.single-product form.variations_form .woocommerce-variation-price .price {
        display: flex;
        justify-content: flex-start;
        align-items: baseline;
        min-height: 58px;
        margin: 0 !important;
        color: #174932 !important;
        font-family: Georgia, "Noto Naskh Arabic", serif;
        font-size: 37px !important;
        font-weight: 700;
        line-height: 1.1;
    }

    body.single-product form.variations_form .woocommerce-variation-price .amount {
        color: inherit !important;
        font-size: inherit !important;
    }

    body.single-product form.variations_form .woocommerce-variation-price .woocommerce-Price-currencySymbol {
        color: #b87a18;
        font-size: .56em;
    }

    body.single-product form.variations_form .variations_button {
        display: grid;
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 14px;
        align-items: stretch;
    }

    body.single-product form.variations_form .variations_button .box-quantity {
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
        width: 220px !important;
        margin: 0 !important;
        direction: ltr;
    }

    body.single-product form.variations_form .variations_button .title-qty {
        flex: 0 0 auto;
        margin: 0 !important;
        line-height: 58px !important;
        white-space: nowrap;
    }

    body.single-product form.variations_form .variations_button .quantity {
        display: inline-flex !important;
        flex: 0 0 132px;
        align-items: center !important;
        justify-content: space-between !important;
        width: 132px !important;
        margin: 0 !important;
        padding: 0 8px !important;
    }

    body.single-product form.variations_form .variations_button .quantity input.minus,
    body.single-product form.variations_form .variations_button .quantity input.plus {
        flex: 0 0 30px !important;
        float: none !important;
        width: 30px !important;
        height: 56px !important;
        min-height: 56px !important;
        padding: 0 !important;
        line-height: 56px !important;
        text-align: center !important;
    }

    body.single-product form.variations_form .variations_button .quantity input.qty {
        flex: 0 0 42px !important;
        float: none !important;
        width: 42px !important;
        height: 56px !important;
        min-height: 56px !important;
        line-height: 56px !important;
        text-align: center !important;
    }

    body.single-product form.variations_form .variations_button .quantity,
    body.single-product form.variations_form .variations_button .single_add_to_cart_button {
        min-height: 58px;
        height: 58px;
    }

    body.single-product form.variations_form .variations_button .single_add_to_cart_button {
        margin: 0;
        border-radius: 8px;
        background: #145c3a !important;
        box-shadow: 0 8px 17px rgba(20, 92, 58, .17);
        font-size: 17px;
        font-weight: 800;
    }

    body.single-product .summary > .price {
        display: flex;
        justify-content: flex-start;
        align-items: baseline;
        min-height: 62px;
        margin: 0 0 18px !important;
        padding: 0 0 17px;
        border-bottom: 1px solid #e9e1d5;
        color: #174932 !important;
        font-family: Georgia, "Noto Naskh Arabic", serif;
        font-size: 37px !important;
        font-weight: 700;
        line-height: 1.1;
    }

    body.single-product .summary > .price .amount {
        color: inherit !important;
        font-size: inherit !important;
    }

    body.single-product .summary > .price .woocommerce-Price-currencySymbol {
        color: #b87a18;
        font-size: .56em;
    }

    body.single-product form.cart:not(.variations_form) {
        display: grid !important;
        grid-template-columns: 176px minmax(0, 1fr);
        gap: 14px;
        align-items: stretch;
        margin: 0 !important;
    }

    body.single-product form.cart:not(.variations_form) .box-quantity {
        margin: 0 !important;
    }

    body.single-product form.cart:not(.variations_form) .quantity,
    body.single-product form.cart:not(.variations_form) .single_add_to_cart_button {
        min-height: 58px;
        height: 58px;
    }

    body.single-product form.cart:not(.variations_form) .single_add_to_cart_button {
        margin: 0 !important;
        border-radius: 8px;
        background: #145c3a !important;
        box-shadow: 0 8px 17px rgba(20, 92, 58, .17);
        font-size: 17px;
        font-weight: 800;
    }

    body.single-product .mk-product-purchase-reassurance {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin: 22px 0 0;
        padding: 14px 12px;
        border: 1px solid #eee1ca;
        border-radius: 10px;
        background: #fffaf1;
    }

    body.single-product .mk-product-purchase-reassurance > span {
        display: grid;
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 8px;
        align-items: center;
        min-width: 0;
        padding: 0 14px;
    }

    body.single-product .mk-product-purchase-reassurance > span + span {
        border-right: 1px solid #eadfce;
    }

    body.single-product .mk-product-purchase-reassurance > span > span {
        display: grid;
        gap: 3px;
    }

    body.single-product .mk-product-purchase-reassurance .mk-icon {
        width: 27px;
        height: 27px;
        color: #1d6040;
    }

    body.single-product .mk-product-purchase-reassurance b {
        color: #174932;
        font-size: 12px;
        line-height: 1.25;
    }

    body.single-product .mk-product-purchase-reassurance small {
        color: #768277;
        font-size: 11px;
    }

    body.single-product .summary .compare,
    body.single-product .summary .yith-add-to-wishlist-button-block,
    body.single-product .mk-mobile-purchase {
        display: none !important;
    }

    body.single-product .product_meta {
        margin-top: 18px;
        padding-top: 16px;
        border-top: 1px solid #e9e1d5;
        color: #456551;
        text-align: right;
    }

    body.single-product .widget.related.products {
        width: min(1440px, calc(100% - 56px));
        margin: 38px auto 0;
    }

    body.single-product .widget.related.products > h3,
    body.single-product .widget.related.products > .widget-title {
        margin-bottom: 20px;
        color: #174932;
        font-family: Georgia, "Noto Naskh Arabic", serif;
        font-size: 30px;
        text-align: center;
    }
}

@media (min-width: 783px) and (max-width: 1120px) {
    body.single-product .makhtoum-header__layout {
        grid-template-columns: 145px minmax(350px, 1fr) auto;
        gap: 16px;
    }

    body.single-product .makhtoum-header__actions {
        grid-template-columns: minmax(270px, 1fr) auto auto auto;
        gap: 8px;
    }

    body.single-product .makhtoum-header__desktop-nav {
        gap: 11px;
    }

    body.single-product .makhtoum-header__desktop-nav > a,
    body.single-product .makhtoum-desktop-categories > button {
        font-size: 11px;
    }

    body.single-product .makhtoum-header__action span {
        display: none;
    }

    body.single-product div.product {
        width: 100%;
        padding: 22px !important;
    }

    body.single-product div.product > .row {
        grid-template-columns: minmax(420px, 1.08fr) minmax(350px, .92fr);
        gap: 24px !important;
    }

    body.single-product div.product > .row > .information {
        padding-left: 24px !important;
    }

    body.single-product .summary .product_title {
        font-size: 36px !important;
    }

    body.single-product .mk-product-purchase-reassurance > span {
        padding: 0 8px;
    }
}

@keyframes mk-desktop-cart-button-shake {
    0%, 84%, 100% {
        transform: translateX(0);
    }

    88% {
        transform: translateX(-5px);
    }

    92% {
        transform: translateX(5px);
    }

    96% {
        transform: translateX(-3px);
    }
}

@media (min-width: 783px) {
    body.single-product form.cart:not(.variations_form) {
        grid-template-columns: 220px minmax(250px, 1fr) !important;
        align-items: center !important;
        direction: ltr;
    }

    body.single-product form.cart:not(.variations_form) .box-quantity {
        display: flex !important;
        grid-column: 1 !important;
        align-items: center !important;
        gap: 14px !important;
        justify-self: stretch;
        width: 220px !important;
        direction: ltr;
    }

    body.single-product form.cart:not(.variations_form) .title-qty {
        flex: 0 0 auto;
        margin: 0 !important;
        line-height: 58px !important;
        white-space: nowrap;
    }

    body.single-product form.cart:not(.variations_form) .quantity {
        display: inline-flex !important;
        flex: 0 0 132px;
        align-items: center !important;
        justify-content: space-between !important;
        width: 132px !important;
        height: 58px !important;
        margin: 0 !important;
        padding: 0 8px !important;
    }

    body.single-product form.cart:not(.variations_form) .quantity input.minus,
    body.single-product form.cart:not(.variations_form) .quantity input.plus {
        flex: 0 0 30px !important;
        float: none !important;
        width: 30px !important;
        height: 56px !important;
        min-height: 56px !important;
        padding: 0 !important;
        line-height: 56px !important;
        text-align: center !important;
    }

    body.single-product form.cart:not(.variations_form) .quantity input.qty {
        flex: 0 0 42px !important;
        float: none !important;
        width: 42px !important;
        height: 56px !important;
        min-height: 56px !important;
        line-height: 56px !important;
        text-align: center !important;
    }

    body.single-product form.cart:not(.variations_form) .single_add_to_cart_button {
        display: inline-flex !important;
        grid-column: 2 !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 58px !important;
        min-height: 58px !important;
        margin: 0 !important;
        padding: 0 28px !important;
        border: 1px solid #145c3a !important;
        border-radius: 6px !important;
        background: #145c3a !important;
        color: #fff !important;
        font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif !important;
        font-size: 18px !important;
        font-weight: 900 !important;
        line-height: 1.15 !important;
        text-align: center !important;
        text-transform: none !important;
        white-space: nowrap !important;
        box-shadow: 0 12px 24px rgba(20, 92, 58, .2) !important;
        animation: mk-desktop-cart-button-shake 4.6s ease-in-out infinite;
    }

    body.single-product form.cart:not(.variations_form) .single_add_to_cart_button::before {
        display: inline-block !important;
        float: none !important;
        width: auto !important;
        min-width: 0 !important;
        height: auto !important;
        margin: 0 !important;
        color: #fff !important;
        font-family: "FontAwesome" !important;
        font-size: 21px !important;
        line-height: 1 !important;
        content: "\f07a" !important;
    }

    body.single-product form.cart:not(.variations_form) .single_add_to_cart_button:hover,
    body.single-product form.cart:not(.variations_form) .single_add_to_cart_button:focus {
        border-color: #103f2a !important;
        background: #103f2a !important;
        color: #fff !important;
    }

    body.single-product form.cart:not(.variations_form) .single_add_to_cart_button.disabled {
        animation: none;
        opacity: .58 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.single-product form.cart:not(.variations_form) .single_add_to_cart_button {
        animation: none !important;
    }
}

@media (min-width: 783px) {
    body.single-product .makhtoum-header__utility {
        min-height: 50px !important;
        background: #7d1727 !important;
    }

    body.single-product .mk-announcements::before {
        background: linear-gradient(90deg, #7d1727, rgba(125, 23, 39, 0)) !important;
    }

    body.single-product .mk-announcements::after {
        background: linear-gradient(270deg, #7d1727, rgba(125, 23, 39, 0)) !important;
    }

    body.single-product .makhtoum-header__main {
        min-height: 82px !important;
    }

    body.single-product .makhtoum-header__layout {
        display: grid !important;
        grid-template-columns: 130px minmax(450px, 1fr) minmax(520px, .98fr) !important;
        align-items: center !important;
        min-height: 82px !important;
        gap: 18px !important;
    }

    body.single-product .makhtoum-header__brand {
        grid-column: 1 !important;
        grid-row: 1 !important;
        align-self: center !important;
        justify-self: start !important;
        width: 112px !important;
        min-width: 112px !important;
        position: relative;
        z-index: 3;
    }

    body.single-product .makhtoum-header__logo {
        width: 112px !important;
        max-height: 64px !important;
        object-fit: contain !important;
        object-position: left center !important;
    }

    body.single-product .makhtoum-header__desktop-nav {
        display: flex !important;
        grid-column: 2 !important;
        grid-row: 1 !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: clamp(10px, .9vw, 18px) !important;
        min-width: 0 !important;
        padding: 0 !important;
        white-space: nowrap !important;
        position: relative;
        z-index: 4;
    }

    body.single-product .makhtoum-header__desktop-nav > a,
    body.single-product .makhtoum-desktop-categories > button,
    body.single-product .makhtoum-desktop-categories > a {
        display: inline-flex !important;
        align-items: center !important;
        min-height: 42px !important;
        gap: 5px !important;
        padding: 0 2px !important;
        border: 0 !important;
        border-bottom: 2px solid transparent !important;
        background: transparent !important;
        color: #173f2d !important;
        font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif !important;
        font-size: 13px !important;
        font-weight: 850 !important;
        line-height: 1.1 !important;
        text-decoration: none !important;
        cursor: pointer;
    }

    body.single-product .makhtoum-desktop-categories:hover > a,
    body.single-product .makhtoum-desktop-categories:focus-within > a,
    body.single-product .makhtoum-header__desktop-nav > a:hover,
    body.single-product .makhtoum-header__desktop-nav > a:focus,
    body.single-product .makhtoum-header__desktop-nav > a[aria-current="page"] {
        border-bottom-color: #c88d2a !important;
        color: #a56d16 !important;
    }

    body.single-product .makhtoum-desktop-categories > a .mk-icon {
        width: 14px;
        height: 14px;
        transition: transform 180ms ease;
    }

    body.single-product .makhtoum-desktop-categories:hover > a .mk-icon,
    body.single-product .makhtoum-desktop-categories:focus-within > a .mk-icon {
        transform: rotate(180deg);
    }

    body.single-product .makhtoum-header__actions {
        display: grid !important;
        grid-template-columns: minmax(280px, 1fr) repeat(3, 48px) !important;
        grid-column: 3 !important;
        grid-row: 1 !important;
        align-items: center !important;
        gap: 10px !important;
        min-width: 0 !important;
        padding: 0 !important;
        position: relative;
        z-index: 5;
    }

    body.single-product .makhtoum-header__actions .makhtoum-search {
        display: flex !important;
        grid-column: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 46px !important;
        border: 1px solid #e4d8c6 !important;
        border-radius: 9px !important;
        background: #fffaf1 !important;
    }

    body.single-product .makhtoum-search input,
    body.single-product .makhtoum-search button {
        height: 44px !important;
    }

    body.single-product .makhtoum-search button {
        width: 54px !important;
        border-radius: 8px !important;
        background: #145236 !important;
        color: #fff !important;
    }

    body.single-product .makhtoum-header__action {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: column !important;
        width: 48px !important;
        min-width: 48px !important;
        min-height: 46px !important;
        gap: 3px !important;
        color: #184730 !important;
        pointer-events: auto !important;
        position: relative;
        z-index: 6;
    }

    body.single-product .makhtoum-header__action span {
        display: block !important;
        font-size: 9px !important;
        line-height: 1 !important;
    }

    body.single-product .makhtoum-header__action .mk-icon {
        width: 22px !important;
        height: 22px !important;
    }
}

@media (min-width: 783px) and (max-width: 1240px) {
    body.single-product .makhtoum-header__layout {
        grid-template-columns: 112px minmax(370px, 1fr) minmax(390px, .9fr) !important;
        gap: 12px !important;
    }

    body.single-product .makhtoum-header__desktop-nav {
        gap: 8px !important;
    }

    body.single-product .makhtoum-header__desktop-nav > a,
    body.single-product .makhtoum-desktop-categories > a {
        font-size: 11px !important;
    }

    body.single-product .makhtoum-header__actions {
        grid-template-columns: minmax(220px, 1fr) repeat(3, 42px) !important;
        gap: 6px !important;
    }

    body.single-product .makhtoum-header__action {
        width: 42px !important;
        min-width: 42px !important;
    }
}
